Creates alias for the node  

CLI Example

Command syntax:

node alias 
-addr <node_address> 
-alias <node_alias>

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
-addr - address of the node
-alias - alternative node name

Example:

Command:

cellframe-node-cli node alias 
-addr C003::2611::8D50::7A07
-alias personalnode 
-net mileena

Response:

alias mapped successfully

JSON-RPC Example

Command:

curl --unix-socket /opt/cellframe-node/var/run/node_cli 
-X POST http://localhost/connect 
-d '{"method":"node", "params":["node;alias;-addr;C003::2611::8D50::7A07;-alias;personalnode2;-net;mileena"], "id":"1"}'

Response:

{
  "type": 0,
  "result": "alias mapped successfully",
  "errors": null,
  "id": 1
}