Configures, modifies, or retrieves VRF configurations.
URI | Description |
---|---|
/restconf/data/brocade-vrf:vrf | VRF configurations. |
GET URIs | Description |
---|---|
/restconf/data/brocade-vrf:vrf | VRF configurations. |
/data/brocade-vrf:vrf=%vrf-name%/address-family/ip/unicast | Retrieves IPv4 address family configurations. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ip/unicast/max-route | Retrieves IPv4 address family max route. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ipv6/unicast | Retrieves IPv6 address family configurations. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ipv6/unicast/max-route | Retrieves IPv6 address family max route. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ip/unicast/import | Imports a map. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ip/unicast/export | Exports a map. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/ip/vrf-router-id | Retrieves IP route details. |
POST URIs | Payload | Description |
---|---|---|
/restconf/data/brocade-vrf:vrf | <vrf>(name)</vrf> | Configures VRF. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ipv4 | <unicast /> | Configures unicast IPv4 address family. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family//ipv6 | <unicast /> | Configures unicast IPv6 address family. |
PUT URIs | Payload | Description |
---|---|---|
/restconf/data/brocade-vrf:vrf=%vrf-name%/ip/vrf-router-id | <router-id>(ip-address)</router-id> | Configures IP route. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ip/unicast/max-route | <max-route>(unit32)</max-route> | Configures unicast IPv4 address family max-route. |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ipv6/unicast/max-route | <max-route>(unit32)</max-route> | Configures unicast IPv6 address family max route. |
DELETE URIs |
---|
/restconf/data/brocade-vrf:vrf=%vrf-name% |
/data/brocade-vrf:vrf=%vrf-name%/address-family/ip/unicast |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ip/unicast/max-route |
/restconf/data/brocade-vrf:vrf=%vrf-name%/address-family/ipv6/unicast |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:443/rrestconf/data/brocade-vrf:vrf
None
<vrf xmlns="urn:brocade.com:mgmt:brocade-vrf"> <vrf-name>%req_val%</vrf-name> <address-family> <ip> <unicast> <max-route/> </unicast> </ip> </address-family> </vrf>
The following is an example of the POST operation to add a VRF.
http://host:443/restconf/data/brocade-vrf:vrf
<vrf>vrf1</vrf>
None
The following is an example of the DELETE operation to remove a VRF.
http://host:443/restconf/data/brocade-vrf:vrf/vrf-name
None
None