Fix typo in openstackclient/network/v2
This patch adds the missing "." to some docstring/text. Trivial fix Change-Id: Iffb470dcce7200ddc9e439c465adc652a8322708
This commit is contained in:
parent
3c1aae9cf4
commit
5534e29342
@ -108,7 +108,7 @@ Create new network
|
||||
.. option:: --provider-network-type <provider-network-type>
|
||||
|
||||
The physical mechanism by which the virtual network is implemented.
|
||||
The supported options are: flat, geneve, gre, local, vlan, vxlan
|
||||
The supported options are: flat, geneve, gre, local, vlan, vxlan.
|
||||
|
||||
*Network version 2 only*
|
||||
|
||||
@ -238,7 +238,7 @@ Set network properties
|
||||
.. option:: --provider-network-type <provider-network-type>
|
||||
|
||||
The physical mechanism by which the virtual network is implemented.
|
||||
The supported options are: flat, gre, local, vlan, vxlan
|
||||
The supported options are: flat, gre, local, vlan, vxlan.
|
||||
|
||||
.. option:: --provider-physical-network <provider-physical-network>
|
||||
|
||||
|
@ -83,7 +83,7 @@ Create new subnet
|
||||
'auto': Gateway address should automatically be chosen from
|
||||
within the subnet itself, 'none': This subnet will not use
|
||||
a gateway, e.g.: ``--gateway 192.168.9.1``, ``--gateway auto``,
|
||||
``--gateway none`` (default is 'auto')
|
||||
``--gateway none`` (default is 'auto').
|
||||
|
||||
.. option:: --host-route destination=<subnet>,gateway=<ip-address>
|
||||
|
||||
@ -158,7 +158,8 @@ List subnets
|
||||
|
||||
.. option:: --ip-version {4, 6}
|
||||
|
||||
List only subnets of given IP version in output
|
||||
List only subnets of given IP version in output.
|
||||
Allowed values for IP version are 4 and 6.
|
||||
|
||||
subnet set
|
||||
----------
|
||||
@ -200,7 +201,7 @@ Set subnet properties
|
||||
Specify a gateway for the subnet. The options are:
|
||||
<ip-address>: Specific IP address to use as the gateway,
|
||||
'none': This subnet will not use a gateway,
|
||||
e.g.: ``--gateway 192.168.9.1``, ``--gateway none``
|
||||
e.g.: ``--gateway 192.168.9.1``, ``--gateway none``.
|
||||
|
||||
.. option:: --host-route destination=<subnet>,gateway=<ip-address>
|
||||
|
||||
|
@ -108,7 +108,7 @@ def _add_additional_network_options(parser):
|
||||
'vlan', 'vxlan'],
|
||||
help=_("The physical mechanism by which the virtual network "
|
||||
"is implemented. The supported options are: "
|
||||
"flat, geneve, gre, local, vlan, vxlan"))
|
||||
"flat, geneve, gre, local, vlan, vxlan."))
|
||||
parser.add_argument(
|
||||
'--provider-physical-network',
|
||||
metavar='<provider-physical-network>',
|
||||
|
@ -235,7 +235,7 @@ class CreateSubnet(command.ShowOne):
|
||||
"'auto': Gateway address should automatically be chosen "
|
||||
"from within the subnet itself, 'none': This subnet will "
|
||||
"not use a gateway, e.g.: --gateway 192.168.9.1, "
|
||||
"--gateway auto, --gateway none (default is 'auto')")
|
||||
"--gateway auto, --gateway none (default is 'auto').")
|
||||
)
|
||||
parser.add_argument(
|
||||
'--ip-version',
|
||||
@ -244,7 +244,7 @@ class CreateSubnet(command.ShowOne):
|
||||
choices=[4, 6],
|
||||
help=_("IP version (default is 4). Note that when subnet pool is "
|
||||
"specified, IP version is determined from the subnet pool "
|
||||
"and this option is ignored")
|
||||
"and this option is ignored.")
|
||||
)
|
||||
parser.add_argument(
|
||||
'--ipv6-ra-mode',
|
||||
@ -334,7 +334,7 @@ class ListSubnet(command.Lister):
|
||||
choices=[4, 6],
|
||||
metavar='<ip-version>',
|
||||
dest='ip_version',
|
||||
help=_("List only subnets of given IP version in output"
|
||||
help=_("List only subnets of given IP version in output."
|
||||
"Allowed values for IP version are 4 and 6."),
|
||||
)
|
||||
return parser
|
||||
@ -395,7 +395,7 @@ class SetSubnet(command.Command):
|
||||
help=_("Specify a gateway for the subnet. The options are: "
|
||||
"<ip-address>: Specific IP address to use as the gateway, "
|
||||
"'none': This subnet will not use a gateway, "
|
||||
"e.g.: --gateway 192.168.9.1, --gateway none")
|
||||
"e.g.: --gateway 192.168.9.1, --gateway none.")
|
||||
)
|
||||
_get_common_parse_arguments(parser)
|
||||
return parser
|
||||
|
Loading…
Reference in New Issue
Block a user