Do not use DEVICE_COUNT in NetconfKeywords 78/31278/6
authorJozef Behran <jbehran@cisco.com>
Mon, 14 Dec 2015 14:04:08 +0000 (15:04 +0100)
committerVratko Polák <vrpolak@cisco.com>
Fri, 8 Jan 2016 16:53:31 +0000 (16:53 +0000)
commita522b36960f9f6ea5f171d69875522c7e7fe8a57
treefb07d80a9ec157a52a138e924cd8338cc1dc5062
parent92bdbae14ff0883e00a730ab2796fadf37596ac4
Do not use DEVICE_COUNT in NetconfKeywords

Using DEVICE_COUNT in NetconfKeywords is not kosher because
that variable is declared in the scaling test suite that uses
the NetconfKeywords resource and thus this dependency is not
obvious. If another suite that does not declare DEVICE_COUNT
tries to use Perform_Operation_On_Each_Device, the keyword
will mysteriously fail on "DEVICE_COUNT variable was not
found".

The fix stores the count on devices in
Deploy_And_Start_Testtool keyword and uses this stored count
in Perform_Operation_On_Each_Device.

Change-Id: If187d3fd0a1cb426beeeb4db3077e07377e7228d
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/NetconfKeywords.robot