Return only the Identifier and not the whole Node object 92/16792/1
authorSam Hague <shague@redhat.com>
Wed, 18 Mar 2015 21:49:57 +0000 (17:49 -0400)
committerSam Hague <shague@redhat.com>
Wed, 18 Mar 2015 21:49:57 +0000 (17:49 -0400)
commit5b33a0ddcda70dead857c1de00353167350c5401
tree4e1043fac81837c25f37e8bbd026e2de2f5a5b71
parent93a60b582f8c437e26513defa00160a0ca7ada03
Return only the Identifier and not the whole Node object

The northbound should only return a string like "OVS|192.168.120.1:6640" when returning Node information. In the migration work the mdsal Node.fromString() returns all the Node object information and not just teh identifier as the adsal Node did.

Change-Id: I8bf1b66b5e956d9a7db7f91f79478cc43d8aeba1
Signed-off-by: Sam Hague <shague@redhat.com>
northbound/src/main/java/org/opendaylight/ovsdb/northbound/NodeResource.java
northbound/src/test/java/org/opendaylight/ovsdb/northbound/NodeResourceTest.java