Lists balancer records  

CLI Example

Command syntax:

node balancer 
-net <net_name>

Options:

-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list

Example:

Command:

cellframe-node-cli node balancer 
-net raiden

Response:

Balancer link list:
 
Got 2 records
Address                   IPv4                downlinks
BBBB::0000::0000::0000    161.35.50.90        25
BBBB::1234::0000::0003    142.93.233.99       10

JSON-RPC Example

Command:

curl --unix-socket /opt/cellframe-node/var/run/node_cli 
-X POST http://localhost/connect 
-d '{"method":"node", "params":["node;balancer;-net;raiden"], "id":"1"}'

Response:

{
  "type": 0,
  "result": "Balancer link list:\n \nGot 2 records\nAddress                   IPv4                downlinks\nBBBB::0000::0000::0000    161.35.50.90        25\nBBBB::1234::0000::0003    142.93.233.99       10\n \n",
  "errors": null,
  "id": 1
}