Decouple netconf-ready suite and netconf connector. 67/32267/15
authorJozef Behran <jbehran@cisco.com>
Fri, 8 Jan 2016 10:29:19 +0000 (11:29 +0100)
committerJozef Behran <jbehran@cisco.com>
Wed, 27 Jan 2016 14:17:03 +0000 (15:17 +0100)
commit95170990134e2d659a0bae321d5f5f550fc4acaa
tree6d9368ba9501ea01281ac2f7852bb7f777240bca
parentaf0da3b174a87b0e570187c513147aeb06e93163
Decouple netconf-ready suite and netconf connector.

Netconf connector is going out of favor with Beryllium
implementing the "topology way" of Netconf configuration [0]
which offers vastly improved performance and easier setup of
the devices. Additionally the Netconf connector is optional,
making Netconf invisible for the suite if not installed.
Thus change the suite to query the netconf topology for a
list of configured devices.

This adds a configuration variable USE_NETCONF_CONNECTOR that
allows the netconf-ready suite to use a weaker condition for
the "Netconf is ready" check that does not depend on netconf
connector. The default of the variable is True, which makes
the netconf-ready suite to depend on the netconf connector
and it shall be set to False for test jobs which don't use
the netconf connector.

[0] https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Spawning_netconf_connectors_via_topology_configuration

Change-Id: Iac8bd7502014d0f897b3e92b351c2f8f61da9199
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/suites/netconf/ready/netconfready.robot