System interfaces can be added to the bond interface to increase the bandwidth capability of the appliance. At most 12 system interfaces can be added to a bond interface.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | name | string | |
| default | inf_type | enum | Available values:
|
| default | addresses | asso | |
| default | inf_stats | string | |
| default | id | string | |
| default | primary_interface | asso | |
| default | backup_interface | asso | |
| default | mtu | uint32 | Maximum Transmission Unit |
| health_check | destination_ip | ipaddr | |
| health_check | interval | int | |
| health_check | timeout | int | |
| health_check | up_check_times | uint32 | Sets the times of consecutive health check successes to set the health status of the bond interface as Up. |
| health_check | down_check_times | uint32 | Sets the times of consecutive health check failures to set the health status of the bond interface as Down. |
| health_check | gateway_ip | ipaddr | |
| stats | hardware_status | string | |
| stats | webwall_status | boolean | |
| stats | drop_notp_tcp | StorableField | |
| stats | drop_notp_udp | StorableField | |
| stats | drop_notp_icmp | StorableField | |
| stats | drop_notp_ah | StorableField | |
| stats | drop_notp_esp | StorableField | |
| stats | drop_deny_tcp | StorableField | |
| stats | drop_deny_udp | StorableField | |
| stats | drop_deny_icmp | StorableField | |
| stats | drop_deny_ah | StorableField | |
| stats | drop_deny_esp | StorableField |
{
"BondInterface": {
"meta": {
"abstract": false,
"verbose_name": Bond Interface,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
"targets": [<target>]
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"BondInterface": [
{
"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, tgt_fields, health_check, sys_tgt_fields, stats, 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: name, inf_type, addresses, inf_stats, id, primary_interface, backup_interface, destination_ip, interval, timeout, up_check_times, down_check_times, gateway_ip, mtu, hardware_status, webwall_status, drop_notp_tcp, drop_notp_udp, drop_notp_icmp, drop_notp_ah, drop_notp_esp, drop_deny_tcp, drop_deny_udp, drop_deny_icmp, drop_deny_ah, drop_deny_esp, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | name | string | |
| default | inf_type | enum | Available values:
|
| default | addresses | asso | |
| default | inf_stats | string | |
| default | id | string | |
| default | primary_interface | asso | |
| default | backup_interface | asso | |
| default | mtu | uint32 | Maximum Transmission Unit |
| health_check | destination_ip | ipaddr | |
| health_check | interval | int | |
| health_check | timeout | int | |
| health_check | up_check_times | uint32 | Sets the times of consecutive health check successes to set the health status of the bond interface as Up. |
| health_check | down_check_times | uint32 | Sets the times of consecutive health check failures to set the health status of the bond interface as Down. |
| health_check | gateway_ip | ipaddr | |
| stats | hardware_status | string | |
| stats | webwall_status | boolean | |
| stats | drop_notp_tcp | StorableField | |
| stats | drop_notp_udp | StorableField | |
| stats | drop_notp_icmp | StorableField | |
| stats | drop_notp_ah | StorableField | |
| stats | drop_notp_esp | StorableField | |
| stats | drop_deny_tcp | StorableField | |
| stats | drop_deny_udp | StorableField | |
| stats | drop_deny_icmp | StorableField | |
| stats | drop_deny_ah | StorableField | |
| stats | drop_deny_esp | StorableField |
{
"BondInterface": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"BondInterface": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"BondInterface": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is not specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_name | URI | (optional) Target field name to update. Available field names are: name, destination_ip, interval, timeout, up_check_times, down_check_times, gateway_ip, mtu, |
| Field Name | Type | Description |
|---|---|---|
| name | string | |
| mtu | uint32 | Maximum Transmission Unit |
| destination_ip | ipaddr | |
| interval | int | |
| timeout | int | |
| up_check_times | uint32 | Sets the times of consecutive health check successes to set the health status of the bond interface as Up. |
| down_check_times | uint32 | Sets the times of consecutive health check failures to set the health status of the bond interface as Down. |
| gateway_ip | ipaddr |
All configuration fields and their values are replied:
{
"BondInterface": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"BondInterface": {
"instance_id":<instance_id>,
"addresses":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| ip | ipaddr | |
| mask_prefix | UnionField | |
| overlap | boolean | Needs to be used only when the NUMA SLB (single VIP, reverse mode) is deployed. Normally, this parameter does not need to be specified since the subnet of an interface to be added cannot overlap with that of any existing interface. |
{
"InterfaceIP": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}