Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Anchor
_Toc341972570
_Toc341972570
Attributes

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:

http://ip:port/auth/rest

Proxies

coll

 

 

 

 

applications

Coll

 

 

 

 

agent

object

 

 

 

The associated agent


Anchor
_Toc341972571
_Toc341972571
/ radiusServer / create

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
_Toc341972572
_Toc341972572
/ radiusServer / get

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
_Toc341972573
_Toc341972573
/ radiusServer / search

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
_Toc341972574
_Toc341972574
/ radiusServer / delete

Method:/radiusServer /delete
Parameters:
{
"id":id
}
Response:
{
"error":0
}

Anchor
_Toc341972575
_Toc341972575
/ radiusServer / set

Wiki Markup
Method:/radiusServer /set
Parameters: 
\{
 "id":id,
 "attrs":
\{
 Description:"dddd",
  "clients":\[
\{id:id1\},
\{id:id2\},
\{id:id3\}
\]
\}
\}
Response: 
\{
"error":0
\}
\\