Ask Your Question
0

How to get the ip-address of a device through REST northbound api?

asked 2014-11-11 18:25:27 -0700

zhoumnj gravatar image

updated 2014-11-12 17:07:10 -0700

From REST apis like the following, we could only resolve the L2 MAC address of nodes. But how to get L3 IP ?

/restconf/operational/opendaylight-inventory:nodes

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-13 07:53:09 -0700

Moderators

There was a bug Bug 2181 that has been fixed.

I have tested on the master branch and it seem to have worked, below is the sample output i got.

            "flow-node-inventory:description": "None",
            "flow-node-inventory:ip-address": "192.168.68.133",
            "flow-node-inventory:manufacturer": "Nicira, Inc.",
            "flow-node-inventory:hardware": "Open vSwitch",
edit flag offensive delete publish link more
Login/Signup to Answer

Stats

Asked: 2014-11-11 18:25:27 -0700

Seen: 366 times

Last updated: Nov 13 '14