Migrate PCE functional tests to RFC8040 20/102220/6
authorGilles Thouenon <gilles.thouenon@orange.com>
Thu, 25 Aug 2022 09:14:06 +0000 (11:14 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Fri, 26 Aug 2022 20:07:29 +0000 (22:07 +0200)
commit8f5a1751957a95b9830e0c0504136617b12275b8
treeddc11a244e66ecf13c5e126ef9d7893277779831
parente72024a00f020ebfe4ade77016f4add2cb238e3f
Migrate PCE functional tests to RFC8040

- complement test_utils_rfc8040 with adapted methods
- replace xml input files (portmapping, topologies) by json files
  to ease treatments
- refactor test01_pce to optimize few non functional tests

JIRA: TRNSPRTPCE-567
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ic91cc81c9c7bbb4168d45a9402c435b170b486fa
14 files changed:
tests/sample_configs/NW-for-test-5-4.json [new file with mode: 0644]
tests/sample_configs/NW-for-test-5-4.xml [deleted file]
tests/sample_configs/NW-simple-topology.json [new file with mode: 0644]
tests/sample_configs/NW-simple-topology.xml [deleted file]
tests/sample_configs/honeynode-topo.json [new file with mode: 0644]
tests/sample_configs/honeynode-topo.xml [deleted file]
tests/sample_configs/honeynode-topo400G.json
tests/sample_configs/pce_portmapping_121.json
tests/sample_configs/pce_portmapping_71.json
tests/transportpce_tests/common/test_utils_rfc8040.py
tests/transportpce_tests/pce/test01_pce.py
tests/transportpce_tests/pce/test02_pce_400G.py
tests/transportpce_tests/pce/test03_gnpy.py
tox.ini