标签:floating rip pen ica 命令 rev dmi ecif nts
模块 | 功能点 | 描述 | 备注 |
---|---|---|---|
VPC | 创建vpc网络 | 创建vpc网络,指定vpc网络名称 | |
修改vpc网络 | 修改vpc网络名称 | ||
删除vpc网络 | 删除vpc网络 |
vpc相关命令:
net-create Create a network for a given tenant. net-delete Delete a given network. net-external-list List external networks that belong to a given tenant. net-ip-availability-list List IP usage of networks net-ip-availability-show Show IP usage of specific network net-list List networks that belong to a given tenant. net-list-on-dhcp-agent List the networks on a DHCP agent. net-show Show information of a given network. net-update Update network‘s information.
net-create子命令属性:
参数
|
描述
|
---|---|
参数
|
描述
|
NAME | 设置名称 |
--tenant-id | 指定租户 |
--admin-state-down | 管理状态 |
--shared | 设置是否为共享网络(管理员) |
--provider:network_type |
设置网络类型 |
--provider:physical_network |
实现虚拟网络的物理网络的名称 |
--provider:segmentation_id | 虚拟网络id(VLAN ID / VNI) |
--vlan-transparent | 创建透明模式的VLAN网络 |
--description | 添加描述信息 |
--qos-policy | 添加qos规则 |
--availability-zone-hint | 设置可用域 |
创建一个vpc网络:
命令语法:neutron net-create VPC_NAME --tenant-id <项目ID> --admin-state-up <up/down> --provider:network_type <虚拟网络类型> --provider:segmentation_id <虚拟vlan ID> --availability-zone-hint <可用域>
--description "描述信息"
[root@10-0-192-18 ~]# neutron net-create ltwtest --tenant-id 73c538f5e43c4ac98ee01482f371539c --admin-state-up --provider:network_type vxlan --provider:segmentation_id 1009 --availability-zone-hint nova --description "This is a neutron-vpc create test." Created a new network: +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | nova | | availability_zones | | | created_at | 2017-05-09T03:20:51Z | | description | This is a neutron-vpc create test. | | id | fe054163-d056-4b8f-8c32-0b39c884fb8c | | ipv4_address_scope | | | ipv6_address_scope | | | mtu | 1450 | | name | ltwtest | | port_security_enabled | True | | project_id | 73c538f5e43c4ac98ee01482f371539c | | provider:network_type | vxlan | | provider:physical_network | | | provider:segmentation_id | 1009 | | qos_policy_id | | | revision_number | 3 | | router:external | False | | shared | False | | status | ACTIVE | | subnets | | | tags | | | tenant_id | 73c538f5e43c4ac98ee01482f371539c | | updated_at | 2017-05-09T03:20:51Z | +---------------------------+--------------------------------------+
net-update子命令属性:
参数
|
描述
|
---|---|
--name | 更新网络的名称 |
--description | 更新描述信息 |
--qos-policy | 添加或更改qos规则 |
--no-qos-policy | 删除qos规则 |
[root@10-0-192-18 ~]# neutron net-update fe054163-d056-4b8f-8c32-0b39c884fb8c --name testltw --description ‘update‘ Updated network: fe054163-d056-4b8f-8c32-0b39c884fb8c
命令语法:neutron net-delete <VPC_ID(s) or name(s)>
[root@10-0-192-18 ~]# neutron net-delete c8e4f509-4240-4c08-85dc-a5c6e677c4d8 Deleted network(s): c8e4f509-4240-4c08-85dc-a5c6e677c4d8
标签:floating rip pen ica 命令 rev dmi ecif nts
原文地址:https://www.cnblogs.com/gushiren/p/9591779.html