Anchor | ||||
---|---|---|---|---|
|
Attribute | type | values | default | mandate | comment |
name | string |
|
| true |
|
description | string |
|
| false |
|
ipaddress | string |
|
| true |
|
authPort | integer |
|
| true |
|
acctPort | integer |
|
| true |
|
managePort | integer |
|
| true | port number of RADIUS management API |
enabled | boolean |
| true |
|
|
clients | coll |
|
|
|
|
authServiceAddr | string |
|
| true | address of DUAL authentication service. For example: |
Proxies | coll |
|
|
|
|
applications | Coll |
|
|
|
|
agent | object |
|
|
| The associated agent |
Anchor | ||||
---|---|---|---|---|
|
Method:/radiusServer/create
Parameters:
{
"attrs":
{
"name":"Radius1",
"description":"description",
"ipaddress":"192.168.222.181",
"authPort":1812,
"acctPort":1813,
"
"authServiceAddr":"http://ip:port/auth/rest"
}
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/radiusServer /get Parameters: \{ "match": \[ \["ipaddress", "=", "192.168.222.181"\], \["name", "=", "Radius1"\] \} "return":\["*"\] \} Response: \{ "error":0, "result": \{ "name":"Radius1", "description":"description", "ipaddress":"192.168.222.181", "authPort":1812, "acctPort":1813 \} \} \\ |
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/radiusServer /search Parameters: \{ "match": \[ \["ipaddress", "=", "192.168.222.181"\], \["name", "=", "Radius1"\] \} "return":\["*"\] \} Response: \{ "error":0, "result": \{ "total":1, "rows": \[ \{ "name":"Radius1", "description":"description", "ipaddress":"192.168.222.181", "authPort":1812, "acctPort":1813 \} \] \} \\ \\ |
Anchor | ||||
---|---|---|---|---|
|
Method:/radiusServer /delete
Parameters:
{
"id":id
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/radiusServer /set Parameters: \{ "id":id, "attrs": \{ Description:"dddd", "clients":\[ \{id:id1\}, \{id:id2\}, \{id:id3\} \] \} \} Response: \{ "error":0 \} \\ |