Virtual Routing and Forwarding

Configures, modifies and retrieves the virtual routing and forwarding (VRF) name for an icmp-echo IPPM configuration.

/ippm/config/profile/<profile-name>/icmp-echo/config/vrf	

Supported HTTP Operations

The VRF name has to be configured along with the destination IP or hostname. Therefore, the operations PATCH and DELETE are not supported separately.

GET method

URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config/vrf
Request body: None
Response body:  
{
    "icx-openconfig-ippm:vrf": "vrf1"
}

PATCH method

URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config
Request body:
{
    "icx-openconfig-ippm:config": {
      "destination" : "20.1.1.1",
      "source" : "30.1.1.1",
      "vrf" : "vrf1"
}
}

Response body: None    
PUT method
URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config
Request body:
{
    "icx-openconfig-ippm:config": {
      "destination" : "20.1.1.1",
      "source" : "30.1.1.1",
      "vrf" : "vrf1"
}
}

Response body: None 
Deleting the destination IP address deletes the VRF count also. The URI for DELETE method is:
URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config/destination
Request body: None
Response body: None