| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | proxy_mode | enum | Sets the transmission mode of the global scope or the virtual service.Available values:
|
| default | active_close | boolean | When the feature is on, the system will close Layer 4 related TCP connections when the IP, TCP or TCPS real service goes down. When the feature is off, Layer 4 TCP connections will not be closed until connection timeout. |
| default | regex_case_mode | enum | Sets the case sensitivity during regular expression matching.Available values:
|
| default | overload_persistence | boolean | Protects connections related to SLB cookie methods from being restricted by the maximum connection number of the real service. This function works for the Persistent Cookie, Insert Cookie, Rewrite Cookie and Embed Cookie methods. |
| default | virtual_health | boolean | When this function is enabled, if all the real services associated with the virtual service are down, the status of the virtual service will be set as down. |
| default | ip_pools | asso | Configures proxy IP pools for real services globally. If the proxy IP pool is configured both globally and for the group of a real service, the system will preferentially select an IP address from the proxy IP pool configured for the group to establish the connection with the real service. If no proxy IP pool is configured for the group but the proxy IP pool is configured globally, the system will preferentially select an IP address from the proxy IP pool configured globally. |
| default | acl_rule | asso | |
| default | acl_whitelist | asso |
{
"GlobalSettings": {
"meta": {
"abstract": false,
"verbose_name": Global Settings,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
| Method | GET |
|---|---|
| URL | https://10.8.6.91:9997/rest/apv/loadbalancing/slb/GlobalSettings/meta |
| Request Data | None |
| Response Data | {
"GlobalSettings": {
"meta": {
"abstract": false,
"verbose_name": "Global Settings"
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": "Transmission Mode",
"field_name": "proxy_mode"
},
{
"verbose_name": "TCP Connection Actively Closing",
"field_name": "active_close"
},
{
"verbose_name": "Global RegEx Case Mode",
"field_name": "regex_case_mode"
},
{
"verbose_name": "SLB Overload Persistence",
"field_name": "overload_persistence"
},
{
"verbose_name": "SLB Virtual Service Health Check",
"field_name": "virtual_health"
},
{
"verbose_name": "Global Proxy IP Pools",
"field_name": "ip_pools"
},
{
"verbose_name": "Globally Applied ACL Rules",
"field_name": "acl_rule"
},
{
"verbose_name": "Globally Applied ACL Whitelists",
"field_name": "acl_whitelist"
}
],
"group_name": "default"
}
]
}
} |
| Comment | None |
| Parameter | Type | Description |
|---|---|---|
| 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: proxy_mode, active_close, regex_case_mode, overload_persistence, virtual_health, ip_pools, acl_rule, acl_whitelist, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | proxy_mode | enum | Sets the transmission mode of the global scope or the virtual service.Available values:
|
| default | active_close | boolean | When the feature is on, the system will close Layer 4 related TCP connections when the IP, TCP or TCPS real service goes down. When the feature is off, Layer 4 TCP connections will not be closed until connection timeout. |
| default | regex_case_mode | enum | Sets the case sensitivity during regular expression matching.Available values:
|
| default | overload_persistence | boolean | Protects connections related to SLB cookie methods from being restricted by the maximum connection number of the real service. This function works for the Persistent Cookie, Insert Cookie, Rewrite Cookie and Embed Cookie methods. |
| default | virtual_health | boolean | When this function is enabled, if all the real services associated with the virtual service are down, the status of the virtual service will be set as down. |
| default | ip_pools | asso | Configures proxy IP pools for real services globally. If the proxy IP pool is configured both globally and for the group of a real service, the system will preferentially select an IP address from the proxy IP pool configured for the group to establish the connection with the real service. If no proxy IP pool is configured for the group but the proxy IP pool is configured globally, the system will preferentially select an IP address from the proxy IP pool configured globally. |
| default | acl_rule | asso | |
| default | acl_whitelist | asso |
{
"GlobalSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"GlobalSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"GlobalSettings": {
<field>:<value>,
}
}
| Method | GET |
|---|---|
| URL | https://10.8.6.91:9997/rest/apv/loadbalancing/slb/GlobalSettings/default |
| Request Data | None |
| Response Data | {
"GlobalSettings": {
"proxy_mode": "reverse",
"active_close": false,
"regex_case_mode": "off",
"overload_persistence": false,
"virtual_health": false,
"ip_pools": [],
"acl_rule": [],
"acl_whitelist": []
}
} |
| Comment | None |
| Method | GET |
|---|---|
| URL | https://10.8.6.91:9997/rest/apv/loadbalancing/slb/GlobalSettings/proxy_mode |
| Request Data | None |
| Response Data | {
"GlobalSettings": {
"proxy_mode": "reverse"
}
} |
| Comment | None |
{
<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: proxy_mode, active_close, regex_case_mode, overload_persistence, virtual_health, ip_pools, acl_rule, acl_whitelist, |
| Field Name | Type | Description |
|---|---|---|
| proxy_mode | enum | Sets the transmission mode of the global scope or the virtual service.Available values:
|
| active_close | boolean | When the feature is on, the system will close Layer 4 related TCP connections when the IP, TCP or TCPS real service goes down. When the feature is off, Layer 4 TCP connections will not be closed until connection timeout. |
| regex_case_mode | enum | Sets the case sensitivity during regular expression matching.Available values:
|
| overload_persistence | boolean | Protects connections related to SLB cookie methods from being restricted by the maximum connection number of the real service. This function works for the Persistent Cookie, Insert Cookie, Rewrite Cookie and Embed Cookie methods. |
| virtual_health | boolean | When this function is enabled, if all the real services associated with the virtual service are down, the status of the virtual service will be set as down. |
All configuration fields and their values are replied:
{
"GlobalSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Method | PUT |
|---|---|
| URL | https://10.8.6.91:9997/rest/apv/loadbalancing/slb/GlobalSettings/regex_case_mode |
| Request Data | {
"regex_case_mode": "on"
} |
| Response Data | {
"GlobalSettings": {
"proxy_mode": "reverse",
"active_close": false,
"regex_case_mode": "on",
"overload_persistence": false,
"virtual_health": false,
"ip_pools": [],
"acl_rule": [],
"acl_whitelist": []
}
} |
| Comment | None |