File tree Expand file tree Collapse file tree
doc/source/command-objects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Create new network
2020 [--external [--default | --no-default] | --internal]
2121 [--provider-network-type < provider-network-type> ]
2222 [--provider-physical-network < provider-physical-network> ]
23- [--provider-segmentation-id < provider-segmentation-id > ]
23+ [--provider-segment < provider-segment > ]
2424 < name>
2525
2626.. option:: --project < project>
@@ -97,9 +97,9 @@ Create new network
9797 Name of the physical network over which the virtual network is implemented
9898 (Network v2 only)
9999
100- .. option:: --provider-segmentation-id <provider-segmentation-id >
100+ .. option:: --provider-segment <provider-segment >
101101
102- VLAN ID for VLAN networks or tunnel-id for GRE/VXLAN networks
102+ VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN networks
103103 (Network v2 only)
104104
105105.. _network_create-name:
Original file line number Diff line number Diff line change @@ -180,10 +180,10 @@ def update_parser_network(self, parser):
180180 help = 'Name of the physical network over which the virtual '
181181 'network is implemented' )
182182 parser .add_argument (
183- '--provider-segmentation-id ' ,
184- metavar = '<provider-segmentation-id >' ,
183+ '--provider-segment ' ,
184+ metavar = '<provider-segment >' ,
185185 dest = 'segmentation_id' ,
186- help = 'VLAN ID for VLAN networks or tunnel-id for GRE/VXLAN '
186+ help = 'VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN '
187187 'networks' )
188188 return parser
189189
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def test_create_all_options(self):
144144 "--external" , "--default" ,
145145 "--provider-network-type" , "vlan" ,
146146 "--provider-physical-network" , "physnet1" ,
147- "--provider-segmentation-id " , "400" ,
147+ "--provider-segment " , "400" ,
148148 self ._network .name ,
149149 ]
150150 verifylist = [
You can’t perform that action at this time.
0 commit comments