| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| webui_settings | enable_webui | boolean | |
| webui_settings | enable_webui_graph | boolean | |
| webui_settings | webui_language | enum | Available values:
|
| webui_settings | webui_ip | ipaddr | Sets the IP address at which the system accepts WebUI connections. |
| webui_settings | webui_port | port | Sets the port at which the system accepts WebUI connections. |
| webui_settings | webui_source_ip | asso | Note: The added WebUI source IP restriction rule may disable your current WebUI session. |
| webui_settings | webui_graph_ctrl | asso | |
| xmlrpc_settings | enable_xmlrpc | boolean | |
| xmlrpc_settings | xmlrpc_port | port | Sets the port at which the system listens to XML-RPC requests. |
| xmlrpc_settings | type | enum | Sets the protocol used to transmit XML-RPC messages.Available values:
|
| xmlrpc_settings | xmlrpc_source_ip | asso | |
| restapi_settings | enable_restapi | boolean | |
| restapi_settings | restapi_port | port | Sets the port number that the RESTful API-based Web service listens. |
| restapi_settings | restapi_type | enum | Sets the protocol used by the RESTful API-based Web service.Available values:
|
| ssh_settings | enable_ssh | boolean | |
| ssh_settings | ssh_ip | ipaddr | Sets the IP address at which the system accepts SSH connections. |
| ssh_settings | ssh_source_ip | asso | |
| enablemode_settings | enable_passwd | string | Sets the password for accessing the Enable mode. The default value is empty. |
| configmode_settings | timeout | uint32 | Sets the idle timeout value of the Config mode session. When the session inactivity duration exceeds the timeout value, the current Config session will exit to the "Enable" mode if a new session is trying to enter the Config mode. Otherwise, the current Config session will stay active. |
{
"AccessControl": {
"meta": {
"abstract": false,
"verbose_name": Access Control,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
{
"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 |
|---|---|---|
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
{
"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 |
|---|---|---|
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
{
"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: webui_settings, xmlrpc_settings, restapi_settings, ssh_settings, enablemode_settings, configmode_settings, 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_webui, enable_webui_graph, webui_language, webui_ip, webui_port, webui_source_ip, webui_graph_ctrl, enable_xmlrpc, xmlrpc_port, type, xmlrpc_source_ip, enable_restapi, restapi_port, restapi_type, enable_ssh, ssh_ip, ssh_source_ip, enable_passwd, timeout, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| webui_settings | enable_webui | boolean | |
| webui_settings | enable_webui_graph | boolean | |
| webui_settings | webui_language | enum | Available values:
|
| webui_settings | webui_ip | ipaddr | Sets the IP address at which the system accepts WebUI connections. |
| webui_settings | webui_port | port | Sets the port at which the system accepts WebUI connections. |
| webui_settings | webui_source_ip | asso | Note: The added WebUI source IP restriction rule may disable your current WebUI session. |
| webui_settings | webui_graph_ctrl | asso | |
| xmlrpc_settings | enable_xmlrpc | boolean | |
| xmlrpc_settings | xmlrpc_port | port | Sets the port at which the system listens to XML-RPC requests. |
| xmlrpc_settings | type | enum | Sets the protocol used to transmit XML-RPC messages.Available values:
|
| xmlrpc_settings | xmlrpc_source_ip | asso | |
| restapi_settings | enable_restapi | boolean | |
| restapi_settings | restapi_port | port | Sets the port number that the RESTful API-based Web service listens. |
| restapi_settings | restapi_type | enum | Sets the protocol used by the RESTful API-based Web service.Available values:
|
| ssh_settings | enable_ssh | boolean | |
| ssh_settings | ssh_ip | ipaddr | Sets the IP address at which the system accepts SSH connections. |
| ssh_settings | ssh_source_ip | asso | |
| enablemode_settings | enable_passwd | string | Sets the password for accessing the Enable mode. The default value is empty. |
| configmode_settings | timeout | uint32 | Sets the idle timeout value of the Config mode session. When the session inactivity duration exceeds the timeout value, the current Config session will exit to the "Enable" mode if a new session is trying to enter the Config mode. Otherwise, the current Config session will stay active. |
{
"AccessControl": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"AccessControl": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"AccessControl": {
<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_webui, enable_webui_graph, webui_language, webui_ip, webui_port, webui_source_ip, webui_graph_ctrl, enable_xmlrpc, xmlrpc_port, type, xmlrpc_source_ip, enable_restapi, restapi_port, restapi_type, enable_ssh, ssh_ip, ssh_source_ip, enable_passwd, timeout, |
| Field Name | Type | Description |
|---|---|---|
| enable_webui | boolean | |
| enable_webui_graph | boolean | |
| webui_language | enum | Available values:
|
| webui_ip | ipaddr | Sets the IP address at which the system accepts WebUI connections. |
| webui_port | port | Sets the port at which the system accepts WebUI connections. |
| enable_xmlrpc | boolean | |
| xmlrpc_port | port | Sets the port at which the system listens to XML-RPC requests. |
| type | enum | Sets the protocol used to transmit XML-RPC messages.Available values:
|
| enable_restapi | boolean | |
| restapi_port | port | Sets the port number that the RESTful API-based Web service listens. |
| restapi_type | enum | Sets the protocol used by the RESTful API-based Web service.Available values:
|
| enable_ssh | boolean | |
| ssh_ip | ipaddr | Sets the IP address at which the system accepts SSH connections. |
| enable_passwd | string | Sets the password for accessing the Enable mode. The default value is empty. |
| timeout | uint32 | Sets the idle timeout value of the Config mode session. When the session inactivity duration exceeds the timeout value, the current Config session will exit to the "Enable" mode if a new session is trying to enter the Config mode. Otherwise, the current Config session will stay active. |
All configuration fields and their values are replied:
{
"AccessControl": {
<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 |
{
"AccessControl": {
"instance_id":<instance_id>,
"webui_source_ip":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| ip | ipaddr | |
| netmask_prefix | UnionField | |
| action | enum | Available values:
|
{
"WebUISourceIP": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"AccessControl": {
"instance_id":<instance_id>,
"webui_graph_ctrl":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"AccessControl": {
"instance_id":<instance_id>,
"xmlrpc_source_ip":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| ip | ipaddr | |
| netmask_prefix | UnionField | |
| action | enum | Available values:
|
{
"XMLRPCSourceIP": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"AccessControl": {
"instance_id":<instance_id>,
"ssh_source_ip":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| ip | ipaddr | |
| netmask_prefix | UnionField | |
| action | enum | Available values:
|
{
"SSHSourceIP": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}