vmware / python-client-for-vmware-cloud-on-aws

Python Client for VMware Cloud on AWS is an open-source Python-based tool. Written in Python, the tool enables VMware Cloud on AWS users to automate the consumption of their VMware Cloud on AWS SDDC.
Other
24 stars 20 forks source link

segment update -n <segment> -conn ON/OFF doesn't work #189

Closed dlp-aws closed 1 year ago

dlp-aws commented 1 year ago

Describe the bug

When updating an existing network segment that is disconnected to connected, the CLI fails when either using the "-conn ON" flag or the "-rt ROUTED" flag.

Reproduction steps

  1. Start with a disconnected network segment
  2. run "$./pyVMC.py segment update -n NETWORK_NAME -conn ON" or "$./pyVMC.py segment update -n NETWORK_NAME -rt ROUTED"
  3. The first command will fail and the second will say the network segment is updated but it won't be.

Expected behavior

The network segment should get updated to be routed.

Additional context

No response

fr0gger03 commented 1 year ago

Hey David! When you are using the "-n" parameter are you also passing the segment ID or name?

dlp-aws commented 1 year ago

Yes, my apologies, I copy/pasted it incorrectly. I did enter "-n "

maulepilot117 commented 1 year ago

Hey David, which version of the SDDC were you testing against?

dlp-aws commented 1 year ago

Hey David, which version of the SDDC were you testing against?

M22