get vrf lite dot1q id

POST https://{{dcnm}}/rest/resource-manager/reserve-id

Uses the DCNM resource manager to gather an unused 802.1q VLAN ID for use in the VRF for peering purposes. JS test inserts this value after completion into the {{ vrf_dot1q_vlan }} ENV var

Request Body

{"scopeType"=>"DeviceInterface", "usageType"=>"TOP_DOWN_L3_DOT1Q", "allocatedTo"=>"{{vrf}}", "serialNumber"=>"9O10EUPLJZ9", "ifName"=>"Ethernet1/21"}

HEADERS

KeyDatatypeRequiredDescription
dcnm-tokenstring
Content-Typestring