Stubpce Update 61/64561/5
authorMartial COULIBALY <martial.coulibaly@gfi.fr>
Fri, 20 Oct 2017 09:04:26 +0000 (11:04 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Thu, 21 Dec 2017 15:58:39 +0000 (16:58 +0100)
commit33f02861873bc037807d40ad5f9946d87983f76b
tree8975941298ba8989faf86405807302de38ffd8ee
parent7657ad92b7ca389623fbb195e19c94148dfdfe0a
Stubpce Update

(FakePCE implementation) This implementation is only for test purposes and allows
to load PCE topology from xml file.

This commit includes :
- Add java package 'org.opendaylight.transportpce.stubpce.topology'
which implements java classes for getting topology elements from xml
file and build path descriptions List.
- This file 'fakepce.xml' must be in src/main/resources to be loaded
in target/classes and must also follow 'SuperNode'
model (cf fakepce.xml).
- change 'leaf node-id' in case termination-point
in model yang transportpce-pathDescription by 'leaf tp-node-id'
to not interfere with 'leaf node-id' in case node.
- Add PathDescriptionList in stubpce yang model to stored
all possible paths in datastore.
- update servicehandler dependency
- move stubpce and stubrenderer to tests folder
- add dependency 'Version update to 1.6 of the service-path model'.

Change-Id: I29391cc098706c261d109f8f1860bbfd78012c69
Signed-off-by: Martial COULIBALY <martial.coulibaly@gfi.fr>
Signed-off-by: Olivier RENAIS <olivier.renais@orange.com>
(cherry picked from commit 730925ab6a616aef3cc2f5b8b190774fa5708407)
27 files changed:
api/src/main/yang/service_path/transportpce-pathDescription@2017-04-26.yang
api/src/main/yang/service_path/transportpce-service-path@2017-04-26.yang
tests/stubpce/pom.xml
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CheckCoherencyHardSoft.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CompliancyCheck.java
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/LoggingFuturesCallBack.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/MyEndpoint.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/SendingPceRPCs.java
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceCompliancyCheck.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceTxRxCheck.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/TpNodeTp.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceImpl.java
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceProvider.java
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/InterNodePath.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/LogicalConnectionPoint.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Network.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodeLinkNode.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodePath.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Path.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/PathDescriptionsOrdered.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Resource.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/RoadmToRoadm.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNode.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNodePath.java [new file with mode: 0644]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Topology.java [new file with mode: 0644]
tests/stubpce/src/main/resources/fakepce.xml [new file with mode: 0644]
tests/stubpce/src/main/resources/org/opendaylight/blueprint/Stubpce-blueprint.xml