VMware Cloud Community
francescor
Enthusiast
Enthusiast
Jump to solution

Creating a Port group in DV switch

Hi,

is there any REST api by which I can create a port group?

I've imported all the postman collection from the vmware github repo but I can't find it.

Thanks in advance.

Tags (1)
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

No, this isn't covered in the REST API right now.

View solution in original post

4 Replies
daphnissov
Immortal
Immortal
Jump to solution

No, this isn't covered in the REST API right now.

scott28tt
VMware Employee
VMware Employee
Jump to solution

If it helps, you can do this via PowerCLI today: Online Documentation - Cmdlet Reference - VMware {code}


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
vMarkusK1985
Expert
Expert
Jump to solution

Ansible works also pretty well:

vmware_dvs_portgroup – Create or remove a Distributed vSwitch portgroup — Ansible Documentation

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
faisalkhan78
Contributor
Contributor
Jump to solution

Please let us know, Creating a Port group in DV switch is now supported in API Or SDK calls?

Reply
0 Kudos