francescor
Enthusiast
Enthusiast

Creating a Port group in DV switch

Jump to solution

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

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

View solution in original post

4 Replies
daphnissov
Immortal
Immortal

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

scott28tt
VMware Employee
VMware Employee

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

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

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

0 Kudos