diff options
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/network/v2/network.py | 6 | ||||
| -rw-r--r-- | openstackclient/tests/network/v2/test_network.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/network/v2/network.py b/openstackclient/network/v2/network.py index d3b20c0f..ebd5cb63 100644 --- a/openstackclient/network/v2/network.py +++ b/openstackclient/network/v2/network.py @@ -180,10 +180,10 @@ class CreateNetwork(common.NetworkAndComputeShowOne): help='Name of the physical network over which the virtual ' 'network is implemented') parser.add_argument( - '--provider-segmentation-id', - metavar='<provider-segmentation-id>', + '--provider-segment', + metavar='<provider-segment>', dest='segmentation_id', - help='VLAN ID for VLAN networks or tunnel-id for GRE/VXLAN ' + help='VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN ' 'networks') return parser diff --git a/openstackclient/tests/network/v2/test_network.py b/openstackclient/tests/network/v2/test_network.py index 2493362e..0dec0e2f 100644 --- a/openstackclient/tests/network/v2/test_network.py +++ b/openstackclient/tests/network/v2/test_network.py @@ -144,7 +144,7 @@ class TestCreateNetworkIdentityV3(TestNetwork): "--external", "--default", "--provider-network-type", "vlan", "--provider-physical-network", "physnet1", - "--provider-segmentation-id", "400", + "--provider-segment", "400", self._network.name, ] verifylist = [ |
