GNPy functional tests
create a test python script for GNPy that performs the following steps:
- mount clli-topology, openroadm-network and openroadm-topology
- oms-attributes are added in the description of openroadm-topology
- test the gnpy-response in the output of transportpce-pce:path-
computation-request
- unmount the topologies
modify tox.ini to add the corresponding gnpy profile (not launched in
releng) to additionally :
- retrieve the GNPy REST server docker image on dockerhub if needed
- run the docker image
- maps the container port 5000 to localhost:8008
because 5000 is a default port already used by Jenkins
and 8008 is an official alternate HTTP port
changes GNPy server port harcoded in project code from 5000 to 8008
JIRA: TRNSPRTPCE-131
Change-Id: I68211b31bdb65a4491f456ac78838d9f02ca8a92
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>