VMware Cloud Community
rupamc1983
Contributor
Contributor

Automation for DLR

HI

I am trying to automate the deployment of DLR and then connect it to the logical swicth using orchestrator workflow.

But dont getting an option to automate the DLR deployment.

Any help or guidance is appreciated.

0 Kudos
3 Replies
bayupw
Leadership
Leadership

If I'm not mistaken both built-in orchestrator workflows and vRealize Automation and NSX Extensibility Kit do not have any workflows on creating a DLR.

You would probably need to create a new custom workflow and invoke either REST API using orchestrator HTTP-REST plugin and add NSX endpoint in the HTTP-REST Plugin or PowerShell/PowerNSX

NSX vSphere API Guide

GitHub - vmware/powernsx: PowerShell module that abstracts the VMware NSX-v API to a set of easily u...

createdlr.PNG

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos
rupamc1983
Contributor
Contributor

Thanks for the response.

Wanted to know how can i use the rest api to configure nsx.Since i am new to this technology any help will be appreciated.

Any sample example of using REST api with orchestration will help me in taking the next step.

0 Kudos
bayupw
Leadership
Leadership

I would suggest you to try the vRealize Automation and NSX Extensibility Kit

It is using HTTP-REST plugin.

You can duplicate/copy one of the workflow from the Extensibility kit and edit according to your needs, so in this example create a new Edge.

For a complete NSX REST API guide, you can refer to this doc: http://pubs.vmware.com/NSX-62/topic/com.vmware.ICbase/PDF/nsx_62_api.pdf

extensibility.png

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos