How to get the Datapath ID when switch connects?

asked 2017-09-09 12:50:03 -0700

Note: Also posted on StackOverflow (please skip if you already read this there).

I am attempting to build an SDN app with opendaylight. I use the Carbon (latest) release and the openflow plugin. I am trying to use the "genius" utility package as it has a lot of support for installing flows and such. I expect multiple switches to connect so I have to specify the "datapath ID" (dpid) in installing the flow. How do I determine the dpid when the switch connects? I can get the Node ID but how to go from there to a DPID?

Thank you,


edit retag flag offensive close merge delete