Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vapp network lists #657

Merged
merged 5 commits into from
Apr 10, 2024
Merged

Vapp network lists #657

merged 5 commits into from
Apr 10, 2024

Conversation

dataclouder
Copy link
Contributor

@dataclouder dataclouder commented Mar 22, 2024

Add methods to list vApp networks

Implementation remarks

  1. The API to retrieve vApp networks doesn't expose information about Org and VDC. The only ancestors mentioned in the returned data structure are the vApp and the vCenter.
  2. Consequently, we can retrieve the networks associated with a vApp, but not the ones belonging to a VDC.
  3. Association with an Org is obtained indirectly by running the request as tenant.
  4. When running as Org user, the API populates a field named linkNetworkName, which points to the network linked to. But when running as System administrator, the API fills instead a field realNetworkName , which points to the name of the network in vCenter.

Giuseppe Maxia added 2 commits March 22, 2024 15:19
Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
Giuseppe Maxia added 3 commits March 24, 2024 19:00
Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
@dataclouder dataclouder marked this pull request as ready for review March 25, 2024 12:05
Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dataclouder dataclouder merged commit 6736b52 into vmware:main Apr 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants