Fix some typos

Originally just noticed "balncer" but fixed a few more
while I was at it.

Still a Trivialfix

Change-Id: Ib43d484a6da32b0a9fe83b7b1ccd83e58b9f9499
This commit is contained in:
Brian Haley 2021-06-10 16:12:24 -04:00
parent 28f4a892af
commit 6ef3eed573
12 changed files with 60 additions and 60 deletions

View File

@ -137,7 +137,7 @@ class ConfigureAmphora(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -176,7 +176,7 @@ class FailoverAmphora(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -214,12 +214,12 @@ class ShowAmphoraStats(command.ShowOne):
parser.add_argument(
'--listener',
metavar='<listener>',
help='Filter by listener (name or ID)',
help='Filter by listener (name or ID).',
)
parser.add_argument(
'amphora_id',
metavar='<amphora-id>',
help='UUID of the amphora'
help='UUID of the amphora.'
)
return parser
@ -267,7 +267,7 @@ class DeleteAmphora(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser

View File

@ -75,7 +75,7 @@ class DeleteAvailabilityzoneProfile(command.Command):
parser.add_argument(
'availabilityzoneprofile',
metavar='<availabilityzone_profile>',
help="Availability zone profile to delete (name or ID)"
help="Availability zone profile to delete (name or ID)."
)
return parser

View File

@ -90,7 +90,7 @@ class DeleteFlavor(command.Command):
parser.add_argument(
'flavor',
metavar='<flavor>',
help="Flavor to delete (name or ID)"
help="Flavor to delete (name or ID)."
)
return parser

View File

@ -74,7 +74,7 @@ class DeleteFlavorProfile(command.Command):
parser.add_argument(
'flavorprofile',
metavar='<flavor_profile>',
help="Flavor profiles to delete (name or ID)"
help="Flavor profiles to delete (name or ID)."
)
return parser

View File

@ -138,7 +138,7 @@ class CreateHealthMonitor(command.ShowOne):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_create(
@ -191,7 +191,7 @@ class DeleteHealthMonitor(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -369,7 +369,7 @@ class SetHealthMonitor(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_set(parser, 'health monitor')
@ -449,7 +449,7 @@ class UnsetHealthMonitor(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_unset(parser, 'health monitor')

View File

@ -110,7 +110,7 @@ class CreateL7Policy(command.ShowOne):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_create(
@ -163,7 +163,7 @@ class DeleteL7Policy(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -330,7 +330,7 @@ class SetL7Policy(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_set(parser, 'l7policy')
@ -390,7 +390,7 @@ class UnsetL7Policy(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_unset(parser, 'l7policy')

View File

@ -93,7 +93,7 @@ class CreateL7Rule(command.ShowOne):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_create(
@ -155,7 +155,7 @@ class DeleteL7Rule(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -313,7 +313,7 @@ class SetL7Rule(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_set(parser, 'l7rule')
@ -380,7 +380,7 @@ class UnsetL7Rule(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_unset(parser, 'l7rule')

View File

@ -174,7 +174,7 @@ class CreateListener(command.ShowOne):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
parser.add_argument(
'--tls-ciphers',
@ -251,12 +251,12 @@ class DeleteListener(command.Command):
parser.add_argument(
'listener',
metavar="<listener>",
help="Listener to delete (name or ID)"
help="Listener to delete (name or ID)."
)
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -338,7 +338,7 @@ class ShowListener(command.ShowOne):
parser.add_argument(
'listener',
metavar='<listener>',
help='Name or UUID of the listener'
help='Name or UUID of the listener.'
)
return parser
@ -501,7 +501,7 @@ class SetListener(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
parser.add_argument(
'--tls-ciphers',
@ -702,7 +702,7 @@ class ShowListenerStats(command.ShowOne):
parser.add_argument(
'listener',
metavar='<listener>',
help='Name or UUID of the listener'
help='Name or UUID of the listener.'
)
return parser

View File

@ -130,7 +130,7 @@ class CreateLoadBalancer(command.ShowOne):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_create(
@ -181,7 +181,7 @@ class DeleteLoadBalancer(command.Command):
parser.add_argument(
'loadbalancer',
metavar='<load_balancer>',
help="Load balancers to delete (name or ID)"
help="Load balancers to delete (name or ID)."
)
parser.add_argument(
'--cascade',
@ -193,7 +193,7 @@ class DeleteLoadBalancer(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -228,7 +228,7 @@ class FailoverLoadBalancer(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -438,7 +438,7 @@ class SetLoadBalancer(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_set(parser, 'load balancer')
@ -496,7 +496,7 @@ class UnsetLoadBalancer(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_unset(parser, 'load balancer')

View File

@ -126,13 +126,13 @@ class CreateMember(command.ShowOne):
'--disable-backup',
action='store_true',
default=None,
help="Disable member backup (default)"
help="Disable member backup (default)."
)
backup.add_argument(
'--enable-backup',
action='store_true',
default=None,
help="Enable member backup"
help="Enable member backup."
)
parser.add_argument(
'--weight',
@ -145,7 +145,7 @@ class CreateMember(command.ShowOne):
parser.add_argument(
'--address',
metavar='<ip_address>',
help="The IP address of the backend member server",
help="The IP address of the backend member server.",
required=True
)
parser.add_argument(
@ -179,18 +179,18 @@ class CreateMember(command.ShowOne):
'--enable',
action='store_true',
default=None,
help="Enable member (default)"
help="Enable member (default)."
)
admin_group.add_argument(
'--disable',
action='store_true',
default=None,
help="Disable member"
help="Disable member."
)
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_create(
@ -246,38 +246,38 @@ class SetMember(command.Command):
parser.add_argument(
'member',
metavar='<member>',
help="Name or ID of the member to update"
help="Name or ID of the member to update."
)
parser.add_argument(
'--name',
metavar='<name>',
help="Set the name of the member"
help="Set the name of the member."
)
backup = parser.add_mutually_exclusive_group()
backup.add_argument(
'--disable-backup',
action='store_true',
default=None,
help="Disable member backup (default)"
help="Disable member backup (default)."
)
backup.add_argument(
'--enable-backup',
action='store_true',
default=None,
help="Enable member backup"
help="Enable member backup."
)
parser.add_argument(
'--weight',
metavar='<weight>',
type=int,
help="Set the weight of member in the pool"
help="Set the weight of member in the pool."
)
parser.add_argument(
'--monitor-port',
metavar='<monitor_port>',
type=int,
help="An alternate protocol port used for health monitoring a "
"backend member",
"backend member.",
)
parser.add_argument(
'--monitor-address',
@ -290,17 +290,17 @@ class SetMember(command.Command):
'--enable',
action='store_true',
default=None,
help="Set the admin_state_up to True"
help="Set the admin_state_up to True."
)
admin_group.add_argument(
'--disable',
action='store_true',
default=None,
help="Set the admin_state_up to False")
help="Set the admin_state_up to False.")
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_set(parser, 'member')
@ -357,7 +357,7 @@ class DeleteMember(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -427,7 +427,7 @@ class UnsetMember(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
_tag.add_tag_option_to_parser_for_unset(parser, 'member')

View File

@ -64,7 +64,7 @@ class CreatePool(command.ShowOne):
parent_group.add_argument(
'--loadbalancer',
metavar='<load_balancer>',
help="Load balncer to add the pool to (name or ID)"
help="Load balancer to add the pool to (name or ID)."
)
parser.add_argument(
'--session-persistence',
@ -104,7 +104,7 @@ class CreatePool(command.ShowOne):
metavar='<ca_tls_container_ref>',
help="The reference to the key manager service secrets container "
"containing the CA certificate for ``tls_enabled`` pools "
"to check the backend member servers certificates"
"to check the backend member servers certificates."
)
parser.add_argument(
'--crl-container-ref',
@ -129,7 +129,7 @@ class CreatePool(command.ShowOne):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
parser.add_argument(
'--tls-ciphers',
@ -206,7 +206,7 @@ class DeletePool(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
return parser
@ -380,7 +380,7 @@ class SetPool(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
parser.add_argument(
'--tls-ciphers',
@ -487,7 +487,7 @@ class UnsetPool(command.Command):
parser.add_argument(
'--wait',
action='store_true',
help='Wait for action to complete',
help='Wait for action to complete.',
)
parser.add_argument(
'--alpn-protocols',

View File

@ -195,7 +195,7 @@ class ResetQuota(command.Command):
parser.add_argument(
'project',
metavar="<project>",
help="Project to reset quotas (name or ID)"
help="Project to reset quotas (name or ID)."
)
return parser