Velocloud API POSTMAN Collection - using data files
This is a postman collection for interacting with the VeloCloud Ochestrator (VCO).
It allow users to import a CSV or JSON file, and use the values from the data file in the requests and scripts
An environment must be used including the following:
url is the target URL or IP of the VeloCloud Orchestrator
and at least 1 enterprise user:
ent-username is the enterprise admin user
ent-password is the enterprise admin password
A data file (csv for example) is also required with the following variables:
EnterpriseName, ProfileName, EdgeName, modelNumber, contactName, contactEmail, haEnabled
modelNumber can be: edge500, edge5X0, edge510, edge840, edge1000, edge1000qat, virtual
Ex:
EnterpriseName,ProfileName,EdgeName,modelNumber,contactName,contactEmail,haEnabled
Customer-1,API-HUB-Profile,VCE1-H-API,Virtual,Vladimir,vladimir@vladimir.com,null
Customer-1,API-HUB-Profile,VCE2-H-API,Virtual,Vladimir,vladimir@vladimir.com,TRUE
Customer-1,API-Branches-Profile,VCE3-B-API,Virtual,Vladimir,vladimir@vladimir.com,null
Customer-1,API-Branches-Profile,VCE4-B-API,Virtual,Vladimir,vladimir@vladimir.com,null
Customer-1,API-Branches-Profile,VCE5-B-API,Virtual,Vladimir,vladimir@vladimir.com,null
This sample collection can do the following:
Login to the VCO
Retrieve the Enterprise ID
Create a new Profile
Modify the Profile vlan 1
Add a Edge Access Firewall rule
Provision Edges
It can be used as a start point for more complex operations.
Note: Consistent with the disclaimer on the Sample Exchange home page, please note that our API/SDK and Support team - do not guarantee the samples; they are provided - AS IS - i.e. while we are glad to answer questions about API usage and behavior generally speaking, we cannot and do not specifically support these scripts.
However, please contact me if you see any issues or have any questions :) Vladimir F. de Sousa (vfrancadesou@vmware.com)
The following video has a walk through on how to go about using this collection:
https://youtu.be/AG_P766q4bU
- ddddddIt allow users to import a dddd or JSON file, and use the values from the data file in the requests and scripts