rewrite portmapping functional test 46/73546/5
authorGilles Thouenon <gilles.thouenon@orange.com>
Thu, 8 Feb 2018 09:32:52 +0000 (10:32 +0100)
committerguillaume.lambert <guillaume.lambert@orange.com>
Wed, 18 Jul 2018 12:19:24 +0000 (14:19 +0200)
commit61e5001554e02f8e98d67d364ed7a805bbc3d28f
treea9527b5b2c5393a77748c9a12a074c162e8daf7c
parent1585b3f3e83efb1e9467d14dc8414eb3f8c08c97
rewrite portmapping functional test

- add support for xpdr devices
- add some tests to check the devices are correctly (dis)connected
- remove useless tests
- add a folder and a subfolder for ordm 1.2.1 sample configuration files
- update the sample ROADM configuration file for tests purpose
  Add new data to create a SRG3 but no SRG2. This is to ensure that
  portmapping parses correctly config with unordered SRGs.
  The related test is "test_07_rdm_portmapping_SRG3_PP1_TXRX".
- add a specific tox profile to allow running portmapping tests only
- add a folder with ordm 1.2.1 models needed by testtool
- update schemas location in build.sh
  New 2.x schemas previously pushed in ordmodels generate errors in
  testool with current ordm 1.2.1 sample configs.
  Although, tests must show that an ODL instance compiled with 2.x
  models can manage ordm 1.2.1 devices.

Change-Id: I67ed29d00cf5cd75e7a9ff854ab598522fc1b83f
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
43 files changed:
tests/build.sh
tests/ordmodels_1.2.1/org-openroadm-alarm.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-common-service-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-common-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-database.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-de-operations.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-device-resource-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-device.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-equipment-states-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-ethernet-interfaces.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-file-transfer.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-fwdl.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-interfaces.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-layerRate.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-lldp.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-maintenance-loopback.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-maintenance-testsignal.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-maintenance.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-optical-channel-interfaces.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-optical-multiplex-interfaces.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-optical-transport-interfaces.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-otn-odu-interfaces.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-otn-otu-interfaces.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-physical-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-pm-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-pm.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-port-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-probable-cause.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-resource-types.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-resource.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-routing-constraints.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-rstp.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-service.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-swdl.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-syslog.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-tca.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-topology.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-user-mgmt.yang [new file with mode: 0644]
tests/ordmodels_1.2.1/org-openroadm-wavelength-map.yang [new file with mode: 0644]
tests/sample_configs/ord_1.2.1/sample-config-ROADM.xml [moved from tests/sample-config-ROADM.xml with 69% similarity]
tests/sample_configs/ord_1.2.1/sample-config-XPDR.xml [moved from tests/sample-config-XPDR.xml with 100% similarity]
tests/tox.ini
tests/transportpce_tests/test_portmapping.py