Splitted the "get active session" and "activate session" 85/32585/2
authorJozef Behran <jbehran@cisco.com>
Thu, 14 Jan 2016 13:21:54 +0000 (14:21 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 14 Jan 2016 16:54:54 +0000 (16:54 +0000)
commit969df1d8182ddbb5a56b8c9404686fbc05f279e9
tree2fb30c53f6e28a0c7f75a284c6297fb2057e0be0
parentb17c268cc5e04f4db73d69bd5243c61a03653dfc
Splitted the "get active session" and "activate session"

Previously "Activate_NVR_Session" returned the previously
active NVR session. This complicated setup as it was not
possible to simply use "Activate_NVR_Session" command in
the NVR setup procedure but the internal state had to be
set directly. But the feature (returning the previously
active session) was not used for anything.

The new way of doing things is to have a separate keyword
for getting the active session and to have the
"Activate_NVR_Session" setting the internal state but not
attempting to read it so it can be used in the setup call,
improving encapsulation of the internal state handling.

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