Do not crash if attempt to open ODL Netconf connection fails 14/29914/2
authorJozef Behran <jbehran@cisco.com>
Thu, 19 Nov 2015 09:33:14 +0000 (10:33 +0100)
committerJozef Behran <jbehran@cisco.com>
Thu, 19 Nov 2015 11:43:00 +0000 (12:43 +0100)
commitae827090b00bb716da56711fc0094a615c8399f9
tree13506c88acf912018f70e3fe2cef5adfd8d8da8a
parent776255eefda71fa0233b9cc4efe8d63f7d7ea305
Do not crash if attempt to open ODL Netconf connection fails

When the Connect_To_ODL_Netconf keyword fails for any reason,
the Close_ODL_Netconf_Connection in teardown crashes,
flagging all tests as failed. Avoid that by checking that
there indeed is an ODL Netconf connection to be closed before
trying to do so..

Change-Id: If33fc6a90daf7a2c5ceff750953b8cf99c438cf1
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/suites/netconf/MDSAL/northbound.robot