Browse Source

Fix some typos

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

Still a Trivialfix

Change-Id: Ib43d484a6da32b0a9fe83b7b1ccd83e58b9f9499
changes/02/795902/2 2.4.0
Brian Haley 3 months ago
parent
commit
6ef3eed573
  1. 10
      octaviaclient/osc/v2/amphora.py
  2. 4
      octaviaclient/osc/v2/availabilityzoneprofile.py
  3. 2
      octaviaclient/osc/v2/flavor.py
  4. 2
      octaviaclient/osc/v2/flavorprofile.py
  5. 8
      octaviaclient/osc/v2/health_monitor.py
  6. 12
      octaviaclient/osc/v2/l7policy.py
  7. 8
      octaviaclient/osc/v2/l7rule.py
  8. 14
      octaviaclient/osc/v2/listener.py
  9. 12
      octaviaclient/osc/v2/load_balancer.py
  10. 34
      octaviaclient/osc/v2/member.py
  11. 12
      octaviaclient/osc/v2/pool.py
  12. 2
      octaviaclient/osc/v2/quota.py

10
octaviaclient/osc/v2/amphora.py

@ -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

4
octaviaclient/osc/v2/availabilityzoneprofile.py

@ -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
@ -98,7 +98,7 @@ class ListAvailabilityzoneProfile(lister.Lister):
parser.add_argument(
'--name',
metavar='<name>',
help="List availabilityzone profiles by profile name."
help="List availability zone profiles by profile name."
)
parser.add_argument(
'--provider',

2
octaviaclient/osc/v2/flavor.py

@ -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

2
octaviaclient/osc/v2/flavorprofile.py

@ -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

8
octaviaclient/osc/v2/health_monitor.py

@ -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')

12
octaviaclient/osc/v2/l7policy.py

@ -85,7 +85,7 @@ class CreateL7Policy(command.ShowOne):
metavar='<redirect_http_code>',
choices=REDIRECT_CODE_CHOICES,
type=int,
help="Set the HTTP response code for REDIRECT_URL or"
help="Set the HTTP response code for REDIRECT_URL or "
"REDIRECT_PREFIX action."
)
parser.add_argument(
@ -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
@ -305,7 +305,7 @@ class SetL7Policy(command.Command):
metavar='<redirect_http_code>',
choices=REDIRECT_CODE_CHOICES,
type=int,
help="Set the HTTP response code for REDIRECT_URL or"
help="Set the HTTP response code for REDIRECT_URL or "
"REDIRECT_PREFIX action."
)
parser.add_argument(
@ -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')

8
octaviaclient/osc/v2/l7rule.py

@ -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')

14
octaviaclient/osc/v2/listener.py

@ -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
@ -410,7 +410,7 @@ class SetListener(command.Command):
'--default-tls-container-ref',
metavar='<container-ref>',
help="The URI to the key manager service secrets container "
"containing the certificate and key for TERMINATED_TLS"
"containing the certificate and key for TERMINATED_TLS "
"listeners."
)
parser.add_argument(
@ -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

12
octaviaclient/osc/v2/load_balancer.py

@ -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')

34
octaviaclient/osc/v2/member.py

@ -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')

12
octaviaclient/osc/v2/pool.py

@ -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',

2
octaviaclient/osc/v2/quota.py

@ -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

Loading…
Cancel
Save