Page tree
Skip to end of metadata
Go to start of metadata
Supported VersionsLast Updated
1.2.00 & higher
json output 1.14.00 & higher
2013/04/30
Actionvserver-addip
MethodGET, POST
Variables
vserverid  [id of virtual server]
ipv4addr   [single IPv4 address] This is optional
rdtype     [json] For json output specify json or for default output leave blank. This variable is optional
forceaddip [0/1] You can force add an ipaddress even if the ip is not in a block assigned to the node. Use this with caution as it may cause unreliable bandwidth calculations
Example Output

XML

Success:

 <status>success</status>
<statusmsg>Ip address added</statusmsg>
<ipaddress>123.123.123.1233</ipaddress>

Error:

 <status>error</status>
<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

 {
"status":"success",
"statusmsg":"Ip address added",
"ipaddress":"123.123.123.123"
}

Error:

 {"status":"error","statusmsg":"ERROR MESSAGE"}
  • No labels