Add tests for odl user/password feature 17/73517/18
authorTaseer Ahmed <taseer94@gmail.com>
Thu, 28 Jun 2018 08:38:07 +0000 (13:38 +0500)
committerTaseer Ahmed <taseer94@gmail.com>
Wed, 18 Jul 2018 04:42:04 +0000 (09:42 +0500)
commitb701ed3708cefa565438c4639989ccfb09a9a085
tree1989518bf692b1a052b682f6a020853a49c3edce
parente1747ab569fa78d411cab378c5891532e9d83440
Add tests for odl user/password feature

The new feature allows creating/deleting ODL users. This patchset
introduces tests to ensure everything works as expected. The tests
consists of creating and deleting the users. The verification is
done via running the CLI command and saving the output in variable.
Assertions are made whether on these variables, if the desired user
is present or absent in them.

This change also requires a new job to be added in the RelEng project.
The required RelEng patchset is:
Ib950fbb1f8952c794380af03c25f9f4987c65b73

Note: Originally cross verification via API calls was implemented.
But had to be dropped because ODL was not listening on the desired
port. This needs further debugging.

Change-Id: I702245e1456e12c5a64b4c8fe1810101edb5abce
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
tests/test-odl-users.yaml [new file with mode: 0644]
tests/vars.yaml [new file with mode: 0644]