1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 01:39:58 -05:00

Addressed Review Comments

Signed-off-by: Kunal Singh<singhk@vmware.com>
This commit is contained in:
Kunal Singh 2019-09-06 14:47:32 +05:30
parent 17a05460e9
commit a9c4b6808a
10 changed files with 17 additions and 17 deletions

View File

@ -35,14 +35,14 @@ optional_args = parser.add_argument_group(
'optional arguments')
required_args.add_argument(
'--refresh-token',
'--refresh_token',
required=True,
help='Refresh token obtained from CSP')
required_args.add_argument(
'--org-id',
'--org_id',
required=True,
help='Orgization ID')
required_args.add_argument(
'--sddc-id',
'--sddc_id',
required=True,
help='SDDC ID')

View File

@ -39,7 +39,7 @@ class NSXPolicyL3VPN(object):
"""
def __init__(self):
required_args.add_argument('--remote-endpoint-public-ip',
required_args.add_argument('--remote_endpoint_public_ip',
required=True,
help='L3 VPN Remote end point\'s public ip')

View File

@ -36,7 +36,7 @@ Create a new NSX-T Group on MGW or CGW
Sample Prerequisites:
- SDDC deployed in VMware Cloud on AWS
"""
optional_args.add_argument('--gateway-type',
optional_args.add_argument('--gateway_type',
default='mgw',
help='Gateway type. Either mgw or cgw')
@ -44,11 +44,11 @@ required_args.add_argument('--name',
required=True,
help='Name of the security group to be created')
optional_args.add_argument('--ip-address',
optional_args.add_argument('--ip_address',
default='172.31.0.0/24',
help='IP address for the expression')
optional_args.add_argument('--group-id',
optional_args.add_argument('--group_id',
help='ID of the group. A random ID will be used by default')
args = parser.parse_args()

View File

@ -39,11 +39,11 @@ Sample Prerequisites:
- SDDC deployed in VMware Cloud on AWS
- A NSX-T security group
"""
optional_args.add_argument('--gateway-type',
optional_args.add_argument('--gateway_type',
default='mgw',
help='Gateway type. Either mgw or cgw')
optional_args.add_argument('--group-id',
optional_args.add_argument('--group_id',
help='ID of the group to be deleted')
args = parser.parse_args()

View File

@ -40,11 +40,11 @@ Sample Prerequisites:
- SDDC deployed in VMware Cloud on AWS
- A NSX-T security group
"""
optional_args.add_argument('--gateway-type',
optional_args.add_argument('--gateway_type',
default='mgw',
help='Gateway type. Either mgw or cgw')
optional_args.add_argument('--group-id',
optional_args.add_argument('--group_id',
help='ID of the group to be updated')
required_args.add_argument('--name',

View File

@ -41,7 +41,7 @@ class OperationsOnOrganizations(object):
required_args = parser.add_argument_group(
'required arguments')
required_args.add_argument(
'--refresh-token',
'--refresh_token',
required=True,
help='VMware Cloud API refresh token')

View File

@ -41,12 +41,12 @@ class CreateDeleteSDDC(object):
'optional arguments')
required_args.add_argument(
'--refresh-token',
'--refresh_token',
required=True,
help='Refresh token obtained from CSP')
required_args.add_argument(
'--org-id',
'--org_id',
required=True,
help='Organization identifier.')

View File

@ -32,7 +32,7 @@ required_args = parser.add_argument_group(
'required arguments')
required_args.add_argument(
'--refresh-token',
'--refresh_token',
required=True,
help='Refresh token obtained from CSP')

View File

@ -34,7 +34,7 @@ required_args = parser.add_argument_group(
'required arguments')
required_args.add_argument(
'--refresh-token',
'--refresh_token',
required=True,
help='Refresh token obtained from CSP')
required_args.add_argument(

View File

@ -36,7 +36,7 @@ optional_args = parser.add_argument_group(
'optional arguments')
required_args.add_argument(
'--refresh-token',
'--refresh_token',
required=True,
help='Refresh token obtained from CSP')