In the SSI scenario with two upstream switches in Active/Standby mode, when the active switch fails down, the switch failover will occur. The HA group associated with the originally active switch will become unavailable, and the backup HA group associated with the originally standby switch will take over services.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | group | asso | |
| default | backup_group | asso |
{
"HAGroupBackup": {
"meta": {
"abstract": false,
"verbose_name": HA Group Backup,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| group | asso | |
| backup_group | asso |
{
"HAGroupBackup": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"HAGroupBackup": [
{
"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, 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: group, backup_group, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | group | asso | |
| default | backup_group | asso |
{
"HAGroupBackup": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"HAGroupBackup": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"HAGroupBackup": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HAGroupBackup": {
"instance_id":<instance_id>,
"group":<value>
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HAGroupBackup": {
"instance_id":<instance_id>,
"backup_group":<value>
}
}