create network
POST https://{{dcnm}}/rest/top-down/fabrics/{{fabric}}/networks
Creates a new network with the unused VLAN ID in the fabric named within the URI path.
Note: `{{ networkidnumber }}` is defined as an ENV var, but will need to be changed if more than one network is created on DCNM.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dcnm-token | string |
Request Body
{"fabric"=>"{{fabric}}", "vrf"=>"{{vrf}}", "networkName"=>"{{network}}", "networkId"=>"{{network_id_number}}", "networkTemplateConfig"=>"{\"gatewayIpAddress\":\"10.3.4.1/24\", \"vlanId\":\"{{network_vlan_id}}\"}", "networkTemplate"=>"Default_Network_Universal", "networkExtensionTemplate"=>"Default_Network_Extension_Universal"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
dcnm-token | string |