{"action":"opened","issue":{"url":"https://api.github.com/repos/interop-dev/netjson/issues/15","labels_url":"https://api.github.com/repos/interop-dev/netjson/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/interop-dev/netjson/issues/15/comments","events_url":"https://api.github.com/repos/interop-dev/netjson/issues/15/events","html_url":"https://github.com/interop-dev/netjson/issues/15","id":83260315,"number":15,"title":"Standardize multiple id nodes","user":{"login":"gabri94","id":2878661,"avatar_url":"https://avatars.githubusercontent.com/u/2878661?v=3","gravatar_id":"","url":"https://api.github.com/users/gabri94","html_url":"https://github.com/gabri94","followers_url":"https://api.github.com/users/gabri94/followers","following_url":"https://api.github.com/users/gabri94/following{/other_user}","gists_url":"https://api.github.com/users/gabri94/gists{/gist_id}","starred_url":"https://api.github.com/users/gabri94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabri94/subscriptions","organizations_url":"https://api.github.com/users/gabri94/orgs","repos_url":"https://api.github.com/users/gabri94/repos","events_url":"https://api.github.com/users/gabri94/events{/privacy}","received_events_url":"https://api.github.com/users/gabri94/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-01T01:44:36Z","updated_at":"2015-06-01T01:44:36Z","closed_at":null,"body":"A lot of routing protocols can have multiple IDs (aliases) for the same node.\r\nIn OLSR this is called MID, in batman-adv primary and secondary id.\r\nWe should find a standard way to rapresent it in the various json.\r\n\r\nI propose to add this optional attribute inside of the elements of the list \"nodes\":\r\n```javascript\r\n\"aliases\": [\r\n    \"172.16.40.25\",\r\n    \"172.16.40.26\"\r\n]\r\n```\r\n\r\n\r\nso \"nodes\" would become something like:\r\n```javascript\r\n\"nodes\": [\r\n    {\r\n        \"id\": \"172.16.40.24\",\r\n        \"aliases\": [\r\n            \"172.16.40.25\",\r\n            \"172.16.40.26\"\r\n        ],\r\n        \"label\": \"node-A\",\r\n        \"properties\": {\r\n            \"hostname\": \"node1.my.net\"\r\n        }\r\n    }\r\n]\r\n"}}