The administrator can add static ARP entries in addition to the dynamic ARP entries that the system generates when receiving ARP broadcast packets from remote hosts. After system reboot, the static ARP entries still exist while dynamic ARP entries will be cleared.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | ip | ip4addr | IP address of the remote host |
| default | mac | string | MAC address of the remote host. |
| sys_tgt_fields | additional_info | string |
{
"StaticARPEntry": {
"meta": {
"abstract": false,
"verbose_name": ARP,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| ip | ip4addr | IP address of the remote host |
| mac | string | MAC address of the remote host. |
{
"StaticARPEntry": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"StaticARPEntry": [
{
"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 | ip4addr | IP address of the remote host |
| default | mac | string | MAC address of the remote host. |
| sys_tgt_fields | additional_info | string |
{
"StaticARPEntry": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"StaticARPEntry": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"StaticARPEntry": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}