Skip to content

Commit c8d0ac7

Browse files
author
Kunal Singh
committed
Update for 6.7U3 and M8 release
Signed-off-by:Kunal Singh<[email protected]>
1 parent 2d2f32b commit c8d0ac7

18 files changed

+27
-22
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
__pycache__/
33
.DS_Store
44
.idea/*
5+
.gradle/*

lib/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Description
77
vapi_runtime | vAPI runtime responsible for serialization/de-serialization of objects and wire protocol
88
vapi_client_bindings | Client stubs for vSphere Automation APIs
99
vmc_client_bindings | Client stubs for VMware Cloud on AWS Console APIs
10+
vmc-draas-client-bindings | Client stubs for DRaaS APIs for VMware Cloud on AWS
1011
nsx-python-sdk | Client stubs for VMware NSX-T APIs
1112
nsx-policy-python-sdk | Client stubs for VMware NSX-T Policy APIs
1213
vmc-app-python-sdk | Client stubs for VMware NSX-T VMC app APIs (for AWS underlay management)

lib/vapi-client-bindings/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href='vapi_client_bindings-3.0.0-py2.py3-none-any.whl'>vapi_client_bindings-3.0.0-py2.py3-none-any.whl</a><br />
1+
<a href='vapi_client_bindings-3.1.0-py2.py3-none-any.whl'>vapi_client_bindings-3.1.0-py2.py3-none-any.whl</a><br />
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href='vmc_draas_client_bindings-1.0.0-py2.py3-none-any.whl'>vmc_draas_client_bindings-1.0.0-py3.py3-none-any.whl</a><br />

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ lxml >= 4.3.0
22
pyVmomi >= 6.7
33
suds ; python_version < '3'
44
suds-jurko ; python_version >= '3.0'
5-
vapi-client-bindings == 3.0.0
5+
vapi-client-bindings == 3.1.0
66
vmc-client-bindings
77
nsx-python-sdk
88
nsx-policy-python-sdk
99
nsx-vmc-policy-python-sdk
1010
nsx-vmc-aws-integration-python-sdk
11+
vmc-draas-client-bindings

samples/vmc/helpers/sample_cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
'optional arguments')
3636

3737
required_args.add_argument(
38-
'--refresh_token',
38+
'--refresh-token',
3939
required=True,
4040
help='Refresh token obtained from CSP')
4141
required_args.add_argument(
42-
'--org_id',
42+
'--org-id',
4343
required=True,
4444
help='Orgization ID')
4545
required_args.add_argument(
46-
'--sddc_id',
46+
'--sddc-id',
4747
required=True,
4848
help='SDDC ID')

samples/vmc/networks_nsxt/l3_vpn_crud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class NSXPolicyL3VPN(object):
3939
"""
4040

4141
def __init__(self):
42-
required_args.add_argument('--remote_endpoint_public_ip',
42+
required_args.add_argument('--remote-endpoint-public-ip',
4343
required=True,
4444
help='L3 VPN Remote end point\'s public ip')
4545

samples/vmc/networks_nsxt/security_group_create.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@
3636
Sample Prerequisites:
3737
- SDDC deployed in VMware Cloud on AWS
3838
"""
39-
optional_args.add_argument('--gateway_type',
39+
optional_args.add_argument('--gateway-type',
4040
default='mgw',
4141
help='Gateway type. Either mgw or cgw')
4242

4343
required_args.add_argument('--name',
4444
required=True,
4545
help='Name of the security group to be created')
4646

47-
optional_args.add_argument('--ip_address',
47+
optional_args.add_argument('--ip-address',
4848
default='172.31.0.0/24',
4949
help='IP address for the expression')
5050

51-
optional_args.add_argument('--group_id',
51+
optional_args.add_argument('--group-id',
5252
help='ID of the group. A random ID will be used by default')
5353

5454
args = parser.parse_args()

samples/vmc/networks_nsxt/security_group_delete.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
- SDDC deployed in VMware Cloud on AWS
4040
- A NSX-T security group
4141
"""
42-
optional_args.add_argument('--gateway_type',
42+
optional_args.add_argument('--gateway-type',
4343
default='mgw',
4444
help='Gateway type. Either mgw or cgw')
4545

46-
optional_args.add_argument('--group_id',
46+
optional_args.add_argument('--group-id',
4747
help='ID of the group to be deleted')
4848

4949
args = parser.parse_args()

samples/vmc/networks_nsxt/security_group_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
- SDDC deployed in VMware Cloud on AWS
4141
- A NSX-T security group
4242
"""
43-
optional_args.add_argument('--gateway_type',
43+
optional_args.add_argument('--gateway-type',
4444
default='mgw',
4545
help='Gateway type. Either mgw or cgw')
4646

47-
optional_args.add_argument('--group_id',
47+
optional_args.add_argument('--group-id',
4848
help='ID of the group to be updated')
4949

5050
required_args.add_argument('--name',

samples/vmc/orgs/organization_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def options(self):
4141
required_args = parser.add_argument_group(
4242
'required arguments')
4343
required_args.add_argument(
44-
'--refresh_token',
44+
'--refresh-token',
4545
required=True,
4646
help='VMware Cloud API refresh token')
4747

samples/vmc/sddc/sddc_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def __init__(self):
4141
'optional arguments')
4242

4343
required_args.add_argument(
44-
'--refresh_token',
44+
'--refresh-token',
4545
required=True,
4646
help='Refresh token obtained from CSP')
4747

4848
required_args.add_argument(
49-
'--org_id',
49+
'--org-id',
5050
required=True,
5151
help='Organization identifier.')
5252

samples/vmc/tasks/cancel_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
'required arguments')
3333

3434
required_args.add_argument(
35-
'--refresh_token',
35+
'--refresh-token',
3636
required=True,
3737
help='Refresh token obtained from CSP')
3838

samples/vmc/tasks/list_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'required arguments')
3535

3636
required_args.add_argument(
37-
'--refresh_token',
37+
'--refresh-token',
3838
required=True,
3939
help='Refresh token obtained from CSP')
4040
required_args.add_argument(

samples/vmc/tasks/list_tasks_stg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
'optional arguments')
3737

3838
required_args.add_argument(
39-
'--refresh_token',
39+
'--refresh-token',
4040
required=True,
4141
help='Refresh token obtained from CSP')
4242

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
'suds ; python_version < "3"',
1616
'suds-jurko ; python_version >= "3.0"',
1717
'pyVmomi >= 6.7',
18-
'vapi-runtime @ file://localhost/{}/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl'.format(os.getcwd()),
19-
'vapi-client-bindings @ file://localhost/{}/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl'.format(os.getcwd()),
20-
'vapi-common-client @ file://localhost/{}/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl'.format(os.getcwd()),
18+
'vapi-runtime @ file://localhost/{}/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl'.format(os.getcwd()),
19+
'vapi-client-bindings @ file://localhost/{}/lib/vapi-client-bindings/vapi_client_bindings-3.1.0-py2.py3-none-any.whl'.format(os.getcwd()),
20+
'vapi-common-client @ file://localhost/{}/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl'.format(os.getcwd()),
2121
'vmc-client-bindings @ file://localhost/{}/lib/vmc-client-bindings/vmc_client_bindings-1.9.0-py2.py3-none-any.whl'.format(os.getcwd()),
2222
'nsx-python-sdk @ file://localhost/{}/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl'.format(os.getcwd()),
2323
'nsx-policy-python-sdk @ file://localhost/{}/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl'.format(os.getcwd()),
2424
'nsx-vmc-policy-python-sdk @ file://localhost/{}/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl'.format(os.getcwd()),
2525
'nsx-vmc-aws-integration-python-sdk @ file://localhost/{}/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl'.format(os.getcwd()),
26+
'vmc-draas-client-bindings @ file://localhost/{}/lib/vmc-draas-client-bindings/vmc_draas_client_bindings-1.0.0-py2.py3-none-any.whl'.format(os.getcwd()),
2627
]
2728
)

0 commit comments

Comments
 (0)