IPv6 Address on Management Port for Router Image

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

/restconf/data/interfaces/interface/management%201/subinterfaces/subinterface/0/ipv6	

Supported HTTP Operations

GET method

/interfaces/interface/management%201/subinterfaces/subinterface/0/ipv6/addresses
Request body: None
Response body:     
{
   "openconfig-if-ip:address" : [
      {
         "ip" : "990::67",
         "vrrp" : {},
         "config" : {
            "ip" : "990::67",
            "prefix-length" : 63
         },
         "state" : {}
      }
   ]
}  

PUT method

/interfaces/interface/management%201/subinterfaces/subinterface/0/ipv6/addresses/address/990::67
Request body:
 {
    "openconfig-if-ip:address": [
        {
            "ip": "990::67",
            "config": {
                "ip": "990::67",
                "prefix-length": 63
            }
        }
    ]
}
Response body: None    

POST method

/interfaces/interface/management%201/subinterfaces/subinterface/0/ipv6/addresses
Request body:
 {
        "openconfig-if-ip:address": [
            {
                "ip": "2620:107:90d0:ab17:ffff::252",
                "config": {
                    "ip": "2620:107:90d0:ab17:ffff::252",
                    "prefix-length": 64
                }
            }
        ]
}
Response body: None    

PATCH method

/interfaces/interface/management%201/subinterfaces
Request body:
  {
    "openconfig-interfaces:subinterfaces": {
        "subinterface": [
        {
            "index": 0,
                "config": {
                    "index": 0
                },
                "openconfig-if-ip:ipv6": {
                    "addresses": {
                        "address": [
                        {
                            "ip": "2620:107:90d0:ab17:ffff::242",
                            "config": {
                                "ip": "2620:107:90d0:ab17:ffff::242",
                                "prefix-length": 64
                            }
                        }
                        ]
                    }
                }
        }
        ]
    }
}
Response body: None    

DELETE

/interfaces/interface/management%201/subinterfaces/ipv6/addresses/address/991::67
Request body: None    
Response body: Deletes IPv6 address