GNPy functional tests 63/83463/1
authorAhmed Triki <ahmed.triki@orange.com>
Mon, 24 Jun 2019 16:07:43 +0000 (18:07 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 6 Aug 2019 14:32:50 +0000 (16:32 +0200)
commit79cd7a5970aea0fb9682d969071f582c4c22250e
treed7e8a964e7531a1eeafe74afb2c10c0530268945
parentbc1c1d8fc351449a04cefe2f42999500fb87ac6c
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>
pce/src/main/java/org/opendaylight/transportpce/pce/gnpy/ConnectToGnpyServer.java
tests/transportpce_tests/1.2.1/test_gnpy.py [new file with mode: 0644]
tox.ini