Add TopologyNetconfNodes.py library 96/97196/32
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 12 Aug 2021 20:21:56 +0000 (22:21 +0200)
committerLuis Gomez <ecelgp@gmail.com>
Sat, 28 Aug 2021 00:51:04 +0000 (00:51 +0000)
commit9b52677a5b4fcc5f91b8eb753f4692e558cbfe4b
tree0c873018bde0fdd29b8b993a95e6d6e977155fb1
parenta5a62dae94c34c66077440689074919b807bbdef
Add TopologyNetconfNodes.py library

Our current method of configuring netconf topology devices does not
really scale in terms of speed and memory footprint.

Add TopologyNetconfNodes.py, which provides a simple library to
configure and ascertain connection establishment in a scalable way --
from the perspective of RF, both actions are single keywords which do
not produce much in terms of output.

The configuration part relies on RFC8072 YANG Patch to introduce any
number of devices through a single request.

The keyword to await connection polls NETCONF topology for device status
and loops until the deadline passes or all requested devices are found
to have been connected.

// FIXME: pass down authentication

JIRA: INTTEST-125
Change-Id: I1661d84a6535abff45cbd346f54e996a4d757b33
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
csit/libraries/TopologyNetconfNodes.py [new file with mode: 0644]
csit/suites/netconf/scale/max_devices.robot