| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | type | enum | Available values:
|
| default | pool_name | string | |
| default | rr_count | uint16 | Sets the maximum number of resource records that will be returned in the DNS response message when this SDNS service pool is hit. |
| default | primary_method | enum | Sets the primary method used to choose SDNS service IPs from service pools.Available values:
|
| default | primary_exp_name | asso | Sets the name of the expression used to calculate the metric of the SDNS service based on the collected SNMP OID data and weights of the SNMP OIDs. |
| default | primary_order | enum | Sets the order in which pool members are sorted.Available values:
|
| default | secondary_method | enum | Sets the secondary method used to choose SDNS service IPs from service pools.Available values:
|
| default | secondary_exp_name | asso | |
| default | secondary_order | enum | Sets the order in which pool members are sorted.Available values:
|
| statistics | max_return | StorableField | |
| statistics | pool_hits | StorableField | |
| statistics | pri_hits | StorableField | |
| statistics | sec_hits | StorableField | |
| statistics | monitor_count | StorableField | |
| statistics | members | StorableField | |
| ipo_setting | preempt | boolean | When the service IP(s) with the highest priority become(s) available again, the Preemption function will automatically switch the currently selected service IP(s) in the same SDNS service pool to the service IP(s) with the highest priority. |
| ipo_setting | failover | boolean | When the service IP(s) with the highest priority become(s) unavailable, the Auto Failover function will automatically switch the currently selected service IP(s) to the service IP(s) with the second highest priority in the same SDNS service pool. |
| ipo_setting | ipo_priority | uint32 | The Manual Switchover function allows the administrator to manually switch the currently selected service IP(s) to the service IP(s) with this specified priority in the same SDNS service pool. If both the Auto Failover and Preemption functions are enabled, the manual switchover operation will not work. |
| fallback_pool | pool_dst | asso | |
| healthcheck | health_relation | enum | Sets the relationship among the health check instances of the SDNS service pool.Available values:
|
| healthcheck | monitor | asso | |
| healthcheck | mix_relation | asso | |
| poolmember | member | asso |
{
"NormalPool": {
"meta": {
"abstract": false,
"verbose_name": Normal Pool,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| pool_name | string | |
| rr_count | uint16 | Sets the maximum number of resource records that will be returned in the DNS response message when this SDNS service pool is hit. |
| primary_method | enum | Sets the primary method used to choose SDNS service IPs from service pools.Available values:
|
| primary_exp_name | asso | Sets the name of the expression used to calculate the metric of the SDNS service based on the collected SNMP OID data and weights of the SNMP OIDs. |
| primary_order | enum | Sets the order in which pool members are sorted.Available values:
|
| secondary_method | enum | Sets the secondary method used to choose SDNS service IPs from service pools.Available values:
|
| secondary_exp_name | asso | |
| secondary_order | enum | Sets the order in which pool members are sorted.Available values:
|
{
"NormalPool": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"NormalPool": [
{
"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, policy, fallbackpool, statistics, ipo_setting, fallback_pool, healthcheck, poolmember, 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: type, pool_name, max_return, pool_hits, pri_hits, sec_hits, monitor_count, members, rr_count, primary_method, primary_exp_name, primary_order, secondary_method, secondary_exp_name, secondary_order, preempt, failover, ipo_priority, pool_dst, health_relation, monitor, mix_relation, member, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | type | enum | Available values:
|
| default | pool_name | string | |
| default | rr_count | uint16 | Sets the maximum number of resource records that will be returned in the DNS response message when this SDNS service pool is hit. |
| default | primary_method | enum | Sets the primary method used to choose SDNS service IPs from service pools.Available values:
|
| default | primary_exp_name | asso | Sets the name of the expression used to calculate the metric of the SDNS service based on the collected SNMP OID data and weights of the SNMP OIDs. |
| default | primary_order | enum | Sets the order in which pool members are sorted.Available values:
|
| default | secondary_method | enum | Sets the secondary method used to choose SDNS service IPs from service pools.Available values:
|
| default | secondary_exp_name | asso | |
| default | secondary_order | enum | Sets the order in which pool members are sorted.Available values:
|
| statistics | max_return | StorableField | |
| statistics | pool_hits | StorableField | |
| statistics | pri_hits | StorableField | |
| statistics | sec_hits | StorableField | |
| statistics | monitor_count | StorableField | |
| statistics | members | StorableField | |
| ipo_setting | preempt | boolean | When the service IP(s) with the highest priority become(s) available again, the Preemption function will automatically switch the currently selected service IP(s) in the same SDNS service pool to the service IP(s) with the highest priority. |
| ipo_setting | failover | boolean | When the service IP(s) with the highest priority become(s) unavailable, the Auto Failover function will automatically switch the currently selected service IP(s) to the service IP(s) with the second highest priority in the same SDNS service pool. |
| ipo_setting | ipo_priority | uint32 | The Manual Switchover function allows the administrator to manually switch the currently selected service IP(s) to the service IP(s) with this specified priority in the same SDNS service pool. If both the Auto Failover and Preemption functions are enabled, the manual switchover operation will not work. |
| fallback_pool | pool_dst | asso | |
| healthcheck | health_relation | enum | Sets the relationship among the health check instances of the SDNS service pool.Available values:
|
| healthcheck | monitor | asso | |
| healthcheck | mix_relation | asso | |
| poolmember | member | asso |
{
"NormalPool": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"NormalPool": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"NormalPool": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}
{
<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: rr_count, primary_method, primary_order, secondary_method, secondary_order, preempt, failover, ipo_priority, health_relation, |
| Field Name | Type | Description |
|---|---|---|
| rr_count | uint16 | Sets the maximum number of resource records that will be returned in the DNS response message when this SDNS service pool is hit. |
| primary_method | enum | Sets the primary method used to choose SDNS service IPs from service pools.Available values:
|
| primary_order | enum | Sets the order in which pool members are sorted.Available values:
|
| secondary_method | enum | Sets the secondary method used to choose SDNS service IPs from service pools.Available values:
|
| secondary_order | enum | Sets the order in which pool members are sorted.Available values:
|
| preempt | boolean | When the service IP(s) with the highest priority become(s) available again, the Preemption function will automatically switch the currently selected service IP(s) in the same SDNS service pool to the service IP(s) with the highest priority. |
| failover | boolean | When the service IP(s) with the highest priority become(s) unavailable, the Auto Failover function will automatically switch the currently selected service IP(s) to the service IP(s) with the second highest priority in the same SDNS service pool. |
| ipo_priority | uint32 | The Manual Switchover function allows the administrator to manually switch the currently selected service IP(s) to the service IP(s) with this specified priority in the same SDNS service pool. If both the Auto Failover and Preemption functions are enabled, the manual switchover operation will not work. |
| health_relation | enum | Sets the relationship among the health check instances of the SDNS service pool.Available values:
|
All configuration fields and their values are replied:
{
"NormalPool": {
"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 |
{
"NormalPool": {
"instance_id":<instance_id>,
"primary_exp_name":<value>
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"NormalPool": {
"instance_id":<instance_id>,
"secondary_exp_name":<value>
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"NormalPool": {
"instance_id":<instance_id>,
"pool_dst":<value>
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"NormalPool": {
"instance_id":<instance_id>,
"mix_relation":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| relation | string |
{
"MixRelation": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"NormalPool": {
"instance_id":<instance_id>,
"member":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| weight | uint32 | Sets the weight for the SDNS service. |
| priority | uint32 | Sets the priority for the SDNS service. |
{
"PoolMember": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}