Hello David,
Function call getNodes as below
Set<Node> getNodes(IpAddress ip) which returns all nodes in the domain with a given IP address.
Node has below function which returns the most recent node location(NodeLocation ).
NodeLocation location()
Again NodeLocation can call a function elementId() which returns DeviceId and then function toString() can be called .
Finally static DataPathId dpid(String spec) will give the dpid i.e. DataPathID
Please let us know if this helps or you still face the issue.
Thanks,
HP SDN Team