| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | enable | boolean | |
| default | arp | int | Sets the interval of sending ARP broadcast packets for the local HA unit. |
| default | sync_bootup | boolean | Bootup Synconfig enables the local HA unit to synchronize the configurations from the peer unit after joining the HA domain. |
| default | sync_runtime | boolean | Runtime Synconfig enables the local HA unit to synchronize the configuration updates to peer HA units in the same HA domain automatically while the HA is being running. |
| default | log_enable | boolean | |
| default | log_level | enum | Sets the level of the HA logs that the system generates.Available values:
|
| default | floatmac_enable | boolean | With the floating MAC function enabled, the floating MAC address is switched to the interfaces of the HA unit on which the group status is "Active". |
| default | floatmac_list | asso | |
| default | link_ffo | boolean | |
| default | link_network | boolean | |
| default | ha_consistency | boolean | |
| heartbeat | interval | int | Sets the interval at which the local HA unit sends heartbeat packets to the peer units through the primary link, secondary link(s) and FFO link. |
| heartbeat | down_check_times | uint32 | Sets the number of consecutive times that the local HA unit does not receive heartbeat responses from the peer HA unit for marking the peer HA unit as "Down". |
| ssf_config | ssf_ip | ip4addr | Sets the IP address of the peer HA unit for the SSF function. |
| ssf_config | nat_enable | boolean | Enables the SSF function for NAT. |
| ssf_config | vs_enable_list | asso | |
| ssi_config | ssi_enable | boolean | The Single System Image (SSI) function enables a group of appliances work like one single system. |
| gen_info | gen_info | clitext | |
| condition_status | condition_status | clitext | |
| SSF_stats | SSF_stats | clitext | |
| ha_log | ha_log | clitext |
{
"HAGenetalSettings": {
"meta": {
"abstract": false,
"verbose_name": HA General Settings,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| status | enum | Available values:
|
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| unit_name | dynamic_enum |
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| line | int |
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|
{
"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. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|
{
"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. |
| Parameter | Type | Description |
|---|---|---|
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, heartbeat, ssf_config, ssi_config, gen_info, condition_status, SSF_stats, ha_log, 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: enable, arp, sync_bootup, sync_runtime, log_enable, log_level, floatmac_enable, floatmac_list, link_ffo, link_network, ha_consistency, interval, down_check_times, ssf_ip, nat_enable, vs_enable_list, ssi_enable, gen_info, condition_status, SSF_stats, ha_log, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | enable | boolean | |
| default | arp | int | Sets the interval of sending ARP broadcast packets for the local HA unit. |
| default | sync_bootup | boolean | Bootup Synconfig enables the local HA unit to synchronize the configurations from the peer unit after joining the HA domain. |
| default | sync_runtime | boolean | Runtime Synconfig enables the local HA unit to synchronize the configuration updates to peer HA units in the same HA domain automatically while the HA is being running. |
| default | log_enable | boolean | |
| default | log_level | enum | Sets the level of the HA logs that the system generates.Available values:
|
| default | floatmac_enable | boolean | With the floating MAC function enabled, the floating MAC address is switched to the interfaces of the HA unit on which the group status is "Active". |
| default | floatmac_list | asso | |
| default | link_ffo | boolean | |
| default | link_network | boolean | |
| default | ha_consistency | boolean | |
| heartbeat | interval | int | Sets the interval at which the local HA unit sends heartbeat packets to the peer units through the primary link, secondary link(s) and FFO link. |
| heartbeat | down_check_times | uint32 | Sets the number of consecutive times that the local HA unit does not receive heartbeat responses from the peer HA unit for marking the peer HA unit as "Down". |
| ssf_config | ssf_ip | ip4addr | Sets the IP address of the peer HA unit for the SSF function. |
| ssf_config | nat_enable | boolean | Enables the SSF function for NAT. |
| ssf_config | vs_enable_list | asso | |
| ssi_config | ssi_enable | boolean | The Single System Image (SSI) function enables a group of appliances work like one single system. |
| gen_info | gen_info | clitext | |
| condition_status | condition_status | clitext | |
| SSF_stats | SSF_stats | clitext | |
| ha_log | ha_log | clitext |
{
"HAGenetalSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"HAGenetalSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"HAGenetalSettings": {
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| field_name | URI | (optional) Target field name to update. Available field names are: enable, arp, sync_bootup, sync_runtime, log_enable, log_level, floatmac_enable, floatmac_list, link_ffo, link_network, ha_consistency, interval, down_check_times, ssf_ip, nat_enable, vs_enable_list, ssi_enable, gen_info, condition_status, SSF_stats, ha_log, |
| Field Name | Type | Description |
|---|---|---|
| enable | boolean | |
| arp | int | Sets the interval of sending ARP broadcast packets for the local HA unit. |
| sync_bootup | boolean | Bootup Synconfig enables the local HA unit to synchronize the configurations from the peer unit after joining the HA domain. |
| sync_runtime | boolean | Runtime Synconfig enables the local HA unit to synchronize the configuration updates to peer HA units in the same HA domain automatically while the HA is being running. |
| log_enable | boolean | |
| log_level | enum | Sets the level of the HA logs that the system generates.Available values:
|
| floatmac_enable | boolean | With the floating MAC function enabled, the floating MAC address is switched to the interfaces of the HA unit on which the group status is "Active". |
| link_ffo | boolean | |
| link_network | boolean | |
| ha_consistency | boolean | |
| interval | int | Sets the interval at which the local HA unit sends heartbeat packets to the peer units through the primary link, secondary link(s) and FFO link. |
| down_check_times | uint32 | Sets the number of consecutive times that the local HA unit does not receive heartbeat responses from the peer HA unit for marking the peer HA unit as "Down". |
| ssf_ip | ip4addr | Sets the IP address of the peer HA unit for the SSF function. |
| nat_enable | boolean | Enables the SSF function for NAT. |
| ssi_enable | boolean | The Single System Image (SSI) function enables a group of appliances work like one single system. |
All configuration fields and their values are replied:
{
"HAGenetalSettings": {
<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 |
{
"HAGenetalSettings": {
"instance_id":<instance_id>,
"floatmac_list":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| mac | string |
{
"HAFloatMacEntry": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HAGenetalSettings": {
"instance_id":<instance_id>,
"vs_enable_list":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}