1

如何使用 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

我没有找到与此相关的快速信息。

4

1 回答 1

-1

也许您应该阅读手册?

microstack.openstack network create mgmt --provider-network-type vlan --provider-physical-network physnet_em1 --provider-segment 500

neutron-cli 已过时,将不再更新

于 2021-03-09T21:26:52.693 回答