DirectFWD is a new Layer 4 SLB function by utilizing a multi-thread and non-lock architecture based on a multi-core system. This new architecture has maximized the advantage of the multi-core system. Compared with the traditional Layer 4 SLB, DirectFWD provides remarkably better Layer 4 SLB performance.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | enable | boolean | |
| default | syncache | boolean | This function can avoid Synflood attacking effectively. |
| default | statistics | boolean | With the function enabled, the system will collect SLB statistics under the DirectFWD mode. |
{
"DirectFWDSettings": {
"meta": {
"abstract": false,
"verbose_name": DirectFWD 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/DirectFWDSettings/meta |
| Request Data | None |
| Response Data | {
"DirectFWDSettings": {
"meta": {
"abstract": false,
"verbose_name": "DirectFWD Settings"
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": "DirectFWD",
"field_name": "enable"
},
{
"verbose_name": "Syncache",
"field_name": "syncache"
},
{
"verbose_name": "DirectFWD Statistics",
"field_name": "statistics"
}
],
"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: enable, syncache, statistics, 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 | syncache | boolean | This function can avoid Synflood attacking effectively. |
| default | statistics | boolean | With the function enabled, the system will collect SLB statistics under the DirectFWD mode. |
{
"DirectFWDSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"DirectFWDSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"DirectFWDSettings": {
<field>:<value>,
}
}
| Method | GET |
|---|---|
| URL | https://10.8.6.91:9997/rest/apv/loadbalancing/slb/DirectFWDSettings/default |
| Request Data | None |
| Response Data | {
"DirectFWDSettings": {
"enable": false,
"syncache": false,
"statistics": true
}
} |
| Comment | None |
| Method | GET |
|---|---|
| URL | https://10.8.6.91:9997/rest/apv/loadbalancing/slb/DirectFWDSettings/syncache |
| Request Data | None |
| Response Data | {
"DirectFWDSettings": {
"syncache": false
}
} |
| 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: enable, syncache, statistics, |
| Field Name | Type | Description |
|---|---|---|
| enable | boolean | |
| syncache | boolean | This function can avoid Synflood attacking effectively. |
| statistics | boolean | With the function enabled, the system will collect SLB statistics under the DirectFWD mode. |
All configuration fields and their values are replied:
{
"DirectFWDSettings": {
<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/DirectFWDSettings/syncache |
| Request Data | {
"syncache": "true"
} |
| Response Data | {
"DirectFWDSettings": {
"enable": false,
"syncache": true,
"statistics": true
}
} |
| Comment | None |