Functional tests for the topology init 81/74281/2
authorAhmed Triki <ahmed.triki@orange.com>
Thu, 28 Jun 2018 09:22:34 +0000 (11:22 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Sat, 28 Jul 2018 22:03:08 +0000 (00:03 +0200)
commit8dca05db31d3fa182a3119f5d35755a84e3c1a0c
treec550d003763d39d91094b98d9f6414e1712a9432
parentcd2cad9ce7948b918b07ed050e081ed52d1c39fc
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]