Functional tests for the topology init 04/73004/16
authorAhmed Triki <ahmed.triki@orange.com>
Thu, 28 Jun 2018 09:22:34 +0000 (11:22 +0200)
committerAhmed Triki <ahmed.triki@orange.com>
Fri, 6 Jul 2018 14:07:30 +0000 (16:07 +0200)
commitd1623bfe2e1056bf6189b495f473767984e6a4e4
tree8ab4372c2a48d4cb9158ce93a72d7da3852b798d
parent097ac4dbcdec2b06b09c8d91a6997f56cdda82ed
Functional tests for the topology init

- connects successively ROADMA, XPDRA ROADMB and ROADMC and then
disconnect them
- checks that the clli-network, the openroadm-network and the
openroadm-topology are well updated and the appropriate links/nodes
are well created/deleted after each creation/deletion operation
- checks that a degree is not used by more than one link at the same
time
- tests 9 and 17 currently fail beause 4 TPs appear (XPDR1-CLIENT1,
XPDR1-NETWORK1, XPDR1-CLIENT2 and XPDR1-NETWORK2) while only 2 TPs are
defined in the sample-config-XPDRA.xml
- tests 24, 33 and 37 currently fail because the link ROADM-to-ROADM
is not automatically deleted.
A new version of the code will be proposed by ATT where these links will
be marked as up or down:
    Up to indicate the pce that the path is available for service
    Down to indicate that the path is not available

JIRA: TRNSPRTPCE-4
Change-Id: Iba78869ad884fadd766f11c4c321ae1b4bdfcd64
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
tests/buildTesttool.sh [new file with mode: 0755]
tests/sample_configs/nodes_config/sample-config-ROADMA.xml [new file with mode: 0644]
tests/sample_configs/nodes_config/sample-config-ROADMB.xml [new file with mode: 0644]
tests/sample_configs/nodes_config/sample-config-ROADMC.xml [new file with mode: 0644]
tests/sample_configs/nodes_config/sample-config-XPDRA.xml [new file with mode: 0644]
tests/tox.ini
tests/transportpce_tests/test_topology.py [new file with mode: 0644]