Test port data plane status on Sample Inspector 57/39357/4
authorCarlos Goncalves <carlos.goncalves@neclab.eu>
Tue, 15 Aug 2017 17:01:00 +0000 (19:01 +0200)
committerCarlos Goncalves <mail@cgoncalves.pt>
Thu, 17 Aug 2017 13:12:13 +0000 (13:12 +0000)
commite4487625b094b19f518d5bf9e90c2c8d1d2b618e
treed2e0abed2006322be6ff33494cb78f8873b063f9
parent5b1401a9194daae197a8f5ae534b9a37dd483eac
Test port data plane status on Sample Inspector

Exercise the Neutron port data plane status API on the Sample Inspector.

Setting the data_plane_status field of Neutron Port objects to 'DOWN'
when a network failure on a node is detected.

To keep the test simple enough to verify the Neutron API, we don't
consider a scenario where multiple NIC ports could be present on that
particular node. It could still be done, though.

JIRA: DOCTOR-107

Change-Id: I9ffa0a23626b7edfaeb601dc90d55c756216cc41
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
tests/inspector/sample.py
tests/utils.py