NDP (Neighbor Discovery Protocol), a key protocol of the IPv6 stack, can be used for obtaining the link address information of other neighbor nodes connected with the local nodes. Similar to the ARP (Address Resolution Protocol) of the IPv4 stack, NDP can perform address transformation between the network layer and the link layer. The difference is that NDP uses ICMPv6 (Internet Control Message Protocol version 6) and multicast to manage the information exchanged among the neighbored nodes (within the same link), and keeps the address mapping between the network layer and the link layer in the same subnet.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | ip | ip6addr | |
| default | mac | string | |
| sys_tgt_fields | additional_info | string |
{
"StaticNDPEntry": {
"meta": {
"abstract": false,
"verbose_name": NDP,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| ip | ip6addr | |
| mac | string |
{
"StaticNDPEntry": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"StaticNDPEntry": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, sys_tgt_fields, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: ip, mac, additional_info, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | ip | ip6addr | |
| default | mac | string | |
| sys_tgt_fields | additional_info | string |
{
"StaticNDPEntry": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"StaticNDPEntry": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"StaticNDPEntry": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}