Adds node address to node list
CLI Example
Command syntax:
node add
-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 add
-net foobar
Response:
Node addr successfully added to node list
JSON-RPC Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli
-X POST http://localhost/connect
-d '{"method":"node", "params":["node;add;-net;foobar"], "id":"1"}'
Response:
{
"type": 0,
"result": "Node addr successfully added to node list",
"errors": null,
"id": 1
}