如何使用Microstack运行以下命令
neutron net-create mgmt --provider:network_type=vlan --provider:physical_network=physnet_em1 --provider:segmentation_id=500 --shared
我试过了:
microstack.openstack network create mgmt --provider:network_type=vlan --provider:physical_network=physnet_em1 --provider:segmentation_id=500 --shared
usage: openstack network create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--share | --no-share]
[--enable | --disable] [--project <project>]
[--description <description>] [--mtu <mtu>]
[--project-domain <project-domain>]
[--availability-zone-hint <availability-zone>]
[--enable-port-security | --disable-port-security]
[--external | --internal]
[--default | --no-default]
[--qos-policy <qos-policy>]
[--transparent-vlan | --no-transparent-vlan]
[--provider-network-type <provider-network-type>]
[--provider-physical-network <provider-physical-network>]
[--provider-segment <provider-segment>]
[--dns-domain <dns-domain>]
[--tag <tag> | --no-tag]
<name>
openstack network create: error: unrecognized arguments: --provider:network_type=vlan --provider:physical_network=physnet_em1 --provider:segmentation_id=500 --shared
我没有找到与此相关的快速信息。
也许你应该阅读手册?
microstack.openstack network create mgmt --provider-network-type vlan --provider-physical-network physnet_em1 --provider-segment 500
中子-CLI已过时,将不再更新