Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Rest operation method POST and Nexus 1000V

$
0
0

Hello guys,

 

I am trying to configure our Nexus 1000V from VCO, the goal at first is to create port profile for VM (vEthernet) from workflow VCO.

 

For testing, i tested rest operation which is using method "get". it is working and i can manipulated the value in return.

 

Now i want to use the method "post" to create new port profile for virtual machine on the Nexus 1000V based on several parameters like name, vlan, description, access mode etc...

But i don't find any information about how to configure a rest operation method "post" with several parameters. 

 

If i tried to use curl i can create the port profile, so the API Rest Nexus is working, here is an example :

curl -i -X POST -H 'Content-Type: application/json' -d '{"type" : "vethernet", "name" : "vl666-clienttest", "maxPorts" : 8 , etc....}' -u admin:XXXXX 193.XXX.XX.XXX/api/port-profile

 

In workflow "Add Rest operation", how can i configure it with these parameters (will be input) ?

 

Someone have an idea ?

 

Best regards


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>