Migrate PCE functional tests to RFC8040 53/102253/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Thu, 25 Aug 2022 09:14:06 +0000 (11:14 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Thu, 1 Sep 2022 08:26:02 +0000 (10:26 +0200)
commit8583c790d1fec66cecead45413b3dfd65229fb56
tree49add47f665168abd77fcbe11afd7677a725e4ff
parent190572ae126f213f5d5c0c21bd5b18ed26cddf6b
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