API: IP and network management
ip.list
Description
Fetches IP address list.
Command specific parameters
None.
Command specific response
IP addresses array.
Name | Description |
---|---|
net /address |
IP address array item |
net /address[addressId] |
IP address ID |
net /address[role=main\|additional] |
IP address type |
net /address /addr |
IP address |
net /address /gw |
Gateway |
net /address /mask |
Network mask |
Sample response
...
<net>
<address addressId="XX" role="additional">
<addr>XXX</addr>
</address>
<address addressId="XX" role="main">
<addr>XX</addr>
<gw>XX</gw>
<mask>XX</mask>
</address>
</net>
...
ip.movements.list
Description
Fetches configured IP redirection links.
Command specific parameters
None.
Command specific response
IP addresses redirection links array.
Name | Description |
---|---|
movements /movement |
IP address redirection links array item. Element value contains IP redirection link. |
movements /movement[addr] |
IP address redirection links being configured |
movements /movement[to] |
Main IP of destination server |
net /address[role=main\|additional] |
IP address type |
net /address /addr |
IP address |
net /address /gw |
Gateway |
net /address /mask |
Network mask |
...
<movements>
<movement addr="xx" to="yy">link</movement>
...
</movements>
...
ip.movements.create
Description
Creates new IP redirection link.
Command specific parameters
Name | Description |
---|---|
movements /movement |
IP address redirection links array item. Element value contains IP redirection link. |
addressId |
IP address ID |
serverId |
Destination server ID |
Command specific response
None.
ip.move
Description
Moves additional IP address from one server to another.
Command specific parameters
Name | Description |
---|---|
addressId |
IP address ID |
serverId |
Destination server ID |
Command specific response
None.
ip.rev-dns
Description
Updates reverse DNS entry for specified IP address.
Command specific parameters
Name | Description |
---|---|
addressId |
IP address ID |
value |
New reverse DNS entry – should be valid hostname |
Command specific response
None.