Starting small ... this patch checks ovs version attribute
of ovs node.
I could have added this check to "testAddDeleteOvsdbNode', but decided
that it could lead to minor confusion.
Change-Id: Iab4bf14215a2ced55f3c05be5f5a083db190f286
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
Assume.assumeTrue(disconnectOvsdbNode(connectionInfo));
}
+ @Test
+ public void testOvsdbNodeOvsVersion() throws InterruptedException {
+ ConnectionInfo connectionInfo = getConnectionInfo(addressStr, portStr);
+ Node ovsdbNode = connectOvsdbNode(connectionInfo);
+ OvsdbNodeAugmentation augment = ovsdbNode.getAugmentation(OvsdbNodeAugmentation.class);
+ assertNotNull(augment.getOvsVersion());
+ Assume.assumeTrue(disconnectOvsdbNode(connectionInfo));
+ }
+
@Test
public void testOpenVSwitchOtherConfig() throws InterruptedException {
ConnectionInfo connectionInfo = getConnectionInfo(addressStr, portStr);