Move serviceType affectation to common 10/96910/6
authorGilles Thouenon <gilles.thouenon@orange.com>
Thu, 17 Jun 2021 13:31:12 +0000 (15:31 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Fri, 30 Jul 2021 15:15:40 +0000 (17:15 +0200)
commit4f612167d648ea58503f97ec616a8a1fcf593d48
treea8963b49eb24665239fc2c0d5f892a10ff644728
parent63b895ed9235fbcb7a801941470345f39d2238b2
Move serviceType affectation to common

ServiceType is needed by both PCE and Renderer. It makes sence to get it
easily from common module instead of duplicating the treatment to obtain
it from the service-create rpc inputs.
Add also specific getOtnServiceType method for otn-services.

JIRA: TRNSPRTPCE-488
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ie51255620623fb3e3030b25d1f6343455e427adb
common/src/main/java/org/opendaylight/transportpce/common/service/ServiceTypes.java [new file with mode: 0644]
pce/src/main/java/org/opendaylight/transportpce/pce/networkanalyzer/PceCalculation.java
tests/transportpce_tests/7.1/test_pce_400G.py