IPv6 Address on Management Port for Switch Image

Configures, modifies, and retrieves IPv6 address configurations. The URI to configure data for an IPv6 address on management port globally is:

restconf/data/system/config/ipv6

Supported HTTP Operations

GET method

URL: https://<host>/restconf/data/system/config/ipv6
Request body: None
Response body:     
{
   "icx-openconfig-system-aug:ipv6" : {
      "address" : [
         {
            "ip" : "100:100::100",
            "config" : {
               "ip" : "100:100::100",
               "prefix-length" : 64
            },
            "state" : {}
         }
      ]
   }
}     

PUT method

URL: https://<host>/restconf/data/system/config/ipv6
Request body:
 {
   "icx-openconfig-system-aug:ipv6" : {
      "address" : [
      {
         "ip" : "129:129::129",
         "config" : {
            "ip" : "129:129::129",
            "prefix-length" : "64"
         }
      }
   ]
   }
}
Response body: None    

POST method

URL: https://<host>/restconf/data/system/config/ipv6
Request body:
 {
   "address" : [
      {
         "ip" : "999:999::999",
         "config" : {
            "ip" : "999:999::999",
            "prefix-length" : "64"
         }
      }
   ]
}
Response body: None    

PATCH method

URL: https://<host>/restconf/data/system/config/ipv6
Request body:
  {
   "icx-openconfig-system-aug:ipv6" : {
      "address" : [
      {
         "ip" : "129:129::129",
         "config" : {
            "ip" : "129:129::129",
            "prefix-length" : "64"
         }
      }
   ]
   }
}
Response body: None    

DELETE

URL: https://<host>/restconf/data/system/config/ipv6
Request body: None    
Response body: Unconfigure IPv6 address