Port-name on VE Interface
Configures, modifies, and retrieves port-name on a VE interface. The URI to configure data for port-name under a VE interface is:
/restconf/data/openconfig-interfaces:interfaces
Supported HTTP Operations
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface/ve%2010/config
Request body: None
Response body:
{
"openconfig-interfaces:config" : {
"name" : "ve 10",
"type" : "iana-if-type:l3ipvlan",
"description" : "abcd"
}
}
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface/ve%2012/config/description
Request body:
{
"openconfig-interfaces:description" : "dddd"
}
Response body: Configures port-name on existing VE
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces
Request body:
{
"openconfig-interfaces:interface" : [
{
"name" : "ve 22",
"config" : {
"name" : "ve 22",
"type" : "iana-if-type:l3ipvlan",
"description" : "qwer"
}
}
]
}
Response body: Creates a VE interface with id = 22 and port-name as "qwer"
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface/ve%2010/config/description
Request body:
{
"openconfig-interfaces:description" : "ffff"
}
Response body: None
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface/ve%2010/config/description
Request body: None Response body: Removes port-name under VE 10