You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Is your feature request related to a problem? Please describe.
The vtc vpc-prefixes does not have an option to include vpc attachment id and the prefix. This requires manual intervention to enter both of these options.
options:
-h, --help show this help message and exit
--oauth [OAUTH] Used to specify use of OAuth app ID and secret in config.ini instead of 'refresh_token' (default).
-aid AWS_ACCOUNT_ID, --aws_account_id AWS_ACCOUNT_ID
The ID of the AWS Account that owns the resource (DXGE / VPC, etc) you wish to configure.
-gid SDDC_GROUP_ID, --sddc_group_id SDDC_GROUP_ID
ID for the SDDC group to add prefixes to. Use 'get-group-info' to view a list of SDDC groups and their IDs.
mithilra@b0be83701edd python-client-for-vmware-cloud-on-aws-development % ./pyVMC.py vtc vpc-prefixes -aid 310793149708 -gid 1edeb6b5-8742-6d21-b1f9-0d126ed6be4b
===== Adding/Removing VPC Static Routes =========
Account: 310793149708
1: VPC attachment = tgw-attach-0d62cefdfe050f07c
Select VPC: 1
Enter route(s) to add (space separated), or press Enter to remove all: 172.21.37.0/24
PENDING
............
FINISHED in 00min 34sec
Describe the solution you'd like
A list of vpc attachment ids and prefixes should be allowed to be passed as an option to eliminate the manual user intervention