clean test environment 09/82309/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Wed, 29 May 2019 13:17:46 +0000 (15:17 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Wed, 29 May 2019 14:44:55 +0000 (16:44 +0200)
- remove testtool traces
- remove servicehandler functional tests and associated stubs
- rationalize honeynode multiple openroadm versions support:
  move code for 2.1 and 2.2.1 versions in the same folder
  only one script to build (version passed as argument - def is 2.1)
- clean repo from tabs and dos formatted files

JIRA: TRNSPRTPCE-112
Change-Id: Id893085733cdc21bbec27062afee4df6f9763c75
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
487 files changed:
.gitmodules
docs/developer-guide.rst
pce/src/main/resources/OSGI-INF/blueprint/pce-blueprint.xml
servicehandler/src/main/resources/OSGI-INF/blueprint/servicehandler-blueprint.xml
tests/SH_func_tests.sh [deleted file]
tests/SH_stubs.diff [deleted file]
tests/Xtesting/DockerSims/Dockerfile.orig
tests/Xtesting/DockerSims/Dockerfile.orig.testtool [deleted file]
tests/Xtesting/DockerSims/generate_sims.sh
tests/buildHoneynode.sh
tests/buildHoneynode221.sh [deleted file]
tests/buildTesttool.sh [deleted file]
tests/honeynode/2.1/README [moved from tests/honeynode/README with 100% similarity]
tests/honeynode/2.1/honeynode-common/asciidoc/Readme.adoc [moved from tests/honeynode/honeynode-common/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/honeynode-common/pom.xml [moved from tests/honeynode/honeynode-common/pom.xml with 100% similarity]
tests/honeynode/2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/AbstractDataObjectConverter.java [moved from tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/AbstractDataObjectConverter.java with 100% similarity]
tests/honeynode/2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/JSONDataObjectConverter.java [moved from tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/JSONDataObjectConverter.java with 100% similarity]
tests/honeynode/2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/XMLDataObjectConverter.java [moved from tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/XMLDataObjectConverter.java with 100% similarity]
tests/honeynode/2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/api/DataObjectConverter.java [moved from tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/api/DataObjectConverter.java with 100% similarity]
tests/honeynode/2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContext.java [moved from tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContext.java with 100% similarity]
tests/honeynode/2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContextImpl.java [moved from tests/honeynode/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContextImpl.java with 100% similarity]
tests/honeynode/2.1/honeynode-distribution/asciidoc/Readme.adoc [moved from tests/honeynode/honeynode-distribution/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/honeynode-distribution/pom.xml [moved from tests/honeynode/honeynode-distribution/pom.xml with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/asciidoc/Readme.adoc [moved from tests/honeynode/honeynode-plugin-api/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/pom.xml [moved from tests/honeynode/honeynode-plugin-api/pom.xml with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/pm/types/rev161014/PmDataTypeBuilder.java [moved from tests/honeynode/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/pm/types/rev161014/PmDataTypeBuilder.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/iana-afn-safi@2013-07-04.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/iana-afn-safi@2013-07-04.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/ietf-inet-types@2013-07-15.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/ietf-inet-types@2013-07-15.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/ietf-netconf-monitoring-extension@2013-12-10.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/ietf-netconf-monitoring-extension@2013-12-10.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/ietf-netconf-monitoring@2010-10-04.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/ietf-netconf-monitoring@2010-10-04.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/ietf-netconf@2011-06-01.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/ietf-netconf@2011-06-01.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/ietf-yang-types@2013-07-15.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/ietf-yang-types@2013-07-15.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-common-types@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-common-types@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-common-types@2017-09-29.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-common-types@2017-09-29.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-device@2017-02-06.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-device@2017-02-06.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-equipment-states-types@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-equipment-states-types@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-ethernet-interfaces@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-ethernet-interfaces@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-interfaces@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-interfaces@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-layerRate@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-layerRate@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-lldp@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-lldp@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance-loopback@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance-loopback@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance-testsignal@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance-testsignal@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-maintenance@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-optical-channel-interfaces@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-optical-channel-interfaces@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-optical-multiplex-interfaces@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-optical-multiplex-interfaces@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-optical-transport-interfaces@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-optical-transport-interfaces@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-otn-odu-interfaces@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-otn-odu-interfaces@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-otn-otu-interfaces@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-otn-otu-interfaces@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-physical-types@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-physical-types@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-pm-types@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-pm-types@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-pm@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-pm@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-port-types@2017-09-29.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-port-types@2017-09-29.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-resource-types@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-resource-types@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-resource@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-resource@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-swdl@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-swdl@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-user-mgmt@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-user-mgmt@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-api/src/main/yang/org-openroadm-wavelength-map@2016-10-14.yang [moved from tests/honeynode/honeynode-plugin-api/src/main/yang/org-openroadm-wavelength-map@2016-10-14.yang with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/asciidoc/Readme.adoc [moved from tests/honeynode/honeynode-plugin-impl/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/pom.xml [moved from tests/honeynode/honeynode-plugin-impl/pom.xml with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceBindingDataBrokerProvider.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceBindingDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceModule.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceModule.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceReaderModule.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceReaderModule.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceRpcModule.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceRpcModule.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceWriterModule.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceWriterModule.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfiguration.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfiguration.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfigurationModule.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfigurationModule.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfiguration.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfiguration.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfigurationModule.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfigurationModule.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfiguration.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfiguration.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfigurationModule.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfigurationModule.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DeviceReaderFactory.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DeviceReaderFactory.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DummyMonitoringService.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DummyMonitoringService.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/PmReaderFactory.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/PmReaderFactory.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/rpcs/ConnectionPortTrailService.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/rpcs/ConnectionPortTrailService.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultDeviceFactory.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultDeviceFactory.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultNetconfFactory.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultNetconfFactory.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultPmListFactory.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultPmListFactory.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceChangeListener.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceChangeListener.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceWriterFactory.java [moved from tests/honeynode/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceWriterFactory.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/NamespaceTrimmer.xslt [moved from tests/honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/NamespaceTrimmer.xslt with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/OperToConfig.xsl [moved from tests/honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/OperToConfig.xsl with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/config.xsl [moved from tests/honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/config.xsl with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/CreateDeviceFromXMLFileTest.java [moved from tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/CreateDeviceFromXMLFileTest.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DeviceOperToConfig.java [moved from tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DeviceOperToConfig.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DirectoryWatchTest.java [moved from tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DirectoryWatchTest.java with 100% similarity]
tests/honeynode/2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/RestAPICallsTest.java [moved from tests/honeynode/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/RestAPICallsTest.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/asciidoc/Readme.adoc [moved from tests/honeynode/minimal-distribution-core/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/pom.xml [moved from tests/honeynode/minimal-distribution-core/pom.xml with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/InitializationException.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/InitializationException.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationConfig.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationConfig.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationModule.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationModule.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModuleProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModuleProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModules.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModules.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/CfgAttrsModule.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/CfgAttrsModule.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/HoneycombConfiguration.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/HoneycombConfiguration.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/BindingDataBrokerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/BindingDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ConfigAndOperationalPipelineModule.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ConfigAndOperationalPipelineModule.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DOMNotificationServiceProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DOMNotificationServiceProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataStoreProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataStoreProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataTreeProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataTreeProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombBindingDataBrokerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombBindingDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMBrokerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMDataBrokerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMRpcServiceProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMRpcServiceProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombNotificationManagerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombNotificationManagerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/InmemoryDOMDataBrokerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/InmemoryDOMDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ModifiableDTDelegProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ModifiableDTDelegProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistedConfigInitializerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistedConfigInitializerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistingDataTreeProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistingDataTreeProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryBuilderProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryBuilderProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/config/WriterRegistryProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/config/WriterRegistryProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ContextPipelineModule.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ContextPipelineModule.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/HoneycombContextDOMDataBrokerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/HoneycombContextDOMDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ModifiableDTMgrProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ModifiableDTMgrProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/RealtimeMappingContextProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/RealtimeMappingContextProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReadableDTDelegProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReadableDTDelegProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReaderRegistryProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReaderRegistryProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerPipelineModule.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerPipelineModule.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapter.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapter.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapterProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapterProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/ModifiableDTDelegInitProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/ModifiableDTDelegInitProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ModuleInfoBackedCtxProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ModuleInfoBackedCtxProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaModule.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaModule.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaServiceProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaServiceProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangBindingProviderModule.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangBindingProviderModule.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModuleMappingIndex.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModuleMappingIndex.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModulesProvider.java [moved from tests/honeynode/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModulesProvider.java with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore [moved from tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml [moved from tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/activation.json [moved from tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/activation.json with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json [moved from tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/logback.xml [moved from tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/logback.xml with 100% similarity]
tests/honeynode/2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce [moved from tests/honeynode/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce with 100% similarity]
tests/honeynode/2.1/minimal-distribution/asciidoc/Readme.adoc [moved from tests/honeynode/minimal-distribution/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/minimal-distribution/pom.xml [moved from tests/honeynode/minimal-distribution/pom.xml with 100% similarity]
tests/honeynode/2.1/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/Main.java [moved from tests/honeynode/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/Main.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/pom.xml [moved from tests/honeynode/netconf-netty-util/pom.xml with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractChannelInitializer.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractChannelInitializer.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/BufferedWriter.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/BufferedWriter.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ChunkedFramingMechanismEncoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ChunkedFramingMechanismEncoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/EOMFramingMechanismEncoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/EOMFramingMechanismEncoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/FramingMechanismHandlerFactory.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/FramingMechanismHandlerFactory.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEOMAggregator.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEOMAggregator.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXICodec.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXICodec.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXIToMessageDecoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXIToMessageDecoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfHelloMessageToXMLEncoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfHelloMessageToXMLEncoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToEXIEncoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToEXIEncoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToXMLEncoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToXMLEncoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToHelloMessageDecoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToHelloMessageDecoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToMessageDecoder.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToMessageDecoder.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ThreadLocalTransformers.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ThreadLocalTransformers.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/EXIParameters.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/EXIParameters.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/NetconfStartExiMessage.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/NetconfStartExiMessage.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/AuthenticationHandler.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/AuthenticationHandler.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPassword.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPassword.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/PublicKeyAuth.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/PublicKeyAuth.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerReader.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerReader.java with 100% similarity]
tests/honeynode/2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java [moved from tests/honeynode/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java with 100% similarity]
tests/honeynode/2.1/netconf/asciidoc/Readme.adoc [moved from tests/honeynode/netconf/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/netconf/pom.xml [moved from tests/honeynode/netconf/pom.xml with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/HoneycombNotification2NetconfProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/HoneycombNotification2NetconfProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfBindingBrokerProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfBindingBrokerProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfConfigurationModule.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfConfigurationModule.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMdsalMapperProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMdsalMapperProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringMapperProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringMapperProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringReaderFactoryProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringReaderFactoryProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringServiceProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringServiceProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationMapperProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationMapperProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationsReaderFactoryProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationsReaderFactoryProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfReadersModule.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfReadersModule.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfServerDispatcherProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfServerDispatcherProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfSshServerProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfSshServerProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfTcpServerProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfTcpServerProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NettyThreadGroupProvider.java [moved from tests/honeynode/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NettyThreadGroupProvider.java with 100% similarity]
tests/honeynode/2.1/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml [moved from tests/honeynode/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml with 100% similarity]
tests/honeynode/2.1/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf.json [moved from tests/honeynode/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf.json with 100% similarity]
tests/honeynode/2.1/pom.xml [moved from tests/honeynode/pom.xml with 100% similarity]
tests/honeynode/2.1/restconf/asciidoc/Readme.adoc [moved from tests/honeynode/restconf/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.1/restconf/pom.xml [moved from tests/honeynode/restconf/pom.xml with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpConnectorProvider.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpConnectorProvider.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerProvider.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerProvider.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfiguration.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfiguration.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfigurationModule.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfigurationModule.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfProvider.java [moved from tests/honeynode/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfProvider.java with 100% similarity]
tests/honeynode/2.1/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml [moved from tests/honeynode/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml with 100% similarity]
tests/honeynode/2.1/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf.json [moved from tests/honeynode/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf.json with 100% similarity]
tests/honeynode/2.2.1/README [moved from tests/honeynode221/README with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/asciidoc/Readme.adoc [moved from tests/honeynode221/honeynode-common/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/pom.xml [moved from tests/honeynode221/honeynode-common/pom.xml with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/AbstractDataObjectConverter.java [moved from tests/honeynode221/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/AbstractDataObjectConverter.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/JSONDataObjectConverter.java [moved from tests/honeynode221/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/JSONDataObjectConverter.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/XMLDataObjectConverter.java [moved from tests/honeynode221/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/XMLDataObjectConverter.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/api/DataObjectConverter.java [moved from tests/honeynode221/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/binding/converter/api/DataObjectConverter.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContext.java [moved from tests/honeynode221/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContext.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContextImpl.java [moved from tests/honeynode221/honeynode-common/src/main/java/io/fd/honeycomb/transportpce/test/common/DataStoreContextImpl.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-distribution/asciidoc/Readme.adoc [moved from tests/honeynode221/honeynode-distribution/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/honeynode-distribution/pom.xml [moved from tests/honeynode221/honeynode-distribution/pom.xml with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/asciidoc/Readme.adoc [moved from tests/honeynode221/honeynode-plugin-api/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/pom.xml [moved from tests/honeynode221/honeynode-plugin-api/pom.xml with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/pm/types/rev171215/PmDataTypeBuilder.java [moved from tests/honeynode221/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/pm/types/rev171215/PmDataTypeBuilder.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/syslog/rev171215/syslog/selector/log/selector/selector/facility/log/facility/LogFacilityFacilityBuilder.java [moved from tests/honeynode221/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/syslog/rev171215/syslog/selector/log/selector/selector/facility/log/facility/LogFacilityFacilityBuilder.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/HostBuilder.java [moved from tests/honeynode221/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/HostBuilder.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/IpAddressBuilder.java [moved from tests/honeynode221/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/IpAddressBuilder.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/IpAddressNoZoneBuilder.java [moved from tests/honeynode221/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/IpAddressNoZoneBuilder.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/IpPrefixBuilder.java [moved from tests/honeynode221/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/inet/types/rev130715/IpPrefixBuilder.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/netconf/monitoring/rev101004/netconf/state/schemas/SchemaLocationBuilder.java [moved from tests/honeynode221/honeynode-plugin-api/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/netconf/monitoring/rev101004/netconf/state/schemas/SchemaLocationBuilder.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/iana-afn-safi@2013-07-04.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/iana-afn-safi@2013-07-04.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-inet-types@2013-07-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-inet-types@2013-07-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-netconf-monitoring-extension@2013-12-10.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-netconf-monitoring-extension@2013-12-10.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-netconf-monitoring@2010-10-04.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-netconf-monitoring@2010-10-04.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-netconf-notifications@2012-02-06.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-netconf-notifications@2012-02-06.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-netconf@2011-06-01.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-netconf@2011-06-01.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-network-topology@2015-06-08.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-network-topology@2015-06-08.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-network@2015-06-08.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-network@2015-06-08.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/ietf-yang-types@2013-07-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/ietf-yang-types@2013-07-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/notifications@2008-07-14.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/notifications@2008-07-14.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-common-types@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-common-types@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-equipment-states-types@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-equipment-states-types@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-otn-common-types@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-otn-common-types@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-pm-types@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-pm-types@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-pm@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-pm@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-port-types@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-port-types@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-resource-types@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-resource-types@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-resource@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-resource@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-switching-pool-types@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-switching-pool-types@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/common/org-openroadm-user-mgmt@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/common/org-openroadm-user-mgmt@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-device@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-device@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-ethernet-interfaces@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-ethernet-interfaces@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-interfaces@2017-06-26.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-interfaces@2017-06-26.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-lldp@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-lldp@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-maintenance-loopback@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-maintenance-loopback@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-maintenance-testsignal@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-maintenance-testsignal@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-media-channel-interfaces@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-media-channel-interfaces@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-network-media-channel-interfaces@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-network-media-channel-interfaces@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-optical-channel-interfaces@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-optical-channel-interfaces@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-optical-transport-interfaces@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-optical-transport-interfaces@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-otn-common@2017-06-26.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-otn-common@2017-06-26.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-otn-odu-interfaces@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-otn-odu-interfaces@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-otn-otu-interfaces@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-otn-otu-interfaces@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-physical-types@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-physical-types@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-swdl@2018-10-19.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-swdl@2018-10-19.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-api/src/main/yang/device221/org-openroadm-syslog@2017-12-15.yang [moved from tests/honeynode221/honeynode-plugin-api/src/main/yang/device221/org-openroadm-syslog@2017-12-15.yang with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/asciidoc/Readme.adoc [moved from tests/honeynode221/honeynode-plugin-impl/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/pom.xml [moved from tests/honeynode221/honeynode-plugin-impl/pom.xml with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceBindingDataBrokerProvider.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceBindingDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceNotificationModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceNotificationModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceReaderModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceReaderModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceRpcModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceRpcModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceWriterModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/DeviceWriterModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfiguration.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfiguration.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfigurationModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/DeviceConfigurationModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfiguration.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfiguration.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfigurationModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/NetconfConfigurationModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfiguration.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfiguration.java with 95% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfigurationModule.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/configuration/PmConfigurationModule.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/notifications/DeviceNotificationProducer.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/notifications/DeviceNotificationProducer.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DeviceReaderFactory.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DeviceReaderFactory.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DummyMonitoringService.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/DummyMonitoringService.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/PmReaderFactory.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/read/PmReaderFactory.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/rpcs/ConnectionPortTrailService.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/rpcs/ConnectionPortTrailService.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultDeviceFactory.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultDeviceFactory.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultNetconfFactory.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultNetconfFactory.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultPmListFactory.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/tools/DefaultPmListFactory.java with 98% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceChangeListener.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceChangeListener.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceWriterFactory.java [moved from tests/honeynode221/honeynode-plugin-impl/src/main/java/io/fd/honeycomb/transportpce/device/write/DeviceWriterFactory.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/NamespaceTrimmer.xslt [moved from tests/honeynode221/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/NamespaceTrimmer.xslt with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/OperToConfig.xsl [moved from tests/honeynode221/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/OperToConfig.xsl with 97% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/config.xsl [moved from tests/honeynode221/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/device/config.xsl with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/CreateDeviceFromXMLFileTest.java [moved from tests/honeynode221/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/CreateDeviceFromXMLFileTest.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/CreatePmListFromXMLFileTest.java [moved from tests/honeynode221/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/CreatePmListFromXMLFileTest.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DeviceOperToConfig.java [moved from tests/honeynode221/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DeviceOperToConfig.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DirectoryWatchTest.java [moved from tests/honeynode221/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/DirectoryWatchTest.java with 100% similarity]
tests/honeynode/2.2.1/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/RestAPICallsTest.java [moved from tests/honeynode221/honeynode-plugin-impl/src/test/java/io/fd/honeycomb/transportpce/device/test/RestAPICallsTest.java with 100% similarity]
tests/honeynode/2.2.1/log/honeycomb/honeycomb.log [moved from tests/honeynode221/log/honeycomb/honeycomb.log with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/asciidoc/Readme.adoc [moved from tests/honeynode221/minimal-distribution-core/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/pom.xml [moved from tests/honeynode221/minimal-distribution-core/pom.xml with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/InitializationException.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/InitializationException.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationConfig.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationConfig.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationModule.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActivationModule.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModuleProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModuleProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModules.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/activation/ActiveModules.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/CfgAttrsModule.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/CfgAttrsModule.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/HoneycombConfiguration.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/HoneycombConfiguration.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/BindingDataBrokerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/BindingDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ConfigAndOperationalPipelineModule.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ConfigAndOperationalPipelineModule.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DOMNotificationServiceProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DOMNotificationServiceProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataStoreProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataStoreProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataTreeProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/DataTreeProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombBindingDataBrokerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombBindingDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMBrokerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMDataBrokerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMRpcServiceProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombDOMRpcServiceProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombNotificationManagerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/HoneycombNotificationManagerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/InmemoryDOMDataBrokerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/InmemoryDOMDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ModifiableDTDelegProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/ModifiableDTDelegProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistedConfigInitializerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistedConfigInitializerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistingDataTreeProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/PersistingDataTreeProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryBuilderProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryBuilderProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/RpcRegistryProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/config/WriterRegistryProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/config/WriterRegistryProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ContextPipelineModule.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ContextPipelineModule.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/HoneycombContextDOMDataBrokerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/HoneycombContextDOMDataBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ModifiableDTMgrProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/ModifiableDTMgrProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/RealtimeMappingContextProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/RealtimeMappingContextProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReadableDTDelegProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReadableDTDelegProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReaderRegistryProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/oper/ReaderRegistryProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/DeviceChangeListener.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/DeviceChangeListener.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerPipelineModule.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerPipelineModule.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapter.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapter.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapterProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/InitializerRegistryAdapterProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/ModifiableDTDelegInitProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/initializer/ModifiableDTDelegInitProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ModuleInfoBackedCtxProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ModuleInfoBackedCtxProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaModule.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaModule.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaServiceProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SchemaServiceProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangBindingProviderModule.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangBindingProviderModule.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModuleMappingIndex.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModuleMappingIndex.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModulesProvider.java [moved from tests/honeynode221/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/YangModulesProvider.java with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore [moved from tests/honeynode221/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml [moved from tests/honeynode221/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/activation.json [moved from tests/honeynode221/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/activation.json with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json [moved from tests/honeynode221/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/logback.xml [moved from tests/honeynode221/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/logback.xml with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce [moved from tests/honeynode221/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution/asciidoc/Readme.adoc [moved from tests/honeynode221/minimal-distribution/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution/pom.xml [moved from tests/honeynode221/minimal-distribution/pom.xml with 100% similarity]
tests/honeynode/2.2.1/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/Main.java [moved from tests/honeynode221/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/Main.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/.gitignore [moved from tests/honeynode221/netconf-netty-util/.gitignore with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/pom.xml [moved from tests/honeynode221/netconf-netty-util/pom.xml with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractChannelInitializer.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractChannelInitializer.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/BufferedWriter.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/BufferedWriter.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ChunkedFramingMechanismEncoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ChunkedFramingMechanismEncoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/EOMFramingMechanismEncoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/EOMFramingMechanismEncoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/FramingMechanismHandlerFactory.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/FramingMechanismHandlerFactory.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEOMAggregator.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEOMAggregator.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXICodec.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXICodec.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXIToMessageDecoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXIToMessageDecoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfHelloMessageToXMLEncoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfHelloMessageToXMLEncoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToEXIEncoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToEXIEncoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToXMLEncoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfMessageToXMLEncoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToHelloMessageDecoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToHelloMessageDecoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToMessageDecoder.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfXMLToMessageDecoder.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ThreadLocalTransformers.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ThreadLocalTransformers.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/EXIParameters.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/EXIParameters.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/NetconfStartExiMessage.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/exi/NetconfStartExiMessage.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/AuthenticationHandler.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/AuthenticationHandler.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPassword.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPassword.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/PublicKeyAuth.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/PublicKeyAuth.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerReader.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerReader.java with 100% similarity]
tests/honeynode/2.2.1/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java [moved from tests/honeynode221/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java with 100% similarity]
tests/honeynode/2.2.1/netconf/asciidoc/Readme.adoc [moved from tests/honeynode221/netconf/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/netconf/pom.xml [moved from tests/honeynode221/netconf/pom.xml with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/HoneycombNotification2NetconfProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/HoneycombNotification2NetconfProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfBindingBrokerProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfBindingBrokerProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfConfigurationModule.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfConfigurationModule.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMdsalMapperProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMdsalMapperProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringMapperProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringMapperProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringReaderFactoryProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringReaderFactoryProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringServiceProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfMonitoringServiceProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationMapperProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationMapperProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationsReaderFactoryProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfNotificationsReaderFactoryProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfReadersModule.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfReadersModule.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfServerDispatcherProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfServerDispatcherProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfSshServerProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfSshServerProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfTcpServerProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfTcpServerProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NettyThreadGroupProvider.java [moved from tests/honeynode221/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NettyThreadGroupProvider.java with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml [moved from tests/honeynode221/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml with 100% similarity]
tests/honeynode/2.2.1/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf.json [moved from tests/honeynode221/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf.json with 100% similarity]
tests/honeynode/2.2.1/pom.xml [moved from tests/honeynode221/pom.xml with 100% similarity]
tests/honeynode/2.2.1/restconf/asciidoc/Readme.adoc [moved from tests/honeynode221/restconf/asciidoc/Readme.adoc with 100% similarity]
tests/honeynode/2.2.1/restconf/pom.xml [moved from tests/honeynode221/restconf/pom.xml with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpConnectorProvider.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpConnectorProvider.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerProvider.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerProvider.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfiguration.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfiguration.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfigurationModule.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfigurationModule.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfProvider.java [moved from tests/honeynode221/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfProvider.java with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml [moved from tests/honeynode221/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml with 100% similarity]
tests/honeynode/2.2.1/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf.json [moved from tests/honeynode221/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf.json with 100% similarity]
tests/honeynode221/fd_io_honeycomb_settings.xml [deleted file]
tests/mdsal [deleted submodule]
tests/netconf [deleted submodule]
tests/ordmodels_1.2.1/org-openroadm-alarm.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-common-service-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-common-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-database.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-de-operations.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-device-resource-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-device.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-equipment-states-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-ethernet-interfaces.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-file-transfer.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-fwdl.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-interfaces.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-layerRate.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-lldp.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-maintenance-loopback.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-maintenance-testsignal.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-maintenance.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-optical-channel-interfaces.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-optical-multiplex-interfaces.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-optical-transport-interfaces.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-otn-odu-interfaces.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-otn-otu-interfaces.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-physical-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-pm-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-pm.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-port-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-probable-cause.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-resource-types.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-resource.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-routing-constraints.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-rstp.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-service.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-swdl.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-syslog.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-tca.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-topology.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-user-mgmt.yang [deleted file]
tests/ordmodels_1.2.1/org-openroadm-wavelength-map.yang [deleted file]
tests/pom.xml [deleted file]
tests/sample_configs/openroadm/2.1/oper-ROADMB.xml
tests/setup.cfg
tests/stubmodels/pom.xml [deleted file]
tests/stubmodels/src/main/yang/stubpce@2017-04-26.yang [deleted file]
tests/stubmodels/src/main/yang/stubrenderer@2017-04-26.yang [deleted file]
tests/stubpce/pom.xml [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CheckCoherencyHardSoft.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CompliancyCheck.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/LoggingFuturesCallBack.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/MyEndpoint.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/SendingPceRPCs.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceCompliancyCheck.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceTxRxCheck.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/TpNodeTp.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceImpl.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceProvider.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/InterNodePath.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/LogicalConnectionPoint.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Network.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodeLinkNode.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodePath.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Path.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/PathDescriptionsOrdered.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Resource.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/RoadmToRoadm.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNode.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNodePath.java [deleted file]
tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Topology.java [deleted file]
tests/stubpce/src/main/resources/OSGI-INF/blueprint/Stubpce-blueprint.xml [deleted file]
tests/stubpce/src/main/resources/fakepce.xml [deleted file]
tests/stubrenderer/pom.xml [deleted file]
tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/SendingRendererRPCs.java [deleted file]
tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/StubrendererCompliancyCheck.java [deleted file]
tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/impl/StubrendererImpl.java [deleted file]
tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/impl/StubrendererProvider.java [deleted file]
tests/stubrenderer/src/main/resources/OSGI-INF/blueprint/stubrenderer-blueprint.xml [deleted file]
tests/transportpce_tests/test_end2end.py
tests/transportpce_tests/test_olm.py
tests/transportpce_tests/test_portmapping.py
tests/transportpce_tests/test_renderer_service_path_nominal.py
tests/transportpce_tests/test_servicehandler.py [deleted file]
tests/transportpce_tests/test_topoPortMapping.py
tests/transportpce_tests/test_topology.py
tox.ini

index b1690202f88dbbfaa8b12b8ab3fa1a3c633ae4a2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,8 +0,0 @@
-[submodule "tests/netconf"]
-       path = tests/netconf
-       url = https://git.opendaylight.org/gerrit/p/netconf.git
-       branch = stable/nitrogen
-[submodule "tests/mdsal"]
-       path = tests/mdsal
-       url = https://git.opendaylight.org/gerrit/p/mdsal.git
-       branch = stable/nitrogen
index 6313d62d5308c33f7e8feda1ae5508d1531e707e..54a762fe919d245707c6a0469a64581e89db6582 100644 (file)
@@ -308,20 +308,20 @@ To connect a node, use the following JSON RPC
         "node": [
             {
                 "node-id": "<node-id>",
-                       "netconf-node-topology:tcp-only": "false",
-                       "netconf-node-topology:reconnect-on-changed-schema": "false",
-                       "netconf-node-topology:host": "<node-ip-address>",
-                       "netconf-node-topology:default-request-timeout-millis": "120000",
-                       "netconf-node-topology:max-connection-attempts": "0",
-                       "netconf-node-topology:sleep-factor": "1.5",
-                       "netconf-node-topology:actor-response-wait-time": "5",
-                       "netconf-node-topology:concurrent-rpc-limit": "0",
-                       "netconf-node-topology:between-attempts-timeout-millis": "2000",
-                       "netconf-node-topology:port": "<netconf-port>",
-                       "netconf-node-topology:connection-timeout-millis": "20000",
-                       "netconf-node-topology:username": "<node-username>",
-                       "netconf-node-topology:password": "<node-password>",
-                       "netconf-node-topology:keepalive-delay": "300"
+                "netconf-node-topology:tcp-only": "false",
+                "netconf-node-topology:reconnect-on-changed-schema": "false",
+                "netconf-node-topology:host": "<node-ip-address>",
+                "netconf-node-topology:default-request-timeout-millis": "120000",
+                "netconf-node-topology:max-connection-attempts": "0",
+                "netconf-node-topology:sleep-factor": "1.5",
+                "netconf-node-topology:actor-response-wait-time": "5",
+                "netconf-node-topology:concurrent-rpc-limit": "0",
+                "netconf-node-topology:between-attempts-timeout-millis": "2000",
+                "netconf-node-topology:port": "<netconf-port>",
+                "netconf-node-topology:connection-timeout-millis": "20000",
+                "netconf-node-topology:username": "<node-username>",
+                "netconf-node-topology:password": "<node-password>",
+                "netconf-node-topology:keepalive-delay": "300"
             }
         ]
     }
@@ -464,92 +464,92 @@ nodes.
 .. code:: json
 
     {
-       "input": {
-               "sdnc-request-header": {
-                       "request-id": "request-1",
-                       "rpc-action": "service-create",
-                       "request-system-id": "appname"
-               },
-               "service-name": "test1",
-               "common-id": "commonId",
-               "connection-type": "service",
-               "service-a-end": {
-                       "service-rate": "100",
-                       "node-id": "<xpdr-node-id>",
-                       "service-format": "Ethernet",
-                       "clli": "<ccli-name>",
-                       "tx-direction": {
-                               "port": {
-                                       "port-device-name": "<xpdr-client-port>",
-                                       "port-type": "fixed",
-                                       "port-name": "<xpdr-client-port-number>",
-                                       "port-rack": "000000.00",
-                                       "port-shelf": "Chassis#1"
-                               },
-                               "lgx": {
-                                       "lgx-device-name": "Some lgx-device-name",
-                                       "lgx-port-name": "Some lgx-port-name",
-                                       "lgx-port-rack": "000000.00",
-                                       "lgx-port-shelf": "00"
-                               }
-                       },
-                       "rx-direction": {
-                               "port": {
-                                       "port-device-name": "<xpdr-client-port>",
-                                       "port-type": "fixed",
-                                       "port-name": "<xpdr-client-port-number>",
-                                       "port-rack": "000000.00",
-                                       "port-shelf": "Chassis#1"
-                               },
-                               "lgx": {
-                                       "lgx-device-name": "Some lgx-device-name",
-                                       "lgx-port-name": "Some lgx-port-name",
-                                       "lgx-port-rack": "000000.00",
-                                       "lgx-port-shelf": "00"
-                               }
-                       },
-                       "optic-type": "gray"
-               },
-               "service-z-end": {
-                       "service-rate": "100",
-                       "node-id": "<xpdr-node-id>",
-                       "service-format": "Ethernet",
-                       "clli": "<ccli-name>",
-                       "tx-direction": {
-                               "port": {
-                                       "port-device-name": "<xpdr-client-port>",
-                                       "port-type": "fixed",
-                                       "port-name": "<xpdr-client-port-number>",
-                                       "port-rack": "000000.00",
-                                       "port-shelf": "Chassis#1"
-                               },
-                               "lgx": {
-                                       "lgx-device-name": "Some lgx-device-name",
-                                       "lgx-port-name": "Some lgx-port-name",
-                                       "lgx-port-rack": "000000.00",
-                                       "lgx-port-shelf": "00"
-                               }
-                       },
-                       "rx-direction": {
-                               "port": {
-                                       "port-device-name": "<xpdr-client-port>",
-                                       "port-type": "fixed",
-                                       "port-name": "<xpdr-client-port-number>",
-                                       "port-rack": "000000.00",
-                                       "port-shelf": "Chassis#1"
-                               },
-                               "lgx": {
-                                       "lgx-device-name": "Some lgx-device-name",
-                                       "lgx-port-name": "Some lgx-port-name",
-                                       "lgx-port-rack": "000000.00",
-                                       "lgx-port-shelf": "00"
-                               }
-                       },
-                       "optic-type": "gray"
-               },
-               "due-date": "yyyy-mm-ddT00:00:01Z",
-               "operator-contact": "some-contact-info"
-       }
+        "input": {
+            "sdnc-request-header": {
+                "request-id": "request-1",
+                "rpc-action": "service-create",
+                "request-system-id": "appname"
+            },
+            "service-name": "test1",
+            "common-id": "commonId",
+            "connection-type": "service",
+            "service-a-end": {
+                "service-rate": "100",
+                "node-id": "<xpdr-node-id>",
+                "service-format": "Ethernet",
+                "clli": "<ccli-name>",
+                "tx-direction": {
+                    "port": {
+                        "port-device-name": "<xpdr-client-port>",
+                        "port-type": "fixed",
+                        "port-name": "<xpdr-client-port-number>",
+                        "port-rack": "000000.00",
+                        "port-shelf": "Chassis#1"
+                    },
+                    "lgx": {
+                        "lgx-device-name": "Some lgx-device-name",
+                        "lgx-port-name": "Some lgx-port-name",
+                        "lgx-port-rack": "000000.00",
+                        "lgx-port-shelf": "00"
+                    }
+                },
+                "rx-direction": {
+                    "port": {
+                        "port-device-name": "<xpdr-client-port>",
+                        "port-type": "fixed",
+                        "port-name": "<xpdr-client-port-number>",
+                        "port-rack": "000000.00",
+                        "port-shelf": "Chassis#1"
+                    },
+                    "lgx": {
+                        "lgx-device-name": "Some lgx-device-name",
+                        "lgx-port-name": "Some lgx-port-name",
+                        "lgx-port-rack": "000000.00",
+                        "lgx-port-shelf": "00"
+                    }
+                },
+                "optic-type": "gray"
+            },
+            "service-z-end": {
+                "service-rate": "100",
+                "node-id": "<xpdr-node-id>",
+                "service-format": "Ethernet",
+                "clli": "<ccli-name>",
+                "tx-direction": {
+                    "port": {
+                        "port-device-name": "<xpdr-client-port>",
+                        "port-type": "fixed",
+                        "port-name": "<xpdr-client-port-number>",
+                        "port-rack": "000000.00",
+                        "port-shelf": "Chassis#1"
+                    },
+                    "lgx": {
+                        "lgx-device-name": "Some lgx-device-name",
+                        "lgx-port-name": "Some lgx-port-name",
+                        "lgx-port-rack": "000000.00",
+                        "lgx-port-shelf": "00"
+                    }
+                },
+                "rx-direction": {
+                    "port": {
+                        "port-device-name": "<xpdr-client-port>",
+                        "port-type": "fixed",
+                        "port-name": "<xpdr-client-port-number>",
+                        "port-rack": "000000.00",
+                        "port-shelf": "Chassis#1"
+                    },
+                    "lgx": {
+                        "lgx-device-name": "Some lgx-device-name",
+                        "lgx-port-name": "Some lgx-port-name",
+                        "lgx-port-rack": "000000.00",
+                        "lgx-port-shelf": "00"
+                    }
+                },
+                "optic-type": "gray"
+            },
+            "due-date": "yyyy-mm-ddT00:00:01Z",
+            "operator-contact": "some-contact-info"
+        }
     }
 
 Most important parameters for this REST RPC are the identification of the two physical client ports
@@ -570,18 +570,18 @@ connectivity service.
 .. code:: json
 
     {
-       "input": {
-               "sdnc-request-header": {
-                       "request-id": "request-1",
-                       "rpc-action": "service-delete",
-                       "request-system-id": "appname",
-                       "notification-url": "http://localhost:8585/NotificationServer/notify"
-               },
-               "service-delete-req-info": {
-                       "service-name": "test1",
-                       "tail-retention": "no"
-               }
-       }
+        "input": {
+            "sdnc-request-header": {
+                "request-id": "request-1",
+                "rpc-action": "service-delete",
+                "request-system-id": "appname",
+                "notification-url": "http://localhost:8585/NotificationServer/notify"
+            },
+            "service-delete-req-info": {
+                "service-name": "test1",
+                "tail-retention": "no"
+            }
+        }
     }
 
 Most important parameters for this REST RPC is the *service-name*.
index 93d2fa7be6f21b68c7fa0974517497119574d23a..6b0dbb68cbcc09e1f2af3762ef082ad6c6211e77 100755 (executable)
@@ -1,44 +1,44 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- vi: set et smarttab sw=4 tabstop=4: -->\r
-<!--\r
-Copyright Â© 2017 Orange and others. All rights reserved.\r
-\r
-This program and the accompanying materials are made available under the\r
-terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
-and is available at http://www.eclipse.org/legal/epl-v10.html\r
-\r
-Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange\r
--->\r
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"\r
-  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"\r
-  odl:use-default-for-reference-types="true">\r
-\r
-  <reference id="dataBroker"\r
-        interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"\r
-        odl:type="default"/>\r
-\r
-  <reference id="rpcRegistry"\r
-        interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\r
-\r
-  <reference id="notificationPublishService"\r
-        interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"\r
-        odl:type="default" />\r
-\r
-  <bean id="pceServiceImpl"\r
-        class="org.opendaylight.transportpce.pce.service.PathComputationServiceImpl"\r
-        init-method="init" destroy-method="close">\r
-    <argument ref="dataBroker"/>\r
-    <argument ref="notificationPublishService" />\r
-  </bean>\r
-\r
-  <bean id="provider"\r
-        class="org.opendaylight.transportpce.pce.impl.PceProvider"\r
-        init-method="init" destroy-method="close">\r
-    <argument ref="rpcRegistry" />\r
-    <argument ref="pceServiceImpl" />\r
-  </bean>\r
-\r
-  <service ref="pceServiceImpl"\r
-        interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>\r
-\r
-</blueprint>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+Copyright Â© 2017 Orange and others. All rights reserved.
+
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+
+Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+  odl:use-default-for-reference-types="true">
+
+  <reference id="dataBroker"
+        interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
+        odl:type="default"/>
+
+  <reference id="rpcRegistry"
+        interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>
+
+  <reference id="notificationPublishService"
+        interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
+        odl:type="default" />
+
+  <bean id="pceServiceImpl"
+        class="org.opendaylight.transportpce.pce.service.PathComputationServiceImpl"
+        init-method="init" destroy-method="close">
+    <argument ref="dataBroker"/>
+    <argument ref="notificationPublishService" />
+  </bean>
+
+  <bean id="provider"
+        class="org.opendaylight.transportpce.pce.impl.PceProvider"
+        init-method="init" destroy-method="close">
+    <argument ref="rpcRegistry" />
+    <argument ref="pceServiceImpl" />
+  </bean>
+
+  <service ref="pceServiceImpl"
+        interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>
+
+</blueprint>
index d1d73e87a1bb521fd9e86724a36c0e6bac1fc271..a1232003f5eb4b4c8103c3274460aa1febe8f99f 100644 (file)
@@ -1,52 +1,52 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- vi: set et smarttab sw=4 tabstop=4: -->\r
-<!--\r
-Copyright Â© 2017 Orange and others. All rights reserved.\r
-\r
-This program and the accompanying materials are made available under the\r
-terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
-and is available at http://www.eclipse.org/legal/epl-v10.html\r
-\r
-Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange\r
--->\r
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"\r
-  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"\r
-  odl:use-default-for-reference-types="true">\r
-\r
-    <reference id="rpcRegistry"\r
-          interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\r
-\r
-    <reference id="dataBroker"\r
-          interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"\r
-          odl:type="default" />\r
-\r
-    <reference id="notificationService"\r
-          interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"\r
-          odl:type="default" />\r
-\r
-    <reference id="notificationPublishService"\r
-          interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"\r
-          odl:type="default" />\r
-\r
-    <reference id="pathComputationService"\r
-          interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>\r
-\r
-    <reference id="rendererServiceOperations"\r
-             interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />\r
-\r
-    <reference id="networkModelWavelengthService"\r
-           interface="org.opendaylight.transportpce.renderer.NetworkModelWavelengthService" />\r
-\r
-    <bean id="provider"\r
-          class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"\r
-          init-method="init" destroy-method="close">\r
-        <argument ref="rpcRegistry" />\r
-        <argument ref="dataBroker" />\r
-        <argument ref="notificationService" />\r
-        <argument ref="notificationPublishService" />\r
-        <argument ref="pathComputationService" />\r
-        <argument ref="rendererServiceOperations" />\r
-        <argument ref="networkModelWavelengthService" />\r
-    </bean>\r
-\r
-</blueprint>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+Copyright Â© 2017 Orange and others. All rights reserved.
+
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+
+Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+  odl:use-default-for-reference-types="true">
+
+    <reference id="rpcRegistry"
+          interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>
+
+    <reference id="dataBroker"
+          interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
+          odl:type="default" />
+
+    <reference id="notificationService"
+          interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"
+          odl:type="default" />
+
+    <reference id="notificationPublishService"
+          interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
+          odl:type="default" />
+
+    <reference id="pathComputationService"
+          interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>
+
+    <reference id="rendererServiceOperations"
+             interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />
+
+    <reference id="networkModelWavelengthService"
+           interface="org.opendaylight.transportpce.renderer.NetworkModelWavelengthService" />
+
+    <bean id="provider"
+          class="org.opendaylight.transportpce.servicehandler.impl.ServicehandlerProvider"
+          init-method="init" destroy-method="close">
+        <argument ref="rpcRegistry" />
+        <argument ref="dataBroker" />
+        <argument ref="notificationService" />
+        <argument ref="notificationPublishService" />
+        <argument ref="pathComputationService" />
+        <argument ref="rendererServiceOperations" />
+        <argument ref="networkModelWavelengthService" />
+    </bean>
+
+</blueprint>
diff --git a/tests/SH_func_tests.sh b/tests/SH_func_tests.sh
deleted file mode 100755 (executable)
index 6fbbf45..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-(cd .. && git apply tests/SH_stubs.diff && mvn clean install -s tests/odl_settings.xml -DskipTests -Dmaven.javadoc.skip=true)
-(cd .. && git checkout .)
-
-exit $?
diff --git a/tests/SH_stubs.diff b/tests/SH_stubs.diff
deleted file mode 100644 (file)
index 9d423a2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java b/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java
-index 1c8ddfe..b83b8cc 100644
---- a/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java
-+++ b/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java
-@@ -18,6 +18,7 @@ import org.opendaylight.transportpce.renderer.NetworkModelWavelengthService;
- import org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations;
- import org.opendaylight.transportpce.servicehandler.listeners.PceListenerImpl;
- import org.opendaylight.transportpce.servicehandler.listeners.RendererListenerImpl;
-+import org.opendaylight.transportpce.servicehandler.stub.StubRendererServiceOperations;
- import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.TransportpcePceListener;
- import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017.TransportpceRendererListener;
- import org.opendaylight.yang.gen.v1.http.org.openroadm.service.rev161014.OrgOpenroadmServiceService;
-@@ -55,7 +56,8 @@ public class ServicehandlerProvider {
-         this.rpcRegistry = rpcProviderRegistry;
-         this.notificationService = notificationService;
-         this.pathComputationService = pathComputationService;
--        this.rendererServiceOperations = rendererServiceOperations;
-+        this.rendererServiceOperations = new StubRendererServiceOperations(networkModelWavelengthService, dataBroker,
-+                notificationPublishService);
-         this.networkModelWavelengthService = networkModelWavelengthService;
-         this.notificationPublishService = notificationPublishService;
-     }
index e2391aab24041254c6f1f227436c1707146d04b4..c5e6a19f89642a2a08de3f511e336a80e677950e 100644 (file)
@@ -6,19 +6,12 @@ RUN apk add --update --no-cache bash procps maven git \
   && git clone -b master https://git.opendaylight.org/gerrit/transportpce \
   && cd transportpce/tests \
   && ./buildHoneynode.sh \
-  && mv honeynode/ /opt/sims/ \
+  && mv honeynode/2.1 /opt/sims/honeynode \
   && echo -e '#/bin/sh\n\ncd /opt/sims\n./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce $@\n'>/usr/bin/honeynode \
   && chmod +x /usr/bin/honeynode \
-#  && ./buildTesttool.sh \
-#  && mv netconf/netconf/tools/netconf-testtool/target/netconf-testtool-1.5.0-executable.jar /opt/sims/ \
-#  && mv schemas /opt/sims/ \
-#  && echo -e '#/bin/sh\n\ncd /opt/sims\njava -jar /opt/sims/netconf-testtool-1.5.0-executable.jar $@\n'>/usr/bin/testtool \
-#  && chmod +x /usr/bin/testtool \
   && mv sample_configs/ /opt/sims/ \
   && cd ../.. \
   && rm -rf transportpce/ .m2/ \
   && apk del git maven
 
-
 #CMD honeynode 830 sample_configs/openroadm/2.1/oper-ROADMA.xml
-#CMD testtool --schemas-dir schemas  --initial-config-xml sample_configs/openroadm/1.2.1/sample-config-ROADMA.xml --starting-port 17830
diff --git a/tests/Xtesting/DockerSims/Dockerfile.orig.testtool b/tests/Xtesting/DockerSims/Dockerfile.orig.testtool
deleted file mode 100644 (file)
index 2ca7ddf..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-FROM openjdk:8-jdk-alpine
-
-RUN apk add --update --no-cache bash procps maven git \
-  && mkdir /opt/sims \
-  && cd /root \
-  && git clone -b master https://git.opendaylight.org/gerrit/transportpce \
-  && cd transportpce/tests \
-  && ./buildTesttool.sh \
-  && mv netconf/netconf/tools/netconf-testtool/target/netconf-testtool-1.5.0-executable.jar /opt/sims/ \
-  && mv schemas /opt/sims/ \
-  && echo -e '#/bin/sh\n\ncd /opt/sims\njava -jar /opt/sims/netconf-testtool-1.5.0-executable.jar $@\n'>/usr/bin/testtool \
-  && chmod +x /usr/bin/testtool \
-  && mv sample_configs/ /opt/sims/ \
-  && cd ../.. \
-  && rm -rf transportpce/ .m2/ \
-  && apk del git maven
-
-
-#CMD testtool --schemas-dir schemas  --initial-config-xml sample_configs/openroadm/1.2.1/sample-config-ROADMA.xml --starting-port 17830
index eb8bef656ff655fe50a9ceca42d658cc39ca3ba8..0fea9c3564ccd86e483c021047c70784264da986 100755 (executable)
@@ -8,11 +8,3 @@ do  DOCKNAME=honeynode_`echo $conf_file |cut -d\. -f1 |tr '[:upper:]' '[:lower:]
         echo -e "FROM alpine_honeynode:2.1\n\nCMD honeynode 830 sample_configs/openroadm/2.1/$conf_file\n" >Dockerfile
         sudo docker build --tag=$DOCKNAME:2.1 .
 done
-cp Dockerfile.orig.testtool Dockerfile
-sudo docker build --tag=alpine_testtool:1.2.1 .
-for conf_file in `(cd ../../ && ls sample_configs/openroadm/1.2.1/)`
-do  DOCKNAME=testtool_`echo $conf_file |cut -d\. -f1  |cut -d\- -f3|tr '[:upper:]' '[:lower:]'`
-        echo "generating docker image '$DOCKNAME'"
-        echo -e "FROM alpine_testtool:1.2.1\n\nCMD testtool --schemas-dir schemas --starting-port 17830 --initial-config-xml sample_configs/openroadm/1.2.1/$conf_file\n" >Dockerfile
-        sudo docker build --tag=$DOCKNAME:1.2.1 .
-done
index 3d9db4ab06d7d93e2f7618ded9b9baa3319e6162..5bffcea9bd4f34abe09cf1d47179a92a8614874d 100755 (executable)
@@ -1,11 +1,14 @@
 #!/bin/bash
 
+ORDMVERSION=${1:-2.1}
+
 set -e
 
-rm -rf honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
-mkdir -p honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
-cp honeynode/honeynode-plugin-api/src/main/yang/* honeynode/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
-(cd honeynode && mvn clean install -DskipTests -Dcheckstyle.skip -s fd_io_honeycomb_settings.xml)
-chmod +x ./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce
+rm -rf honeynode/$ORDMVERSION/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
+mkdir -p honeynode/$ORDMVERSION/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
+#cp honeynode/$ORDMVERSION/honeynode-plugin-api/src/main/yang/* honeynode/$ORDMVERSION/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
+find honeynode/$ORDMVERSION/honeynode-plugin-api/src/main/yang/ -name "*.yang" -type f -exec cp {} ./honeynode/$ORDMVERSION/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang \;
+(cd honeynode/$ORDMVERSION/ && mvn clean install -DskipTests -Dcheckstyle.skip -s ../fd_io_honeycomb_settings.xml)
+chmod +x ./honeynode/$ORDMVERSION/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce
 
 exit $?
diff --git a/tests/buildHoneynode221.sh b/tests/buildHoneynode221.sh
deleted file mode 100755 (executable)
index 4f2e3ba..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-set -e
-
-rm -rf honeynode221/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
-mkdir -p honeynode221/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
-cp honeynode221/honeynode-plugin-api/src/main/yang/common/* honeynode221/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
-cp honeynode221/honeynode-plugin-api/src/main/yang/device221/* honeynode221/honeynode-plugin-impl/src/main/resources/honeycomb-minimal-resources/config/yang
-(cd honeynode221 && mvn clean install -DskipTests -Dcheckstyle.skip -s fd_io_honeycomb_settings.xml)
-chmod +x ./honeynode221/honeynode-distribution/target/honeynode-distribution-1.18.01-hc/honeynode-distribution-1.18.01/honeycomb-tpce
-
-exit $?
diff --git a/tests/buildTesttool.sh b/tests/buildTesttool.sh
deleted file mode 100755 (executable)
index 8e8ee9b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# It may require to call git submodule update --init
-
-set -e
-
-yang="\
-mdsal/model/iana/iana-afn-safi/src/main/yang/iana-afn-safi@2013-07-04.yang \
-mdsal/model/ietf/ietf-inet-types-2013-07-15/src/main/yang/ietf-inet-types@2013-07-15.yang \
-mdsal/model/ietf/ietf-yang-types-20130715/src/main/yang/ietf-yang-types@2013-07-15.yang \
-netconf/netconf/models/ietf-netconf/src/main/yang/ietf-netconf@2011-06-01.yang \
-netconf/netconf/models/ietf-netconf-notifications/src/main/yang/ietf-netconf-notifications@2012-02-06.yang \
-netconf/netconf/models/ietf-netconf-notifications/src/main/yang/notifications@2008-07-14.yang"
-
-rm -rf netconf mdsal && git submodule update --init
-(cd netconf && patch -p1 < ../netconf.patch )
-(cd netconf/netconf/tools/netconf-testtool && mvn clean install -s ../../../../odl_settings.xml -DskipTests -Dmaven.javadoc.skip=true)
-rm -rf schemas && mkdir -p schemas
-cp ordmodels_1.2.1/org-openroadm-* schemas
-cp ${yang} schemas
-mkdir -p transportpce_tests/log/
-
-exit $?
@@ -58,13 +58,13 @@ public final class PmConfiguration {
     }
 
     public CurrentPmList getDataPm() {
-       CurrentPmList result = null;
+        CurrentPmList result = null;
         File pm_list_data = new File(classLoader.getResource(PM_DATA_SAMPLE_OPER_XML).getFile());
         result = defaultPmListFactory.createDefaultPmList(dataStoreContextUtil,pm_list_data);
         if (result != null) {
             LOG.info("result pm list size : {}", result.getCurrentPmEntry().size());
         } else {
-               LOG.error("no current-pm-list retreived from initial xml file");
+            LOG.error("no current-pm-list retreived from initial xml file");
         }
         return result;
     }
@@ -52,7 +52,7 @@ public class DefaultPmListFactory {
      * @return {@link CurrentPmlist}
      */
     public CurrentPmList createDefaultPmList(DataStoreContext dataStoreContextUtil, File pm_data_config) {
-       CurrentPmList result = null;
+        CurrentPmList result = null;
         if (pm_data_config.exists()) {
             String config = pm_data_config.getName();
             LOG.info("file with pm '{}' exists at location : {}", config, pm_data_config.getAbsolutePath());
@@ -88,7 +88,7 @@ public class DefaultPmListFactory {
      * @return {@link CurrentPmlist}
      */
     public CurrentPmList createDefaultPmList(DataStoreContext dataStoreContextUtil, String pm_data_config) {
-       CurrentPmList result = null;
+        CurrentPmList result = null;
         if (pm_data_config != null) {
             LOG.info("Pm List data config string is ok ");
             InputStream targetStream;
-<?xml version="1.0" encoding="UTF-8"?>\r
-<xsl:stylesheet version="1.0"\r
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
-xmlns:d="urn:ietf:params:xml:ns:netconf:base:1.0"\r
-xmlns:oor="http://org/openroadm/device"\r
-exclude-result-prefixes="oor d">\r
-\r
-  <xsl:output method="xml" encoding="UTF-8" indent="yes"/>\r
-  \r
-  <xsl:template match="/">\r
-    <xsl:element name="config" namespace="urn:ietf:params:xml:ns:netconf:base:1.0">\r
-    <xsl:element name="org-openroadm-device" namespace="http://org/openroadm/device">\r
-    <xsl:element name="info">\r
-      <xsl:apply-templates select="d:data/oor:org-openroadm-device/oor:info"/>\r
-    </xsl:element>\r
-\r
-    <xsl:copy-of select="d:data/oor:org-openroadm-device/oor:users" />\r
-\r
-    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:shelves">\r
-      <xsl:element name="shelves" >\r
-        <xsl:call-template name="shelve-body"/>\r
-      </xsl:element>\r
-    </xsl:for-each>\r
-\r
-    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:circuit-packs">\r
-      <xsl:element name="circuit-packs" >\r
-        <xsl:call-template name="cp-body"/>\r
-      </xsl:element>\r
-    </xsl:for-each>\r
-    \r
-    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:interface">\r
-        <xsl:element name="interface" namespace="http://org/openroadm/device">\r
-            <xsl:call-template name="inter-body"/>\r
-        </xsl:element>\r
-    </xsl:for-each>\r
-    \r
-    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:protocols">\r
-        <xsl:element name="protocols" >\r
-            <xsl:call-template name="proto-body"/>\r
-        </xsl:element>\r
-    </xsl:for-each>\r
-\r
-    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:degree">\r
-      <xsl:element name="degree" >\r
-        <xsl:call-template name="degree-body"/>\r
-      </xsl:element>\r
-    </xsl:for-each>\r
-\r
-    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:shared-risk-group">\r
-      <xsl:element name="shared-risk-group" >\r
-        <xsl:call-template name="srg-body"/>\r
-      </xsl:element>\r
-    </xsl:for-each>\r
-\r
-    </xsl:element>\r
-    </xsl:element>\r
-  </xsl:template>\r
-  \r
-  <xsl:template match="oor:info">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="name(.) = 'node-id' or name(.) = 'node-number' or name(.) = 'node-type' or name(.) = 'clli' or name(.) = 'ipAddress' or name(.) = 'prefix-length' or name(.) = 'defaultGateway' or name(.) = 'template' or name(.) = 'geoLocation'">\r
-        <xsl:copy-of select="." />\r
-      </xsl:if>\r
-     </xsl:for-each> \r
-  </xsl:template>\r
-\r
-  <xsl:template name="shelve-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="name(.) ='shelf-name' or name(.) = 'shelf-type' or name(.) = 'rack' or name(.) = 'shelf-position' or name(.) = 'administrative-state' or name(.) = 'equipment-state' or name(.) = 'due-date'">\r
-        <xsl:copy-of select="." />\r
-      </xsl:if>\r
-    </xsl:for-each>\r
-  </xsl:template>\r
-\r
-  <xsl:template name="cp-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="name(.) = 'circuit-pack-type' or name(.) = 'circuit-pack-product-code' or name(.) = 'circuit-pack-name' or name(.) = 'administrative-state' or name(.) = 'equipment-state' or name(.) = 'circuit-pack-mode' or name(.) = 'shelf' or name(.) = 'slot' or name(.) = 'subSlot' or name(.) = 'due-date' or name(.) = 'parent-circuit-pack'">\r
-        <xsl:copy-of select="." />\r
-      </xsl:if>\r
-      <xsl:if test="name(.) = 'ports'">\r
-        <xsl:for-each select=".">\r
-          <xsl:element name="ports" >\r
-            <xsl:call-template name="ports-body"/>\r
-          </xsl:element>\r
-        </xsl:for-each>\r
-      </xsl:if>\r
-     </xsl:for-each> \r
-  </xsl:template>\r
-\r
-  <xsl:template name="inter-body">\r
-    <xsl:for-each select="./*">\r
-        <xsl:if test="not(name(.) = 'operational-state' or name(.) = 'ethernet')">\r
-          <xsl:copy-of select="." />\r
-        </xsl:if>\r
-        <xsl:if test="name(.)='ethernet'">\r
-          <xsl:element name="ethernet">\r
-            <xsl:call-template name="eth-body"/>\r
-          </xsl:element>\r
-        </xsl:if>\r
-    </xsl:for-each>\r
-  </xsl:template>\r
-  \r
-   <xsl:template name="eth-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="not(name(.) = 'curr-speed' or name(.)='curr-duplex') ">\r
-         <xsl:copy-of select="." />\r
-      </xsl:if>\r
-    </xsl:for-each>\r
-  </xsl:template>\r
-\r
-  <xsl:template name="proto-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="name(.) = 'lldp'">\r
-        <xsl:for-each select=".">\r
-          <xsl:element name="lldp" >\r
-            <xsl:call-template name="lldp-body"/>\r
-          </xsl:element>\r
-        </xsl:for-each>\r
-      </xsl:if>\r
-     </xsl:for-each> \r
-  </xsl:template>\r
-\r
-  <xsl:template name="ports-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="name(.) = 'port-name' or name(.) = 'port-type' or name(.) = 'port-qual' or name(.) = 'circuit-id' or name(.) = 'administrative-state' or name(.) = 'logical-connection-point' or name(.) = 'roadm-port' or name(.) = 'otdr-port' or name(.) = 'ila-port' ">\r
-         <xsl:copy-of select="." />\r
-      </xsl:if>\r
-    </xsl:for-each>\r
-  </xsl:template>\r
-  \r
-  <xsl:template name="lldp-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="not(name(.) = 'nbr-list') ">\r
-         <xsl:copy-of select="." />\r
-      </xsl:if>\r
-    </xsl:for-each>\r
-  </xsl:template>\r
-  \r
-  <xsl:template name="degree-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="not(name(.) = 'max-wavelengths')">\r
-         <xsl:copy-of select="." />\r
-      </xsl:if>\r
-    </xsl:for-each>\r
-  </xsl:template>\r
-\r
-  <xsl:template name="srg-body">\r
-    <xsl:for-each select="./*">\r
-      <xsl:if test="not(name(.) = 'max-add-drop-ports' or name(.) = 'wavelength-duplication' or name(.) = 'current-provisioned-add-drop-ports')">\r
-         <xsl:copy-of select="." />\r
-      </xsl:if>\r
-    </xsl:for-each>\r
-  </xsl:template>\r
-\r
- </xsl:stylesheet>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:d="urn:ietf:params:xml:ns:netconf:base:1.0"
+xmlns:oor="http://org/openroadm/device"
+exclude-result-prefixes="oor d">
+
+  <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
+  
+  <xsl:template match="/">
+    <xsl:element name="config" namespace="urn:ietf:params:xml:ns:netconf:base:1.0">
+    <xsl:element name="org-openroadm-device" namespace="http://org/openroadm/device">
+    <xsl:element name="info">
+      <xsl:apply-templates select="d:data/oor:org-openroadm-device/oor:info"/>
+    </xsl:element>
+
+    <xsl:copy-of select="d:data/oor:org-openroadm-device/oor:users" />
+
+    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:shelves">
+      <xsl:element name="shelves" >
+        <xsl:call-template name="shelve-body"/>
+      </xsl:element>
+    </xsl:for-each>
+
+    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:circuit-packs">
+      <xsl:element name="circuit-packs" >
+        <xsl:call-template name="cp-body"/>
+      </xsl:element>
+    </xsl:for-each>
+    
+    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:interface">
+        <xsl:element name="interface" namespace="http://org/openroadm/device">
+            <xsl:call-template name="inter-body"/>
+        </xsl:element>
+    </xsl:for-each>
+    
+    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:protocols">
+        <xsl:element name="protocols" >
+            <xsl:call-template name="proto-body"/>
+        </xsl:element>
+    </xsl:for-each>
+
+    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:degree">
+      <xsl:element name="degree" >
+        <xsl:call-template name="degree-body"/>
+      </xsl:element>
+    </xsl:for-each>
+
+    <xsl:for-each select="d:data/oor:org-openroadm-device/oor:shared-risk-group">
+      <xsl:element name="shared-risk-group" >
+        <xsl:call-template name="srg-body"/>
+      </xsl:element>
+    </xsl:for-each>
+
+    </xsl:element>
+    </xsl:element>
+  </xsl:template>
+  
+  <xsl:template match="oor:info">
+    <xsl:for-each select="./*">
+      <xsl:if test="name(.) = 'node-id' or name(.) = 'node-number' or name(.) = 'node-type' or name(.) = 'clli' or name(.) = 'ipAddress' or name(.) = 'prefix-length' or name(.) = 'defaultGateway' or name(.) = 'template' or name(.) = 'geoLocation'">
+        <xsl:copy-of select="." />
+      </xsl:if>
+     </xsl:for-each> 
+  </xsl:template>
+
+  <xsl:template name="shelve-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="name(.) ='shelf-name' or name(.) = 'shelf-type' or name(.) = 'rack' or name(.) = 'shelf-position' or name(.) = 'administrative-state' or name(.) = 'equipment-state' or name(.) = 'due-date'">
+        <xsl:copy-of select="." />
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name="cp-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="name(.) = 'circuit-pack-type' or name(.) = 'circuit-pack-product-code' or name(.) = 'circuit-pack-name' or name(.) = 'administrative-state' or name(.) = 'equipment-state' or name(.) = 'circuit-pack-mode' or name(.) = 'shelf' or name(.) = 'slot' or name(.) = 'subSlot' or name(.) = 'due-date' or name(.) = 'parent-circuit-pack'">
+        <xsl:copy-of select="." />
+      </xsl:if>
+      <xsl:if test="name(.) = 'ports'">
+        <xsl:for-each select=".">
+          <xsl:element name="ports" >
+            <xsl:call-template name="ports-body"/>
+          </xsl:element>
+        </xsl:for-each>
+      </xsl:if>
+     </xsl:for-each> 
+  </xsl:template>
+
+  <xsl:template name="inter-body">
+    <xsl:for-each select="./*">
+        <xsl:if test="not(name(.) = 'operational-state' or name(.) = 'ethernet')">
+          <xsl:copy-of select="." />
+        </xsl:if>
+        <xsl:if test="name(.)='ethernet'">
+          <xsl:element name="ethernet">
+            <xsl:call-template name="eth-body"/>
+          </xsl:element>
+        </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+  
+   <xsl:template name="eth-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="not(name(.) = 'curr-speed' or name(.)='curr-duplex') ">
+         <xsl:copy-of select="." />
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name="proto-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="name(.) = 'lldp'">
+        <xsl:for-each select=".">
+          <xsl:element name="lldp" >
+            <xsl:call-template name="lldp-body"/>
+          </xsl:element>
+        </xsl:for-each>
+      </xsl:if>
+     </xsl:for-each> 
+  </xsl:template>
+
+  <xsl:template name="ports-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="name(.) = 'port-name' or name(.) = 'port-type' or name(.) = 'port-qual' or name(.) = 'circuit-id' or name(.) = 'administrative-state' or name(.) = 'logical-connection-point' or name(.) = 'roadm-port' or name(.) = 'otdr-port' or name(.) = 'ila-port' ">
+         <xsl:copy-of select="." />
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+  
+  <xsl:template name="lldp-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="not(name(.) = 'nbr-list') ">
+         <xsl:copy-of select="." />
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+  
+  <xsl:template name="degree-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="not(name(.) = 'max-wavelengths')">
+         <xsl:copy-of select="." />
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name="srg-body">
+    <xsl:for-each select="./*">
+      <xsl:if test="not(name(.) = 'max-add-drop-ports' or name(.) = 'wavelength-duplication' or name(.) = 'current-provisioned-add-drop-ports')">
+         <xsl:copy-of select="." />
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+
+ </xsl:stylesheet>
diff --git a/tests/honeynode221/fd_io_honeycomb_settings.xml b/tests/honeynode221/fd_io_honeycomb_settings.xml
deleted file mode 100644 (file)
index 2fd709f..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=2 tabstop=2: -->
-<!-- retrived from FD.io wiki https://wiki.fd.io/view/Honeycomb/Releases/1609/Setting_Up_Your_Dev_Environment#Setup_settings.xml -->
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
-
-  <profiles>
-    <profile>
-      <id>fd.io-release</id>
-      <repositories>
-        <repository>
-          <id>fd.io-mirror</id>
-          <name>fd.io-mirror</name>
-          <url>https://nexus.fd.io/content/groups/public/</url>
-          <releases>
-            <enabled>true</enabled>
-            <updatePolicy>never</updatePolicy>
-          </releases>
-          <snapshots>
-            <enabled>false</enabled>
-          </snapshots>
-        </repository>
-      </repositories>
-      <pluginRepositories>
-        <pluginRepository>
-          <id>fd.io-mirror</id>
-          <name>fd.io-mirror</name>
-          <url>https://nexus.fd.io/content/repositories/public/</url>
-          <releases>
-            <enabled>true</enabled>
-            <updatePolicy>never</updatePolicy>
-          </releases>
-          <snapshots>
-            <enabled>false</enabled>
-          </snapshots>
-        </pluginRepository>
-      </pluginRepositories>
-    </profile>
-
-    <profile>
-      <id>fd.io-snapshots</id>
-      <repositories>
-        <repository>
-          <id>fd.io-snapshot</id>
-          <name>fd.io-snapshot</name>
-          <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
-          <releases>
-            <enabled>false</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </repository>
-      </repositories>
-      <pluginRepositories>
-        <pluginRepository>
-          <id>fd.io-snapshot</id>
-          <name>fd.io-snapshot</name>
-          <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
-          <releases>
-            <enabled>false</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </pluginRepository>
-      </pluginRepositories>
-    </profile>
-    <profile>
-      <id>opendaylight-snapshots</id>
-      <repositories>
-        <repository>
-          <id>opendaylight-snapshot</id>
-          <name>opendaylight-snapshot</name>
-          <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
-          <releases>
-            <enabled>false</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </repository>
-      </repositories>
-      <pluginRepositories>
-        <pluginRepository>
-          <id>opendaylight-shapshot</id>
-          <name>opendaylight-snapshot</name>
-          <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
-          <releases>
-            <enabled>false</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </pluginRepository>
-      </pluginRepositories>
-    </profile>
-    <profile>
-      <id>opendaylight-release</id>
-      <repositories>
-        <repository>
-          <id>opendaylight-mirror</id>
-          <name>opendaylight-mirror</name>
-          <url>https://nexus.opendaylight.org/content/repositories/public/</url>
-          <releases>
-            <enabled>true</enabled>
-            <updatePolicy>never</updatePolicy>
-          </releases>
-          <snapshots>
-            <enabled>false</enabled>
-          </snapshots>
-        </repository>
-      </repositories>
-      <pluginRepositories>
-        <pluginRepository>
-          <id>opendaylight-mirror</id>
-          <name>opendaylight-mirror</name>
-          <url>https://nexus.opendaylight.org/content/repositories/public/</url>
-          <releases>
-            <enabled>true</enabled>
-            <updatePolicy>never</updatePolicy>
-          </releases>
-          <snapshots>
-            <enabled>false</enabled>
-          </snapshots>
-        </pluginRepository>
-      </pluginRepositories>
-    </profile>
-  </profiles>
-
-  <activeProfiles>
-    <activeProfile>fd.io-release</activeProfile>
-    <activeProfile>fd.io-snapshots</activeProfile>
-    <activeProfile>opendaylight-snapshots</activeProfile>
-    <activeProfile>opendaylight-release</activeProfile>
-  </activeProfiles>
-
-</settings>
diff --git a/tests/mdsal b/tests/mdsal
deleted file mode 160000 (submodule)
index a6433bb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit a6433bbfd68b44bd5d1c661f90b96584597f44ae
diff --git a/tests/netconf b/tests/netconf
deleted file mode 160000 (submodule)
index 685c28f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 685c28f557b2f4e7b6b960a6aa397dcc8994b10d
diff --git a/tests/ordmodels_1.2.1/org-openroadm-alarm.yang b/tests/ordmodels_1.2.1/org-openroadm-alarm.yang
deleted file mode 100644 (file)
index 5ed8792..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-module org-openroadm-alarm {
-  namespace "http://org/openroadm/alarm";
-  prefix org-openroadm-alarm;
-
-  import ietf-yang-types {
-    prefix yang;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-  }
-  import org-openroadm-probable-cause {
-    prefix org-openroadm-probable-cause;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of an alarm.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping alarm {
-    leaf id {
-      description
-        "Uniquely id for this alarm, within the given management domain";
-      type string;
-      mandatory true;
-    }
-    container resource {
-      description
-        "Resource under alarm";
-      uses org-openroadm-resource:resource;
-    }
-    container probableCause {
-      description
-        "Probable cause of alarm";
-      uses org-openroadm-probable-cause:probable-cause;
-    }
-    leaf type {
-      description
-        "Type of alarm. Based on X.733 event Type.";
-      mandatory false;
-      type enumeration {
-        enum "communication" {
-          value 1;
-        }
-        enum "qualityOfService" {
-          value 2;
-        }
-        enum "processingError" {
-          value 3;
-        }
-        enum "equipment" {
-          value 4;
-        }
-        enum "environmental" {
-          value 5;
-        }
-      }
-    }
-    leaf raiseTime {
-      description
-        "Time alarm was raised";
-      type yang:date-and-time;
-      mandatory true;
-    }
-    leaf severity {
-      description
-        "Severity of alarm. Based on X.733 perceived severity.";
-      mandatory true;
-      type org-openroadm-common-types:severity;
-    }
-    leaf circuit-id {
-      description
-        "Circuit-id for alarm correlation.";
-      type string;
-    }
-  }
-
-  container active-alarm-list {
-    description
-      "List of currently active alarms. An alarm is removed from this table when the state transitions to clear.";
-    list activeAlarms {
-      key "id";
-      uses alarm;
-    }
-    config false;
-  }
-  notification alarm-notification {
-    description
-      "Notification sent on initial alarm creation, as well as any time the alarm changes state, including clear";
-    uses alarm;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-common-service-types.yang b/tests/ordmodels_1.2.1/org-openroadm-common-service-types.yang
deleted file mode 100644 (file)
index 7d5978c..0000000
+++ /dev/null
@@ -1,508 +0,0 @@
-module org-openroadm-common-service-types {
-  namespace "http://org/openroadm/common/service/types";
-  prefix org-openroadm-common-service-types;
-
-  import ietf-yang-types {
-    prefix yang;
-  }
-  import ietf-inet-types {
-    prefix inet;
-  }
-  import org-openroadm-routing-constraints {
-    prefix org-openroadm-routing-constraints;
-  }
-  import org-openroadm-topology {
-    prefix org-openroadm-topology;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common service types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping configuration-response-common {
-    container configuration-response-common {
-      leaf request-id {
-        type string;
-        mandatory true;
-      }
-      leaf response-code {
-        type string;
-        mandatory true;
-      }
-      leaf response-message {
-        type string;
-      }
-      leaf ack-final-indicator {
-        type string;
-        mandatory true;
-      }
-    }
-  }
-
-  grouping response-parameters {
-    container response-parameters {
-      uses org-openroadm-routing-constraints:routing-constraints;
-    }
-  }
-
-  grouping service-endpoint {
-    leaf service-format {
-      type service-format;
-      mandatory true;
-      description
-        "Format of the requested service: Ethernet, OTU, etc.";
-    }
-    leaf service-rate {
-      when "../service-format!='OMS'"{
-        description "service rate not applicable when service
-        format is roadmline";
-      }
-      type uint32;
-      mandatory true;
-      description
-        "Rate of the requested service in GBps";
-    }
-    leaf clli {
-      type string;
-      mandatory true;
-      description
-        "CLLI";
-    }
-    uses org-openroadm-resource-types:device-id;
-    container site;
-    container tx-direction {
-      uses service-port;
-      uses service-lgx;
-      uses service-tail;
-    }
-    container rx-direction {
-      uses service-port;
-      uses service-lgx;
-      uses service-tail;
-    }
-    leaf optic-type {
-      type org-openroadm-common-types:optic-types;
-    }
-    container router {
-      description
-        "Needed for communication with DWDM pluggable";
-      leaf node-id {
-        type string;
-        description
-          "Node id. This is reported against the service, but may not get reflected in the service in the network.";
-      }
-      leaf ip-address {
-        type inet:ip-address;
-        description
-          "Router IP Address. This is reported against the service, but may not get reflected in the service in the network.";
-      }
-      leaf url {
-        type string;
-        description
-          "URL needed for communication with DWDM pluggable. This is reported against the service, but may not get reflected in the service in the network.";
-      }
-    }
-    leaf user-label {
-      type string;
-      mandatory false;
-      description
-        "Label for service endpoint, defined by the user";
-    }
-  }
-
-  typedef rpc-actions {
-    description "rpc-actions include all the rpc methods";
-    type enumeration {
-      enum service-create {
-        value "1";
-      }
-      enum service-feasibility-check {
-        value "2";
-      }
-      enum service-delete {
-        value "3";
-      }
-      enum equipment-notification {
-        value "4";
-      }
-      enum temp-service-create {
-        value "5";
-      }
-      enum temp-service-delete {
-        value "6";
-      }
-      enum service-roll {
-        value "7";
-      }
-      enum service-reconfigure {
-        value "8";
-      }
-      enum service-restoration {
-        value "9";
-      }
-      enum service-reversion {
-        value "10";
-      }
-      enum service-reroute {
-        value "11";
-      }
-      enum service-reroute-confirm {
-        value "12";
-      }
-      enum network-re-optimization {
-        value "13";
-      }
-    }
-  }
-
-  grouping sdnc-request-header {
-    container sdnc-request-header {
-      leaf request-id {
-        type string;
-      }
-      leaf rpc-action {
-        type rpc-actions;
-      }
-      leaf notification-url {
-        type string;
-      }
-      leaf request-system-id{
-        type string;
-      }
-    }
-  }
-
-  grouping service-port {
-    container port {
-      leaf port-device-name {
-        type string;
-      }
-      leaf port-type {
-        type string;
-      }
-      leaf port-name {
-        type string;
-      }
-      leaf port-rack {
-        type string;
-      }
-      leaf port-shelf {
-        type string;
-      }
-      leaf port-slot {
-        type string;
-      }
-      leaf port-sub-slot {
-        type string;
-      }
-    }
-  }
-
-  grouping service-lgx {
-    container lgx {
-      leaf lgx-device-name {
-        type string;
-      }
-      leaf lgx-port-name {
-        type string;
-      }
-      leaf lgx-port-rack {
-        type string;
-      }
-      leaf lgx-port-shelf {
-        type string;
-      }
-    }
-  }
-
-  grouping service-tail {
-    container tail {
-      container tail-roadm {
-        description
-          "ROADM on which the transponder is connected to (TID, IP Address,
-           or FQDN)";
-        uses org-openroadm-resource-types:device-id;
-      }
-      container xponder-port {
-        description
-          "Muxponder port used in tail, that will get used as a service endpoint.";
-        leaf circuit-pack-name {
-          type string;
-        }
-        leaf port-name {
-          type string;
-        }
-      }
-      leaf tail-roadm-port-aid {
-        type string;
-        description
-          "This will provide the transponder port needed to inter-city ROADM
-           connection";
-      }
-      leaf tail-roadm-port-rack-location {
-        type string;
-        description
-          "Transponder's location";
-      }
-    }
-  }
-
-  grouping service-information {
-    leaf due-date {
-      type yang:date-and-time;
-      description
-        "Date and time service to be turn up. If time is not specified for a given date, default to  midnight. Service turned up immediately if no due date is specified";
-    }
-    leaf end-date {
-      type yang:date-and-time;
-      description
-        "Date and time service to be removed";
-      mandatory false;
-    }
-    leaf nc-code {
-      type string;
-      description
-        "NC code applied to wavelength service only.This is reported against the service, but may not get reflected in the service in the network.";
-    }
-    leaf nci-code {
-      type string;
-      description
-        "NCI code applied to wavelength service only.This is reported against the service, but may not get reflected in the service in the network.";
-    }
-    leaf secondary-nci-code {
-      type string;
-      description
-        "NC code applied to wavelength service only.This is reported against the service, but may not get reflected in the service in the network.";
-    }
-    leaf customer {
-      type string;
-      description
-        "To be included in ticket information.This is reported against the service, but may not get reflected in the service in the network.";
-    }
-    leaf customer-contact {
-      type string;
-      description
-        "Customer contact information To be included in ticket information. This is reported against the service, but may not get reflected in the service in the network.";
-    }
-    leaf operator-contact {
-      type string;
-      description
-        "Operator contact information to be included in ticket information. This is reported against the service, but may not get reflected in the service in the network.";
-    }
-  }
-
-  grouping service {
-    leaf service-name {
-      type string;
-      description
-        "Identifier for the service to be created in
-         the ROADM network, e.g., CLFI, CLCI, etc.";
-      mandatory true;
-    }
-    leaf common-id {
-      type string;
-      description
-        "To be used by the ROADM controller to identify the routing
-         constraints received from planning application (PED).";
-    }
-    uses sdnc-request-header;
-    leaf connection-type {
-      type connection-type;
-      mandatory true;
-      description
-        "Connection type";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-types:lifecycle-state;
-      description
-        "Lifecycle State of service. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf administrative-state {
-      type org-openroadm-common-types:state;
-      description
-        "Administrative State: Intended state of service";
-    }
-    leaf operational-state {
-      type org-openroadm-common-types:state;
-      config false;
-      description
-        "Operational State: Actual state of service";
-    }
-    leaf condition {
-      type service-condition;
-      description
-        "Service Condition: Additional information about the state of the service. Only sent when applicable.";
-    }
-    container service-a-end {
-      uses service-endpoint;
-    }
-    container service-z-end {
-      uses service-endpoint;
-    }
-    uses org-openroadm-routing-constraints:routing-constraints;
-    uses service-information;
-    leaf latency {
-      type uint32;
-      description
-        "Latency on service";
-    }
-    leaf-list fiber-span-srlgs {
-      type string;
-      description
-        "Shared risk link group identifiers";
-    }
-    list equipment-srgs {
-      key "srg-number";
-      uses org-openroadm-resource-types:srg-number;
-    }
-    leaf-list supporting-service-name {
-      description
-        "The service name that this runs over top. If connection-type is service, then this is the related
-         connection-type = infrastructure service, for example.";
-      type string;
-    }
-    container topology {
-      uses org-openroadm-topology:topology;
-    }
-  }
-
-  grouping service-notification-result {
-    leaf service-name {
-      type string;
-      description
-        "Identifier for the service e.g., CLFI, CLCI, etc.";
-      mandatory true;
-    }
-    leaf actual-date {
-      type yang:date-and-time;
-      description
-        "Actual date and time (if successful)";
-    }
-  }
-
-  typedef service-format {
-    type enumeration {
-      enum "Ethernet" {
-        value 1;
-      }
-      enum "OTU" {
-        value 2;
-      }
-      enum "OC" {
-        value 3;
-      }
-      enum "STM" {
-        value 4;
-      }
-      enum "OMS" {
-        value 5;
-      }
-      enum "ODU" {
-        value 6;
-      }
-      enum "OTM" {
-        value 7;
-      }
-    }
-  }
-
-  typedef service-notification-types {
-    type enumeration {
-      enum "service-create-result" {
-        value 1;
-      }
-      enum "service-reconfigure-result" {
-        value 2;
-      }
-      enum "service-delete-result" {
-        value 3;
-      }
-      enum "service-roll-result" {
-        value 4;
-      }
-      enum "service-revert-result" {
-        value 5;
-      }
-      enum "service-reroute-result" {
-        value 6;
-      }
-      enum "service-restoration-result" {
-        value 7;
-      }
-    }
-  }
-
-  typedef connection-type {
-    type enumeration {
-      enum "service" {
-        value 1;
-      }
-      enum "infrastructure" {
-        value 2;
-      }
-      enum "roadm-line" {
-        value 3;
-      }
-    }
-  }
-
-  typedef service-condition {
-    type enumeration {
-      enum "restored-temporarily" {
-        value 1;
-      }
-      enum "re-routed-temporarily" {
-        value 2;
-      }
-      enum "activated-for-service" {
-        value 3;
-      }
-      enum "activated-for-further-check" {
-        value 4;
-      }
-      enum "activated-for-troubleshooting-failure" {
-        value 5;
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-common-types.yang b/tests/ordmodels_1.2.1/org-openroadm-common-types.yang
deleted file mode 100644 (file)
index e52b12b..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-module org-openroadm-common-types {
-  namespace "http://org/openroadm/common-types";
-  prefix org-openroadm-common-types;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping physical-location {
-    leaf rack {
-      type string;
-      mandatory false;
-    }
-    leaf shelf {
-      type string;
-      mandatory false;
-    }
-    leaf slot {
-      type string;
-      mandatory false;
-    }
-    leaf subSlot {
-      type string;
-      mandatory false;
-    }
-  }
-
-  typedef node-types {
-    type enumeration {
-      enum "rdm" {
-        value 1;
-      }
-      enum "xpdr" {
-        value 2;
-      }
-    }
-    description
-      "3 digit identifier for node type
-       1. rdm for ROADM
-       2. xpdr for Transponder, Regen";
-  }
-
-  typedef power-dBm {
-    description
-      "Power value in dBm.";
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "dBm";
-  }
-
-  typedef ratio-dB {
-    description
-      "Power ratio in dB.";
-    type decimal64 {
-      fraction-digits 3;
-    }
-    units "dB";
-  }
-
-  typedef severity {
-    description
-      "Severity, based on X.733 perceived severity";
-    type enumeration {
-      enum "critical" {
-        value 1;
-      }
-      enum "major" {
-        value 2;
-      }
-      enum "minor" {
-        value 3;
-      }
-      enum "warning" {
-        value 4;
-      }
-      enum "clear" {
-        value 5;
-      }
-      enum "indeterminate" {
-        value 6;
-      }
-    }
-  }
-
-  typedef rpc-status {
-    description
-      "status of RPC ";
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-    }
-  }
-
-  grouping rpc-response-status {
-    leaf status {
-      type rpc-status;
-      mandatory true;
-      description
-        "Successful or Failed";
-    }
-    leaf status-message {
-      type string;
-      description
-        "Gives a more detailed reason for failure";
-    }
-  }
-
-  typedef lifecycle-state {
-    description
-      "Lifecycle state.";
-    type enumeration {
-      enum "deployed" {
-        value 1;
-      }
-      enum "planned" {
-        value 2;
-      }
-      enum "maintenance" {
-        value 3;
-      }
-      enum "deploying" {
-        value 4;
-      }
-      enum "undeploying" {
-        value 5;
-      }
-    }
-  }
-
-  typedef state {
-    description
-      "State that indicates whether the resource is able to provide fullfill its role - carry traffic, etc.";
-    type enumeration {
-      enum "inService" {
-        value 1;
-      }
-      enum "outOfService" {
-        value 2;
-      }
-      enum "degraded" {
-        value 3;
-      }
-    }
-  }
-
-  typedef optic-types {
-    type enumeration {
-      enum "gray" {
-        value 1;
-      }
-      enum "dwdm" {
-        value 2;
-      }
-    }
-  }
-  grouping equipment-type {
-    leaf type {
-      type equipment-type-enum;
-      mandatory true;
-      config false;
-    }
-    leaf extension {
-      description
-        "Populated with equipment type when enum value is set to vendorExtension";
-      type string;
-      mandatory false;
-      config false;
-    }
-  }
-
-  typedef equipment-type-enum {
-    type enumeration {
-      enum "other" {
-        value 1;
-      }
-      enum "powerSupply" {
-        value 2;
-      }
-      enum "shelfProcessor" {
-        value 3;
-      }
-      enum "crossConnect" {
-        value 4;
-      }
-      enum "fan" {
-        value 5;
-      }
-      enum "accessPanel" {
-        value 6;
-      }
-      enum "circuitPack" {
-        value 7;
-      }
-    }
-  }
-
-  typedef optical-control-mode {
-    description
-      "Optical Control Mode: identifies specific algorithm related to power management and general optical control.";
-    type enumeration {
-      enum "power" {
-        value 1;
-      }
-      enum "gainLoss" {
-        value 2;
-      }
-      enum "off" {
-        value 3;
-      }
-    }
-    reference "openroadm.org: Open ROADM MSA Specification.";
-  }
-
-  typedef direction {
-    type enumeration {
-      enum "tx" {
-        value 1;
-      }
-      enum "rx" {
-        value 2;
-      }
-      enum "bidirectional" {
-        value 3;
-      }
-    }
-  }
-
-  typedef pm-direction {
-    type enumeration {
-      enum "tx" {
-        value 1;
-      }
-      enum "rx" {
-        value 2;
-      }
-      enum "bidirectional" {
-        value 3;
-      }
-      enum "notApplicable" {
-        value 4;
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-database.yang b/tests/ordmodels_1.2.1/org-openroadm-database.yang
deleted file mode 100644 (file)
index 991e1cb..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-module org-openroadm-database {
-  namespace "http://org/openroadm/database";
-  prefix org-openroadm-database;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This module contains definitions for System Management.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc db-backup {
-    description
-      "copy  running DB to user provided file to a given path";
-    input {
-      leaf filename {
-        type string {
-          length "10..255";
-        }
-        description
-          "Path and file name is used with back-up.(xxx.DBS)";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc db-restore {
-    description
-      "Restore database ";
-    input {
-      leaf filename {
-        type string {
-          length "10..255";
-        }
-        description
-          "PATH/file name use file name.(xxx.DBS)";
-      }
-      leaf nodeIDCheck {
-        type boolean;
-        default "true";
-        description
-          "Flag to indicate if sysNameCheck is required";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc db-activate {
-    description
-      "activate the database";
-    input {
-      leaf rollBackTimer {
-        type string;
-        description
-          "rollbackTimer ";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc cancel-rollback-timer {
-    description
-      "Cancel roll back timer which user provisioned as part of activate command";
-    input {
-      leaf accept {
-        type boolean;
-        description
-          " TRUE means rollback timer is cancelled and new load is accepted";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc database-init {
-    description
-      "Initialize the database to default DB";
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    } //output
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-de-operations.yang b/tests/ordmodels_1.2.1/org-openroadm-de-operations.yang
deleted file mode 100644 (file)
index 26c3673..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-module org-openroadm-de-operations {
-  namespace "http://org/openroadm/de/operations";
-  prefix org-openroadm-de-operations;
-
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-  }
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of operations.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc restart {
-    description
-      "Restart a resource with warm/cold option. If no resource is provided or only the device name is provded, then the device itself will be restarted.
-       Note that resources on the device will not be restartable";
-    input {
-      uses org-openroadm-resource:resource;
-      leaf option{
-        type enumeration{
-          enum "warm"{
-            value 1;
-          }
-          enum "cold"{
-            value 2;
-          }
-        }
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  notification restart-notification {
-    description
-      "This Notification is sent when a resource on a device has completed a restart. This is sent as a result of restarts triggered via the
-       restart RPC and other means.  The resource identified is the from the RPC request or the equivalment if the restart was triggered another way.";
-    uses org-openroadm-resource:resource;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-device-resource-types.yang b/tests/ordmodels_1.2.1/org-openroadm-device-resource-types.yang
deleted file mode 100644 (file)
index eb2d9a2..0000000
+++ /dev/null
@@ -1,217 +0,0 @@
-module org-openroadm-device-resource-types {
-  namespace "http://org/openroadm/de/device-resource-types";
-  prefix org-openroadm-device-resource-types;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of resource types.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping device-id {
-    description
-      "Device identifier. Unique within the Controller.";
-    leaf node-id {
-      description
-        "Node Id. Globally unique identifier for a device.";
-      type leafref {
-        path "/org-openroadm-device/info/node-id";
-      }
-      mandatory true;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping shelf-name {
-    leaf shelf-name {
-      description
-        "Shelf identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/shelves/shelf-name";
-      }
-      mandatory true;
-      config false;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping physical-link-name {
-    leaf physical-link-name {
-      description
-        "Physical Link identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/physical-link/physical-link-name";
-      }
-      mandatory true;
-      config false;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping internal-link-name {
-    uses org-openroadm-device:circuit-pack-name;
-    leaf internal-link-name {
-      description
-        "Internal Link identifier. Unique within the context of a circuit pack.";
-      type leafref {
-        path "/org-openroadm-device/internal-link/internal-link-name";
-      }
-      mandatory true;
-      config false;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping connection-number {
-    leaf connection-number {
-      description
-        "Connection identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/connections/connection-number";
-      }
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping this-will-test-ids {
-    uses device-id;
-    container shelf {
-      uses shelf-name;
-    }
-    container circuit-pack {
-      uses org-openroadm-device:circuit-pack-name;
-    }
-    container port {
-      uses org-openroadm-device:port-name;
-    }
-    uses internal-link-name;
-    uses physical-link-name;
-    uses connection-number;
-    uses org-openroadm-device:srg-number;
-    uses org-openroadm-device:degree-number;
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping xponder-device-id {
-    description
-      "Xponder identifier. Unique within the Controller.";
-    leaf node-id {
-      description
-        "Xponder Id. Globally unique identifier for the device";
-      type leafref {
-        path "/org-openroadm-device/info/node-id";
-      }
-      mandatory true;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping xponder-number {
-    leaf xponder-number {
-      description
-        "Xponder identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/xponders/xponder-number";
-      }
-      config false;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping xponder-shelf-name {
-    uses xponder-number;
-    leaf shelf-name {
-      description
-        "Shelf identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/xponders[xponder-number=current()/../xponder-number]/shelves/shelf-name";
-      }
-      mandatory true;
-      config false;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping xponder-circuit-pack-name {
-    uses xponder-number;
-    leaf circuit-pack-name {
-      description
-        "Circuit Pack identifier. Unique within the context of a xponder.";
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-      config false;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping xponder-port-name {
-    uses xponder-circuit-pack-name;
-    leaf port-name {
-      description
-        "Port identifier. Unique within the context of a circuit-pack.";
-      type leafref {
-        path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-      }
-      config false;
-    }
-  }
-*/
-
-/* Currently not used; if used later, needs to move to org-openroadm-device.yang so leafref can be resolved.
-  grouping this-will-test-xponder-ids {
-    uses xponder-device-id;
-    container shelf {
-      uses xponder-shelf-name;
-    }
-    container circuit-pack {
-      uses xponder-circuit-pack-name;
-    }
-    container port {
-      uses xponder-port-name;
-    }
-  }
-*/
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-device.yang b/tests/ordmodels_1.2.1/org-openroadm-device.yang
deleted file mode 100644 (file)
index e17d0ec..0000000
+++ /dev/null
@@ -1,1213 +0,0 @@
-module org-openroadm-device {
-  namespace "http://org/openroadm/device";
-  prefix org-openroadm-device;
-
-  import ietf-yang-types {
-    prefix ietf-yang-types;
-  }
-  import ietf-inet-types {
-    prefix ietf-inet-types;
-  }
-  import ietf-netconf {
-    prefix ietf-nc;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-  }
-  import org-openroadm-wavelength-map {
-    prefix org-openroadm-wavelength-map;
-  }
-  import org-openroadm-physical-types {
-    prefix org-openroadm-physical-types;
-  }
-  import org-openroadm-user-mgmt {
-    prefix org-openroadm-user-mgmt;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-  }
-  import org-openroadm-interfaces {
-    prefix org-openroadm-interfaces;
-  }
-  import org-openroadm-swdl {
-    prefix org-openroadm-swdl;
-  }
-  import org-openroadm-equipment-states-types {
-    prefix org-openroadm-equipment-states-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of ROADM device
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF netconf.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2017-02-06 {
-    description
-      "Version 1.2.1 - removed pattern for current-datetime in info tree and rpc";
-  }
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc get-connection-port-trail {
-    input {
-      leaf connection-number {
-        type string;
-        mandatory true;
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-      list ports {
-        uses org-openroadm-common-types:physical-location;
-        uses port-name {
-          refine "circuit-pack-name" {
-            mandatory true;
-          }
-          refine "port-name" {
-            mandatory true;
-          }
-        }
-      }
-    }
-  }
-  rpc disable-automatic-shutoff {
-    input {
-      leaf amp {
-        type leafref {
-          path "/org-openroadm-device/shelves/shelf-name";
-        }
-        mandatory true;
-        description
-          "The shelf where amp is located";
-      }
-      leaf degree-number {
-        type uint16;
-        mandatory true;
-      }
-      leaf support-timer {
-        type uint16 {
-          range "1..600";
-        }
-        default "20";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc start-scan {
-    input {
-      leaf degree-number {
-        type uint16;
-        mandatory true;
-      }
-      leaf port-direction {
-        type org-openroadm-common-types:direction;
-      }
-      leaf distance {
-        type uint32;
-      }
-      leaf resolution {
-        type uint32;
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  notification otdr-scan-result {
-    leaf status {
-      type enumeration {
-        enum "Completed" {
-          value 1;
-        }
-        enum "Failed" {
-          value 2;
-        }
-      }
-      mandatory true;
-      description
-        "Completed or Failed for the scan's final status";
-    }
-    leaf result-file {
-      type string;
-    }
-  }
-
-  rpc set-current-datetime {
-    description
-      "Set the info/current-datetime leaf to the specified value.";
-    input {
-     leaf current-datetime {
-        type ietf-yang-types:date-and-time;
-        mandatory true;
-        description
-          "The current system date and time in UTC. Format: YYYY-MM-DDTHH:MM:SS";
-      }
-    }
-
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  grouping device-common {
-    leaf node-id {
-      type string;
-      description
-        "Globally unique identifer for a device.";
-      default "openroadm";
-    }
-    leaf node-number {
-      type uint32;
-      description
-        "Number assigned to a ROADM node at a
-         given office";
-    }
-    leaf node-type {
-      type org-openroadm-common-types:node-types;
-      description
-        "Identifier for node-type e.g Roadm, xponder";
-      config false;
-      mandatory true;
-    }
-    leaf clli {
-      type string;
-      description
-        "Common Language Location Identifier.";
-    }
-    uses org-openroadm-physical-types:node-info;
-    leaf ipAddress {
-      type ietf-inet-types:ip-address;
-      description
-        "IP Address of device";
-    }
-    leaf prefix-length {
-      type uint8 {
-        range "0..128";
-      }
-      description
-        "The length of the subnet prefix";
-    }
-    leaf defaultGateway {
-      type ietf-inet-types:ip-address;
-      description
-        "Default Gateway";
-    }
-    leaf source {
-      type enumeration {
-        enum "static" {
-          value 1;
-        }
-        enum "dhcp" {
-          value 2;
-        }
-      }
-      config false;
-    }
-    leaf current-ipAddress {
-      type ietf-inet-types:ip-address;
-      config false;
-      description
-        "Current IP Address of device";
-    }
-    leaf current-prefix-length {
-      type uint8 {
-        range "0..128";
-      }
-      config false;
-      description
-        "The current length of the subnet prefix";
-    }
-    leaf current-defaultGateway {
-      type ietf-inet-types:ip-address;
-      config false;
-      description
-        "Current Default Gateway";
-    }
-    leaf macAddress {
-      type ietf-yang-types:mac-address;
-      description
-        "MAC Address of device";
-      config false;
-    }
-    leaf softwareVersion {
-      type string;
-      config false;
-      description
-        "Software version";
-    }
-    leaf template {
-      type string;
-      description
-        "Template information used in the deployment.";
-    }
-    leaf current-datetime {
-      type ietf-yang-types:date-and-time;
-      config false;
-      description
-        "The current system date and time in UTC. Format: YYYY-MM-DDTHH:MM:SS.mm+ ";
-    }
-    container geoLocation {
-      description
-        "GPS location";
-      leaf latitude {
-        type decimal64 {
-          fraction-digits 16;
-          range "-90 .. 90";
-        }
-        description
-          "[From wikipedia] Latitude is an angle (defined below)
-           which ranges from 0° at the Equator to 90° (North or
-           South) at the poles";
-      }
-      leaf longitude {
-        type decimal64 {
-          fraction-digits 16;
-          range "-180 .. 180";
-        }
-        description
-          "[From wikipedia] The longitude is measured as the
-           angle east or west from the Prime Meridian, ranging
-           from 0° at the Prime Meridian to +180° eastward and
-           âˆ’180° westward.";
-      }
-    }
-  }
-
-  grouping slot-info {
-    description
-      "slots information. To be populated by NE during retrieval.";
-    leaf slot-name {
-      type string;
-      description
-        "The name of this slot.";
-    }
-    leaf label {
-      type string;
-      description
-        "Faceplate label";
-    }
-    leaf provisioned-circuit-pack {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-      description
-        "The supported circuit-pack. It will be empty if no provision on this slot.";
-    }
-  }
-  grouping shelves {
-    list shelves {
-      key "shelf-name";
-      uses shelf;
-    }
-  }
-  grouping shelf {
-    leaf shelf-name {
-      description
-        "Unique identifier for this shelf within a device";
-      type string;
-    }
-    leaf shelf-type {
-      description
-        "The shelf type: describe the shelf with a unique string.";
-      type string;
-      mandatory true;
-    }
-    leaf rack {
-      description
-        "Reflect the shelf physical location data including floor, aisle, bay values.";
-      type string;
-    }
-    leaf shelf-position {
-      description
-        "Reflect the shelf vertical position within an equipment bay.";
-      type string;
-    }
-    leaf administrative-state {
-      description
-        "Admin State of the shelf";
-      type org-openroadm-equipment-states-types:admin-states;
-    }
-    uses org-openroadm-physical-types:common-info;
-    leaf equipment-state {
-      type org-openroadm-equipment-states-types:states;
-      description
-        "equipment state for the shelf, used to track the lifecycle state.";
-    }
-    leaf due-date {
-      type ietf-yang-types:date-and-time;
-      description
-        "due date for the shelf.";
-    }
-    list slots {
-      description
-          "List of slots on this shelf. To be populated by NE during retrieval.";
-      key "slot-name";
-      config false;
-      uses slot-info;
-    }
-  }
-
-  grouping circuit-packs {
-    list circuit-packs {
-      description
-        "List of circuit packs. This includes common equipment, like fans, power supplies, etc.";
-      key "circuit-pack-name";
-      leaf circuit-pack-type {
-        description
-          "Type of circuit-pack";
-        type string;
-        mandatory true;
-      }
-      leaf circuit-pack-product-code {
-        description
-          "Product Code for the circuit-pack";
-        type string;
-      }
-      uses circuit-pack;
-    }
-  }
-
-  grouping circuit-pack {
-    leaf circuit-pack-name {
-      description
-        "Unique identifier for this circuit-pack within a device";
-      type string;
-    }
-    leaf administrative-state {
-      description
-        "Administrative state of circuit-pack";
-      type org-openroadm-equipment-states-types:admin-states;
-    }
-    uses org-openroadm-physical-types:common-info;
-    container circuit-pack-category {
-      description
-        "General type of circuit-pack";
-      uses org-openroadm-common-types:equipment-type;
-      config false;
-    }
-    leaf equipment-state {
-      description
-        "Equipment state, which complements operational state.";
-      type org-openroadm-equipment-states-types:states;
-    }
-    leaf circuit-pack-mode {
-      description
-        "Circuit-pack mode allowed. e.g. NORMAL or REGEN";
-      type string;
-      default "NORMAL";
-    }
-    leaf shelf {
-      type leafref {
-        path "/org-openroadm-device/shelves/shelf-name";
-      }
-      mandatory true;
-    }
-    leaf slot {
-      type string;
-      mandatory true;
-    }
-    leaf subSlot {
-      type string;
-      mandatory false;
-    }
-    leaf due-date {
-      type ietf-yang-types:date-and-time;
-      description
-        "due date for this circuit-pack.";
-    }
-    container parent-circuit-pack {
-      description
-        "In the case of circuit packs that contain other equipment (modules or pluggables), this captures the hierarchy of that equipment.  It is a vendor specific design decision if the ports for single-port pluggables are modeled as children of the parent circuit-pack, or as children of the pluggable circuit-pack contained in the parent circuit-pack.  For modules with multiple ports, it is recommended that ports be children of the module and not the carrier, to help in fault correlation and isolation in the case of a module failure.";
-      uses circuit-pack-name;
-      leaf cp-slot-name {
-        type string;
-        description
-          "Slot name on parent-circuit-pack.";
-      }
-    }
-    list cp-slots {
-      description
-          "List of circuit-pack slots on this circuit-pack. To be populated by NE during retrieval.";
-      key "slot-name";
-      config false;
-      uses slot-info;
-    }
-    list ports {
-      key "port-name";
-      description
-        "List of ports on this circuit-pack.  For single port pluggables, the port may be modeled against the pluggable itself, or against the parent-circuit-pack.  For mulit-port pluggables, it is recommended that ports be modeled against the module itself.  Modeling ports as close to the equipment hierarchy as possible will help in fault correlation and isolation since common failures associated with supporting equipment can be used to help identify symptomatic failures on the contained ports.";
-      uses port;
-      container roadm-port {
-        when "../port-qual='roadm-external'";
-        uses org-openroadm-port-types:roadm-port;
-      }
-      container transponder-port {
-        when "../port-qual='xpdr-network' or ../port-qual='xpdr-client'";
-        uses org-openroadm-port-types:common-port;
-      }
-      container otdr-port {
-        when "../port-qual='otdr'";
-        description
-          "Settings for otdr port.";
-        leaf launch-cable-length {
-          type uint32;
-          default "30";
-          units "m";
-        }
-        leaf port-direction {
-          type org-openroadm-common-types:direction;
-        }
-      }
-    }
-  }
-
-  grouping connection {
-    description
-      "Grouping used to define connections.";
-    leaf connection-number {
-      type string;
-    }
-    leaf wavelength-number {
-      type uint32;
-      mandatory true;
-      description
-        "wavelength-number, can be used to access wavelength-map
-         to get wavelength value in nm.";
-    }
-    leaf opticalControlMode {
-      description
-        "Whether connection is currently in power or gain/loss mode";
-      type org-openroadm-common-types:optical-control-mode;
-      reference "openroadm.org: Open ROADM MSA Specification.";
-      default "off";
-    }
-    leaf target-output-power {
-      type org-openroadm-common-types:power-dBm;
-      description
-        "The output target power for this connection. When set, the ROADM will work to ensure that current-output-power reaches this level.";
-    }
-    container source {
-      leaf src-if {
-        type leafref {
-          path "/org-openroadm-device/interface/name";
-        }
-        mandatory true;
-      }
-    }
-    container destination {
-      leaf dst-if {
-        type leafref {
-          path "/org-openroadm-device/interface/name";
-        }
-        mandatory true;
-      }
-    }
-  }
-
-  grouping degree {
-    leaf degree-number {
-      type uint16;
-      must "not( current() > /org-openroadm-device/info/max-degrees) and current() > 0" {
-        error-message "Degree not supported by device ";
-        description
-          "Validating if the degree is supported by device";
-      }
-    }
-    leaf max-wavelengths {
-      type uint16;
-      description
-        "maximum number of wavelengths";
-      config false;
-      mandatory true;
-    }
-    list circuit-packs {
-      key "index";
-      description
-        "list for Cards associated with a degree";
-      leaf index {
-        type uint32;
-      }
-      uses circuit-pack-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-      }
-    }
-    list connection-ports {
-      description
-        "Port associated with degree: One if bi-directional; two if uni-directional";
-      key "index";
-      leaf index {
-        type uint32;
-      }
-      uses port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-    }
-    container otdr-port {
-      description
-        "otdr port associated with degree.";
-      uses port-name;
-    }
-  }
-
-  grouping external-links {
-    description
-      "YANG definitions for external links..
-       - physical links between ROADMs and between the ROADMs and XPonders, which can be added and removed maually.";
-    list external-link {
-      key "external-link-name";
-      uses external-link;
-    }
-  }
-
-  grouping external-link {
-    leaf external-link-name {
-      type string;
-    }
-    container source {
-      uses org-openroadm-resource-types:device-id {
-        refine "node-id" {
-          mandatory true;
-        }
-      }
-      uses org-openroadm-resource-types:port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-    }
-    container destination {
-      uses org-openroadm-resource-types:device-id {
-        refine "node-id" {
-          mandatory true;
-        }
-      }
-      uses org-openroadm-resource-types:port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-    }
-  }
-
-  grouping internal-links {
-    list internal-link {
-      key "internal-link-name";
-      config false;
-      uses internal-link;
-    }
-  }
-
-  grouping internal-link {
-    leaf internal-link-name {
-      type string;
-    }
-    container source {
-      uses port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-    }
-    container destination {
-      uses port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-    }
-  }
-
-  grouping physical-links {
-    description
-      "YANG definitions for physical links.
-       - phyical links between cards within a ROADM, which are populated by the ROADM and cannot be added or removed manually. ";
-    list physical-link {
-      key "physical-link-name";
-      uses physical-link;
-    }
-  }
-
-  grouping physical-link {
-    leaf physical-link-name {
-      type string;
-    }
-    container source {
-      uses port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-    }
-    container destination {
-      uses port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-    }
-  }
-
-  grouping srg {
-    leaf max-add-drop-ports {
-      type uint16;
-      config false;
-      mandatory true;
-    }
-    leaf srg-number {
-      type uint16;
-      must "not(current()>/org-openroadm-device/info/max-srgs) and current()>0" {
-        error-message "invalid SRG";
-        description
-          "Validating if the srg is supported by add/drop group";
-      }
-    }
-    leaf wavelengthDuplication {
-      description
-        "Whether the SRG can handle duplicate wavelengths and if so to what extent.";
-      config false;
-      mandatory true;
-      type enumeration {
-        enum "onePerSRG" {
-          description
-            "The SRG cannot handle wavelength duplication. Attempting to provision a connection on this SRG that uses the same wavelength as an existing service will result in failure.";
-          value 1;
-        }
-        enum "onePerDegree" {
-          description
-            "The SRG can handle wavelength duplication, but only one per degree. Attempting to provision a connection on this SRG that uses the same wavelength as an existing service will succeed, so long as the connections are not using the same degree.";
-          value 2;
-        }
-      }
-    }
-    list circuit-packs {
-      key "index";
-      description
-        "list for Cards associated with an add/drop group and srg";
-      leaf index {
-        type uint32;
-      }
-      uses circuit-pack-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-      }
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      description
-        "Degree identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/degree/degree-number";
-      }
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      description
-        "Port identifier. Unique within the context of a circuit-pack.";
-      type leafref {
-        path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-      }
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/shared-risk-group/srg-number";
-      }
-    }
-  }
-
-  grouping supporting-port-name {
-    leaf supporting-circuit-pack-name {
-      description
-        "Identifier of the supporting circuit-pack.";
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-      mandatory true;
-    }
-    leaf supporting-port {
-      description
-        "Identifier of the supporting port.";
-      mandatory true;
-      type leafref {
-        path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../supporting-circuit-pack-name]/ports/port-name";
-      }
-    }
-  }
-
-  grouping interface-name {
-    leaf interface-name {
-      description
-        "Name of an interface. Unique within the context of a device.";
-      type leafref {
-        path "/org-openroadm-device/interface/name";
-      }
-      config false;
-    }
-  }
-
-  grouping interfaces-grp {
-    description
-      "OpenROADM Interface configuration parameters.";
-    list interface {
-      key "name";
-      description
-        "The list of configured interfaces on the device.";
-      leaf name {
-        type string;
-        description
-          "The name of the interface.";
-      }
-      leaf description {
-        type string;
-        description
-          "A textual description of the interface.";
-      }
-      leaf type {
-        type identityref {
-          base org-openroadm-interfaces:interface-type;
-        }
-        mandatory true;
-        description
-          "The type of the interface.";
-      }
-      leaf administrative-state {
-        type org-openroadm-equipment-states-types:admin-states;
-      }
-      leaf operational-state {
-        type org-openroadm-common-types:state;
-        config false;
-      }
-      leaf circuit-id {
-        type string {
-          length "0..45";
-        }
-        description
-          "circuit identifier/user label,
-           can be used in alarm correlation and/or connection management ";
-      }
-      leaf supporting-interface {
-        type leafref {
-          path "/org-openroadm-device/interface/name";
-        }
-      }
-      uses supporting-port-name;
-    }
-  }
-
-  grouping port {
-    description
-      "Grouping of attributes related to a port object.";
-    leaf port-name {
-      type string;
-      mandatory true;
-      description
-        "Identifier for a port, unique within a circuit pack";
-    }
-    leaf port-type {
-      type string;
-      description
-        "Type of the pluggable or fixed port.";
-    }
-    leaf port-qual {
-      type enumeration {
-        enum "roadm-internal" {
-          value 1;
-        }
-        enum "roadm-external" {
-          value 2;
-        }
-        enum "xpdr-network" {
-          value 3;
-        }
-        enum "xpdr-client" {
-          value 4;
-        }
-        enum "otdr" {
-          value 5;
-        }
-      }
-    }
-    leaf port-wavelength-type {
-      type org-openroadm-port-types:port-wavelength-types;
-      config false;
-      description
-        "Type of port - single, multiple-wavelength, etc.";
-    }
-    leaf port-direction {
-      type org-openroadm-common-types:direction;
-      config false;
-      mandatory true;
-      description
-        "Whether port is uni (tx/rx) or bi-directional and";
-    }
-    leaf label {
-      type string;
-      config false;
-      description
-        "Faceplate label";
-    }
-    leaf circuit-id{
-      type string{
-        length "0..45";
-      }
-      description
-          "circuit identifier/user label,
-           can be used in alarm correlation and/or connection management ";
-
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-      description
-        "Administrative state of port. The value of this field independant of the state of its contained and containing resources.  Setting this a port to administratively down will impact both its operational state, as well the operational state of its contained resources.  If this port is an endpoint to a connection, internal-link, physical-link, etc, then administratevely disabling this port will impact the operational state of those items unless they are using some form of port-protection schema.";
-      default "outOfService";
-    }
-    leaf operational-state {
-      type org-openroadm-common-types:state;
-      config false;
-      mandatory true;
-      description
-        "Operational state of a port";
-    }
-    leaf-list supported-interface-capability {
-      description
-        "Interface types supported on this port";
-      config false;
-      type identityref {
-        base org-openroadm-port-types:supported-if-capability;
-      }
-    }
-    leaf logical-connection-point {
-      type string;
-      description
-        "delete or replace with list logical-ports or connections?";
-    }
-    container partner-port {
-      config false;
-      description
-        "For ports which are not identified as having a direction of bidirectional, this field is used to identify the port which corresponds to the reverse direction. A port pair should include a port for each direction (tx, rx) and report their mate as partner-port.";
-      uses port-name;
-    }
-    container parent-port {
-      config false;
-      description
-        "In the case of port hierarchy, this is the parent port, which is also modeled as port within this circuit-pack. This is used in the case of a port that supports a parallel connector that contains subports.  The parent-port of the subport will be the port that contains this subport.  This can be used to help isolate faults when a single fault on a parallel connector introduces symptomatic failures on the contained subports.";
-      uses port-name;
-    }
-    list interfaces {
-      config false;
-      description
-        "List of the interfaces this port supports.  This is a list of names of instances in the flat instance list";
-      uses interface-name;
-    }
-  }
-
-  uses org-openroadm-device-container;
-
-  grouping org-openroadm-device-container {
-    container org-openroadm-device {
-      container info {
-        uses device-common;
-        leaf max-degrees {
-          type uint16;
-          description
-            "Max. number of degrees supported by device";
-          config false;
-        }
-        leaf max-srgs {
-          type uint16;
-          description
-            "Max. number of SRGs in an add/drop group";
-          config false;
-        }
-      }
-      container users {
-        description
-          "Stores a list of users";
-        uses org-openroadm-user-mgmt:user-profile;
-      }
-      container pending-sw {
-        config false;
-        uses org-openroadm-swdl:sw-bank;
-      }
-      uses shelves;
-      uses circuit-packs;
-      uses interfaces-grp;
-      container protocols {
-        description
-          "Contains the supported protocols";
-      }
-      container wavelength-map {
-        description
-          "The wavelength-number and center frequency, wavelength mapping";
-        config false;
-        uses org-openroadm-wavelength-map:wavelength-map-g;
-      }
-      uses internal-links;
-      uses physical-links;
-      uses external-links;
-      list degree {
-        when "/org-openroadm-device/info/node-type='rdm'";
-        key "degree-number";
-        uses degree;
-      }
-      list shared-risk-group {
-        when "/org-openroadm-device/info/node-type='rdm'";
-        key "srg-number";
-        uses srg;
-      }
-      list roadm-connections {
-        when "/org-openroadm-device/info/node-type='rdm'";
-        key "connection-number";
-        uses connection;
-      }
-      list connection-map {
-        key "connection-map-number";
-        config false;
-        leaf connection-map-number {
-          description
-            "Unique identifier for this connection-map entry";
-          type uint32;
-        }
-        container source {
-          leaf circuit-pack-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-            }
-            mandatory true;
-          }
-          leaf port-name {
-            description
-              "Port identifier. Unique within the context of a circuit-pack.";
-            type leafref {
-              path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-            }
-            mandatory true;
-          }
-        }
-        list destination {
-          key "circuit-pack-name port-name";
-          min-elements 1;
-          leaf circuit-pack-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-            }
-            mandatory true;
-          }
-          leaf port-name {
-            description
-              "Port identifier. Unique within the context of a circuit-pack.";
-            type leafref {
-              path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-            }
-            mandatory true;
-          }
-        }
-      }
-    }
-  }
-
-  grouping common-session-parms {
-    description
-      "Common session parameters to identify a
-       management session.";
-
-    leaf username {
-      type string;
-      mandatory true;
-      description
-        "Name of the user for the session.";
-    }
-
-    leaf session-id {
-      type ietf-nc:session-id-or-zero-type;
-      mandatory true;
-      description
-        "Identifier of the session.
-         A NETCONF session MUST be identified by a non-zero value.
-         A non-NETCONF session MAY be identified by the value zero.";
-    }
-
-    leaf source-host {
-      type ietf-inet-types:ip-address;
-      description
-        "Address of the remote host for the session.";
-    }
-  }
-  grouping changed-by-parms {
-    description
-      "Common parameters to identify the source
-       of a change event, such as a configuration
-       or capability change.";
-
-     container changed-by {
-       description
-         "Indicates the source of the change.
-          If caused by internal action, then the
-          empty leaf 'server' will be present.
-          If caused by a management session, then
-          the name, remote host address, and session ID
-          of the session that made the change will be reported.";
-       choice server-or-user {
-         leaf server {
-           type empty;
-           description
-             "If present, the change was caused
-              by the server.";
-         }
-
-         case by-user {
-           uses common-session-parms;
-         }
-       } // choice server-or-user
-     } // container changed-by-parms
-  }
-  notification change-notification {
-    description
-      "The Notification that a resource has been added, modified or removed.
-       This notification can be triggered by changes in configuration and operational data.
-       It shall contain the changed field pointed by the xpath.
-       Typically it is not intended for frequently changing volatile data e.g. PM, power levels";
-
-    leaf change-time {
-      description "The time the change occurs.";
-      type ietf-yang-types:date-and-time;
-    }
-    uses changed-by-parms;
-
-    leaf datastore {
-      type enumeration {
-        enum running {
-          description "The <running> datastore has changed.";
-        }
-        enum startup {
-          description "The <startup> datastore has changed";
-        }
-      }
-      default "running";
-      description
-        "Indicates which configuration datastore has changed.";
-    }
-    list edit {
-      description
-        "An edit (change) record SHOULD be present for each distinct
-         edit operation that the server has detected on
-         the target datastore.  This list MAY be omitted
-         if the detailed edit operations are not known.
-         The server MAY report entries in this list for
-         changes not made by a NETCONF session.";
-
-      leaf target {
-        type instance-identifier;
-        description
-            "Topmost node associated with the configuration or operationa change.
-             A server SHOULD set this object to the node within
-             the datastore that is being altered.  A server MAY
-             set this object to one of the ancestors of the actual
-             node that was changed, or omit this object, if the
-             exact node is not known.";
-      }
-      leaf operation {
-        type ietf-nc:edit-operation-type;
-        description
-          "Type of edit operation performed.
-         A server MUST set this object to the NETCONF edit
-         operation performed on the target datastore.";
-      }
-    } // list edit
-  } // notification change-notification
-}
\ No newline at end of file
diff --git a/tests/ordmodels_1.2.1/org-openroadm-equipment-states-types.yang b/tests/ordmodels_1.2.1/org-openroadm-equipment-states-types.yang
deleted file mode 100644 (file)
index 11ce8f5..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-module org-openroadm-equipment-states-types {
-  namespace "http://org/openroadm/equipment/states/types";
-  prefix org-openroadm-equipment-states-types;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for types of states of equipment (slot/subslot).
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef admin-states {
-    type enumeration {
-      enum "inService" {
-        value 1;
-      }
-      enum "outOfService" {
-        value 2;
-      }
-      enum "maintenance" {
-        value 3;
-      }
-    }
-  }
-
-  typedef states {
-    type enumeration {
-      enum "reserved-for-facility-planned" {
-        value 1;
-        description
-          "equipment is planned for use by a service";
-      }
-      enum "not-reserved-planned" {
-        value 2;
-        description
-          "equipment is planned by not reserved for any purpose";
-      }
-      enum "reserved-for-maintenance-planned" {
-        value 3;
-        description
-          "equipment is planned for use as a maintenance spare";
-      }
-      enum "reserved-for-facility-unvalidated" {
-        value 4;
-        description
-          "equipment is reserved for use by a service but not
-           validated against planned equipment";
-      }
-      enum "not-reserved-unvalidated" {
-        value 5;
-        description
-          "equipment is not reserved for any purpose and
-           not validated against planned equipment";
-      }
-      enum "unknown-unvalidated" {
-        value 6;
-        description
-          "unknown equipment not validated against planned equipment";
-      }
-      enum "reserved-for-maintenance-unvalidated" {
-        value 7;
-        description
-          "equipment is to be used for use as a maintenance spare
-           but not validated against planned equipment";
-      }
-      enum "reserved-for-facility-available" {
-        value 8;
-        description
-          "reserved for use by a service and available";
-      }
-      enum "not-reserved-available" {
-        value 9;
-        description
-          "not reserved for use by a service and available";
-      }
-      enum "reserved-for-maintenance-available" {
-        value 10;
-        description
-          "reserved as a maintenance spare and available";
-      }
-      enum "reserved-for-reversion-inuse" {
-        value 11;
-        description
-          "equipiment that is reserved as part of a home path
-           for a service that has been temporarily re-routed";
-      }
-      enum "not-reserved-inuse" {
-        value 12;
-        description
-          "equipment in use for a service";
-      }
-      enum "reserved-for-maintenance-inuse" {
-        value 13;
-        description
-          "maintenance spare equipment that is in use as a
-           maintenance spare";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-ethernet-interfaces.yang b/tests/ordmodels_1.2.1/org-openroadm-ethernet-interfaces.yang
deleted file mode 100644 (file)
index 869a2c9..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-module org-openroadm-ethernet-interfaces {
-  namespace "http://org/openroadm/ethernet-interfaces";
-  prefix org-openroadm-eth-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility ethernet interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping eth-attributes {
-    leaf speed {
-      type uint32;
-      description
-        "Set speed of the interface, unit mbps.
-         This is for ETH facility. ";
-    }
-    leaf fec {
-      type enumeration {
-        enum off;
-        enum rsfec;
-      }
-      description "Forward Error Correction Choices. ";
-    }
-    leaf duplex {
-      type enumeration {
-        enum "half" {
-          value 0;
-          description
-            "half duplex";
-        }
-        enum "full" {
-          value 1;
-          description
-            "full duplex";
-        }
-      }
-      default "full";
-      description
-        "Set duplex selections.";
-    }
-    leaf mtu {
-      type uint32 {
-        range "1518..9000";
-      }
-      default "1522";
-      description
-        "Set Maximum Frame Size.";
-    }
-    leaf auto-negotiation {
-      type enumeration {
-        enum "enabled" {
-          value 1;
-          description
-            "Auto Negotiation enabled";
-        }
-        enum "disabled" {
-          value 0;
-          description
-            "Auto Negotiation disabled";
-        }
-      }
-      default "enabled";
-      description
-        "Set Auto Negotiation: Enabled/Disabled.";
-    }
-    leaf curr-speed {
-      config false;
-      type string;
-      description
-        "speed (UNKNOWN/AUTO/10/100/1000/10000) corresponding to the interface";
-    }
-    leaf curr-duplex {
-      config false;
-      type string;
-      description
-        "duplex (HALF/FULL) corresponding to the interface";
-    }
-  }
-
-  grouping ethernet-container {
-    container ethernet {
-      description
-        "Ethernet Interfaces";
-      uses eth-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:ethernetCsmacd'";
-    uses ethernet-container;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-file-transfer.yang b/tests/ordmodels_1.2.1/org-openroadm-file-transfer.yang
deleted file mode 100644 (file)
index 1e1c8ff..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-module org-openroadm-file-transfer {
-  namespace "http://org/openroadm/file-transfer";
-  prefix org-openroadm-file-txr;
-
-  import ietf-inet-types {
-    prefix inet;
-  }
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for file management related rpcs.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc transfer {
-    description
-      "File transfer using FTP/SFTP";
-    input {
-      leaf action {
-        mandatory true;
-        description
-          "Type of action - download/upload.";
-        type enumeration {
-          enum "upload" {
-            description
-              "Specify the upload action. The server sends
-               the file identified by the local-file-path
-               to the remote-file-path.";
-          }
-          enum "download" {
-            description
-              "Specify the download action. The server retrieves
-               the file identified by the remote-file-path
-               to the local-file-path.";
-          }
-        }
-      }
-      leaf local-file-path {
-        type string;
-        mandatory true;
-        description
-          "Local file path.
-           Ex: /var/shared/example.txt";
-      }
-      leaf remote-file-path {
-        type inet:uri;
-        mandatory true;
-        description
-          "Remote file path.
-           A URI for the remote file path.
-
-           Format:sftp://user[:password]@host[:port]/path.
-           Ex: sftp://test:verify@[2001:db8:0:1::10]:22/home/user/sample";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc show-file {
-    description
-      "Show one or more files in the specified directory.";
-    input {
-      leaf filename {
-        type string {
-          length "1..255";
-        }
-        description
-          "Specify file(s) to be listed (* is allowed as wild-card). ";
-      }
-    }
-    output {
-      leaf status {
-        type enumeration {
-          enum "Successful" {
-            value 1;
-          }
-          enum "Failed" {
-            value 2;
-          }
-        }
-        mandatory true;
-        description
-          "Successful or Failed";
-      }
-      leaf-list status-message {
-        type string;
-        description
-          "Gives a more detailed reason for success / failure";
-      }
-    }
-  }
-  rpc delete-file {
-    description
-      "Delete one or more files in the specified directory.";
-    input {
-      leaf filename {
-        type string {
-          length "1..255";
-        }
-        mandatory true;
-        description
-          "Specify file(s) to be deleted (* is allowed as wild-card).";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-fwdl.yang b/tests/ordmodels_1.2.1/org-openroadm-fwdl.yang
deleted file mode 100644 (file)
index 95225f3..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-module org-openroadm-fwdl {
-  namespace "http://org/openroadm/fwdl";
-  prefix org-openroadm-fwdl;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This module contains definitions for System Management.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc fw-update {
-    description
-      "Fpga data update";
-    input {
-      leaf circuit-pack-name {
-        type string;
-        description
-          "Name of the circuit pack";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-interfaces.yang b/tests/ordmodels_1.2.1/org-openroadm-interfaces.yang
deleted file mode 100644 (file)
index acd74fe..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-module org-openroadm-interfaces {
-  namespace "http://org/openroadm/interfaces";
-  prefix openROADM-if;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility interfaces.
-     Reused ietf-interfaces and some interface-type defined in iana-if-type.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  identity interface-type {
-    description
-      "Base identity from which specific interface types are
-       derived.";
-  }
-
-  identity ethernetCsmacd {
-    base interface-type;
-    description
-      "For all Ethernet-like interfaces, regardless of speed,
-       as per RFC 3635.";
-    reference
-      "RFC 3635 - Definitions of Managed Objects for the
-                  Ethernet-like Interface Types";
-  }
-
-  identity ip {
-    base interface-type;
-    description
-      "IP (for APPN HPR in IP networks).";
-  }
-
-  identity opticalChannel {
-    base interface-type;
-    description
-      "Optical Channel.";
-  }
-
-  identity opticalTransport {
-    base interface-type;
-    description
-      "Optical Transport.";
-  }
-
-  identity otnOdu {
-    base interface-type;
-    description
-      "OTN Optical Data Unit.";
-  }
-
-  identity otnOtu {
-    base interface-type;
-    description
-      "OTN Optical channel Transport Unit.";
-  }
-
-  identity openROADMOpticalMultiplex {
-    base interface-type;
-    description
-      "Optical Transport Multiplex type for openROADM";
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-layerRate.yang b/tests/ordmodels_1.2.1/org-openroadm-layerRate.yang
deleted file mode 100644 (file)
index e9c7eb0..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-module org-openroadm-layerRate {
-  namespace "http://org/openroadm/layerRate";
-  prefix org-openroadm-layerRate;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of layer rates.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping layer-rate {
-    description
-      "Set list of layer rates, plus the ability to report layer rates not yet in set list.";
-    leaf type {
-      type layer-rate-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-  }
-
-  typedef layer-rate-enum {
-    type enumeration {
-      enum "vendorExtension" {
-        value 1;
-        description
-          "vendor extension";
-      }
-      enum "layer2" {
-        value 2;
-        description
-          "2";
-      }
-      enum "layer3" {
-        value 3;
-        description
-          "3";
-      }
-      enum "layer4" {
-        value 4;
-        description
-          "4";
-      }
-      enum "layer5" {
-        value 5;
-        description
-          "5";
-      }
-      enum "layer6" {
-        value 6;
-        description
-          "6";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-lldp.yang b/tests/ordmodels_1.2.1/org-openroadm-lldp.yang
deleted file mode 100644 (file)
index d781330..0000000
+++ /dev/null
@@ -1,302 +0,0 @@
-module org-openroadm-lldp {
-  namespace "http://org/openroadm/lldp";
-  prefix org-openroadm-lldp;
-
-  import ietf-inet-types {
-    prefix inet;
-  }
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-  import iana-afn-safi {
-    prefix ianaaf;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-  }
-  import ietf-yang-types {
-    prefix yang;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for lldp protocol.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-  grouping nbr-info-grp {
-    description
-      "Display LLDP Neighbour ";
-
-    leaf remoteSysName {
-      type string;
-      description
-        "remote neighbour system name";
-    }
-    leaf remoteMgmtAddressSubType {
-      type ianaaf:address-family;
-      description
-        "remote neighbour Management Address Subtype Enumeration";
-    }
-    leaf remoteMgmtAddress {
-      type inet:ip-address;
-      description
-        "remote neighbour management address";
-    }
-    leaf remotePortIdSubType {
-      type enumeration {
-        enum "other" {
-          value 0;
-          description
-            "reserved";
-        }
-        enum "ifalias" {
-          value 1;
-          description
-            "Interface Alias (IfAlias - IETF RFC 2863) ";
-        }
-        enum "portcomponent" {
-          value 2;
-          description
-            "Port component (EntPhysicalAlias IETF RFC 4133)";
-        }
-        enum "macaddress" {
-          value 3;
-          description
-            "MAC address (IEEE Std 802) ";
-        }
-        enum "networkaddress" {
-          value 4;
-          description
-            "Network Address";
-        }
-        enum "ifname" {
-          value 5;
-          description
-            "Interface Name (ifName - IETF RFC 2863)";
-        }
-        enum "agentcircuitid" {
-          value 6;
-          description
-            "Agent Circuit Id (IETF RFC 3046)";
-        }
-        enum "local" {
-          value 7;
-          description
-            "Locally assigned";
-        }
-      }
-      description
-        "remote neighbour Port ID Subtype Enumeration";
-    }
-    leaf remotePortId {
-      type string;
-      description
-        "remote neighbour port Id";
-    }
-    leaf remoteChassisIdSubType {
-      type enumeration {
-        enum "reserved" {
-          value 0;
-          description
-            "reserved";
-        }
-        enum "chassiscomponent" {
-          value 1;
-          description
-            "Chassis component (EntPhysicalAlias IETF RFC 4133)";
-        }
-        enum "ifalias" {
-          value 2;
-          description
-            "Interface Alias (IfAlias - IETF RFC 2863) ";
-        }
-        enum "portcomponent" {
-          value 3;
-          description
-            "Port component (EntPhysicalAlias IETF RFC 4133)";
-        }
-        enum "macaddress" {
-          value 4;
-          description
-            "MAC address (IEEE Std 802) ";
-        }
-        enum "networkaddress" {
-          value 5;
-          description
-            "Network Address";
-        }
-        enum "ifname" {
-          value 6;
-          description
-            "Interface Name (ifName - IETF RFC 2863)";
-        }
-        enum "local" {
-          value 7;
-          description
-            "Locally assigned";
-        }
-      }
-      description
-        "Chassis ID Subtype Enumeration";
-    }
-    leaf remoteChassisId {
-      type string;
-      description
-        "remote neighbour Chassis Id";
-    }
-  }
-
-  grouping lldp-container {
-    container lldp {
-      description
-        "LLDP configurable and retrievable";
-      container global-config {
-        description
-          "LLDP global configurations";
-        leaf adminStatus {
-          type enumeration {
-            enum "disable" {
-              value 0;
-              description
-                "Disable the LLDP feature per NE";
-            }
-            enum "enable" {
-              value 1;
-              description
-                "Enable the LLDP feature per NE";
-            }
-          }
-          description
-            "LLDP feature Enable/Disable per NE";
-          default "enable";
-        }
-        leaf msgTxInterval {
-          type uint16 {
-            range "5..32768";
-          }
-          description
-            "LLDP frame Retransmit Interval in seconds";
-          default "30";
-        }
-        leaf msgTxHoldMultiplier {
-          type uint8 {
-            range "2..10";
-          }
-          description
-            "TTL value for the TLVs transmitter over wire in seconds";
-          default "4";
-        }
-      }
-      list port-config {
-        description
-          "LLDP port configurations";
-        key "ifName";
-        leaf ifName {
-          type leafref {
-            path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-          }
-          description
-            "Ethernet interface name where LLDP runs";
-        }
-        leaf adminStatus {
-          type enumeration {
-            enum "disable" {
-              value 0;
-              description
-                "Disables the LLDP frames transmit and receive on specific interface";
-            }
-            enum "txandrx" {
-              value 1;
-              description
-                "Enable Transmit and Receive LLDP frames on specific interface";
-            }
-          }
-          description
-            "LLDP enable per port basis";
-          default "txandrx";
-        }
-      }
-      container nbr-list {
-        description
-          "LLDP Oper data - Neighbour List information";
-        config false;
-        list if-name {
-          key "ifName";
-          leaf ifName {
-            type string;
-            description
-              "Ethernet interface name where LLDP runs";
-          }
-          uses nbr-info-grp;
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:protocols" {
-    when "/org-openroadm-device:org-openroadm-device/org-openroadm-device:info/org-openroadm-device:node-type='rdm'";
-    uses lldp-container;
-  }
-
-  notification lldp-nbr-info-change {
-    description "LLDP: Neighbor Information Changed
-            remoteSysName
-            remoteSysMgmtAddressSubType
-            remoteSysMgmtAddress
-            remotePortIdSubType
-            remotePortId
-            remoteChassisIdSubType
-            remoteChassisId
-            All of the above attributes are sent in event";
-    leaf notification-type {
-      type org-openroadm-resource-types:resource-notification-type;
-    }
-    leaf resource-type {
-      type org-openroadm-resource-types:resource-type-enum;
-      description
-        "resource-type for this notification is interface";
-    }
-    leaf resource {
-      type string;
-      description
-        "resource interface-name";
-    }
-    container nbr-info {
-      uses nbr-info-grp;
-    }
-    leaf event-time {
-      type yang:date-and-time;
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-maintenance-loopback.yang b/tests/ordmodels_1.2.1/org-openroadm-maintenance-loopback.yang
deleted file mode 100644 (file)
index 4f50786..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-module org-openroadm-maintenance-loopback {
-  namespace "http://org/openroadm/maintenance-loopback";
-  prefix org-openroadm-maint-loopback;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for maintenance loopback.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping maint-loopback {
-    container maint-loopback {
-      leaf enabled {
-        type boolean;
-        default "false";
-        description
-          "loopback operation enable flag";
-      }
-      leaf type {
-        when "../enabled = 'true'";
-        type enumeration {
-          enum "fac" {
-            value 0;
-            description
-              "pre-FEC Loopback in the facility direction";
-          }
-          enum "term" {
-            value 1;
-            description
-              "Loopback in the terminal direction";
-          }
-          enum "fac2" {
-            value 2;
-            description
-              "post-FEC Loopback in the facility direction";
-          }
-        }
-        default "fac";
-        description
-          "Set Loopback type (or direction).";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-maintenance-testsignal.yang b/tests/ordmodels_1.2.1/org-openroadm-maintenance-testsignal.yang
deleted file mode 100644 (file)
index 67d980b..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-module org-openroadm-maintenance-testsignal {
-  namespace "http://org/openroadm/maintenance-testsignal";
-  prefix org-openroadm-maint-testsignal;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for maintenance testsignal.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping maint-testsignal {
-    container maint-testsignal {
-      leaf enabled {
-        type boolean;
-        default "false";
-        description
-          "testsignal enabled flag";
-      }
-      leaf testPattern {
-        when "../enabled = 'true'";
-        type enumeration {
-          enum "PRBS" {
-            value 0;
-            description
-              "Unframed, inverted PN-31 pattern or PRBS31 pattern per IEEE 802.3 clause 50.3.8.2 (inverted PN-31at line rate)";
-          }
-          enum "PRBS31" {
-            value 1;
-            description
-              "PRBS31 with standard mapping per G.709";
-          }
-          enum "PRBS23" {
-            value 2;
-            description
-              "SONET/SDH Framed,inverted PN-23 pattern.";
-          }
-          enum "PRZEROS" {
-            value 3;
-            description
-              "pseudo-random with zeros data pattern per IEEE 802.3 clause 49.2.8";
-          }
-          enum "IDLE" {
-            value 4;
-            description
-              "Scrambled IDLE test-pattern per IEEE 802.3ba";
-          }
-        }
-        description
-          "Set test signal pattern";
-      }
-      leaf type {
-        when "../enabled = 'true'";
-        type enumeration {
-          enum "fac" {
-            value 0;
-            description
-              "test signal in the facility direction";
-          }
-          enum "term" {
-            value 1;
-            description
-              "test signal in the terminal direction";
-          }
-        }
-        default "fac";
-        description
-          "Set test signal type (or direction).";
-      }
-      leaf bitErrors {
-        when "../enabled = 'true' and ../type = 'fac'";
-        type uint32 {
-          range "0..4294967295";
-        }
-        config false;
-        description
-          "bit errors for test signal in facility direction.";
-      }
-      leaf bitErrorsTerminal {
-        when "../enabled = 'true' and ../type = 'term'";
-        type uint32 {
-          range "0..4294967295";
-        }
-        config false;
-        description
-          "bit errors for test signal in terminal direction.";
-      }
-      leaf syncSeconds {
-        when "../enabled = 'true' and ../type = 'fac'";
-        type string;
-        config false;
-        description
-          "number of seconds the received facility test signal is in sync.";
-      }
-      leaf syncSecondsTerminal {
-        when "../enabled = 'true' and ../type = 'term'";
-        type string;
-        config false;
-        description
-          "number of seconds the received terminal test signal is in sync.";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-maintenance.yang b/tests/ordmodels_1.2.1/org-openroadm-maintenance.yang
deleted file mode 100644 (file)
index 5c6e1ff..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-module org-openroadm-maintenance {
-  namespace "http://org/openroadm/maintenance";
-  prefix org-openroadm-mainteance;
-
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of maintenace operations.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping maintenance {
-    leaf id {
-      description
-        "Uniquely identify maintenance activity";
-      type string;
-      mandatory true;
-    }
-    container resource {
-      description
-        "Resource under maintenance";
-      uses org-openroadm-resource:resource;
-    }
-    leaf operation {
-      type maintenance-operation;
-    }
-  }
-
-  container maintenance-list {
-    description
-      "A list of active maintenance operations. Adding an entry to this list creates an active maintenance operation.  Removing an entry from this terminates a maintenance activity";
-    list maintenance {
-      key "id";
-      uses maintenance;
-    }
-  }
-
-  typedef maintenance-operation {
-    description
-      "Maintenance Operation.";
-    type enumeration {
-      enum "terminalLoopback" {
-        value 1;
-      }
-      enum "facilityLoopback" {
-        value 2;
-      }
-      enum "testSignal" {
-        value 3;
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-optical-channel-interfaces.yang b/tests/ordmodels_1.2.1/org-openroadm-optical-channel-interfaces.yang
deleted file mode 100644 (file)
index 563596b..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-module org-openroadm-optical-channel-interfaces {
-  namespace "http://org/openroadm/optical-channel-interfaces";
-  prefix org-openroadm-optical-channel-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility och interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  identity rate-identity {
-    description
-      "A unique rate identification";
-  }
-
-  identity R200G {
-    base rate-identity;
-    description
-      "Identity for 200G Rate";
-  }
-
-  identity R100G {
-    base rate-identity;
-    description
-      "Identity for 100G Rate";
-  }
-
-  identity R10.7G {
-    base rate-identity;
-    description
-      "Identity for 10.7G Rate";
-  }
-
-  identity R11.1G {
-    base rate-identity;
-    description
-      "Identity for 11.1G Rate";
-  }
-
-  grouping och-attributes {
-    description
-      "Optical Channel attributes";
-    leaf rate {
-      type identityref {
-        base rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf wavelength-number {
-      type uint32;
-    }
-    leaf modulation-format {
-      type enumeration {
-        enum "bpsk" {
-          value 0;
-          description
-            "binary phase-shift keying";
-        }
-        enum "dc-dp-bpsk" {
-          value 1;
-          description
-            "DC dual-polarization binary phase-shift keying";
-        }
-        enum "qpsk" {
-          value 2;
-          description
-            "quadrature phase-shift keying";
-        }
-        enum "dp-qpsk" {
-          value 3;
-          description
-            "dual-polarization binary phase-shift keying";
-        }
-        enum "qam16" {
-          value 4;
-          description
-            "quadrature amplitude modulation 16";
-        }
-        enum "dp-qam16" {
-          value 5;
-          description
-            "dual-polarization quadrature amplitude modulation 16";
-        }
-        enum "dc-dp-qam16" {
-          value 6;
-          description
-            "DC dual-polarization quadrature amplitude modulation 16";
-        }
-        enum "qam8" {
-          value 7;
-          description
-            "quadrature amplitude modulation 8";
-        }
-        enum "dp-qam8" {
-          value 8;
-          description
-            "dual-polarization quadrature amplitude modulation 8";
-        }
-        enum "dc-dp-qam8" {
-          value 9;
-          description
-            "DC dual-polarization quadrature amplitude modulation 8";
-        }
-      }
-      description
-        "modulation format";
-    }
-    leaf transmit-power {
-      type org-openroadm-common-types:power-dBm;
-      description
-        "The target transmit power for this channel. When set, the xponder will work to ensure that port-current-power reaches this level. Applicable only to channel on top of xpdr-network port";
-    }
-  }
-
-  grouping och-container {
-    container och {
-      description
-        "Optical Channel (OCh):
-         Models the optical channel interfaces for an Optical White Box.";
-      uses och-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:opticalChannel'";
-    uses och-container;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-optical-multiplex-interfaces.yang b/tests/ordmodels_1.2.1/org-openroadm-optical-multiplex-interfaces.yang
deleted file mode 100644 (file)
index 5503241..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-module org-openroadm-optical-multiplex-interfaces {
-  namespace "http://org/openroadm/optical-multiplex-interfaces";
-  prefix org-openroadm-optical-multiplex-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This module contains YANG definitions
-     for the Optical multiplex Interfaces (OMS).
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    description
-      "Optical Multiplex Section (OMS)
-       allow setting of OMS in the openROADM interfaces tree.";
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-optical-transport-interfaces.yang b/tests/ordmodels_1.2.1/org-openroadm-optical-transport-interfaces.yang
deleted file mode 100644 (file)
index 060e4d7..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-module org-openroadm-optical-transport-interfaces {
-  namespace "http://org/openroadm/optical-transport-interfaces";
-  prefix org-openroadm-optical-transport-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This module contains YANG definitions
-     for the Optical Transport Interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping ots-attributes {
-    description
-      "Optical Transport Section (OTS) attributes";
-    leaf fiber-type {
-      type enumeration {
-        enum "smf" {
-          value 0;
-          description
-            "Single Mode Fiber";
-        }
-        enum "eleaf" {
-          value 1;
-          description
-            "ELEAF";
-        }
-        enum "oleaf" {
-          value 2;
-          description
-            "OLEAF";
-        }
-        enum "dsf" {
-          value 3;
-          description
-            "DSF";
-        }
-        enum "truewave" {
-          value 4;
-          description
-            "TRUEWAVE Reduced Slope";
-        }
-        enum "truewavec" {
-          value 5;
-          description
-            "TRUEWAVE Classic";
-        }
-        enum "nz-dsf" {
-          value 6;
-          description
-            "NZ-DSF";
-        }
-        enum "ull" {
-          value 7;
-          description
-            "Ultra Low Loss (ULL)";
-        }
-      }
-      default "smf";
-      description
-        "fiber type
-         Default    : SMF ";
-    }
-    leaf span-loss-receive {
-      description
-        "Span loss on the receiver side. Set by the controller and used by device to set AMP gain.";
-      type org-openroadm-common-types:ratio-dB;
-    }
-    leaf span-loss-transmit {
-      description
-        "Span loss on the transmitter side. Set by the controller and used by device to configure MSA compliant channel launch power";
-      type org-openroadm-common-types:ratio-dB;
-    }
-  }
-
-  grouping ots-container {
-    container ots {
-      description
-        "Optical Transport Section (OTS):
-          Models the optical interfaces for an Optical White Box.
-          The network side is represented by the OTS/OMS.";
-      uses ots-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:opticalTransport'";
-    uses ots-container;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-otn-odu-interfaces.yang b/tests/ordmodels_1.2.1/org-openroadm-otn-odu-interfaces.yang
deleted file mode 100644 (file)
index 3b49eff..0000000
+++ /dev/null
@@ -1,387 +0,0 @@
-module org-openroadm-otn-odu-interfaces {
-  namespace "http://org/openroadm/otn-odu-interfaces";
-  prefix org-openroadm-otn-odu-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-  }
-  import org-openroadm-maintenance-testsignal {
-    prefix org-openroadm-maint-testsignal;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility otnodu interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  identity odu-rate-identity {
-    description
-      "A unique rate identification of the ODUk.";
-  }
-
-  identity ODU4 {
-    base odu-rate-identity;
-    description
-      "Identity for an ODU4";
-  }
-
-  identity ODU3 {
-    base odu-rate-identity;
-    description
-      "Identity for an ODU3";
-  }
-
-  identity ODU2 {
-    base odu-rate-identity;
-    description
-      "Identity for an ODU2";
-  }
-
-  identity ODU2e {
-    base odu-rate-identity;
-    description
-      "Identity for an ODU2e";
-  }
-
-  identity ODU1 {
-    base odu-rate-identity;
-    description
-      "Identity for an ODU1";
-  }
-
-  identity ODU0 {
-    base odu-rate-identity;
-    description
-      "Identity for an ODU0";
-  }
-
-  identity ODUflex {
-    base odu-rate-identity;
-    description
-      "Identity for an ODUflex";
-  }
-
-  identity odtu-type-identity {
-    description
-      "A unique identification for the MSI odtu type.";
-  }
-
-  identity ODTU4.ts-Allocated {
-    base odtu-type-identity;
-    description
-      "OPU4 MSI - ODTU4.ts, TS is occupied/allocated";
-  }
-
-  identity ODTU4.1 {
-    base odtu-type-identity;
-    description
-      "ODTU4.1 MSI type";
-  }
-
-  identity ODTU4.2 {
-    base odtu-type-identity;
-    description
-      "ODTU4.2 MSI type";
-  }
-
-  identity ODTU4.8 {
-    base odtu-type-identity;
-    description
-      "ODTU4.8 MSI type";
-  }
-
-  identity ODTU4.31 {
-    base odtu-type-identity;
-    description
-      "ODTU4.31 MSI type";
-  }
-
-  identity ODTU01 {
-    base odtu-type-identity;
-    description
-      "ODTU01 MSI type";
-  }
-
-  identity ODTU12 {
-    base odtu-type-identity;
-    description
-      "ODTU12 MSI type";
-  }
-
-  identity ODTU13 {
-    base odtu-type-identity;
-    description
-      "ODTU13 MSI type";
-  }
-
-  identity ODTU23 {
-    base odtu-type-identity;
-    description
-      "ODTU23 MSI type";
-  }
-
-  identity ODTU2.ts {
-    base odtu-type-identity;
-    description
-      "ODTU2.ts MSI type";
-  }
-
-  identity ODTU3.ts {
-    base odtu-type-identity;
-    description
-      "ODTU3.ts MSI type";
-  }
-
-  identity unallocated {
-    base odtu-type-identity;
-    description
-      "Unallocated MSI type";
-  }
-
-  grouping msi-entry {
-    leaf trib-slot {
-      type uint16;
-      description
-        "tributary slot (TS)";
-    }
-    leaf odtu-type {
-      type identityref {
-        base odtu-type-identity;
-      }
-      description
-        "ODTU type, part of the MSI (Multiplex Structure Identifier)";
-    }
-    leaf trib-port {
-      type uint8;
-      description
-        "Tributray Port Number (0-based), part of the MSI";
-    }
-    leaf trib-port-payload {
-      type string;
-      description
-        "interface name being mapped to trib-port";
-    }
-  }
-
-  grouping odu-attributes {
-    description
-      "ODU attributes";
-    leaf rate {
-      type identityref {
-        base odu-rate-identity;
-      }
-      description
-        "rate identity of the ODU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    leaf monitoring-mode {
-      type enumeration {
-        enum "not-terminated" {
-          description
-            "Not Terminated: no detection or generation.
-             Overhead is passed through the interface transparently in receive direction";
-        }
-        enum "terminated" {
-          description
-            "Terminated: detection and generation enabled.
-             Overhead is erased (replaced with all zeros) in receive direction";
-        }
-        enum "monitored" {
-          description
-            "Monitored: detection enabled.
-             Overhead is passed through the interface transparently in receive direction";
-        }
-      }
-      description
-        "Monitoring mode of the ODU Overhead";
-    }
-    leaf proactive-delay-measurement-enabled {
-      type boolean;
-      description
-        "enable/disable proactive Delay Measurement";
-    }
-    list tcm {
-      key "layer";
-      uses tcm-attributes;
-      max-elements "6";
-      description
-        "Tandem Connection Management";
-    }
-    uses opu;
-  }
-
-  grouping opu {
-    container opu {
-      when "../monitoring-mode = 'terminated' or ../monitoring-mode = 'monitored'";
-      description
-        "Optical Channel Payload Unit (OPU)";
-      leaf payload-type {
-        type string {
-          length "2";
-          pattern "[0-9a-fA-F]*";
-        }
-        description
-          "Payload Type";
-      }
-      leaf rx-payload-type {
-        type string {
-          length "2";
-          pattern "[0-9a-fA-F]*";
-        }
-        description
-          "Received Payload Type";
-      }
-      leaf exp-payload-type {
-        type string {
-          length "2";
-          pattern "[0-9a-fA-F]*";
-        }
-        description
-          "Expected Payload Type";
-      }
-      leaf payload-interface {
-        type string;
-        description
-          "Expected Payload of OPU. It designates client interface name";
-      }
-      container msi {
-        when "../payload-type = '20' or ../payload-type = '21'";
-        list tx-msi {
-          key "trib-slot";
-          uses msi-entry;
-          description
-            "Transmit MSI";
-        }
-        list rx-msi {
-          key "trib-slot";
-          uses msi-entry;
-          description
-            "Receive MSI";
-        }
-        list exp-msi {
-          key "trib-slot";
-          uses msi-entry;
-          description
-            "Expected MSI";
-        }
-      }
-    }
-  }
-
-  grouping tcm-attributes {
-    description
-      "Tandem Connection Monitoring (TCM) attributes";
-    leaf layer {
-      type uint8 {
-        range "1..6";
-      }
-      description
-        "TCM layer";
-    }
-    leaf monitoring-mode {
-      type enumeration {
-        enum "not-terminated" {
-          description
-            "Not Terminated: no detection or generation.
-             Overhead is passed through the interface transparently in receive direction
-             unless extension is set for erase";
-        }
-        enum "terminated" {
-          description
-            "Terminated: detection and generation enabled.
-             Overhead is erased (replaced with all zeros) in receive direction, unless
-             extension is set to passthrough";
-        }
-        enum "monitored" {
-          description
-            "Monitored: detection enabled.
-             Overhead is passed through the interface transparently in receive direction
-             unless extension is set for erase";
-        }
-      }
-      description
-        "Monitoring mode of the TCM layer";
-    }
-    leaf ltc-act-enabled {
-      type boolean;
-      description
-        "enable/disable alarm transfer on detection of Loss of Tandem Connection (LTC)";
-    }
-    leaf proactive-delay-measurement-enabled {
-      type boolean;
-      description
-        "enable/disable proactive Delay Measurement";
-    }
-  }
-
-  grouping odu-container {
-    container odu {
-      presence "Attribute Nodes for Optical Data Unit (ODU)";
-      description
-        "Optical Channel Data Unit (ODU)";
-      uses odu-attributes {
-        refine "opu/rx-payload-type" {
-          config false;
-        }
-        refine "opu/msi" {
-          config false;
-        }
-      }
-      uses org-openroadm-maint-testsignal:maint-testsignal;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:otnOdu'";
-    uses odu-container;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-otn-otu-interfaces.yang b/tests/ordmodels_1.2.1/org-openroadm-otn-otu-interfaces.yang
deleted file mode 100644 (file)
index 4fe3bb3..0000000
+++ /dev/null
@@ -1,185 +0,0 @@
-module org-openroadm-otn-otu-interfaces {
-  namespace "http://org/openroadm/otn-otu-interfaces";
-  prefix org-openroadm-otn-otu-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-  }
-  import org-openroadm-maintenance-loopback {
-    prefix org-openroadm-maint-loopback;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility otnotu interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  identity otu-rate-identity {
-    description
-      "A unique rate identification of the OTU.";
-  }
-
-  identity OTU4 {
-    base otu-rate-identity;
-    description
-      "Identity for an OTU4";
-  }
-
-  identity OTU3 {
-    base otu-rate-identity;
-    description
-      "Identity for an OTU3";
-  }
-
-  identity OTU2 {
-    base otu-rate-identity;
-    description
-      "Identity for an OTU2";
-  }
-
-  identity OTU2e {
-    base otu-rate-identity;
-    description
-      "Identity for an OTU2e";
-  }
-
-  identity OTU1 {
-    base otu-rate-identity;
-    description
-      "Identity for an OTU1";
-  }
-
-  identity OTU0 {
-    base otu-rate-identity;
-    description
-      "Identity for an OTU0";
-  }
-
-  identity OTUflex {
-    base otu-rate-identity;
-    description
-      "Identity for an OTUflex";
-  }
-
-  grouping otu-attributes {
-    description
-      "OTU attributes";
-    leaf rate {
-      type identityref {
-        base otu-rate-identity;
-      }
-      description
-        "rate identity of the OTU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    leaf fec {
-      type enumeration {
-        enum "off" {
-          value 0;
-          description
-            "fec off";
-        }
-        enum "rsfec" {
-          value 1;
-          description
-            "rsfec";
-        }
-        enum "sdfeca1" {
-          value 2;
-          description
-            "Clariphy SDFEC";
-        }
-        enum "efec" {
-          value 3;
-          description
-            "G.975.1 I.4";
-        }
-        enum "ufec" {
-          value 4;
-          description
-            "G.975.1 I.7";
-        }
-        enum "sdfec" {
-          value 5;
-          description
-            "Soft decision FEC";
-        }
-        enum "sdfecb1" {
-          value 6;
-          description
-            "SDFEC with SCFEC";
-        }
-        enum "scfec" {
-          value 7;
-          description
-            "Stair case FEC";
-        }
-      }
-      description
-        "Forward Error Correction";
-    }
-  }
-
-  grouping otu-container {
-    container otu {
-      description
-        "Optical Channel Transport Unit (OTU)";
-      uses otu-attributes;
-      uses org-openroadm-maint-loopback:maint-loopback;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:otnOtu'";
-    uses otu-container;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-physical-types.yang b/tests/ordmodels_1.2.1/org-openroadm-physical-types.yang
deleted file mode 100644 (file)
index 4251018..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-module org-openroadm-physical-types {
-  namespace "http://org/openroadm/physical/types";
-  prefix org-openroadm-physical-types;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-  import ietf-yang-types {
-    prefix yang;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of physical types.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping node-info {
-    description
-      "Physical inventory data used by the node";
-    leaf vendor {
-      description
-        "Vendor of the equipment";
-      type string;
-      config false;
-      mandatory true;
-    }
-    leaf model {
-      type string;
-      description
-        "Physical resource model information.";
-      config false;
-      mandatory true;
-    }
-    leaf serial-id {
-      description
-        "Product Code for this physical resource";
-      type string;
-      config false;
-      mandatory true;
-    }
-  }
-
-  grouping common-info {
-    description
-      "Physical inventory data used by all other entities";
-    uses node-info;
-    leaf type {
-      description
-        "The specific type of this physical resource - ie the type of
-         shelf, type of circuit-pack, etc.";
-      type string;
-      config false;
-    }
-    leaf product-code {
-      description
-        "Product Code for this physical resource";
-      type string;
-      config false;
-    }
-    leaf manufacture-date {
-      description
-        "Manufactor date of physical resource";
-      type yang:date-and-time;
-      config false;
-    }
-    leaf clei {
-      description
-        "CLEI for this physical resource";
-      type string;
-      config false;
-    }
-    leaf hardware-version {
-      description
-        "The version of the hardware.";
-      type string;
-      config false;
-    }
-    leaf operational-state {
-      description
-        "Operational state of the physical resource";
-      type org-openroadm-common-types:state;
-      config false;
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-pm-types.yang b/tests/ordmodels_1.2.1/org-openroadm-pm-types.yang
deleted file mode 100644 (file)
index d2820d3..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-module org-openroadm-pm-types {
-  namespace "http://org/openroadm/pm-types";
-  prefix org-openroadm-pm-types;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of performance management types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef pm-granularity {
-    description
-      "Granularity of PM bin";
-    type enumeration {
-      enum "notApplicable" {
-        description
-          "This is for total statistic counters on devices that support
-              them.";
-        value 1;
-      }
-      enum "15min" {
-        value 2;
-      }
-      enum "24Hour" {
-        value 3;
-      }
-    }
-  }
-
-  typedef pm-data-type {
-    type union {
-      type uint64;
-      type decimal64 {
-        fraction-digits 2;
-      }
-      type decimal64 {
-        fraction-digits 17;
-      }
-    }
-  }
-
-  grouping pm-measurement {
-    description
-      "Set of parameters related to a PM Measurement";
-    container pmParameterName {
-      uses pm-names;
-    }
-    leaf pmParameterValue {
-      type pm-data-type;
-      mandatory true;
-      config false;
-    }
-    leaf pmParameterUnit {
-      description
-        "Unit PM parameter has been measured - frames, packets, u, etc";
-      type string;
-      mandatory false;
-    }
-    leaf location {
-      description
-        "Location PM parameter measurement";
-      type enumeration {
-        enum "notApplicable" {
-          value 1;
-        }
-        enum "nearEnd" {
-          value 2;
-        }
-        enum "farEnd" {
-          value 3;
-        }
-      }
-      mandatory false;
-    }
-    leaf direction {
-      description
-        "Direction PM parameter measurement";
-      type org-openroadm-common-types:pm-direction;
-      mandatory false;
-    }
-    leaf validity {
-      description
-        "Validity of data";
-      type enumeration {
-        enum "complete" {
-          value 1;
-        }
-        enum "partial" {
-          value 2;
-        }
-        enum "suspect" {
-          value 3;
-        }
-      }
-      mandatory false;
-      config false;
-    }
-  }
-
-  grouping pm-names {
-    description
-      "Name of PM parameter. Consisists of a set list of parameters,
-       plus an extension field to support addition parameters.";
-    leaf type {
-      type pm-names-enum;
-      mandatory true;
-    }
-    leaf extension {
-      description
-        "name of parameter, when enum value set to vendorExtension because
-         name not found in pm-names-enum";
-      type string;
-      mandatory false;
-    }
-  }
-
-  typedef pm-names-enum {
-    type enumeration {
-      enum "vendorExtension" {
-        value 1;
-        description
-          "vendor extension";
-      }
-      enum "bitErrorRate" {
-        value 2;
-        description
-          "Bit error rate (BER)";
-      }
-      enum "opticalPowerOutput" {
-        value 3;
-        description
-          "Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum "opticalReturnLoss" {
-        value 4;
-        description
-          "Optical Return Loss (ORL-OTS) - at MW port(s) B";
-      }
-      enum "opticalPowerInput" {
-        value 5;
-        description
-          "Optical Power Input (OPIN-OTS). Total optical power";
-      }
-      enum "opticalPower" {
-        value 6;
-        description
-          "Optical Power Receive (OPR-OTS); Optical Power Transmit (OPT-OSC)";
-      }
-      enum "opticalChannelPowerTransmit" {
-        value 7;
-        description
-          "Optical Channel Power Transmit (OPT-OCH). Individual channel power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum "codeViolations" {
-        value 8;
-        description
-          "Code Violations (CV-PCS). 8B/10B errors";
-        reference "IEEE 802.3ah, Section 45.2.1.44";
-      }
-      enum "erroredSecondsSection" {
-        value 9;
-        description
-          "Errored Seconds Section (ES-PCS)";
-        reference "IEEE 802.3ah, Section 45.2.1.46";
-      }
-      enum "severlyErrorSeconds" {
-        value 10;
-        description
-          "Severely Errored Seconds (SES-PCS)";
-        reference "IEEE 802.3ah, Section 45.2.1.48";
-      }
-      enum "unavailableSecondsPCS" {
-        value 11;
-        description
-          "Unavailable Seconds PCS (UAS-PCS)";
-        reference "IEEE 802.3ah, Section 45.2.1.52";
-      }
-      enum "inFrames" {
-        value 12;
-        description
-          "In frames (INFRAMES-E)";
-      }
-      enum "inFramesErrored" {
-        value 13;
-        description
-          "In frames errored (INFRAMESERR-E)";
-      }
-      enum "outFrames" {
-        value 14;
-        description
-          "Out frames (OUTFRAMES-E)";
-      }
-      enum "erroredSecondsEthernet" {
-        value 15;
-        description
-          "Errored Seconds Ethernet (ES-E)";
-        reference "IEEE 802.3ah, Section 45.2.1.46";
-      }
-      enum "severelyErroredSecondsEthernet" {
-        value 16;
-        description
-          "Severly Errored Seconds, Ethernet (SES-E)";
-        reference "IEEE 802.3ah, Section 45.2.1.48";
-      }
-      enum "unavailableSecondsEthernet" {
-        value 17;
-        description
-          "Unavailable Seconds, Ethernet (UAS-E)";
-        reference "IEEE 802.3ah, Section 45.2.1.52";
-      }
-      enum "erroredBlockCount" {
-        value 18;
-        description
-          "Errored block count";
-        reference "G.798 : 6.5.1.1";
-      }
-      enum "delay" {
-        value 19;
-        description
-          "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
-        reference "G.798";
-      }
-      enum "defectSeconds" {
-        value 20;
-        description
-          "Defect Seconds (DS)";
-        reference "";
-      }
-      enum "backwardIncomingAlignmentError" {
-        value 21;
-        description
-          "Backward Incoming Alignment Error (BIAE)";
-        reference "Ref: G.798: 14.5.1.1.2";
-      }
-      enum "incomingAlignmentError" {
-        value 22;
-        description
-          "Incoming Alignment Error (IAE)";
-        reference "Ref: G.798: 14.5.1.1.2";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-pm.yang b/tests/ordmodels_1.2.1/org-openroadm-pm.yang
deleted file mode 100644 (file)
index 8a75c58..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-module org-openroadm-pm {
-  namespace "http://org/openroadm/pm";
-  prefix org-openroadm-pm;
-
-  import ietf-yang-types {
-    prefix yang;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-  }
-  import org-openroadm-layerRate {
-    prefix org-openroadm-layerRate;
-  }
-  import org-openroadm-pm-types {
-    prefix org-openroadm-pm-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of performance management.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping current-pm {
-    description
-      "PM Data with current values - both realtime (granularity=notApplicable) and binned (granularity=15 minute, 24h))";
-    leaf id {
-      type string;
-      mandatory true;
-      config false;
-    }
-    container resource {
-      uses org-openroadm-resource:resource;
-    }
-    container layerRate {
-      uses org-openroadm-layerRate:layer-rate;
-    }
-    list measurements {
-      container measurement {
-        uses org-openroadm-pm-types:pm-measurement;
-      }
-    }
-    leaf retrievalTime {
-      type yang:date-and-time;
-      mandatory true;
-      config false;
-    }
-    leaf granularity {
-      type org-openroadm-pm-types:pm-granularity;
-    }
-  }
-
-  container currentPmlist {
-    description
-      "List of current PMs.";
-    list currentPm {
-      key "id";
-      uses current-pm;
-    }
-    config false;
-  }
-
-  grouping historical-pm {
-    description
-      "PM Data with historical values - binned (granularity=15 minute, 24h))";
-    leaf id {
-      type string;
-      mandatory true;
-      config false;
-    }
-    container resource {
-      uses org-openroadm-resource:resource;
-    }
-    container layerRate {
-      uses org-openroadm-layerRate:layer-rate;
-    }
-    list binned-pm {
-      key "bin-number";
-      uses bin-pm;
-    }
-    leaf granularity {
-      type org-openroadm-pm-types:pm-granularity;
-    }
-  }
-
-  grouping bin-pm {
-    description
-      "PM Data with historical values";
-    leaf bin-number {
-      type uint16 {
-        range "1..max";
-      }
-      mandatory true;
-      config false;
-    }
-    list measurements {
-      container measurement {
-        uses org-openroadm-pm-types:pm-measurement;
-      }
-    }
-    leaf completionTime {
-      type yang:date-and-time;
-      mandatory true;
-      config false;
-    }
-  }
-
-  container historicalPmlist {
-    description
-      "List of historical PM";
-    list historicalPm {
-      key "id";
-      uses historical-pm;
-    }
-    config false;
-  }
-  rpc clear-pm {
-    description "Command to initialize PM data";
-    input {
-      uses org-openroadm-resource:resource;
-      leaf pm-type {
-        default "current";
-        type enumeration {
-          enum "current" {
-            value 1;
-          }
-          enum "all" {
-            value 2;
-          }
-        }
-      }
-      leaf granularity {
-        default "15min";
-        type org-openroadm-pm-types:pm-granularity;
-      }
-    }
-    output {
-      leaf status {
-        type enumeration {
-          enum "Successful" {
-            value 1;
-          }
-          enum "Failed" {
-            value 2;
-          }
-        }
-        mandatory true;
-        description
-          "Successful or Failed";
-      }
-      leaf status-message {
-        type string;
-        description
-          "Gives a more detailed reason for success / failure";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-port-types.yang b/tests/ordmodels_1.2.1/org-openroadm-port-types.yang
deleted file mode 100644 (file)
index e4c6478..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-module org-openroadm-port-types {
-  namespace "http://org/openroadm/port/types";
-  prefix org-openroadm-port-types;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for port types.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  identity supported-if-capability {
-    description
-      "Base identity from which specific supported interfaces are derived";
-  }
-
-  identity if-100GE {
-    base supported-if-capability;
-  }
-
-  identity if-OMS {
-    base supported-if-capability;
-  }
-
-  identity if-OTS {
-    base supported-if-capability;
-  }
-
-  identity if-OCH {
-    base supported-if-capability;
-  }
-
-  identity supported-xpdr-capability {
-    description
-      "Base identity from which specific supported xponder are derived";
-  }
-
-  identity Transponder {
-    base supported-xpdr-capability;
-  }
-
-  identity Regen {
-    base supported-xpdr-capability;
-  }
-
-  typedef port-wavelength-types {
-    type enumeration {
-      enum "wavelength" {
-        value 1;
-        description
-          "Port on a transponder.";
-      }
-      enum "multi-wavelegnth" {
-        value 2;
-        description
-          "Port on a ROADM.";
-      }
-    }
-    description
-      "Port types.";
-  }
-
-  grouping common-port {
-    leaf port-power-capability-min-rx {
-      type org-openroadm-common-types:power-dBm;
-      config false;
-      description
-        "Based on port capabilities, the minimum power in the system spec for this port to
-         provide optimum function in rx direction";
-    }
-    leaf port-power-capability-min-tx {
-      type org-openroadm-common-types:power-dBm;
-      config false;
-      description
-        "Based on port capabilities, the minimum power in the system spec for this port to
-         provide optimum function in tx direction.";
-    }
-    leaf port-power-capability-max-rx {
-      type org-openroadm-common-types:power-dBm;
-      config false;
-      description
-        "Based on port capabilities, the maximum power in the system spec for this port to
-         provide optimum function in rx direction.";
-    }
-    leaf port-power-capability-max-tx {
-      type org-openroadm-common-types:power-dBm;
-      config false;
-      description
-        "Based on port capabilities, the maximum power in the system spec for this port to
-         provide optimum function in tx direction.";
-    }
-    leaf-list capable-wavelengths {
-      type uint32;
-      config false;
-      description
-        "List of wavelengths this port is capable of supporting.
-         can be used to access wavelength-map to get the wavelength value in nm";
-    }
-  }
-  grouping roadm-port {
-    uses common-port;
-    leaf-list available-wavelengths {
-      type uint32;
-      config false;
-      description
-        "List of available (capable and unused) wavelengths on this port.
-         can be used to access wavelength-map to get the wavelength value in nm";
-    }
-    leaf-list used-wavelengths {
-      type uint32;
-      config false;
-      description
-        "List of used available wavelength-numbers on this port.";
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-probable-cause.yang b/tests/ordmodels_1.2.1/org-openroadm-probable-cause.yang
deleted file mode 100644 (file)
index eaa0d2a..0000000
+++ /dev/null
@@ -1,522 +0,0 @@
-module org-openroadm-probable-cause {
-  namespace "http://org/openroadm/probableCause";
-  prefix org-openroadm-probable-cause;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of Probable Causes.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping probable-cause {
-    leaf cause {
-      type probable-cause-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-    leaf direction {
-      description
-        "Direction indication of the alarm.";
-      type org-openroadm-common-types:direction;
-    }
-    leaf location {
-      description
-        "location indication of the alarm.";
-      type enumeration {
-        enum "NEND" {
-          value 1;
-          description
-            "Near End location";
-        }
-        enum "FEND" {
-          value 2;
-          description
-            "Far End location";
-        }
-      }
-    }
-  }
-
-  typedef probable-cause-enum {
-    type enumeration {
-      enum "vendorExtension" {
-        value 1;
-        description
-          "vendorExtension";
-      }
-      enum "openConnectionIndication" {
-        value 2;
-        description
-          "Open connection indication (OCI)";
-        reference "G.798";
-      }
-      enum "alarmIndicationSignal" {
-        value 3;
-        description
-          "Alarm indication signal";
-        reference "G.798";
-      }
-      enum "lossOfSignal" {
-        value 4;
-        description
-          "Loss of Signal";
-      }
-      enum "opticalLineFail" {
-        value 5;
-        description
-          "Optical Line Fail";
-      }
-      enum "opticalPowerDegraded" {
-        value 6;
-        description
-          "Optical Line Fail";
-      }
-      enum "automaticLaserShutdown" {
-        value 7;
-        description
-          "Optical Line Fail";
-      }
-      enum "serverSignalFail" {
-        value 8;
-        description
-          "Server Signal Fail (SSF)";
-        reference "G.798";
-      }
-      enum "lossofTandemConnection" {
-        value 9;
-        description
-          "Loss of Tandem Connection (LTC)";
-        reference "G.798";
-      }
-      enum "lockedDefect" {
-        value 10;
-        description
-          "Locked defect (LCK)";
-        reference "G.798";
-      }
-      enum "trailTraceIdentifierMismatch" {
-        value 11;
-        description
-          "Trail trace Identifier Mismatch (TIM)";
-        reference "G.798";
-      }
-      enum "degradedEffect" {
-        value 12;
-        description
-          "Degraded defect (DEG)";
-        reference "G.798";
-      }
-      enum "backwardsDefectIndication" {
-        value 13;
-        description
-          "Backward Defect Indication (BDI)";
-        reference "G.798";
-      }
-      enum "otsSpanlossPowerOutOfSpecificationHigh" {
-        value 14;
-      }
-      enum "automaticShutoffDisabled" {
-        value 15;
-      }
-      enum "postBlockManualLaserShutdown" {
-        value 16;
-      }
-      enum "portLossOfLight" {
-        value 17;
-      }
-      enum "reflectionTooHigh" {
-        value 18;
-      }
-      enum "shutoffThresholdCrossed" {
-        value 19;
-      }
-      enum "preBlockSpanAdjustmentInProgress" {
-        value 20;
-      }
-      enum "postBlockSpanAdjustmentInProgress" {
-        value 21;
-      }
-      enum "payloadMissingIndication" {
-        value 22;
-        description
-          "Will be applicable to ROADM when OSC signaling supported in future (G.709 2016-06 Figure 15-1A, 1B)";
-      }
-      enum "forwardDefectIndication" {
-        value 23;
-        description
-          "Will be applicable to ROADM when OSC signaling supported in future (G.709 2016-06 Figure 15-1A, 1B)";
-      }
-      enum "oscPowerOutOfSpecificationHigh" {
-        value 24;
-      }
-      enum "oscPowerOutOfSpecificationLow" {
-        value 25;
-      }
-      enum "powerOutOfSpecificationHigh" {
-        value 26;
-      }
-      enum "lossOfSynchronization" {
-        value 27;
-      }
-      enum "linkDown" {
-        value 28;
-      }
-      enum "equipmentFault" {
-        value 29;
-      }
-      enum "equipmentRemoved" {
-        value 30;
-      }
-      enum "equipmentMismatch" {
-        value 31;
-      }
-      enum "equipmentWarmup" {
-        value 32;
-      }
-      enum "equipmentLedOn" {
-        value 33;
-      }
-      enum "equipmentInterConnectFailure" {
-        value 34;
-      }
-      enum "equipmentMiscabledConnection" {
-        value 35;
-      }
-      enum "softwareVersionMismatch" {
-        value 36;
-      }
-      enum "softwareStageInProgress" {
-        value 37;
-      }
-      enum "databaseCorruption" {
-        value 38;
-      }
-      enum "databaseLockedSoftwareUpgradeInProgress" {
-        value 39;
-      }
-      enum "databaseLockedDbRestoreInProgress" {
-        value 40;
-      }
-      enum "databaseLockedSysInitInProgress" {
-        value 41;
-      }
-      enum "databaseLockedDbAlarmPresent" {
-        value 42;
-      }
-      enum "databaseLockedIlfViolation" {
-        value 43;
-      }
-      enum "databaseVersionMismatch" {
-        value 44;
-      }
-      enum "databaseLockedShelfProvModePresent" {
-        value 45;
-      }
-      enum "firmwareVersionMismatch" {
-        value 46;
-      }
-      enum "firmwareBackwardCompatibleLimited" {
-        value 47;
-      }
-      enum "firmwareBackwardCompatibleAll" {
-        value 48;
-      }
-      enum "incompatibleFirmware" {
-        value 49;
-      }
-      enum "firmwareDownloadOrActivationFailure" {
-        value 50;
-      }
-      enum "firmwareInitInProgress" {
-        value 51;
-      }
-      enum "softwareReset" {
-        value 52;
-      }
-      enum "fanCoolingFail" {
-        value 53;
-      }
-      enum "administrativeDown" {
-        value 54;
-      }
-      enum "lampTest" {
-        value 55;
-      }
-      enum "powerProblemA" {
-        value 56;
-      }
-      enum "powerProblemB" {
-        value 57;
-      }
-      enum "shelfProvisioningMode" {
-        value 58;
-      }
-      enum "sysNameChanged" {
-        value 59;
-      }
-      enum "sysNtpNotSynchronized" {
-        value 60;
-      }
-      enum "ilfViolationMajor" {
-        value 61;
-      }
-      enum "ilfViolationCritical" {
-        value 62;
-      }
-      enum "lossOfFrame" {
-        value 63;
-      }
-      enum "lossOfMultiframe" {
-        value 64;
-      }
-      enum "backwardIncomingAlignmentError" {
-        value 65;
-      }
-      enum "incomingAlignmentError" {
-        value 66;
-      }
-      enum "payloadMismatch" {
-        value 67;
-      }
-      enum "clientSignalFailDefect" {
-        value 68;
-      }
-      enum "backwardIncomingAlignmentErrorTCM1" {
-        value 69;
-      }
-      enum "backwardIncomingAlignmentErrorTCM2" {
-        value 70;
-      }
-      enum "backwardIncomingAlignmentErrorTCM3" {
-        value 71;
-      }
-      enum "backwardIncomingAlignmentErrorTCM4" {
-        value 72;
-      }
-      enum "backwardIncomingAlignmentErrorTCM5" {
-        value 73;
-      }
-      enum "backwardIncomingAlignmentErrorTCM6" {
-        value 74;
-      }
-      enum "incomingAlignmentErrorTCM1" {
-        value 75;
-      }
-      enum "incomingAlignmentErrorTCM2" {
-        value 76;
-      }
-      enum "incomingAlignmentErrorTCM3" {
-        value 77;
-      }
-      enum "incomingAlignmentErrorTCM4" {
-        value 78;
-      }
-      enum "incomingAlignmentErrorTCM5" {
-        value 79;
-      }
-      enum "incomingAlignmentErrorTCM6" {
-        value 80;
-      }
-      enum "backwardsDefectIndicationTCM1" {
-        value 81;
-      }
-      enum "backwardsDefectIndicationTCM2" {
-        value 82;
-      }
-      enum "backwardsDefectIndicationTCM3" {
-        value 83;
-      }
-      enum "backwardsDefectIndicationTCM4" {
-        value 84;
-      }
-      enum "backwardsDefectIndicationTCM5" {
-        value 85;
-      }
-      enum "backwardsDefectIndicationTCM6" {
-        value 86;
-      }
-      enum "degradedDefectTCM1" {
-        value 87;
-      }
-      enum "degradedDefectTCM2" {
-        value 88;
-      }
-      enum "degradedDefectTCM3" {
-        value 89;
-      }
-      enum "degradedDefectTCM4" {
-        value 90;
-      }
-      enum "degradedDefectTCM5" {
-        value 91;
-      }
-      enum "degradedDefectTCM6" {
-        value 92;
-      }
-      enum "trailTraceIdentifierMisMatchTCM1" {
-        value 93;
-      }
-      enum "trailTraceIdentifierMisMatchTCM2" {
-        value 94;
-      }
-      enum "trailTraceIdentifierMisMatchTCM3" {
-        value 95;
-      }
-      enum "trailTraceIdentifierMisMatchTCM4" {
-        value 96;
-      }
-      enum "trailTraceIdentifierMisMatchTCM5" {
-        value 97;
-      }
-      enum "trailTraceIdentifierMisMatchTCM6" {
-        value 98;
-      }
-      enum "alarmIndicationSignalTCM1" {
-        value 99;
-      }
-      enum "alarmIndicationSignalTCM2" {
-        value 100;
-      }
-      enum "alarmIndicationSignalTCM3" {
-        value 101;
-      }
-      enum "alarmIndicationSignalTCM4" {
-        value 102;
-      }
-      enum "alarmIndicationSignalTCM5" {
-        value 103;
-      }
-      enum "alarmIndicationSignalTCM6" {
-        value 104;
-      }
-      enum "openConnectionIndicationTCM1" {
-        value 105;
-      }
-      enum "openConnectionIndicationTCM2" {
-        value 106;
-      }
-      enum "openConnectionIndicationTCM3" {
-        value 107;
-      }
-      enum "openConnectionIndicationTCM4" {
-        value 108;
-      }
-      enum "openConnectionIndicationTCM5" {
-        value 109;
-      }
-      enum "openConnectionIndicationTCM6" {
-        value 110;
-      }
-      enum "lockedDefectTCM1" {
-        value 111;
-      }
-      enum "lockedDefectTCM2" {
-        value 112;
-      }
-      enum "lockedDefectTCM3" {
-        value 113;
-      }
-      enum "lockedDefectTCM4" {
-        value 114;
-      }
-      enum "lockedDefectTCM5" {
-        value 115;
-      }
-      enum "lockedDefectTCM6" {
-        value 116;
-      }
-      enum "lossofTandemConnectionTCM1" {
-        value 117;
-      }
-      enum "lossofTandemConnectionTCM2" {
-        value 118;
-      }
-      enum "lossofTandemConnectionTCM3" {
-        value 119;
-      }
-      enum "lossofTandemConnectionTCM4" {
-        value 120;
-      }
-      enum "lossofTandemConnectionTCM5" {
-        value 121;
-      }
-      enum "lossofTandemConnectionTCM6" {
-        value 122;
-      }
-      enum "highBER" {
-        value 123;
-      }
-      enum "localFault" {
-        value 124;
-      }
-      enum "remoteFault" {
-        value 125;
-      }
-      enum "lossOfAlignment" {
-        value 126;
-      }
-      enum "lossOfFECAlignment" {
-        value 127;
-      }
-      enum "facilityLoopbackActive" {
-        value 128;
-      }
-      enum "facilityLoopback2Active" {
-        value 129;
-      }
-      enum "terminalLoopbackActive" {
-        value 130;
-      }
-      enum "facilityTestsignalActive" {
-        value 131;
-      }
-      enum "terminalTestsignalActive" {
-        value 132;
-      }
-      enum "automaticLaserShutdownDisabled" {
-        value 133;
-      }
-      enum "certificateNotInstalled" {
-        value 134;
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-resource-types.yang b/tests/ordmodels_1.2.1/org-openroadm-resource-types.yang
deleted file mode 100644 (file)
index bb6a80a..0000000
+++ /dev/null
@@ -1,252 +0,0 @@
-module org-openroadm-resource-types {
-  namespace "http://org/openroadm/resource/types";
-  prefix org-openroadm-resource-types;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common resource types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping resource-type {
-    leaf type {
-      type resource-type-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-  }
-
-  typedef resource-type-enum {
-    type enumeration {
-      enum "other" {
-        value 1;
-        description
-          "Resource of type not found in list.";
-      }
-      enum "device" {
-        value 2;
-        description
-          "device - ROAMD, Xponder, etc";
-      }
-      enum "degree" {
-        value 3;
-        description
-          "degree";
-      }
-      enum "shared-risk-group" {
-        value 4;
-        description
-          "shared-risk-group";
-      }
-      enum "connection" {
-        value 5;
-        description
-          "connection";
-      }
-      enum "connection-map" {
-        value 6;
-        description
-          "connection-map";
-      }
-      enum "port" {
-        value 7;
-        description
-          "port";
-      }
-      enum "circuit-pack" {
-        value 8;
-        description
-          "circuit pack";
-      }
-      enum "internal-link" {
-        value 9;
-        description
-          "internal-link";
-      }
-      enum "physical-link" {
-        value 10;
-        description
-          "physical-link";
-      }
-      enum "interface" {
-        value 11;
-        description
-          "interface";
-      }
-      enum "shelf" {
-        value 12;
-        description
-          "shelf";
-      }
-      enum "service" {
-        value 13;
-        description
-          "service";
-      }
-    }
-  }
-
-  grouping device-id {
-    description
-      "Device identifier. Unique within the Controller.";
-    leaf node-id {
-      description
-        "Node Id is a globally unique identifier for a device.
-         Same as leafref value in model, if applicable.";
-      type string;
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-      type string;
-      mandatory true;
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      description
-        "Port identifier. Unique within the context of a circuit-pack.
-         Same as leafref value in model, if applicable.";
-      type string;
-    }
-  }
-
-  grouping physical-link-name {
-    leaf physical-link-name {
-      description
-        "Physical Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-      type string;
-      mandatory true;
-    }
-  }
-
-  grouping internal-link-name {
-    leaf internal-link-name {
-      description
-        "Internal Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-      type string;
-      mandatory true;
-    }
-  }
-
-  grouping connection-number {
-    leaf connection-number {
-      description
-        "Connection identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-      type string;
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      description
-        "Degree identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-      type uint16;
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-      type uint16;
-    }
-  }
-
-  grouping shelf-name {
-    leaf shelf-name {
-      description
-        "Shelf-id identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-      type string;
-      mandatory true;
-    }
-  }
-
-  grouping service-name {
-    leaf service-name {
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-      type string;
-      mandatory true;
-    }
-  }
-
-  grouping interface-name {
-    leaf interface-name {
-      description
-        "Interface identifier.";
-      type string;
-      mandatory true;
-    }
-  }
-
-  typedef resource-notification-type {
-    description
-      "Type of notification about a resource";
-    type enumeration {
-      enum "resourceCreation" {
-        value 1;
-        description
-          "A new instance of a resource has been created.";
-      }
-      enum "resourceModification" {
-        value 2;
-        description
-          "An exhisting instance of a resource has been modified. This shall be triggered by changes in configuration, state, status etc.
-           It shall not be triggered by changes in performance measurements, power and temperature readings or any other data that is highlyvolatile. ";
-      }
-      enum "resourceDeletion" {
-        value 3;
-        description
-          "An exhisting instance of a resource has been removed.";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-resource.yang b/tests/ordmodels_1.2.1/org-openroadm-resource.yang
deleted file mode 100644 (file)
index 25cb9f1..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-module org-openroadm-resource {
-  namespace "http://org/openroadm/resource";
-  prefix org-openroadm-resource;
-
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of resources.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping resource {
-    description
-      "This resource identifier is intended to provide a generic identifer
-       for any resource that can be used without specific knowledge of
-       the resource.";
-    container device {
-      description
-        "Device of the resource, used only when the system using this
-         model report on more than one device. ";
-      uses org-openroadm-resource-types:device-id;
-    }
-    container resource {
-      choice resource {
-        case circuit-pack {
-          uses org-openroadm-resource-types:circuit-pack-name;
-        }
-        case port {
-          container port {
-            uses org-openroadm-resource-types:port-name;
-          }
-        }
-        case connection {
-          uses org-openroadm-resource-types:connection-number {
-            refine connection-number {
-              mandatory true;
-            }
-          }
-        }
-        case physical-link {
-          uses org-openroadm-resource-types:physical-link-name;
-        }
-        case internal-link {
-          uses org-openroadm-resource-types:internal-link-name;
-        }
-        case shelf {
-          uses org-openroadm-resource-types:shelf-name;
-        }
-        case srg {
-          uses org-openroadm-resource-types:srg-number {
-            refine srg-number {
-              mandatory true;
-            }
-          }
-        }
-        case degree {
-          uses org-openroadm-resource-types:degree-number {
-            refine degree-number {
-              mandatory true;
-            }
-          }
-        }
-        case service {
-          uses org-openroadm-resource-types:service-name;
-        }
-        case interface {
-          uses org-openroadm-resource-types:interface-name;
-        }
-      }
-    }
-    container resourceType {
-      uses org-openroadm-resource-types:resource-type;
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-routing-constraints.yang b/tests/ordmodels_1.2.1/org-openroadm-routing-constraints.yang
deleted file mode 100644 (file)
index e8f5a1e..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-module org-openroadm-routing-constraints {
-  namespace "http://org/openroadm/routing/constrains";
-  prefix org-openroadm-routing-constraints;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of routing constraints.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping routing-constraints {
-    container hard-constraints {
-      uses constraints;
-    }
-    container soft-constraints {
-      uses constraints;
-    }
-  }
-
-  grouping constraints {
-    leaf-list customer-code {
-      type string;
-    }
-    choice co-routing-or-general {
-      case general {
-        container diversity {
-          uses diversity-existing-service-contraints;
-        }
-        container exclude {
-          uses common-constraints;
-          leaf-list supporting-service-name {
-            description
-              "Supporting service(s) to exclude from this route.";
-            type string;
-          }
-        }
-        container include {
-          uses common-constraints;
-          leaf-list supporting-service-name {
-            description
-              "Supporting service(s) to include in this route.";
-            type string;
-          }
-        }
-        container latency {
-          description
-            "Maximum latency allowed";
-          leaf max-latency {
-            type uint32;
-            units "ms";
-          }
-        }
-      }
-      case co-routing {
-        container co-routing {
-          leaf-list existing-service {
-            type string;
-            description
-              "Diverse from existing services identified by facility CLFI";
-          }
-        }
-      }
-    }
-  }
-
-  grouping common-constraints {
-    leaf-list fiber-bundle {
-      type string;
-    }
-    leaf-list site {
-      type string;
-    }
-    leaf-list node-id {
-      type string;
-    }
-  }
-
-  grouping diversity-existing-service-contraints {
-    leaf-list existing-service {
-      type string;
-      description
-        "Diverse from existing services identified by facility CLFI";
-    }
-    container existing-service-applicability {
-      leaf site {
-        type boolean;
-      }
-      leaf node {
-        type boolean;
-      }
-      leaf srlg {
-        type boolean;
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-rstp.yang b/tests/ordmodels_1.2.1/org-openroadm-rstp.yang
deleted file mode 100644 (file)
index 0bec3d9..0000000
+++ /dev/null
@@ -1,310 +0,0 @@
-module org-openroadm-rstp {
-  namespace "http://org/openroadm/rstp";
-  prefix org-openroadm-rstp;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for rstp protocol.
-
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef bridge-id-type {
-    type string;
-    description
-      "Unique Bridge Identifier";
-  }
-
-  grouping rstp-common-bridge-config {
-    leaf bridge-priority {
-      description
-        "Bridge Priority Value";
-      type uint32 {
-        range "0..61440";
-      }
-      default "32768";
-    }
-    leaf shutdown {
-      description
-        "Bridge admin state";
-      type empty;
-    }
-    leaf hold-time {
-      description
-        "The time interval during which no more than two
-            BPDUs transmitted by this node in seconds - not used in rstp mode (in seconds)";
-      type uint32 {
-        range "1..10";
-      }
-      default "2";
-    }
-    leaf hello-time {
-      description
-        "The time between the transmission of BPDU's by this node on any
-            port, when role is rooti (in seconds)";
-      type uint32 {
-        range "1..10";
-      }
-      default "2";
-    }
-    leaf max-age {
-      description
-        "The value that all bridges use for MaxAge when this bridge
-            is acting as the root";
-      type uint32 {
-        range "6..40";
-      }
-      default "20";
-    }
-    leaf forward-delay {
-      description
-        "The port on the Switch spends this time in the listening
-            state while moving from the blocking state to the forwarding state (in seconds)";
-      type uint32 {
-        range "4..30";
-      }
-      default "15";
-    }
-    leaf transmit-hold-count {
-      description
-        "Maximum BPDU transmission rate";
-      type uint32 {
-        range "1..10";
-      }
-      default "2";
-    }
-  }
-
-  grouping rstp-root-bridge-attr {
-    leaf root-bridge-port {
-      description
-        "Port id of the root port";
-      type uint32;
-    }
-    leaf root-path-cost {
-      description
-        "The cost of the path to the root as
-               seen from this bridge";
-      type uint32;
-    }
-    leaf root-bridge-priority {
-      description
-        "Root Bridge Priority Value";
-      type uint32;
-    }
-    leaf root-bridge-id {
-      description
-        "Root Bridge identifier";
-      type bridge-id-type;
-    }
-    leaf root-hold-time {
-      description
-        "The time interval during which no more than two
-               BPDUs transmitted by this node in seconds at root node (in seconds)";
-      type uint32;
-    }
-    leaf root-hello-time {
-      description
-        "The time between the transmission of BPDU's used at root node (in seconds)";
-      type uint32;
-    }
-    leaf root-max-age {
-      description
-        "The value that all bridges use for MaxAge used at root node";
-      type uint32;
-    }
-    leaf root-forward-delay {
-      description
-        "The time in seconds spent on the listening state used at root node (in seconds)";
-      type uint32;
-    }
-  }
-
-  grouping rstp-bridge-port-state-attr {
-    list rstp-bridge-port-table {
-      max-elements "15";
-      description
-        "This table contains port-specific information for rstp state attributes";
-      key "ifname";
-      leaf ifname {
-        description
-          "Interface name of the port";
-        type string {
-          length "1..255";
-        }
-      }
-      leaf bridge-port-state {
-        description
-          "The port's current state";
-        type enumeration {
-          enum "discarding";
-          enum "blocked";
-          enum "learning";
-          enum "forwarding";
-          enum "unknown";
-        }
-      }
-      leaf bridge-port-role {
-        description
-          "The role payed by this port in the bridge";
-        type enumeration {
-          enum "designated";
-          enum "root";
-          enum "alternate";
-          enum "disabled";
-          enum "backup";
-          enum "unknown";
-        }
-      }
-      leaf bridge-port-id {
-        description
-          "Unique port id of this port";
-        type uint32;
-      }
-      leaf oper-edge-bridge-port {
-        description
-          "The operational value of the Edge Port parameter";
-        type empty;
-      }
-      leaf designated-bridge-port {
-        description
-          "Port id of the designated port";
-        type uint32;
-      }
-      leaf designated-bridgeid {
-        description
-          "The Bridge Identifier of the bridge that this port considers
-           to be the Designated Bridge for this port's segment";
-        type bridge-id-type;
-      }
-    }
-  }
-
-  grouping rstp-bridge-port-attr {
-    list rstp-bridge-port-table {
-      max-elements "15";
-      description
-        "Table contains port-specific information for rstp config";
-      key "ifname";
-      leaf ifname {
-        description
-          "Interface name of the port";
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-      }
-      leaf cost {
-        description
-          "The contribution of this port to the path cost of
-                 paths towards the spanning tree root which include this port also";
-        type uint32 {
-          range "2000..200000";
-        }
-        default "20000";
-      }
-      leaf priority {
-        description
-          "The value of the priority field";
-        type uint32 {
-          range "0..240";
-        }
-      }
-    }
-  }
-
-  grouping rstp-container {
-    container rstp {
-      description
-        "Open ROADM RSTP top level";
-      list rstp-bridge-instance {
-        max-elements "1";
-        description
-          "rstp bridge instance, max instance = 1";
-        key "bridge-name";
-        leaf bridge-name {
-          description
-            "unique name of the bridge";
-          type string {
-            length "1..255";
-          }
-        }
-        container rstp-config {
-          description
-            "Collection of rstp configuration attributes";
-          uses rstp-common-bridge-config;
-          uses rstp-bridge-port-attr;
-        }
-        container rstp-state {
-          description
-            "Collection of rstp operational attributes";
-          config false;
-          container rstp-bridge-attr {
-            description
-              "Collection of operational rstp bridge attributes";
-            uses rstp-root-bridge-attr;
-            leaf bridge-id {
-              description
-                "Bridge identifier of the bridge";
-              type bridge-id-type;
-            }
-            leaf topo-change-count {
-              description
-                "The total number of topology changes";
-              type uint32;
-            }
-            leaf time-since-topo-change {
-              description
-                "Time since last topology changes occured (in seconds)";
-              type uint32;
-            }
-          }
-          container rstp-bridge-port-attr {
-            description
-              "Collection of operational rstp port related attributes";
-            uses rstp-bridge-port-state-attr;
-          }
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:protocols" {
-    when "/org-openroadm-device:org-openroadm-device/org-openroadm-device:info/org-openroadm-device:node-type='rdm'";
-    uses rstp-container;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-service.yang b/tests/ordmodels_1.2.1/org-openroadm-service.yang
deleted file mode 100644 (file)
index 5be86fa..0000000
+++ /dev/null
@@ -1,547 +0,0 @@
-module org-openroadm-service {
-  namespace "http://org/openroadm/service";
-  prefix org-openroadm-service;
-
-  import ietf-yang-types {
-    prefix yang;
-  }
-  import org-openroadm-routing-constraints {
-    prefix org-openroadm-routing-constraints;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-  }
-  import org-openroadm-common-service-types {
-    prefix org-openroadm-common-service-types;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of services.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc service-create {
-    input {
-      leaf service-name {
-        type string;
-        description
-          "Identifier for the service to be created in
-           the ROADM network, e.g., CLFI, CLCI, etc. This is reported against the service, but may not get reflected in the service in the network.";
-        mandatory true;
-      }
-      leaf common-id {
-        type string;
-        description
-          "To be used by the ROADM controller to identify the routing constraints received from planning application (PED).";
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf connection-type {
-        type org-openroadm-common-service-types:connection-type;
-        mandatory true;
-      }
-      container service-a-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      container service-z-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      uses org-openroadm-routing-constraints:routing-constraints;
-      uses org-openroadm-common-service-types:service-information;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:response-parameters;
-    }
-    description
-      "Whether this request passed initial validation and was accepted for processing. Once the request completes processing, a
-       service-rpc-result Notification shall be sent.";
-  }
-  rpc service-feasibility-check {
-    input {
-      leaf common-id {
-        type string;
-        mandatory true;
-        description
-          "To be used by the ROADM controller to identify the routing
-           constraints received from planning application (PED).";
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf connection-type {
-        type org-openroadm-common-service-types:connection-type;
-      }
-      container service-a-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      container service-z-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      uses org-openroadm-routing-constraints:routing-constraints;
-      uses org-openroadm-common-service-types:service-information;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:response-parameters;
-      container service-a-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-        list equipment-required {
-          description
-            "List of required equipment, including equipment type and quantity";
-          key "eqipment-identifier";
-          leaf eqipment-identifier {
-            type string;
-          }
-          leaf equipment-type {
-            type string;
-          }
-          leaf equipment-quantity {
-            type uint32;
-          }
-        }
-      }
-      container service-z-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-        list equipment-required {
-          description
-            "List of required equipment, including equipment type and quantity";
-          key "eqipment-identifier";
-          leaf eqipment-identifier {
-            type string;
-          }
-          leaf equipment-type {
-            type string;
-          }
-          leaf equipment-quantity {
-            type uint32;
-          }
-        }
-      }
-      list intermediate-sites {
-        key "clli";
-        uses org-openroadm-common-service-types:service-endpoint;
-        list equipment-required {
-          description
-            "List of required equipment, including equipment type and quantity";
-          key "eqipment-identifier";
-          leaf eqipment-identifier {
-            type string;
-          }
-          leaf equipment-type {
-            type string;
-          }
-          leaf equipment-quantity {
-            type uint32;
-          }
-        }
-      }
-    }
-    description
-      "Whether a service was possible to be created, and if so
-       the routing constraints match and the a and z end connection that have
-       to match";
-  }
-  rpc service-delete {
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      container service-delete-req-info {
-        leaf service-name {
-          type string;
-          description
-            "Identifier for the service to be deleted in
-             the ROADM network, e.g., CLFI, CLCI, etc.";
-          mandatory true;
-        }
-        leaf due-date {
-          type yang:date-and-time;
-          description
-            "date and time service to be turned down. If missing, now.";
-        }
-        leaf tail-retention {
-          type enumeration {
-            enum "yes" {
-              value 1;
-              description
-                "tails are left intact ";
-            }
-            enum "no" {
-              value 2;
-              description
-                "tails are deleted";
-            }
-          }
-          mandatory true;
-        }
-      }
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-    description
-      "Whether this request passed initial validation and was accepted for processing. Once the request completes processing, a
-       service-rpc-result Notification shall be sent. Once the service has been deleted, it no longer will appear in the service list";
-  }
-  rpc equipment-notification {
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf equiptment-id {
-        type string;
-        mandatory true;
-      }
-      leaf equipment-name {
-        type string;
-      }
-      leaf equipemt-type {
-        type string;
-        mandatory true;
-      }
-      leaf equipment-vendor {
-        type string;
-        mandatory true;
-      }
-      leaf equipment-customer {
-        type string;
-      }
-      leaf equipment-clli {
-        type string;
-        mandatory true;
-      }
-      leaf equipment-ip {
-        type string;
-      }
-      leaf controller-id {
-        type string;
-        mandatory true;
-      }
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-  rpc temp-service-create {
-    input {
-      leaf common-id {
-        type string;
-        description
-          "To be used by the ROADM controller to identify the routing constraints received from planning application (PED).";
-        mandatory true;
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf connection-type {
-        type org-openroadm-common-service-types:connection-type;
-        mandatory true;
-      }
-      container service-a-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      container service-z-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      uses org-openroadm-routing-constraints:routing-constraints;
-      uses org-openroadm-common-service-types:service-information;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:response-parameters;
-    }
-  }
-  rpc temp-service-delete {
-    input {
-      leaf common-id {
-        type string;
-        mandatory true;
-      }
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-  rpc service-roll {
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        description
-          "Identifier for the service to be rolled in
-           the ROADM network, e.g., CLFI, CLCI, etc.";
-      }
-      leaf due-date {
-        type yang:date-and-time;
-        description
-          "date and time service to be rolled";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc service-reconfigure {
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        description
-          "Existing identifier for the service to be
-           reconfigured in the ROADM network, e.g., CLFI, CLCI, etc.";
-      }
-      leaf new-service-name {
-        type string;
-        description
-          "New identifier for the service to be
-           reconfigured in the ROADM network, e.g., CLFI, CLCI, etc.";
-      }
-      leaf common-id {
-        type string;
-        description
-          "To be used by the ROADM controller to identify the routing
-           constraints received from planning application (PED).";
-      }
-      leaf connection-type {
-        type org-openroadm-common-service-types:connection-type;
-      }
-      container service-a-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      container service-z-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-      }
-      uses org-openroadm-routing-constraints:routing-constraints;
-      uses org-openroadm-common-service-types:service-information;
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-    description
-      "Whether this request passed initial validation and was accepted for processing. Once the request completes processing, a
-       service-rpc-result Notification shall be sent.";
-  }
-  rpc service-restoration {
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        description
-          "Identifier for the service to be restored in
-           the ROADM network, e.g., CLFI, CLCI, etc.";
-      }
-      leaf option {
-        type enumeration {
-          enum "permanent" {
-            value 1;
-            description
-              "A spare regen can be used to restore the
-               service permanently without reverting back to the
-               original regen";
-          }
-          enum "temporary" {
-            value 2;
-            description
-              "a spare regen can be used to restore the
-               service temporarily.   The service needs to be reverted
-               back to the original regen transponder";
-          }
-        }
-        mandatory true;
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-    description
-      "Whether this request passed initial validation and was accepted for processing. Once the request completes processing, a
-       service-rpc-result Notification shall be sent.";
-  }
-  rpc service-reversion {
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        description
-          "Identifier for the service to be reverted
-           in the ROADM network, e.g., CLFI, CLCI, etc. ";
-      }
-      leaf due-date {
-        type yang:date-and-time;
-        description
-          "date and time service to be reverted";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-    description
-      "Whether this request passed initial validation and was accepted for processing. Once the request completes processing, a
-       service-rpc-result Notification shall be sent.";
-  }
-  rpc service-reroute {
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        description
-          "Identifier for the service to be re-routed in
-           the ROADM network, e.g., CLFI, CLCI, etc.";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-      uses org-openroadm-routing-constraints:routing-constraints;
-    }
-    description
-      "Whether this request was validated and processed correct. If sucessful, it return the proposed new route.
-       If acceptable, this request should be followed by a service-reroute-confirm to complete the reroute operation.";
-  }
-  rpc service-reroute-confirm {
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        description
-          "Identifier for the service to be re-routed in
-           the ROADM network, e.g., CLFI, CLCI, etc.";
-      }
-      uses org-openroadm-routing-constraints:routing-constraints;
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-    description
-      "Whether this request passed initial validation and was accepted for processing. Once the request completes processing, a
-       service-rpc-result Notification shall be sent.";
-  }
-  rpc network-re-optimization {
-    input {
-      leaf service-name {
-        type string;
-        description
-          "Identifier for the service in the ROADM network,
-           e.g., CLFI, CLCI, etc. whose path is to be checked by the RNC
-           for re-optimization";
-      }
-      leaf a-end {
-        type string;
-        description
-          "Services whose A-ends are terminated at the
-           specified office location are to be checked by the RNC for
-           re-optimization";
-      }
-      leaf z-end {
-        type string;
-        description
-          "Services whose Z-ends are terminated at the
-           specified office location are to be checked by the RNC for
-           re-optimization ";
-      }
-      leaf pass-through {
-        type string;
-        description
-          "Services that are pass-through (either via
-           regen or express) at the specified office location are to
-           be checked by the RNC for re-optimization";
-      }
-      leaf customer-code {
-        type string;
-        description
-          "Services that belong to the specified customer
-           are to be checked by the RNC for re-optimization ";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-      leaf optimization-candidate {
-        type string;
-      }
-    }
-  }
-  container service-list {
-    description
-      "List of service. Can only be created, deleted, modified, etc. using special RPCs.";
-    list services {
-      key "service-name";
-      uses org-openroadm-common-service-types:service;
-    }
-  }
-  container temp-service-list {
-    description
-      "List of temporary services Can only be created, deleted, modified, etc. using special RPCs.";
-    list services {
-      key "common-id";
-      uses org-openroadm-common-service-types:service {
-        refine "service-name" {
-          mandatory false;
-        }
-      }
-    }
-  }
-  notification service-rpc-result {
-    description
-      "This Notification indicates result of  service RPC";
-    leaf notification-type {
-      type org-openroadm-common-service-types:service-notification-types;
-    }
-    uses org-openroadm-common-types:rpc-response-status;
-    uses org-openroadm-common-service-types:service-notification-result;
-  }
-  notification service-traffic-flow {
-    description
-      "This Notification indicates that traffic is flowing again on the service after an administrative action has completed";
-    leaf service-name {
-      type string;
-      description
-        "Identifier for the service being reported on";
-      mandatory true;
-    }
-    leaf actual-date {
-      type yang:date-and-time;
-      description
-        "Actual date and time traffic started flowing";
-    }
-  }
-  notification service-notification {
-    description
-      "This Notification that a service has been added, modified or removed.
-       A resourceCreation notification shall contain the created service in its entirety.
-       A resourceMofified notification shall contain just the modified field, plus the service identifier
-       A resourceDeleted notification shall just contain the service identifier";
-    leaf notificationType {
-      type org-openroadm-resource-types:resource-notification-type;
-      description
-        "Whether this notification indicates a service creation, service modification or service deletion.";
-    }
-    uses org-openroadm-common-service-types:service;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-swdl.yang b/tests/ordmodels_1.2.1/org-openroadm-swdl.yang
deleted file mode 100644 (file)
index 0fdcdb6..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-module org-openroadm-swdl {
-  namespace "http://org/openroadm/de/swdl";
-  prefix org-openroadm-swdl;
-
-  import ietf-yang-types {
-    prefix yang;
-  }
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "Yang definitions for System Management.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping sw-bank {
-    leaf sw-version {
-      type string;
-      description
-        "Gissue of the SW in this bank";
-    }
-    leaf sw-validation-timer {
-      type string {
-        pattern "(([0-1][0-9]|2[0-3])-([0-5][0-9])-([0-5][0-9]))";
-      }
-      description
-        "value of validation timer in hh-mm-ss";
-    }
-    leaf activation-date-time {
-      type yang:date-and-time;
-      description
-        "activation date and time: The date load was activated";
-    }
-  }
-
-  rpc sw-stage {
-    description
-      "SW stage - copies the SW from repo to staging bank";
-    input {
-      leaf filename {
-        type string {
-          length "10..255";
-        }
-        description
-          "file name which has the load";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc sw-activate {
-    description
-      "Activate new load";
-    input {
-      leaf version {
-        type string;
-        description
-          " software version of the new load which is being activated";
-      }
-      leaf validationTimer {
-        type string;
-        description
-          "validation timer hh-mm-ss";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc cancel-validation-timer {
-    description
-      "Cancel validation timer which user provisioned as part of activate command";
-    input {
-      leaf accept {
-        type boolean;
-        default "true";
-        description
-          " TRUE means  validation timer is cancelled and new load is accepted";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-syslog.yang b/tests/ordmodels_1.2.1/org-openroadm-syslog.yang
deleted file mode 100644 (file)
index cdac3e8..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-module org-openroadm-syslog {
-  namespace "http://org/openroadm/syslog";
-  prefix org-openroadm-syslog;
-
-  import ietf-inet-types {
-    prefix inet;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This module contains a collection of YANG definitions
-     for Syslog configuration.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.
-
-     Also contains code components extracted from IETF Interfaces.  These code components
-     are copyrighted and licensed as follows:
-
-     Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
-     All rights reserved.
-
-     This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
-     publication of this document. Please review these documents carefully, as they
-     describe your rights and restrictions with respect to this document. Code Components
-     extracted from this document must include Simplified BSD License text as described in
-     Section 4.e of the Trust Legal Provisions and are provided without warranty as
-     described in the Simplified BSD License.";
-  reference "RFC 5424: The Syslog Protocol";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  feature selector-sevop-config {
-    description
-      "This feature represents the ability to select messages
-       using the additional operators equal to, or not equal to
-       when comparing the Syslog message severity.";
-  }
-
-  feature selector-match-config {
-    description
-      "This feature represents the ability to select messages based
-       on a Posix 1003.2 regular expression pattern match.";
-  }
-
-  // copied from draft of ietf-ietf-syslog-types.yang
-  identity syslog-facility {
-    description
-      "The base identity to represent syslog facilities";
-  }
-
-  // copied from draft of ietf-ietf-syslog-types.yang;
-  // extended the enum set to include all and none
-  typedef severity {
-    type enumeration {
-      enum "emergency" {
-        value 0;
-        description
-          "Emergency Level Msg";
-      }
-      enum "alert" {
-        value 1;
-        description
-          "Alert Level Msg";
-      }
-      enum "critical" {
-        value 2;
-        description
-          "Critical Level Msg";
-      }
-      enum "error" {
-        value 3;
-        description
-          "Error Level Msg";
-      }
-      enum "warning" {
-        value 4;
-        description
-          "Warning Level Msg";
-      }
-      enum "notice" {
-        value 5;
-        description
-          "Notification Level Msg";
-      }
-      enum "info" {
-        value 6;
-        description
-          "Informational Level Msg";
-      }
-      enum "debug" {
-        value 7;
-        description
-          "Debugging Level Msg";
-      }
-      enum "all" {
-        value 8;
-        description
-          "This enum describes the case where all severities
-           are selected.";
-      }
-      enum "none" {
-        value 9;
-        description
-          "This enum describes the case where no severities
-           are selected.";
-      }
-    }
-    description
-      "The definitions for Syslog message severity as per RFC 5424.
-       Extended the RFC definition with enums for all and none";
-  }
-
-  grouping syslog-severity {
-    description
-      "This grouping defines the Syslog severity which is used to
-       select log messages.";
-    leaf severity {
-      type severity;
-      mandatory true;
-      description
-        "This leaf specifies the Syslog message severity. When
-         severity is specified, the default severity comparison
-         is all messages of the specified severity and greater are
-         selected. 'all' is a special case which means all severities
-         are selected. 'none' is a special case which means that
-         no selection should occur or disable this filter.";
-    }
-    leaf severity-operator {
-      when
-        "../severity != 'all' and
-                    ../severity != 'none'" {
-        description
-          "The severity-operator is not applicable for severity 'all' or
-           severity 'none'";
-      }
-      if-feature selector-sevop-config;
-      type enumeration {
-        enum "equals-or-higher" {
-          description
-            "This enum specifies all messages of the specified
-             severity and higher are logged according to the
-             given log-action";
-        }
-        enum "equals" {
-          description
-            "This enum specifies all messages that are for
-             the specified severity are logged according to the
-             given log-action";
-        }
-        enum "not-equals" {
-          description
-            "This enum specifies all messages that are not for
-             the specified severity are logged according to the
-             given log-action";
-        }
-      }
-      default "equals-or-higher";
-      description
-        "This leaf describes the option to specify how the
-         severity comparison is performed.";
-    }
-  }
-
-  grouping syslog-selector {
-    description
-      "This grouping defines a Syslog selector which is used to
-       select log messages for the log-action (buffer, file,
-       etc). Choose one of the following:
-         no-log-facility
-         log-facility [<facility> <severity>...]";
-    container log-selector {
-      description
-        "This container describes the log selector parameters
-         for Syslog.";
-      choice selector-facility {
-        mandatory true;
-        description
-          "This choice describes the option to specify no
-           facilities, or a specific facility which can be
-           all for all facilities.";
-        case no-log-facility {
-          description
-            "This case specifies no facilities will match when
-             comparing the Syslog message facility. This is a
-             method that can be used to effectively disable a
-             particular log-action (buffer, file, etc).";
-          leaf no-facilities {
-            type empty;
-            description
-              "This leaf specifies that no facilities are selected
-               for this log-action.";
-          }
-        }
-        case log-facility {
-          description
-            "This case specifies one or more specified facilities
-             will match when comparing the Syslog message facility.";
-          list log-facility {
-            key "facility";
-            description
-              "This list describes a collection of Syslog
-               facilities and severities.";
-            leaf facility {
-              type union {
-                type identityref {
-                  base syslog-facility;
-                }
-                type enumeration {
-                  enum "all" {
-                    description
-                      "This enum describes the case where all
-                       facilities are requested.";
-                  }
-                }
-              }
-              description
-                "The leaf uniquely identifies a Syslog facility.";
-            }
-            uses syslog-severity;
-          }
-        }
-      }
-    }
-  }
-
-  container syslog {
-    description
-      "This container describes the configuration parameters for
-       Syslog.";
-    container log-actions {
-      description
-        "This container describes the log-action parameters
-         for Syslog.";
-      container remote {
-        description
-          "This container describes the configuration parameters for
-           remote logging.";
-        list destination {
-          key "name";
-          description
-            "This list describes a collection of remote logging
-             destinations.";
-          leaf name {
-            type string;
-            description
-              "An arbitrary name for the endpoint to connect to.";
-          }
-          choice transport {
-            mandatory true;
-            description
-              "This choice describes the transport option.";
-            case tcp {
-              container tcp {
-                description
-                  "This container describes the TCP transport
-                   options.";
-                reference "RFC 6587: Transmission of Syslog Messages over TCP";
-                leaf address {
-                  type inet:host;
-                  description
-                    "The leaf uniquely specifies the address of
-                     the remote host. One of the following must
-                     be specified: an ipv4 address, an ipv6
-                     address, or a host name.";
-                }
-                leaf port {
-                  type inet:port-number;
-                  default "514";
-                  description
-                    "This leaf specifies the port number used to
-                     deliver messages to the remote server.";
-                }
-              }
-            }
-            case udp {
-              container udp {
-                description
-                  "This container describes the UDP transport
-                   options.";
-                reference "RFC 5426: Transmission of Syslog Messages over UDP";
-                leaf address {
-                  type inet:host;
-                  description
-                    "The leaf uniquely specifies the address of
-                     the remote host. One of the following must be
-                     specified: an ipv4 address, an ipv6 address,
-                     or a host name.";
-                }
-                leaf port {
-                  type inet:port-number;
-                  default "514";
-                  description
-                    "This leaf specifies the port number used to
-                     deliver messages to the remote server.";
-                }
-              }
-            }
-          }
-          uses syslog-selector;
-        }
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-tca.yang b/tests/ordmodels_1.2.1/org-openroadm-tca.yang
deleted file mode 100644 (file)
index 4949508..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-module org-openroadm-tca {
-  namespace "http://org/openroadm/tca";
-  prefix org-openroadm-tca;
-
-  import ietf-yang-types {
-    prefix yang;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-  }
-  import org-openroadm-pm-types {
-    prefix org-openroadm-pm-types;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-  }
-  import org-openroadm-layerRate {
-    prefix org-openroadm-layerRate;
-  }
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of Threshold Crossing Alert types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping tca {
-    leaf id {
-      type string;
-      mandatory true;
-    }
-    container resource {
-      uses org-openroadm-resource:resource;
-    }
-    leaf granularity {
-      type org-openroadm-pm-types:pm-granularity;
-    }
-    leaf raiseTime {
-      type yang:date-and-time;
-      mandatory true;
-      config false;
-    }
-    container layerRate {
-      uses org-openroadm-layerRate:layer-rate;
-    }
-    leaf severity {
-      mandatory true;
-      type org-openroadm-common-types:severity;
-      description
-        "Severity of alarm. Based on X.733 perceived severity.";
-    }
-    leaf thresholdType {
-      mandatory false;
-      type enumeration {
-        enum "high" {
-          value 1;
-        }
-        enum "low" {
-          value 2;
-        }
-      }
-      description
-        "Threshold Crossed";
-    }
-    container thresholdMeasurement {
-      uses org-openroadm-pm-types:pm-measurement;
-    }
-  }
-
-  grouping potential-tca {
-    leaf lowThresholdValue {
-      mandatory false;
-      type uint64;
-    }
-    leaf highThresholdValue {
-      mandatory false;
-      type uint64;
-    }
-    uses tca;
-  }
-
-  container potential-tca-list {
-    list tca {
-      key "id";
-      uses potential-tca;
-    }
-  }
-  notification tca-notification {
-    uses tca;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-topology.yang b/tests/ordmodels_1.2.1/org-openroadm-topology.yang
deleted file mode 100644 (file)
index f616c6a..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-module org-openroadm-topology {
-  namespace "http://org/openroadm/topology";
-  prefix org-openroadm-topology;
-
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of topology.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping topology {
-    description
-      "Topology reports the individual hops along the service in the A to Z direction and Z to A directions.  This includes both ports internal to a device and those
-       at its edge that are available for externally connections. It includes both physical and logical ports.
-       Physical ports are ordered with the logical ports that run over them as follows:
-       a.\tOn ingress to a node/card, physical then logical
-       b.\tOn egress to a node/card, logical then physical";
-    list aToZ {
-      key "id";
-      leaf id {
-        description
-          "Unigue identifier for this topology component within this service";
-        type string;
-      }
-      uses hop;
-    }
-    list zToA {
-      key "id";
-      leaf id {
-        description
-          "Unigue identifier for this topology component within this service";
-        type string;
-      }
-      uses hop;
-    }
-  }
-
-  grouping hop {
-    leaf hop-type {
-      type enumeration {
-        enum "node-external" {
-          description
-            "The given resource is on the edge of the node, and used in relationships to resources outside of the node.";
-          value 1;
-        }
-        enum "node-internal" {
-          description
-            "The given resource is internally to the node";
-          value 2;
-        }
-      }
-    }
-    uses org-openroadm-resource:resource;
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-user-mgmt.yang b/tests/ordmodels_1.2.1/org-openroadm-user-mgmt.yang
deleted file mode 100644 (file)
index fb5fa6d..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-module org-openroadm-user-mgmt {
-  namespace "http://org/openroadm/user-mgmt";
-  prefix org-openroadm-user-mgmt;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of user managements.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      AT&T Intellectual Property.  All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      are permitted provided that the following conditions are met:
-
-      * Redistributions of source code must retain the above copyright notice, this
-        list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice,
-        this list of conditions and the following disclaimer in the documentation and/or
-        other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-        contributors may be used to endorse or promote products derived from this software
-        without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-      POSSIBILITY OF SUCH DAMAGE";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping user-profile {
-    list user {
-      key "name";
-      description
-        "The list of local users configured on this device.";
-      leaf name {
-        type string;
-        description
-          "The user name string identifying this entry.";
-      }
-      leaf password {
-        type string;
-        description
-          "The password for this entry. This shouldn't be in clear text";
-      }
-      leaf group {
-        type enumeration {
-          enum "sudo";
-        }
-        description
-          "The group to which the user is associated to.";
-      }
-    }
-  }
-
-  rpc chg-password {
-    input {
-      leaf currentPassword {
-        type string;
-        description
-          "provide the current password";
-        mandatory true;
-      }
-      leaf newPassword {
-        type string;
-        description
-          "provide a new password";
-        mandatory true;
-      }
-      leaf newPasswordConfirm {
-        type string;
-        description
-          "re-enter the new password ";
-        mandatory true;
-      }
-    }
-    output {
-      leaf status {
-        type enumeration {
-          enum "Successful" {
-            value 1;
-          }
-          enum "Failed" {
-            value 2;
-          }
-        }
-        mandatory true;
-        description
-          "Successful or Failed";
-      }
-      leaf status-message {
-        type string;
-        description
-          "Gives a more detailed reason for success / failure";
-      }
-    }
-  }
-}
diff --git a/tests/ordmodels_1.2.1/org-openroadm-wavelength-map.yang b/tests/ordmodels_1.2.1/org-openroadm-wavelength-map.yang
deleted file mode 100644 (file)
index 451cae6..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-module org-openroadm-wavelength-map {
-  namespace "http://org/openroadm/wavelength-map";
-  prefix org-openroadm-wavelength-map;
-
-  organization "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for mapping wavelength-number to center frequency and wavelength value.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     AT&T Intellectual Property.  All other rights reserved.
-
-     Redistribution and use in source and binary forms, with or without modification,
-     are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice, this
-       list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation and/or
-       other materials provided with the distribution.
-     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-       contributors may be used to endorse or promote products derived from this software
-       without specific prior written permission.
-
-     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-     POSSIBILITY OF SUCH DAMAGE.";
-
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping wavelength-map-g {
-    list wavelengths {
-      key "wavelength-number";
-      leaf wavelength-number {
-        type uint32;
-      }
-      config false;
-      leaf center-frequency {
-        type decimal64 {
-          fraction-digits 3;
-          range "191.350..196.100";
-        }
-        units "THz";
-        description
-          "Frequency of the transmit optical channel
-           Domain range:  191.350THz .. 196.100THz ";
-      }
-      leaf wavelength {
-        type decimal64 {
-          fraction-digits 2;
-          range "1528.77..1566.72";
-        }
-        units "nm";
-        description
-          "Lambda corresponding to transmit frequency
-           Domain range:  1528.72nm .. 1566.72nm ";
-      }
-    }
-  }
-}
diff --git a/tests/pom.xml b/tests/pom.xml
deleted file mode 100644 (file)
index 61bc633..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright Â© 2016 Orange and others. All rights reserved.
-
-This program and the accompanying materials are made available under the
-terms of the Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.opendaylight.odlparent</groupId>
-    <artifactId>odlparent</artifactId>
-    <version>4.0.10</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce</groupId>
-  <artifactId>stubs-aggregator</artifactId>
-  <version>0.4.0-SNAPSHOT</version>
-  <name>${project.artifactId}</name>
-  <packaging>pom</packaging>
-
-  <modules>
-    <module>stubmodels</module>
-    <module>stubpce</module>
-    <module>stubrenderer</module>
-  </modules>
-
-</project>
index 819281d6a62168400a50c131e80b01f2975deb07..b810543b37a8ebc049503e7110a78502b5e11629 100644 (file)
-<?xml version="1.0" encoding="utf-8"?>\r
-<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">\r
-  <org-openroadm-device xmlns="http://org/openroadm/device">\r
-    <info>\r
-      <node-id>ROADMB</node-id>\r
-      <node-number>2</node-number>\r
-      <node-type>rdm</node-type>\r
-      <clli>NodeB</clli>\r
-      <vendor>vendorA</vendor>\r
-      <model>2</model>\r
-      <serial-id>0002</serial-id>\r
-      <ipAddress>127.0.0.13</ipAddress>\r
-      <prefix-length>28</prefix-length>\r
-      <defaultGateway>127.0.0.20</defaultGateway>\r
-      <source>static</source>\r
-      <current-ipAddress>127.0.0.13</current-ipAddress>\r
-      <current-prefix-length>28</current-prefix-length>\r
-      <current-defaultGateway>127.0.0.20</current-defaultGateway>\r
-      <macAddress>bb:bb:bb:bb:bb:bb</macAddress>\r
-      <softwareVersion>1</softwareVersion>\r
-      <max-degrees>2</max-degrees>\r
-      <max-srgs>9</max-srgs>\r
-    </info>\r
-    <users>\r
-      <user>\r
-        <name>openroadm</name>\r
-        <password>openroadm</password>\r
-        <group>sudo</group>\r
-      </user>\r
-    </users>\r
-    <pending-sw>\r
-      <sw-version>1</sw-version>\r
-    </pending-sw>\r
-    <shelves>\r
-      <shelf-name>sdegE</shelf-name>\r
-      <shelf-type>pizza</shelf-type>\r
-      <rack>XYZ</rack>\r
-      <shelf-position>2</shelf-position>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>1</model>\r
-      <serial-id>00002</serial-id>\r
-      <product-code>xxxxx</product-code>\r
-      <clei>degE</clei>\r
-      <hardware-version>01</hardware-version>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <due-date>2016-10-25T09:00:00-00:00</due-date>\r
-      <slots>\r
-        <slot-name>0</slot-name>\r
-        <label>0</label>\r
-        <provisioned-circuit-pack>2/0</provisioned-circuit-pack>\r
-      </slots>\r
-    </shelves>\r
-    <shelves>\r
-      <shelf-name>sdegW</shelf-name>\r
-      <shelf-type>pizza</shelf-type>\r
-      <rack>XYZ</rack>\r
-      <shelf-position>3</shelf-position>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>1</model>\r
-      <serial-id>00003</serial-id>\r
-      <product-code>xxxxx</product-code>\r
-      <clei>degW</clei>\r
-      <hardware-version>01</hardware-version>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <due-date>2016-10-25T09:00:00-00:00</due-date>\r
-      <slots>\r
-        <slot-name>0</slot-name>\r
-        <label>0</label>\r
-        <provisioned-circuit-pack>3/0</provisioned-circuit-pack>\r
-      </slots>\r
-    </shelves>\r
-        <shelves>\r
-      <shelf-name>ssrg</shelf-name>\r
-      <shelf-type>pizza</shelf-type>\r
-      <rack>XYZ</rack>\r
-      <shelf-position>4</shelf-position>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>1</model>\r
-      <serial-id>00004</serial-id>\r
-      <product-code>xxxxx</product-code>\r
-      <clei>srgW</clei>\r
-      <hardware-version>01</hardware-version>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <due-date>2016-10-25T09:00:00-00:00</due-date>\r
-      <slots>\r
-        <slot-name>0</slot-name>\r
-        <label>0</label>\r
-        <provisioned-circuit-pack>4/0</provisioned-circuit-pack>\r
-      </slots>\r
-    </shelves>\r
-    <circuit-packs>\r
-      <circuit-pack-name>2/0</circuit-pack-name>\r
-      <circuit-pack-type>WSSDEG</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>WSS9</model>\r
-      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>\r
-      <clei>wss1</clei>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>2</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <cp-slots>\r
-        <slot-name>OSC-SLOT</slot-name>\r
-        <label>OSC-SLOT</label>\r
-        <provisioned-circuit-pack>2/0/OSC-PLUG</provisioned-circuit-pack>\r
-      </cp-slots>\r
-      <cp-slots>\r
-        <slot-name>ETH-PLUG</slot-name>\r
-        <label>ETH-PLUG</label>\r
-        <provisioned-circuit-pack>2/0/ETH-PLUG</provisioned-circuit-pack>\r
-      </cp-slots>\r
-      <ports>\r
-        <port-name>C1</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C2</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C3</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C4</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C5</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C6</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C7</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C8</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C9</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>L1</port-name>\r
-        <port-type>LINE</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG1-TTP-TXRX</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-35.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-9.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>14.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>21.82</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>LOG1</port-name>\r
-        <port-type>Logical</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-      <ports>\r
-        <port-name>OSC-DEMUX</port-name>\r
-        <port-type>OSC</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-    </circuit-packs>\r
-    <circuit-packs>\r
-      <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>\r
-      <circuit-pack-type>port</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>SFP/SFP+</model>\r
-      <serial-id>00000163600843</serial-id>\r
-      <product-code>oooooo</product-code>\r
-      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>\r
-      <clei>oscplug</clei>\r
-      <hardware-version>01</hardware-version>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>2</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <parent-circuit-pack>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <cp-slot-name>OSC-SLOT</cp-slot-name>\r
-      </parent-circuit-pack>\r
-      <ports>\r
-        <port-name>OSC-PORT</port-name>\r
-        <port-type>1GEX</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-    </circuit-packs>\r
-    <circuit-packs>\r
-      <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>\r
-      <circuit-pack-type>port</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>VENDORA</vendor>\r
-      <model>GIGAETHMGT</model>\r
-      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>\r
-      <clei>ETHE</clei>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>2</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <parent-circuit-pack>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <cp-slot-name>ETH-PLUG</cp-slot-name>\r
-      </parent-circuit-pack>\r
-      <ports>\r
-        <port-name>ETH-PLUG</port-name>\r
-        <port-type>1GEX</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-    </circuit-packs>\r
-    <circuit-packs>\r
-      <circuit-pack-name>3/0</circuit-pack-name>\r
-      <circuit-pack-type>WSSDEG</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>WSS9</model>\r
-      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>\r
-      <clei>wss2</clei>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>3</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <cp-slots>\r
-        <slot-name>OSC-SLOT</slot-name>\r
-        <label>OSC-SLOT</label>\r
-        <provisioned-circuit-pack>3/0/OSC-PLUG</provisioned-circuit-pack>\r
-      </cp-slots>\r
-      <cp-slots>\r
-        <slot-name>ETH-PLUG</slot-name>\r
-        <label>ETH-PLUG</label>\r
-        <provisioned-circuit-pack>3/0/ETH-PLUG</provisioned-circuit-pack>\r
-      </cp-slots>\r
-      <ports>\r
-        <port-name>C1</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C2</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C3</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C4</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C5</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C6</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C7</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C8</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C9</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>L1</port-name>\r
-        <port-type>LINE</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <circuit-id>1</circuit-id>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>DEG2-TTP-TXRX</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-35.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-9.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>14.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>21.82</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>LOG1</port-name>\r
-        <port-type>Logical</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-      <ports>\r
-        <port-name>OSC-DEMUX</port-name>\r
-        <port-type>OSC</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-    </circuit-packs>\r
-    <circuit-packs>\r
-      <circuit-pack-name>3/0/OSC-PLUG</circuit-pack-name>\r
-      <circuit-pack-type>port</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>SFP/SFP+</model>\r
-      <serial-id>00000163600843</serial-id>\r
-      <product-code>oooooo</product-code>\r
-      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>\r
-      <clei>oscplug</clei>\r
-      <hardware-version>01</hardware-version>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>3</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <parent-circuit-pack>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <cp-slot-name>OSC-SLOT</cp-slot-name>\r
-      </parent-circuit-pack>\r
-      <ports>\r
-        <port-name>OSC-PORT</port-name>\r
-        <port-type>1GEX</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-    </circuit-packs>\r
-    <circuit-packs>\r
-      <circuit-pack-name>3/0/ETH-PLUG</circuit-pack-name>\r
-      <circuit-pack-type>port</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>VENDORA</vendor>\r
-      <model>GIGAETHMGT</model>\r
-      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>\r
-      <clei>ETHW</clei>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>3</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <parent-circuit-pack>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <cp-slot-name>ETH-PLUG</cp-slot-name>\r
-      </parent-circuit-pack>\r
-      <ports>\r
-        <port-name>ETH-PLUG</port-name>\r
-        <port-type>1GEX</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-      </ports>\r
-    </circuit-packs>\r
-    <circuit-packs>\r
-      <circuit-pack-name>4/0</circuit-pack-name>\r
-      <circuit-pack-type>ADDDROP</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>16CX4D</model>\r
-      <clei>cccccccc</clei>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>4</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <ports>\r
-        <port-name>C1</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP1</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C10</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP10</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C11</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP11</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C12</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP12</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C13</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP13</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C14</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP14</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C15</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP15</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C16</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP16</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C2</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP2</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C3</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP3</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C4</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP4</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C5</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP5</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C6</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP6</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C7</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP7</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C8</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP8</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C9</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-PP9</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG1</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG2</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG3</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG4</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-    </circuit-packs>\r
-       <circuit-packs>\r
-      <circuit-pack-name>5/0</circuit-pack-name>\r
-      <circuit-pack-type>ADDDROP</circuit-pack-type>\r
-      <administrative-state>inService</administrative-state>\r
-      <vendor>vendorA</vendor>\r
-      <model>16CX4D</model>\r
-      <clei>cccccccc</clei>\r
-      <operational-state>inService</operational-state>\r
-      <equipment-state>not-reserved-available</equipment-state>\r
-      <circuit-pack-mode>NORMAL</circuit-pack-mode>\r
-      <shelf>4</shelf>\r
-      <slot>0</slot>\r
-      <subSlot>0</subSlot>\r
-      <ports>\r
-        <port-name>C1</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP1</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C10</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP10</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C11</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP11</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C12</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP12</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C13</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP13</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C14</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP14</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C15</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP15</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C16</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP16</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C2</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP2</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C3</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP3</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C4</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP4</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C5</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG5-PP5</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C6</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP6</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C7</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP7</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C8</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP8</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>C9</port-name>\r
-        <port-type>Client</port-type>\r
-        <port-qual>roadm-external</port-qual>\r
-        <port-wavelength-type>wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-PP9</logical-connection-point>\r
-        <roadm-port>\r
-          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>\r
-          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>\r
-          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>\r
-          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>\r
-        </roadm-port>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG1</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG2</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG3</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-      <ports>\r
-        <port-name>AD-DEG4</port-name>\r
-        <port-type>Edge</port-type>\r
-        <port-qual>roadm-internal</port-qual>\r
-        <port-wavelength-type>multi-wavelength</port-wavelength-type>\r
-        <port-direction>bidirectional</port-direction>\r
-        <administrative-state>inService</administrative-state>\r
-        <operational-state>inService</operational-state>\r
-        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>\r
-      </ports>\r
-    </circuit-packs>\r
-    <interface>\r
-      <name>oms-2/0/0/L1</name>\r
-      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:openROADMOpticalMultiplex</type>\r
-      <administrative-state>inService</administrative-state>\r
-      <operational-state>inService</operational-state>\r
-      <supporting-interface>ots-2/0/0/L1</supporting-interface>\r
-      <supporting-circuit-pack-name>2/0</supporting-circuit-pack-name>\r
-      <supporting-port>L1</supporting-port>\r
-    </interface>\r
-    <interface>\r
-      <name>oms-3/0/0/L1</name>\r
-      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:openROADMOpticalMultiplex</type>\r
-      <administrative-state>inService</administrative-state>\r
-      <operational-state>inService</operational-state>\r
-      <circuit-id>Link-1</circuit-id>\r
-      <supporting-interface>ots-3/0/0/L1</supporting-interface>\r
-      <supporting-circuit-pack-name>3/0</supporting-circuit-pack-name>\r
-      <supporting-port>L1</supporting-port>\r
-    </interface>\r
-    <interface>\r
-      <name>ots-2/0/0/L1</name>\r
-      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:opticalTransport</type>\r
-      <administrative-state>inService</administrative-state>\r
-      <operational-state>inService</operational-state>\r
-      <supporting-circuit-pack-name>2/0</supporting-circuit-pack-name>\r
-      <supporting-port>L1</supporting-port>\r
-      <ots xmlns="http://org/openroadm/optical-transport-interfaces">\r
-        <fiber-type>smf</fiber-type>\r
-        <span-loss-receive>10</span-loss-receive>\r
-        <span-loss-transmit>10</span-loss-transmit>\r
-      </ots>\r
-    </interface>\r
-    <interface>\r
-      <name>ots-3/0/0/L1</name>\r
-      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:opticalTransport</type>\r
-      <administrative-state>inService</administrative-state>\r
-      <operational-state>inService</operational-state>\r
-      <supporting-circuit-pack-name>3/0</supporting-circuit-pack-name>\r
-      <supporting-port>L1</supporting-port>\r
-      <ots xmlns="http://org/openroadm/optical-transport-interfaces">\r
-        <fiber-type>smf</fiber-type>\r
-        <span-loss-receive>25.0</span-loss-receive>\r
-        <span-loss-transmit>25.0</span-loss-transmit>\r
-      </ots>\r
-    </interface>\r
-    <interface>\r
-      <name>eth-2/0/ETH-PLUG</name>\r
-      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>\r
-      <administrative-state>inService</administrative-state>\r
-      <operational-state>inService</operational-state>\r
-      <supporting-circuit-pack-name>2/0/ETH-PLUG</supporting-circuit-pack-name>\r
-      <supporting-port>ETH-PLUG</supporting-port>\r
-      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">\r
-        <speed>1000</speed>\r
-        <duplex>full</duplex>\r
-        <mtu>1800</mtu>\r
-        <auto-negotiation>enabled</auto-negotiation>\r
-        <curr-speed>1000</curr-speed>\r
-        <curr-duplex>FULL</curr-duplex>\r
-      </ethernet>\r
-    </interface>\r
-    <interface>\r
-      <name>eth-3/0/ETH-PLUG</name>\r
-      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>\r
-      <administrative-state>inService</administrative-state>\r
-      <operational-state>inService</operational-state>\r
-      <supporting-circuit-pack-name>3/0/ETH-PLUG</supporting-circuit-pack-name>\r
-      <supporting-port>ETH-PLUG</supporting-port>\r
-      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">\r
-        <speed>1000</speed>\r
-        <duplex>full</duplex>\r
-        <mtu>1800</mtu>\r
-        <auto-negotiation>enabled</auto-negotiation>\r
-        <curr-speed>1000</curr-speed>\r
-        <curr-duplex>FULL</curr-duplex>\r
-      </ethernet>\r
-    </interface>\r
-    <protocols>\r
-      <lldp xmlns="http://org/openroadm/lldp">\r
-        <global-config>\r
-          <adminStatus>enable</adminStatus>\r
-          <msgTxInterval>20</msgTxInterval>\r
-          <msgTxHoldMultiplier>4</msgTxHoldMultiplier>\r
-        </global-config>\r
-        <port-config>\r
-          <ifName>eth-2/0/ETH-PLUG</ifName>\r
-          <adminStatus>txandrx</adminStatus>\r
-        </port-config>\r
-        <port-config>\r
-          <ifName>eth-3/0/ETH-PLUG</ifName>\r
-          <adminStatus>txandrx</adminStatus>\r
-        </port-config>\r
-        <nbr-list>\r
-          <if-name>\r
-            <ifName>eth-2/0/ETH-PLUG</ifName>\r
-            <remoteSysName>ROADMA</remoteSysName>\r
-            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>\r
-            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>\r
-            <remotePortIdSubType>ifalias</remotePortIdSubType>\r
-            <remotePortId>eth-3/0/ETH-PLUG</remotePortId>\r
-            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>\r
-            <remoteChassisId>1?</remoteChassisId>\r
-          </if-name>\r
-          <if-name>\r
-            <ifName>eth-3/0/ETH-PLUG</ifName>\r
-            <remoteSysName>ROADMC</remoteSysName>\r
-            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>\r
-            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>\r
-            <remotePortIdSubType>ifalias</remotePortIdSubType>\r
-            <remotePortId>eth-2/0/ETH-PLUG</remotePortId>\r
-            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>\r
-            <remoteChassisId>1?</remoteChassisId>\r
-          </if-name>\r
-        </nbr-list>\r
-      </lldp>\r
-    </protocols>\r
-    <wavelength-map>\r
-      <wavelengths>\r
-        <wavelength-number>1</wavelength-number>\r
-        <center-frequency>196.1</center-frequency>\r
-        <wavelength>1528.77</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>2</wavelength-number>\r
-        <center-frequency>196.05</center-frequency>\r
-        <wavelength>1529.16</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>3</wavelength-number>\r
-        <center-frequency>196.0</center-frequency>\r
-        <wavelength>1529.55</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>4</wavelength-number>\r
-        <center-frequency>195.95</center-frequency>\r
-        <wavelength>1529.94</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>5</wavelength-number>\r
-        <center-frequency>195.9</center-frequency>\r
-        <wavelength>1530.33</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>6</wavelength-number>\r
-        <center-frequency>195.85</center-frequency>\r
-        <wavelength>1530.72</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>7</wavelength-number>\r
-        <center-frequency>195.8</center-frequency>\r
-        <wavelength>1531.11</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>8</wavelength-number>\r
-        <center-frequency>195.75</center-frequency>\r
-        <wavelength>1531.5</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>9</wavelength-number>\r
-        <center-frequency>195.7</center-frequency>\r
-        <wavelength>1531.89</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>10</wavelength-number>\r
-        <center-frequency>195.65</center-frequency>\r
-        <wavelength>1532.28</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>11</wavelength-number>\r
-        <center-frequency>195.6</center-frequency>\r
-        <wavelength>1532.67</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>12</wavelength-number>\r
-        <center-frequency>195.55</center-frequency>\r
-        <wavelength>1533.06</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>13</wavelength-number>\r
-        <center-frequency>195.5</center-frequency>\r
-        <wavelength>1533.45</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>14</wavelength-number>\r
-        <center-frequency>195.45</center-frequency>\r
-        <wavelength>1533.84</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>15</wavelength-number>\r
-        <center-frequency>195.4</center-frequency>\r
-        <wavelength>1534.23</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>16</wavelength-number>\r
-        <center-frequency>195.35</center-frequency>\r
-        <wavelength>1534.62</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>17</wavelength-number>\r
-        <center-frequency>195.3</center-frequency>\r
-        <wavelength>1535.01</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>18</wavelength-number>\r
-        <center-frequency>195.25</center-frequency>\r
-        <wavelength>1535.4</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>19</wavelength-number>\r
-        <center-frequency>195.2</center-frequency>\r
-        <wavelength>1535.79</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>20</wavelength-number>\r
-        <center-frequency>195.15</center-frequency>\r
-        <wavelength>1536.18</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>21</wavelength-number>\r
-        <center-frequency>195.1</center-frequency>\r
-        <wavelength>1536.57</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>22</wavelength-number>\r
-        <center-frequency>195.05</center-frequency>\r
-        <wavelength>1536.96</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>23</wavelength-number>\r
-        <center-frequency>195.0</center-frequency>\r
-        <wavelength>1537.35</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>24</wavelength-number>\r
-        <center-frequency>194.95</center-frequency>\r
-        <wavelength>1537.74</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>25</wavelength-number>\r
-        <center-frequency>194.9</center-frequency>\r
-        <wavelength>1538.13</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>26</wavelength-number>\r
-        <center-frequency>194.85</center-frequency>\r
-        <wavelength>1538.52</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>27</wavelength-number>\r
-        <center-frequency>194.8</center-frequency>\r
-        <wavelength>1538.91</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>28</wavelength-number>\r
-        <center-frequency>194.75</center-frequency>\r
-        <wavelength>1539.3</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>29</wavelength-number>\r
-        <center-frequency>194.7</center-frequency>\r
-        <wavelength>1539.69</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>30</wavelength-number>\r
-        <center-frequency>194.65</center-frequency>\r
-        <wavelength>1540.08</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>31</wavelength-number>\r
-        <center-frequency>194.6</center-frequency>\r
-        <wavelength>1540.47</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>32</wavelength-number>\r
-        <center-frequency>194.55</center-frequency>\r
-        <wavelength>1540.86</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>33</wavelength-number>\r
-        <center-frequency>194.5</center-frequency>\r
-        <wavelength>1541.25</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>34</wavelength-number>\r
-        <center-frequency>194.45</center-frequency>\r
-        <wavelength>1541.64</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>35</wavelength-number>\r
-        <center-frequency>194.4</center-frequency>\r
-        <wavelength>1542.03</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>36</wavelength-number>\r
-        <center-frequency>194.35</center-frequency>\r
-        <wavelength>1542.42</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>37</wavelength-number>\r
-        <center-frequency>194.3</center-frequency>\r
-        <wavelength>1542.81</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>38</wavelength-number>\r
-        <center-frequency>194.25</center-frequency>\r
-        <wavelength>1543.2</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>39</wavelength-number>\r
-        <center-frequency>194.2</center-frequency>\r
-        <wavelength>1543.59</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>40</wavelength-number>\r
-        <center-frequency>194.15</center-frequency>\r
-        <wavelength>1543.98</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>41</wavelength-number>\r
-        <center-frequency>194.1</center-frequency>\r
-        <wavelength>1544.37</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>42</wavelength-number>\r
-        <center-frequency>194.05</center-frequency>\r
-        <wavelength>1544.76</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>43</wavelength-number>\r
-        <center-frequency>194.0</center-frequency>\r
-        <wavelength>1545.15</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>44</wavelength-number>\r
-        <center-frequency>193.95</center-frequency>\r
-        <wavelength>1545.54</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>45</wavelength-number>\r
-        <center-frequency>193.9</center-frequency>\r
-        <wavelength>1545.93</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>46</wavelength-number>\r
-        <center-frequency>193.85</center-frequency>\r
-        <wavelength>1546.32</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>47</wavelength-number>\r
-        <center-frequency>193.8</center-frequency>\r
-        <wavelength>1546.71</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>48</wavelength-number>\r
-        <center-frequency>193.75</center-frequency>\r
-        <wavelength>1547.1</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>49</wavelength-number>\r
-        <center-frequency>193.7</center-frequency>\r
-        <wavelength>1547.49</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>50</wavelength-number>\r
-        <center-frequency>193.65</center-frequency>\r
-        <wavelength>1547.88</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>51</wavelength-number>\r
-        <center-frequency>193.6</center-frequency>\r
-        <wavelength>1548.27</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>52</wavelength-number>\r
-        <center-frequency>193.55</center-frequency>\r
-        <wavelength>1548.66</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>53</wavelength-number>\r
-        <center-frequency>193.5</center-frequency>\r
-        <wavelength>1549.05</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>54</wavelength-number>\r
-        <center-frequency>193.45</center-frequency>\r
-        <wavelength>1549.44</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>55</wavelength-number>\r
-        <center-frequency>193.4</center-frequency>\r
-        <wavelength>1549.83</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>56</wavelength-number>\r
-        <center-frequency>193.35</center-frequency>\r
-        <wavelength>1550.22</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>57</wavelength-number>\r
-        <center-frequency>193.3</center-frequency>\r
-        <wavelength>1550.61</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>58</wavelength-number>\r
-        <center-frequency>193.25</center-frequency>\r
-        <wavelength>1551.0</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>59</wavelength-number>\r
-        <center-frequency>193.2</center-frequency>\r
-        <wavelength>1551.39</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>60</wavelength-number>\r
-        <center-frequency>193.15</center-frequency>\r
-        <wavelength>1551.78</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>61</wavelength-number>\r
-        <center-frequency>193.1</center-frequency>\r
-        <wavelength>1552.17</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>62</wavelength-number>\r
-        <center-frequency>193.05</center-frequency>\r
-        <wavelength>1552.56</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>63</wavelength-number>\r
-        <center-frequency>193.0</center-frequency>\r
-        <wavelength>1552.95</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>64</wavelength-number>\r
-        <center-frequency>192.95</center-frequency>\r
-        <wavelength>1553.34</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>65</wavelength-number>\r
-        <center-frequency>192.9</center-frequency>\r
-        <wavelength>1553.73</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>66</wavelength-number>\r
-        <center-frequency>192.85</center-frequency>\r
-        <wavelength>1554.12</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>67</wavelength-number>\r
-        <center-frequency>192.8</center-frequency>\r
-        <wavelength>1554.51</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>68</wavelength-number>\r
-        <center-frequency>192.75</center-frequency>\r
-        <wavelength>1554.9</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>69</wavelength-number>\r
-        <center-frequency>192.7</center-frequency>\r
-        <wavelength>1555.29</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>70</wavelength-number>\r
-        <center-frequency>192.65</center-frequency>\r
-        <wavelength>1555.68</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>71</wavelength-number>\r
-        <center-frequency>192.6</center-frequency>\r
-        <wavelength>1556.07</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>72</wavelength-number>\r
-        <center-frequency>192.55</center-frequency>\r
-        <wavelength>1556.46</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>73</wavelength-number>\r
-        <center-frequency>192.5</center-frequency>\r
-        <wavelength>1556.85</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>74</wavelength-number>\r
-        <center-frequency>192.45</center-frequency>\r
-        <wavelength>1557.24</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>75</wavelength-number>\r
-        <center-frequency>192.4</center-frequency>\r
-        <wavelength>1557.63</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>76</wavelength-number>\r
-        <center-frequency>192.35</center-frequency>\r
-        <wavelength>1558.02</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>77</wavelength-number>\r
-        <center-frequency>192.3</center-frequency>\r
-        <wavelength>1558.41</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>78</wavelength-number>\r
-        <center-frequency>192.25</center-frequency>\r
-        <wavelength>1558.8</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>79</wavelength-number>\r
-        <center-frequency>192.2</center-frequency>\r
-        <wavelength>1559.19</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>80</wavelength-number>\r
-        <center-frequency>192.15</center-frequency>\r
-        <wavelength>1559.58</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>81</wavelength-number>\r
-        <center-frequency>192.1</center-frequency>\r
-        <wavelength>1559.97</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>82</wavelength-number>\r
-        <center-frequency>192.05</center-frequency>\r
-        <wavelength>1560.36</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>83</wavelength-number>\r
-        <center-frequency>192.0</center-frequency>\r
-        <wavelength>1560.75</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>84</wavelength-number>\r
-        <center-frequency>191.95</center-frequency>\r
-        <wavelength>1561.14</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>85</wavelength-number>\r
-        <center-frequency>191.9</center-frequency>\r
-        <wavelength>1561.53</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>86</wavelength-number>\r
-        <center-frequency>191.85</center-frequency>\r
-        <wavelength>1561.92</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>87</wavelength-number>\r
-        <center-frequency>191.8</center-frequency>\r
-        <wavelength>1562.31</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>88</wavelength-number>\r
-        <center-frequency>191.75</center-frequency>\r
-        <wavelength>1562.7</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>89</wavelength-number>\r
-        <center-frequency>191.7</center-frequency>\r
-        <wavelength>1563.09</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>90</wavelength-number>\r
-        <center-frequency>191.65</center-frequency>\r
-        <wavelength>1563.48</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>91</wavelength-number>\r
-        <center-frequency>191.6</center-frequency>\r
-        <wavelength>1563.87</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>92</wavelength-number>\r
-        <center-frequency>191.55</center-frequency>\r
-        <wavelength>1564.26</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>93</wavelength-number>\r
-        <center-frequency>191.5</center-frequency>\r
-        <wavelength>1564.65</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>94</wavelength-number>\r
-        <center-frequency>191.45</center-frequency>\r
-        <wavelength>1565.04</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>95</wavelength-number>\r
-        <center-frequency>191.4</center-frequency>\r
-        <wavelength>1565.43</wavelength>\r
-      </wavelengths>\r
-      <wavelengths>\r
-        <wavelength-number>96</wavelength-number>\r
-        <center-frequency>191.35</center-frequency>\r
-        <wavelength>1565.82</wavelength>\r
-      </wavelengths>\r
-    </wavelength-map>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C1-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C2-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C3-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C4-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C5-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C6-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C7-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C8-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/C9-to-2/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C5</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C6</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C7</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C8</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>2/0/L1-to-2/0/C9</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C1-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C2-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C3-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C4-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C5-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C6-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C7-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C8-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/C9-to-3/0/L1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C5</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C6</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C7</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C8</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>3/0/L1-to-3/0/C9</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C1-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C1-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C1-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C1-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C2-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C2-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C2-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C2-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C3-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C3-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C3-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C3-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C4-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C4-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C4-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C4-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C5-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C5-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C5-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C5-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C6-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C6-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C6-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C6-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C7-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C7-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C7-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C7-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C8-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C8-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C8-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C8-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C9-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C9-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C9-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C9-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C10-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C10-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C10-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C10-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C11-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C11-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C11-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C11-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C12-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C12-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C12-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C12-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C13-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C13-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C13-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C13-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C14-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C14-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C14-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C14-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C15-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C15-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C15-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C15-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C16-to-4/0/ADD-DEG1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C16-to-4/0/ADD-DEG2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C16-to-4/0/ADD-DEG3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/C16-to-4/0/ADD-DEG4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C5</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C6</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C7</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C8</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C9</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C10</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C11</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C12</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C13</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C14</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C15</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG1-to-4/0/C16</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C5</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C6</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C7</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C8</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C9</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C10</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C11</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C12</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C13</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C14</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C15</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG2-to-4/0/C16</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C5</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C6</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C7</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C8</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C9</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C10</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C11</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C12</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C13</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C14</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C15</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG3-to-4/0/C16</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C1</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C2</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C3</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C4</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C5</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C6</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C7</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C8</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C9</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C10</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C11</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C12</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C13</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C14</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C15</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <internal-link>\r
-      <internal-link-name>4/0/ADD-DEG4-to-4/0/C16</internal-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </destination>\r
-    </internal-link>\r
-    <physical-link>\r
-      <physical-link-name>phylink-1</physical-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </destination>\r
-    </physical-link>\r
-    <physical-link>\r
-      <physical-link-name>phylink-2</physical-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </physical-link>\r
-    <physical-link>\r
-      <physical-link-name>phylink-3</physical-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </destination>\r
-    </physical-link>\r
-    <physical-link>\r
-      <physical-link-name>phylink-4</physical-link-name>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>ADD-DEG2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-    </physical-link>\r
-    <physical-link>\r
-      <physical-link-name>phylink-5</physical-link-name>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </physical-link>\r
-    <physical-link>\r
-      <physical-link-name>phylink-6</physical-link-name>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-    </physical-link>\r
-    <degree>\r
-      <degree-number>1</degree-number>\r
-      <max-wavelengths>96</max-wavelengths>\r
-      <circuit-packs>\r
-        <index>1</index>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-      </circuit-packs>\r
-      <circuit-packs>\r
-        <index>2</index>\r
-        <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>\r
-      </circuit-packs>\r
-      <circuit-packs>\r
-        <index>3</index>\r
-        <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>\r
-      </circuit-packs>\r
-      <connection-ports>\r
-        <index>1</index>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </connection-ports>\r
-    </degree>\r
-    <degree>\r
-      <degree-number>2</degree-number>\r
-      <max-wavelengths>96</max-wavelengths>\r
-      <circuit-packs>\r
-        <index>1</index>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-      </circuit-packs>\r
-      <circuit-packs>\r
-        <index>2</index>\r
-        <circuit-pack-name>3/0/OSC-PLUG</circuit-pack-name>\r
-      </circuit-packs>\r
-      <circuit-packs>\r
-        <index>3</index>\r
-        <circuit-pack-name>3/0/ETH-PLUG</circuit-pack-name>\r
-      </circuit-packs>\r
-      <connection-ports>\r
-        <index>1</index>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </connection-ports>\r
-    </degree>\r
-    <shared-risk-group>\r
-      <srg-number>1</srg-number>\r
-      <max-add-drop-ports>16</max-add-drop-ports>\r
-      <wavelengthDuplication>onePerSRG</wavelengthDuplication>\r
-      <circuit-packs>\r
-        <index>1</index>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-      </circuit-packs>\r
-    </shared-risk-group>\r
-       <shared-risk-group>\r
-      <srg-number>3</srg-number>\r
-      <max-add-drop-ports>16</max-add-drop-ports>\r
-      <wavelengthDuplication>onePerSRG</wavelengthDuplication>\r
-      <circuit-packs>\r
-        <index>1</index>\r
-        <circuit-pack-name>5/0</circuit-pack-name>\r
-      </circuit-packs>\r
-    </shared-risk-group>\r
-    <connection-map>\r
-      <connection-map-number>1</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>2</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>3</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>4</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>5</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>6</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>7</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>8</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>9</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>10</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>11</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>12</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>13</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>14</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>15</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>16</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>17</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>2/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>18</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>L1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </destination>\r
-      <destination>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>19</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C1</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>20</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C2</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>21</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C3</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>22</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C4</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>23</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C5</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>24</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C6</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>25</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C7</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>26</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C8</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>27</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C9</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>28</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C10</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>29</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C11</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>30</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C12</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>31</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C13</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>32</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C14</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>33</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C15</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-    <connection-map>\r
-      <connection-map-number>34</connection-map-number>\r
-      <source>\r
-        <circuit-pack-name>4/0</circuit-pack-name>\r
-        <port-name>C16</port-name>\r
-      </source>\r
-      <destination>\r
-        <circuit-pack-name>3/0</circuit-pack-name>\r
-        <port-name>E1</port-name>\r
-      </destination>\r
-    </connection-map>\r
-  </org-openroadm-device>\r
-</data>\r
+<?xml version="1.0" encoding="utf-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+    <info>
+      <node-id>ROADMB</node-id>
+      <node-number>2</node-number>
+      <node-type>rdm</node-type>
+      <clli>NodeB</clli>
+      <vendor>vendorA</vendor>
+      <model>2</model>
+      <serial-id>0002</serial-id>
+      <ipAddress>127.0.0.13</ipAddress>
+      <prefix-length>28</prefix-length>
+      <defaultGateway>127.0.0.20</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>127.0.0.13</current-ipAddress>
+      <current-prefix-length>28</current-prefix-length>
+      <current-defaultGateway>127.0.0.20</current-defaultGateway>
+      <macAddress>bb:bb:bb:bb:bb:bb</macAddress>
+      <softwareVersion>1</softwareVersion>
+      <max-degrees>2</max-degrees>
+      <max-srgs>9</max-srgs>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <pending-sw>
+      <sw-version>1</sw-version>
+    </pending-sw>
+    <shelves>
+      <shelf-name>sdegE</shelf-name>
+      <shelf-type>pizza</shelf-type>
+      <rack>XYZ</rack>
+      <shelf-position>2</shelf-position>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>1</model>
+      <serial-id>00002</serial-id>
+      <product-code>xxxxx</product-code>
+      <clei>degE</clei>
+      <hardware-version>01</hardware-version>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <due-date>2016-10-25T09:00:00-00:00</due-date>
+      <slots>
+        <slot-name>0</slot-name>
+        <label>0</label>
+        <provisioned-circuit-pack>2/0</provisioned-circuit-pack>
+      </slots>
+    </shelves>
+    <shelves>
+      <shelf-name>sdegW</shelf-name>
+      <shelf-type>pizza</shelf-type>
+      <rack>XYZ</rack>
+      <shelf-position>3</shelf-position>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>1</model>
+      <serial-id>00003</serial-id>
+      <product-code>xxxxx</product-code>
+      <clei>degW</clei>
+      <hardware-version>01</hardware-version>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <due-date>2016-10-25T09:00:00-00:00</due-date>
+      <slots>
+        <slot-name>0</slot-name>
+        <label>0</label>
+        <provisioned-circuit-pack>3/0</provisioned-circuit-pack>
+      </slots>
+    </shelves>
+        <shelves>
+      <shelf-name>ssrg</shelf-name>
+      <shelf-type>pizza</shelf-type>
+      <rack>XYZ</rack>
+      <shelf-position>4</shelf-position>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>1</model>
+      <serial-id>00004</serial-id>
+      <product-code>xxxxx</product-code>
+      <clei>srgW</clei>
+      <hardware-version>01</hardware-version>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <due-date>2016-10-25T09:00:00-00:00</due-date>
+      <slots>
+        <slot-name>0</slot-name>
+        <label>0</label>
+        <provisioned-circuit-pack>4/0</provisioned-circuit-pack>
+      </slots>
+    </shelves>
+    <circuit-packs>
+      <circuit-pack-name>2/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss1</clei>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>2/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>2/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C5</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C6</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C7</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C8</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C9</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-TTP-TXRX</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-35.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-9.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>14.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>21.82</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>LOG1</port-name>
+        <port-type>Logical</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+      <ports>
+        <port-name>OSC-DEMUX</port-name>
+        <port-type>OSC</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <parent-circuit-pack>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>VENDORA</vendor>
+      <model>GIGAETHMGT</model>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHE</clei>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <parent-circuit-pack>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>3/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss2</clei>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>3</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>3/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>3/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C5</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C6</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C7</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C8</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C9</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-TTP-TXRX</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-35.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-9.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>14.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>21.82</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>LOG1</port-name>
+        <port-type>Logical</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+      <ports>
+        <port-name>OSC-DEMUX</port-name>
+        <port-type>OSC</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>3/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>3</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <parent-circuit-pack>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>3/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>VENDORA</vendor>
+      <model>GIGAETHMGT</model>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHW</clei>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>3</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <parent-circuit-pack>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>4/0</circuit-pack-name>
+      <circuit-pack-type>ADDDROP</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>16CX4D</model>
+      <clei>cccccccc</clei>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>4</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP1</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C10</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP10</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C11</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP11</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C12</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP12</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C13</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP13</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C14</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP14</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C15</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP15</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C16</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP16</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP2</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP3</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP4</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C5</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP5</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C6</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP6</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C7</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP7</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C8</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP8</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C9</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-PP9</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>AD-DEG1</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>AD-DEG2</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>AD-DEG3</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>AD-DEG4</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>5/0</circuit-pack-name>
+      <circuit-pack-type>ADDDROP</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>16CX4D</model>
+      <clei>cccccccc</clei>
+      <operational-state>inService</operational-state>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>4</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP1</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C10</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP10</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C11</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP11</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C12</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP12</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C13</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP13</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C14</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP14</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C15</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP15</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C16</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP16</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP2</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP3</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP4</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C5</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG5-PP5</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C6</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP6</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C7</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP7</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C8</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP8</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>C9</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-PP9</logical-connection-point>
+        <roadm-port>
+          <port-power-capability-min-rx>-15.0</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-28.0</port-power-capability-min-tx>
+          <port-power-capability-max-rx>10.0</port-power-capability-max-rx>
+          <port-power-capability-max-tx>15.0</port-power-capability-max-tx>
+        </roadm-port>
+      </ports>
+      <ports>
+        <port-name>AD-DEG1</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>AD-DEG2</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>AD-DEG3</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>AD-DEG4</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>
+      </ports>
+    </circuit-packs>
+    <interface>
+      <name>oms-2/0/0/L1</name>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:openROADMOpticalMultiplex</type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <supporting-interface>ots-2/0/0/L1</supporting-interface>
+      <supporting-circuit-pack-name>2/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+    </interface>
+    <interface>
+      <name>oms-3/0/0/L1</name>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:openROADMOpticalMultiplex</type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <circuit-id>Link-1</circuit-id>
+      <supporting-interface>ots-3/0/0/L1</supporting-interface>
+      <supporting-circuit-pack-name>3/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+    </interface>
+    <interface>
+      <name>ots-2/0/0/L1</name>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:opticalTransport</type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <supporting-circuit-pack-name>2/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+      <ots xmlns="http://org/openroadm/optical-transport-interfaces">
+        <fiber-type>smf</fiber-type>
+        <span-loss-receive>10</span-loss-receive>
+        <span-loss-transmit>10</span-loss-transmit>
+      </ots>
+    </interface>
+    <interface>
+      <name>ots-3/0/0/L1</name>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:opticalTransport</type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <supporting-circuit-pack-name>3/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+      <ots xmlns="http://org/openroadm/optical-transport-interfaces">
+        <fiber-type>smf</fiber-type>
+        <span-loss-receive>25.0</span-loss-receive>
+        <span-loss-transmit>25.0</span-loss-transmit>
+      </ots>
+    </interface>
+    <interface>
+      <name>eth-2/0/ETH-PLUG</name>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <supporting-circuit-pack-name>2/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <mtu>1800</mtu>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+    </interface>
+    <interface>
+      <name>eth-3/0/ETH-PLUG</name>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <supporting-circuit-pack-name>3/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <mtu>1800</mtu>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+    </interface>
+    <protocols>
+      <lldp xmlns="http://org/openroadm/lldp">
+        <global-config>
+          <adminStatus>enable</adminStatus>
+          <msgTxInterval>20</msgTxInterval>
+          <msgTxHoldMultiplier>4</msgTxHoldMultiplier>
+        </global-config>
+        <port-config>
+          <ifName>eth-2/0/ETH-PLUG</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+        <port-config>
+          <ifName>eth-3/0/ETH-PLUG</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+        <nbr-list>
+          <if-name>
+            <ifName>eth-2/0/ETH-PLUG</ifName>
+            <remoteSysName>ROADMA</remoteSysName>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remotePortId>eth-3/0/ETH-PLUG</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remoteChassisId>1?</remoteChassisId>
+          </if-name>
+          <if-name>
+            <ifName>eth-3/0/ETH-PLUG</ifName>
+            <remoteSysName>ROADMC</remoteSysName>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remotePortId>eth-2/0/ETH-PLUG</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remoteChassisId>1?</remoteChassisId>
+          </if-name>
+        </nbr-list>
+      </lldp>
+    </protocols>
+    <wavelength-map>
+      <wavelengths>
+        <wavelength-number>1</wavelength-number>
+        <center-frequency>196.1</center-frequency>
+        <wavelength>1528.77</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>2</wavelength-number>
+        <center-frequency>196.05</center-frequency>
+        <wavelength>1529.16</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>3</wavelength-number>
+        <center-frequency>196.0</center-frequency>
+        <wavelength>1529.55</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>4</wavelength-number>
+        <center-frequency>195.95</center-frequency>
+        <wavelength>1529.94</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>5</wavelength-number>
+        <center-frequency>195.9</center-frequency>
+        <wavelength>1530.33</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>6</wavelength-number>
+        <center-frequency>195.85</center-frequency>
+        <wavelength>1530.72</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>7</wavelength-number>
+        <center-frequency>195.8</center-frequency>
+        <wavelength>1531.11</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>8</wavelength-number>
+        <center-frequency>195.75</center-frequency>
+        <wavelength>1531.5</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>9</wavelength-number>
+        <center-frequency>195.7</center-frequency>
+        <wavelength>1531.89</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>10</wavelength-number>
+        <center-frequency>195.65</center-frequency>
+        <wavelength>1532.28</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>11</wavelength-number>
+        <center-frequency>195.6</center-frequency>
+        <wavelength>1532.67</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>12</wavelength-number>
+        <center-frequency>195.55</center-frequency>
+        <wavelength>1533.06</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>13</wavelength-number>
+        <center-frequency>195.5</center-frequency>
+        <wavelength>1533.45</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>14</wavelength-number>
+        <center-frequency>195.45</center-frequency>
+        <wavelength>1533.84</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>15</wavelength-number>
+        <center-frequency>195.4</center-frequency>
+        <wavelength>1534.23</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>16</wavelength-number>
+        <center-frequency>195.35</center-frequency>
+        <wavelength>1534.62</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>17</wavelength-number>
+        <center-frequency>195.3</center-frequency>
+        <wavelength>1535.01</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>18</wavelength-number>
+        <center-frequency>195.25</center-frequency>
+        <wavelength>1535.4</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>19</wavelength-number>
+        <center-frequency>195.2</center-frequency>
+        <wavelength>1535.79</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>20</wavelength-number>
+        <center-frequency>195.15</center-frequency>
+        <wavelength>1536.18</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>21</wavelength-number>
+        <center-frequency>195.1</center-frequency>
+        <wavelength>1536.57</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>22</wavelength-number>
+        <center-frequency>195.05</center-frequency>
+        <wavelength>1536.96</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>23</wavelength-number>
+        <center-frequency>195.0</center-frequency>
+        <wavelength>1537.35</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>24</wavelength-number>
+        <center-frequency>194.95</center-frequency>
+        <wavelength>1537.74</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>25</wavelength-number>
+        <center-frequency>194.9</center-frequency>
+        <wavelength>1538.13</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>26</wavelength-number>
+        <center-frequency>194.85</center-frequency>
+        <wavelength>1538.52</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>27</wavelength-number>
+        <center-frequency>194.8</center-frequency>
+        <wavelength>1538.91</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>28</wavelength-number>
+        <center-frequency>194.75</center-frequency>
+        <wavelength>1539.3</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>29</wavelength-number>
+        <center-frequency>194.7</center-frequency>
+        <wavelength>1539.69</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>30</wavelength-number>
+        <center-frequency>194.65</center-frequency>
+        <wavelength>1540.08</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>31</wavelength-number>
+        <center-frequency>194.6</center-frequency>
+        <wavelength>1540.47</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>32</wavelength-number>
+        <center-frequency>194.55</center-frequency>
+        <wavelength>1540.86</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>33</wavelength-number>
+        <center-frequency>194.5</center-frequency>
+        <wavelength>1541.25</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>34</wavelength-number>
+        <center-frequency>194.45</center-frequency>
+        <wavelength>1541.64</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>35</wavelength-number>
+        <center-frequency>194.4</center-frequency>
+        <wavelength>1542.03</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>36</wavelength-number>
+        <center-frequency>194.35</center-frequency>
+        <wavelength>1542.42</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>37</wavelength-number>
+        <center-frequency>194.3</center-frequency>
+        <wavelength>1542.81</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>38</wavelength-number>
+        <center-frequency>194.25</center-frequency>
+        <wavelength>1543.2</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>39</wavelength-number>
+        <center-frequency>194.2</center-frequency>
+        <wavelength>1543.59</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>40</wavelength-number>
+        <center-frequency>194.15</center-frequency>
+        <wavelength>1543.98</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>41</wavelength-number>
+        <center-frequency>194.1</center-frequency>
+        <wavelength>1544.37</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>42</wavelength-number>
+        <center-frequency>194.05</center-frequency>
+        <wavelength>1544.76</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>43</wavelength-number>
+        <center-frequency>194.0</center-frequency>
+        <wavelength>1545.15</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>44</wavelength-number>
+        <center-frequency>193.95</center-frequency>
+        <wavelength>1545.54</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>45</wavelength-number>
+        <center-frequency>193.9</center-frequency>
+        <wavelength>1545.93</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>46</wavelength-number>
+        <center-frequency>193.85</center-frequency>
+        <wavelength>1546.32</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>47</wavelength-number>
+        <center-frequency>193.8</center-frequency>
+        <wavelength>1546.71</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>48</wavelength-number>
+        <center-frequency>193.75</center-frequency>
+        <wavelength>1547.1</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>49</wavelength-number>
+        <center-frequency>193.7</center-frequency>
+        <wavelength>1547.49</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>50</wavelength-number>
+        <center-frequency>193.65</center-frequency>
+        <wavelength>1547.88</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>51</wavelength-number>
+        <center-frequency>193.6</center-frequency>
+        <wavelength>1548.27</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>52</wavelength-number>
+        <center-frequency>193.55</center-frequency>
+        <wavelength>1548.66</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>53</wavelength-number>
+        <center-frequency>193.5</center-frequency>
+        <wavelength>1549.05</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>54</wavelength-number>
+        <center-frequency>193.45</center-frequency>
+        <wavelength>1549.44</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>55</wavelength-number>
+        <center-frequency>193.4</center-frequency>
+        <wavelength>1549.83</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>56</wavelength-number>
+        <center-frequency>193.35</center-frequency>
+        <wavelength>1550.22</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>57</wavelength-number>
+        <center-frequency>193.3</center-frequency>
+        <wavelength>1550.61</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>58</wavelength-number>
+        <center-frequency>193.25</center-frequency>
+        <wavelength>1551.0</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>59</wavelength-number>
+        <center-frequency>193.2</center-frequency>
+        <wavelength>1551.39</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>60</wavelength-number>
+        <center-frequency>193.15</center-frequency>
+        <wavelength>1551.78</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>61</wavelength-number>
+        <center-frequency>193.1</center-frequency>
+        <wavelength>1552.17</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>62</wavelength-number>
+        <center-frequency>193.05</center-frequency>
+        <wavelength>1552.56</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>63</wavelength-number>
+        <center-frequency>193.0</center-frequency>
+        <wavelength>1552.95</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>64</wavelength-number>
+        <center-frequency>192.95</center-frequency>
+        <wavelength>1553.34</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>65</wavelength-number>
+        <center-frequency>192.9</center-frequency>
+        <wavelength>1553.73</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>66</wavelength-number>
+        <center-frequency>192.85</center-frequency>
+        <wavelength>1554.12</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>67</wavelength-number>
+        <center-frequency>192.8</center-frequency>
+        <wavelength>1554.51</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>68</wavelength-number>
+        <center-frequency>192.75</center-frequency>
+        <wavelength>1554.9</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>69</wavelength-number>
+        <center-frequency>192.7</center-frequency>
+        <wavelength>1555.29</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>70</wavelength-number>
+        <center-frequency>192.65</center-frequency>
+        <wavelength>1555.68</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>71</wavelength-number>
+        <center-frequency>192.6</center-frequency>
+        <wavelength>1556.07</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>72</wavelength-number>
+        <center-frequency>192.55</center-frequency>
+        <wavelength>1556.46</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>73</wavelength-number>
+        <center-frequency>192.5</center-frequency>
+        <wavelength>1556.85</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>74</wavelength-number>
+        <center-frequency>192.45</center-frequency>
+        <wavelength>1557.24</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>75</wavelength-number>
+        <center-frequency>192.4</center-frequency>
+        <wavelength>1557.63</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>76</wavelength-number>
+        <center-frequency>192.35</center-frequency>
+        <wavelength>1558.02</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>77</wavelength-number>
+        <center-frequency>192.3</center-frequency>
+        <wavelength>1558.41</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>78</wavelength-number>
+        <center-frequency>192.25</center-frequency>
+        <wavelength>1558.8</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>79</wavelength-number>
+        <center-frequency>192.2</center-frequency>
+        <wavelength>1559.19</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>80</wavelength-number>
+        <center-frequency>192.15</center-frequency>
+        <wavelength>1559.58</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>81</wavelength-number>
+        <center-frequency>192.1</center-frequency>
+        <wavelength>1559.97</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>82</wavelength-number>
+        <center-frequency>192.05</center-frequency>
+        <wavelength>1560.36</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>83</wavelength-number>
+        <center-frequency>192.0</center-frequency>
+        <wavelength>1560.75</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>84</wavelength-number>
+        <center-frequency>191.95</center-frequency>
+        <wavelength>1561.14</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>85</wavelength-number>
+        <center-frequency>191.9</center-frequency>
+        <wavelength>1561.53</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>86</wavelength-number>
+        <center-frequency>191.85</center-frequency>
+        <wavelength>1561.92</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>87</wavelength-number>
+        <center-frequency>191.8</center-frequency>
+        <wavelength>1562.31</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>88</wavelength-number>
+        <center-frequency>191.75</center-frequency>
+        <wavelength>1562.7</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>89</wavelength-number>
+        <center-frequency>191.7</center-frequency>
+        <wavelength>1563.09</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>90</wavelength-number>
+        <center-frequency>191.65</center-frequency>
+        <wavelength>1563.48</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>91</wavelength-number>
+        <center-frequency>191.6</center-frequency>
+        <wavelength>1563.87</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>92</wavelength-number>
+        <center-frequency>191.55</center-frequency>
+        <wavelength>1564.26</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>93</wavelength-number>
+        <center-frequency>191.5</center-frequency>
+        <wavelength>1564.65</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>94</wavelength-number>
+        <center-frequency>191.45</center-frequency>
+        <wavelength>1565.04</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>95</wavelength-number>
+        <center-frequency>191.4</center-frequency>
+        <wavelength>1565.43</wavelength>
+      </wavelengths>
+      <wavelengths>
+        <wavelength-number>96</wavelength-number>
+        <center-frequency>191.35</center-frequency>
+        <wavelength>1565.82</wavelength>
+      </wavelengths>
+    </wavelength-map>
+    <internal-link>
+      <internal-link-name>2/0/C1-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C2-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C3-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C4-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C5-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C6-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C7-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C8-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/C9-to-2/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C1</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C2</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C3</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C4</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C5</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C6</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C7</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C8</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>2/0/L1-to-2/0/C9</internal-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C1-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C2-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C3-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C4-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C5-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C6-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C7-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C8-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/C9-to-3/0/L1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C1</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C2</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C3</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C4</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C5</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C6</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C7</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C8</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>3/0/L1-to-3/0/C9</internal-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C1-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C1-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C1-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C1-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C2-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C2-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C2-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C2-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C3-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C3-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C3-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C3-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C4-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C4-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C4-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C4-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C5-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C5-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C5-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C5-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C6-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C6-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C6-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C6-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C7-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C7-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C7-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C7-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C8-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C8-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C8-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C8-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C9-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C9-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C9-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C9-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C10-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C10-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C10-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C10-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C11-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C11-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C11-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C11-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C12-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C12-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C12-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C12-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C13-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C13-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C13-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C13-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C14-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C14-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C14-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C14-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C15-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C15-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C15-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C15-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C16-to-4/0/ADD-DEG1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C16-to-4/0/ADD-DEG2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C16-to-4/0/ADD-DEG3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/C16-to-4/0/ADD-DEG4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C5</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C6</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C7</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C8</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C9</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C10</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C11</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C12</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C13</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C14</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C15</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG1-to-4/0/C16</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C5</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C6</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C7</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C8</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C9</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C10</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C11</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C12</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C13</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C14</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C15</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG2-to-4/0/C16</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C5</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C6</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C7</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C8</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C9</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C10</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C11</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C12</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C13</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C14</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C15</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG3-to-4/0/C16</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C1</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C2</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C3</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C4</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C5</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C6</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C7</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C8</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C9</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C10</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C11</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C12</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C13</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C14</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C15</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </destination>
+    </internal-link>
+    <internal-link>
+      <internal-link-name>4/0/ADD-DEG4-to-4/0/C16</internal-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </destination>
+    </internal-link>
+    <physical-link>
+      <physical-link-name>phylink-1</physical-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </destination>
+    </physical-link>
+    <physical-link>
+      <physical-link-name>phylink-2</physical-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </physical-link>
+    <physical-link>
+      <physical-link-name>phylink-3</physical-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </destination>
+    </physical-link>
+    <physical-link>
+      <physical-link-name>phylink-4</physical-link-name>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>ADD-DEG2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </physical-link>
+    <physical-link>
+      <physical-link-name>phylink-5</physical-link-name>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </physical-link>
+    <physical-link>
+      <physical-link-name>phylink-6</physical-link-name>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+    </physical-link>
+    <degree>
+      <degree-number>1</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>3</index>
+        <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+    <degree>
+      <degree-number>2</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>3/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>3/0/OSC-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>3</index>
+        <circuit-pack-name>3/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+    <shared-risk-group>
+      <srg-number>1</srg-number>
+      <max-add-drop-ports>16</max-add-drop-ports>
+      <wavelengthDuplication>onePerSRG</wavelengthDuplication>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>4/0</circuit-pack-name>
+      </circuit-packs>
+    </shared-risk-group>
+    <shared-risk-group>
+      <srg-number>3</srg-number>
+      <max-add-drop-ports>16</max-add-drop-ports>
+      <wavelengthDuplication>onePerSRG</wavelengthDuplication>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>5/0</circuit-pack-name>
+      </circuit-packs>
+    </shared-risk-group>
+    <connection-map>
+      <connection-map-number>1</connection-map-number>
+      <source>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>2</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>3</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>4</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>5</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>6</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>7</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>8</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>9</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>10</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>11</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>12</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>13</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>14</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>15</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>16</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>17</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>18</connection-map-number>
+      <source>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </destination>
+      <destination>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>19</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>20</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C2</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>21</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>22</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C4</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>23</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C5</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>24</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C6</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>25</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C7</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>26</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C8</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>27</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C9</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>28</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C10</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>29</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C11</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>30</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C12</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>31</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C13</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>32</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C14</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>33</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C15</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>34</connection-map-number>
+      <source>
+        <circuit-pack-name>4/0</circuit-pack-name>
+        <port-name>C16</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>3/0</circuit-pack-name>
+        <port-name>E1</port-name>
+      </destination>
+    </connection-map>
+  </org-openroadm-device>
+</data>
index f100a50cd4c70dc07458401b144ff0e48788ecd8..0e2bd2cd432c441037d4a72aef02fa01e45ab231 100644 (file)
@@ -1,5 +1,5 @@
 [metadata]
-name = tansportpce-tests
+name = transportpce-tests
 home-page = https://wiki.opendaylight.org/view/TransportPCE:Main
 
 [files]
diff --git a/tests/stubmodels/pom.xml b/tests/stubmodels/pom.xml
deleted file mode 100644 (file)
index 3be0186..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright Â© 2016 Orange and others. All rights reserved.
-
-This program and the accompanying materials are made available under the
-terms of the Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.opendaylight.mdsal</groupId>
-    <artifactId>binding-parent</artifactId>
-    <version>3.0.8</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce</groupId>
-  <artifactId>transportpce-stubmodels</artifactId>
-  <version>0.4.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <dependencies>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-network</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-service</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-device</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>transportpce-api</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-  </dependencies>
-
-  <!--
-    Private references
-  -->
-  <build>
-     <plugins>
-       <plugin>
-         <groupId>org.apache.felix</groupId>
-         <artifactId>maven-bundle-plugin</artifactId>
-         <version>3.0.1</version>
-         <extensions>true</extensions>
-         <configuration>
-           <instructions>
-             <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
-             <_exportcontents>
-               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.transportpce.stubrenderer.rev170403.service.implementation.request.input,*
-             </_exportcontents>
-           </instructions>
-         </configuration>
-       </plugin>
-       <plugin>
-         <groupId>org.apache.maven.plugins</groupId>
-         <artifactId>maven-javadoc-plugin</artifactId>
-         <configuration>
-           <sourcepath>*/target/generated-sources/mdsal-binding/*</sourcepath>
-           <excludePackageNames>*</excludePackageNames>
-         </configuration>
-       </plugin>
-     </plugins>
-  </build>
-
-  <reporting>
-     <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <configuration>
-          <sourcepath>*/target/generated-sources/mdsal-binding/*</sourcepath>
-          <excludePackageNames>*</excludePackageNames>
-        </configuration>
-      </plugin>
-    </plugins>
-  </reporting>
-
-</project>
diff --git a/tests/stubmodels/src/main/yang/stubpce@2017-04-26.yang b/tests/stubmodels/src/main/yang/stubpce@2017-04-26.yang
deleted file mode 100644 (file)
index fb142ae..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-module stubpce {
-    yang-version 1;
-    namespace "http://org/opendaylight/transportpce/stubpce";
-    prefix "org-opendaylight-transportpce-stubpce";
-
-
-    import ietf-yang-types {
-        prefix yang;
-        revision-date 2013-07-15;
-    }
-    import transportpce-routing-constraints {
-        prefix transportpce-routing-constraints;
-        revision-date 2017-04-26;
-    }
-
-
-    import org-openroadm-common-service-types {
-        prefix org-openroadm-common-service-types;
-        revision-date 2016-10-14;
-    }
-
-    import org-openroadm-resource-types {
-        prefix org-openroadm-resource-types;
-        revision-date 2016-10-14;
-    }
-    import transportpce-common-service-path-types {
-        prefix transportpce-common-service-path-types;
-        revision-date 2017-04-26;
-    }
-    import transportpce-pathDescription {
-        prefix transportpce-pathDescription;
-        revision-date 2017-04-26;
-    }
-
-
-    organization
-        "transportPCE";
-      contact
-        "transportPCE committers - ODL";
-      description
-        "YANG definitions of stubrenderer services (transportPCE). Adapted from service path definition (openroadm).
-         Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
-
-        This model is derived from the OpenROADM service definition that includes the following notice:
-
-
-        openroadm copyright:
-          Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-          AT&T Intellectual Property.  All other rights reserved.
-
-          Redistribution and use in source and binary forms, with or without modification,
-          are permitted provided that the following conditions are met:
-
-          * Redistributions of source code must retain the above copyright notice, this
-            list of conditions and the following disclaimer.
-          * Redistributions in binary form must reproduce the above copyright notice,
-            this list of conditions and the following disclaimer in the documentation and/or
-            other materials provided with the distribution.
-          * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-            contributors may be used to endorse or promote products derived from this software
-            without specific prior written permission.
-
-          THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-          AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-          WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-          IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-          INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-          NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-          OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-          WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-          ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-          POSSIBILITY OF SUCH DAMAGE";
-
-
-      revision 2017-04-26 {
-          description
-            "Version 1.5";
-        }
-
-      rpc path-computation-request {
-        input {
-          leaf service-name {
-            type string;
-            description
-              "Identifier for the service to be created in
-               the ROADM network, e.g., CLFI, CLCI, etc. This is reported against the service, but may not get reflected in the service in the network.";
-            mandatory true;
-          }
-          leaf resource-reserve {
-              type boolean;
-              description
-                  "indicates if resources (from local PCE topology) must be reserved until further notice (cancel-resource-reserve or topology update)";
-              mandatory true;
-          }
-          uses transportpce-common-service-path-types:service-handler-header;
-          container service-a-end {
-            uses transportpce-common-service-path-types:service-endpoint-sp;
-          }
-          container service-z-end {
-            uses transportpce-common-service-path-types:service-endpoint-sp;
-          }
-          uses transportpce-routing-constraints:routing-constraints-sp;
-        }
-        output {
-          uses org-openroadm-common-service-types:configuration-response-common;
-          uses transportpce-common-service-path-types:response-parameters-sp;
-        }
-      }
-
-      rpc cancel-resource-reserve {
-          input {
-          leaf service-name {
-            type string;
-            mandatory true;
-          }
-          uses transportpce-common-service-path-types:service-handler-header;
-          }
-          output {
-          uses org-openroadm-common-service-types:configuration-response-common;
-          }
-      }
-
-      container service-path-list {
-          description
-            "List of service paths. Can only be created, deleted, modified, etc. using special RPCs.";
-          list service-paths {
-            key "service-path-name";
-            uses transportpce-common-service-path-types:service-path;
-          }
-        }
-
-        grouping stubpce-path-description {
-            leaf path-name {
-                type string;
-                description
-                  "Identifier for the pathDescription to be created in
-                   the ROADM network, e.g., CLFI, CLCI, etc.";
-                mandatory true;
-              }
-            uses transportpce-pathDescription:path-description;
-        }
-
-        container path-description-list {
-          description
-            "List of pathDescription. Can only be created, deleted, modified, etc. using special RPCs.";
-          list pathDescriptions {
-            key "path-name";
-            uses stubpce-path-description;
-          }
-        }
-
-      notification service-path-rpc-result {
-        description
-          "This Notification indicates result of  service RPC";
-        leaf notification-type {
-          type transportpce-common-service-path-types:service-path-notification-types;
-        }
-        container path-description {
-              uses transportpce-pathDescription:path-description;
-        }
-        uses transportpce-common-service-path-types:rpc-response-status-ex;
-        uses org-openroadm-common-service-types:service-notification-result;
-      }
-}
diff --git a/tests/stubmodels/src/main/yang/stubrenderer@2017-04-26.yang b/tests/stubmodels/src/main/yang/stubrenderer@2017-04-26.yang
deleted file mode 100644 (file)
index c1ded45..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-module stubrenderer {
-    yang-version 1;
-    namespace "http://org/opendaylight/transportpce/stubrenderer";
-    prefix "org-opendaylight-transportpce-stubrenderer";
-
-    import ietf-yang-types {
-        prefix yang;
-        revision-date 2013-07-15;
-    }
-    import transportpce-routing-constraints {
-        prefix transportpce-routing-constraints;
-        revision-date 2017-04-26;
-    }
-
-
-    import org-openroadm-common-service-types {
-        prefix org-openroadm-common-service-types;
-        revision-date 2016-10-14;
-    }
-
-    import org-openroadm-resource-types {
-        prefix org-openroadm-resource-types;
-        revision-date 2016-10-14;
-    }
-    import transportpce-common-service-path-types {
-        prefix transportpce-common-service-path-types;
-        revision-date 2017-04-26;
-    }
-    import transportpce-pathDescription {
-        prefix transportpce-pathDescription;
-        revision-date 2017-04-26;
-    }
-
-    import org-openroadm-topology {
-        prefix org-openroadm-topology;
-        revision-date 2016-10-14;
-    }
-
-
-    organization
-        "transportPCE";
-      contact
-        "transportPCE committers - ODL";
-      description
-        "YANG definitions of stubrenderer services (transportPCE). Adapted from service path definition (openroadm).
-         Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
-
-        This model is derived from the OpenROADM service definition that includes the following notice:
-
-
-        openroadm copyright:
-          Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-          AT&T Intellectual Property.  All other rights reserved.
-
-          Redistribution and use in source and binary forms, with or without modification,
-          are permitted provided that the following conditions are met:
-
-          * Redistributions of source code must retain the above copyright notice, this
-            list of conditions and the following disclaimer.
-          * Redistributions in binary form must reproduce the above copyright notice,
-            this list of conditions and the following disclaimer in the documentation and/or
-            other materials provided with the distribution.
-          * Neither the Members of the Open ROADM MSA Agreement nor the names of its
-            contributors may be used to endorse or promote products derived from this software
-            without specific prior written permission.
-
-          THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
-          AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-          WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-          IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
-          INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-          NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
-          OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-          WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-          ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-          POSSIBILITY OF SUCH DAMAGE";
-
-
-      revision 2017-04-26 {
-          description
-            "Version 1.5";
-        }
-
-      rpc service-implementation-request {
-          input {
-            leaf service-name {
-            type string;
-            description
-              "Identifier for the service to be created in
-               the ROADM network, e.g., CLFI, CLCI, etc. This is reported against the service, but may not get reflected in the service in the network.";
-            mandatory true;
-          }
-          uses transportpce-common-service-path-types:service-handler-header;
-          container service-a-end {
-            uses transportpce-common-service-path-types:service-endpoint-sp;
-          }
-          container service-z-end {
-            uses transportpce-common-service-path-types:service-endpoint-sp;
-          }
-          container path-description {
-              uses transportpce-pathDescription:path-description;
-          }
-          }
-          output {
-            uses org-openroadm-common-service-types:configuration-response-common;
-          }
-      }
-
-      rpc service-delete {
-          input {
-            leaf service-name {
-            type string;
-            description
-              "Identifier for the service to be created in
-               the ROADM network, e.g., CLFI, CLCI, etc. This is reported against the service, but may not get reflected in the service in the network.";
-            mandatory true;
-          }
-          uses transportpce-common-service-path-types:service-handler-header;
-          }
-          output {
-            uses org-openroadm-common-service-types:configuration-response-common;
-          }
-      }
-
-
-    notification service-rpc-result-sp {
-        description
-          "This Notification indicates result of  service RPC";
-        leaf notification-type {
-          type transportpce-common-service-path-types:service-path-notification-types;
-        }
-        container path-topology {
-              uses org-openroadm-topology:topology;
-        }
-        uses transportpce-common-service-path-types:rpc-response-status-ex;
-        uses org-openroadm-common-service-types:service-notification-result;
-      }
-}
diff --git a/tests/stubpce/pom.xml b/tests/stubpce/pom.xml
deleted file mode 100644 (file)
index 2263cd1..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
-Copyright Â© 2017 Orange and others. All rights reserved.
-
-This program and the accompanying materials are made available under the
-terms of the Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-
-Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.opendaylight.mdsal</groupId>
-    <artifactId>binding-parent</artifactId>
-    <version>3.0.8</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce</groupId>
-  <artifactId>transportpce-stubpce</artifactId>
-  <version>0.4.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <!-- Ajout Fakepce to add fakepce.xml to target/classes -->
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <additionalClasspathElements>
-            <additionalClasspathElement>src/main/resources</additionalClasspathElement>
-          </additionalClasspathElements>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>mdsal-artifacts</artifactId>
-        <version>1.9.1-SNAPSHOT</version>
-        <scope>import</scope>
-        <type>pom</type>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.netconf</groupId>
-        <artifactId>netconf-artifacts</artifactId>
-        <version>1.6.1-SNAPSHOT</version>
-        <scope>import</scope>
-        <type>pom</type>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>transportpce-api</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-network</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-service</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-device</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>transportpce-stubmodels</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.controller.model</groupId>
-      <artifactId>model-topology</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.netconf</groupId>
-      <artifactId>sal-netconf-connector</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.osgi</groupId>
-      <artifactId>org.osgi.core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-lang3</artifactId>
-    </dependency>
-
-    <!-- Testing Dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <!-- Ajout Fakepce -->
-    <dependency>
-        <groupId>com.fasterxml.jackson.dataformat</groupId>
-        <artifactId>jackson-dataformat-xml</artifactId>
-    </dependency>
-    <dependency>
-        <groupId>com.fasterxml.jackson.core</groupId>
-        <artifactId>jackson-core</artifactId>
-    </dependency>
-    <dependency>
-        <groupId>com.fasterxml.jackson.core</groupId>
-        <artifactId>jackson-annotations</artifactId>
-    </dependency>
-    <dependency>
-        <groupId>com.fasterxml.jackson.core</groupId>
-        <artifactId>jackson-databind</artifactId>
-    </dependency>
-    <dependency>
-        <groupId>com.fasterxml.jackson.module</groupId>
-        <artifactId>jackson-module-jaxb-annotations</artifactId>
-    </dependency>
-    <dependency>
-        <groupId>com.fasterxml.woodstox</groupId>
-        <artifactId>woodstox-core</artifactId>
-        <version>5.0.3</version>
-    </dependency>
-    <dependency>
-        <groupId>org.codehaus.woodstox</groupId>
-        <artifactId>stax2-api</artifactId>
-    </dependency>
-  </dependencies>
-</project>
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CheckCoherencyHardSoft.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CheckCoherencyHardSoft.java
deleted file mode 100644 (file)
index bae514f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce;
-
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing.constraints.sp.HardConstraints;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing.constraints.sp.SoftConstraints;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- *  Class to check coherency between hard and soft constraints.
- *  @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- *
- */
-public class CheckCoherencyHardSoft {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(CheckCoherencyHardSoft.class);
-    /** Hard Constraints. */
-    private HardConstraints hard;
-    /** Soft Constraints. */
-    private SoftConstraints soft;
-
-    public CheckCoherencyHardSoft(HardConstraints hard, SoftConstraints soft) {
-        this.hard = hard;
-        this.soft = soft;
-    }
-
-    /**
-     * function to check coherency between hard and soft constraints.
-     * @return  <code> true </code>  if coherent
-     *          <code> false </code> else
-     */
-    public boolean check() {
-        boolean result = false;
-        if (hard != null && soft != null) {
-            /**
-             * Check coherency with hard/soft constraints
-             * hard/soft include/exclude coherency
-             *
-             */
-        } else {
-            LOG.info("HardConstraints or/and  SoftConstraints is null !");
-            result = true;
-        }
-        return result;
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CompliancyCheck.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/CompliancyCheck.java
deleted file mode 100644 (file)
index ccbc5ea..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-
-package org.opendaylight.transportpce.stubpce;
-
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426.PathComputationRequestInput;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * Class to check RPCs Compliancy.
- *
- * @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
- *
- */
-public class CompliancyCheck {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(CompliancyCheck.class);
-    /** Response message from procedure. */
-    private String message;
-
-    private PathComputationRequestInput input;
-
-    public CompliancyCheck(PathComputationRequestInput prcInput) {
-        input = prcInput;
-    }
-
-    /**
-     * Check if a String is not
-     * null and not equal to ''.
-     *
-     * @param value String value
-     * @return  true  if String ok
-     *          false if not
-     */
-    public Boolean checkString(String value) {
-        Boolean result = false;
-        if ((value != null) && (value.compareTo("") != 0)) {
-            result = true;
-        }
-        return result;
-
-    }
-
-    /**
-     * check if service name
-     * or ServiceHandlerHeader
-     * is set in RPC request.
-     *
-     * @return true  if  settings is ok,
-     *          false if not
-     */
-    public Boolean check() {
-        Boolean result = true;
-        if (input != null) {
-            if (!checkString(input.getServiceName())) {
-                result = false;
-                message = "Service Name is not set";
-                LOG.debug(message);
-            } else {
-                if (!checkString(input.getServiceHandlerHeader().getRequestId())) {
-                    result = false;
-                    message = "ServiceHandlerHeader Request-ID  is not set";
-                    LOG.debug(message);
-                }
-            }
-        } else {
-            result = false;
-        }
-        return result;
-    }
-
-    public String getMessage() {
-        return message;
-    }
-
-
-    public void setMessage(String message) {
-        this.message = message;
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/LoggingFuturesCallBack.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/LoggingFuturesCallBack.java
deleted file mode 100644 (file)
index 7738ceb..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce;
-
-import com.google.common.util.concurrent.FutureCallback;
-import org.slf4j.Logger;
-
-/**
- * Class to log future logging from datastore actions (write, modify, delete..).
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         bealf of Orange
- */
-public class LoggingFuturesCallBack<V> implements FutureCallback<V> {
-
-    private Logger log;
-    private String message;
-
-    public LoggingFuturesCallBack(String message, Logger log) {
-        this.message = message;
-        this.log = log;
-    }
-
-    @Override
-    public void onFailure(Throwable ex) {
-        log.warn(message, ex);
-
-    }
-
-    @Override
-    public void onSuccess(V arg0) {
-        log.info("Success! {} ", arg0);
-
-    }
-
-}
\ No newline at end of file
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/MyEndpoint.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/MyEndpoint.java
deleted file mode 100644 (file)
index 87758df..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce;
-
-import java.util.Map;
-
-/**
- * Enum class to identify ServiceAEnd and serviceZEnd.
- *
- * @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
- *
- */
-enum MyEndpoint {
-    SERVICEAEND(1),
-    SERVICEZEND(2);
-
-    int value;
-    private static final Map<Integer, MyEndpoint> VALUE_MAP;
-
-    MyEndpoint(int value) {
-        this.value = value;
-    }
-
-    static {
-        final com.google.common.collect.ImmutableMap.Builder<java.lang.Integer, MyEndpoint> b =
-                com.google.common.collect.ImmutableMap.builder();
-        for (MyEndpoint enumItem : MyEndpoint.values()) {
-            b.put(enumItem.value, enumItem);
-        }
-
-        VALUE_MAP = b.build();
-    }
-
-    /**
-     * Get integer value.
-     *
-     * @return integer value.
-     */
-    public int getIntValue() {
-        return value;
-    }
-
-    /**
-     * Get Endpoint value.
-     *
-     * @param valueArg
-     *            Integer to identify Enum
-     * @return corresponding ServiceFormat item
-     */
-    public static MyEndpoint forValue(int valueArg) {
-        return VALUE_MAP.get(valueArg);
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/SendingPceRPCs.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/SendingPceRPCs.java
deleted file mode 100644 (file)
index 4d5b153..0000000
+++ /dev/null
@@ -1,911 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-
-package org.opendaylight.transportpce.stubpce;
-
-import com.google.common.base.Optional;
-import com.google.common.util.concurrent.Futures;
-import com.google.common.util.concurrent.ListenableFuture;
-import com.google.common.util.concurrent.ListeningExecutorService;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-import java.util.SortedSet;
-import java.util.TreeSet;
-import java.util.concurrent.Callable;
-import java.util.concurrent.ExecutionException;
-import java.util.concurrent.Future;
-import java.util.concurrent.TimeUnit;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
-import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.transportpce.stubpce.topology.PathDescriptionsOrdered;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.CancelResourceReserveInput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.PathComputationRequestInput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.PathDescriptionList;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.ServicePathList;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.path.description.list.PathDescriptions;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.list.ServicePaths;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.list.ServicePathsBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.list.ServicePathsKey;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.rpc.result.PathDescriptionBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.AToZDirection;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ZToADirection;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZ;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.Resource;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Link;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Node;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.TerminationPoint;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.General;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.general.Diversity;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.constraints.sp.co.routing.or.general.general.Exclude;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing.constraints.sp.HardConstraints;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev170426.routing.constraints.sp.SoftConstraints;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service.handler.header.ServiceHandlerHeaderBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service.path.ServiceAEnd;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service.path.ServiceZEnd;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class for Sending
- * PCE requests :
- * - path-computation-request
- * - cancel-resource-reserve.
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on behalf of Orange
- *
- */
-public class SendingPceRPCs {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(SendingPceRPCs.class);
-    private Boolean success;
-    private PathComputationRequestInput input;
-    private CancelResourceReserveInput cancelInput;
-    private PathDescriptionBuilder pathDescription;
-    private DataBroker db;
-    private String error;
-    private final ListeningExecutorService executor;
-    private List<ServicePaths> servicePathList;
-
-    public SendingPceRPCs() {
-        success = true;
-        setPathDescription(null);
-        setError("");
-        executor = null;
-        setServicePathList(new ArrayList<ServicePaths>());
-    }
-
-    public SendingPceRPCs(PathComputationRequestInput input,DataBroker databroker,ListeningExecutorService executor) {
-        success = true;
-        setPathDescription(null);
-        setInput(input);
-        setCancelInput(null);
-        setDb(databroker);
-        setError("");
-        servicePathList = readServicePathList();
-        this.executor = executor;
-    }
-
-    public SendingPceRPCs(CancelResourceReserveInput input,DataBroker databroker,ListeningExecutorService executor) {
-        success = true;
-        setPathDescription(null);
-        setInput(null);
-        setCancelInput(input);
-        setDb(databroker);
-        setError("");
-        servicePathList = readServicePathList();
-        this.executor = executor;
-    }
-
-    /**
-     * Compare AEnd and ZEnd resource Node to
-     * AEnd and ZEnd String.
-     *
-     * @param pathAend AEnd resource Node
-     * @param pathZend ZEnd resource Node
-     * @param inputAend AEnd String Node
-     * @param inputZend ZEnd String Node
-     * @return Boolean result true if equal, false if not
-     */
-    private Boolean comp(Resource pathAend, Resource pathZend, String inputAend, String inputZend) {
-        Boolean result = false;
-        if ((pathAend != null) && (pathZend != null) && (inputAend != null) && (inputZend != null)) {
-            if ((pathAend instanceof Node) && (pathZend instanceof Node)) {
-                Node aend = (Node) pathAend;
-                Node zend = (Node) pathZend;
-                if (aend.getNodeIdentifier().getNodeId().compareToIgnoreCase(inputAend) == 0) {
-                    if (zend.getNodeIdentifier().getNodeId().compareToIgnoreCase(inputZend) == 0) {
-                        result = true;
-                    }
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     * Compare two resource.
-     *
-     * @param res1 first resource
-     * @param res2 second resource
-     * @return Boolean result true if equal, false if not
-     */
-    private Boolean egalResource(Resource res1, Resource res2) {
-        LOG.info("comparing resource ...");
-        Boolean result = false;
-        LOG.info("{} - {}", res1.getClass().getName(), res2.getClass().getName());
-        if (res1.getClass().getName().compareToIgnoreCase(res2.getClass().getName()) == 0) {
-            if ((res1 instanceof Node) && (res2 instanceof Node)) {
-                Node node1 = (Node)res1;
-                Node node2 = (Node)res2;
-                if (node1.getNodeIdentifier().getNodeId()
-                        .compareTo(node2.getNodeIdentifier().getNodeId()) == 0) {
-                    result = true;
-                }
-            }
-            if ((res1 instanceof TerminationPoint) && (res2 instanceof TerminationPoint)) {
-                TerminationPoint tp1 = (TerminationPoint)res1;
-                TerminationPoint tp2 = (TerminationPoint)res2;
-                if (tp1.getTerminationPointIdentifier().getNodeId()
-                        .compareTo(tp2.getTerminationPointIdentifier().getNodeId()) == 0) {
-                    if (tp1.getTerminationPointIdentifier().getTpId()
-                            .compareTo(tp2.getTerminationPointIdentifier().getTpId()) == 0) {
-                        result = true;
-                    }
-                }
-            }
-            if ((res1 instanceof Link) && (res2 instanceof Link)) {
-                Link link1 = (Link)res1;
-                Link link2 = (Link)res2;
-                if (link1.getLinkIdentifier().getLinkId().compareTo(link2.getLinkIdentifier().getLinkId()) == 0) {
-                    result = true;
-                }
-
-            }
-        }
-        return result;
-    }
-
-    /**
-     *  compare two AtoZDirection.
-     *
-     * @param atoz1 first AToZDirection
-     * @param atoz2 second AToZDirection
-     * @return Boolean result true if equal, false if not
-     */
-    private Boolean egalAtoZDirection(AToZDirection atoz1, AToZDirection atoz2) {
-        LOG.info("comparing AtoZDirection ...");
-        Boolean result = true;
-        if (atoz1.getAToZ().size() == atoz2.getAToZ().size()) {
-            int index = 0;
-            int size = atoz1.getAToZ().size();
-            LOG.info("size : {}", size);
-            String id1 = null;
-            String id2 = null;
-            while (index < size) {
-                id1 = atoz1.getAToZ().get(index).getId();
-                LOG.info("id : {}", id1);
-                Resource res1 = atoz1.getAToZ().get(index).getResource().getResource();
-                LOG.info("res1 : {}", res1.toString());
-                Resource res2 = null;
-                if (id1 != null) {
-                    Boolean trouve = false;
-                    for (int loop = 0;loop < size;loop++) {
-                        id2 = atoz2.getAToZ().get(loop).getId();
-                        if ((id2 != null) && (id2.compareTo(id1) == 0)) {
-                            res2 = atoz2.getAToZ().get(loop).getResource().getResource();
-                            LOG.info("res2 : {}", res2.toString());
-                            trouve = true;
-                            break;
-                        }
-                    }
-                    if (trouve) {
-                        if (!egalResource(res1, res2)) {
-                            result = false;
-                            break;
-                        }
-                    }
-                } else {
-                    result = false;
-                    break;
-                }
-                index++;
-            }
-        } else {
-            LOG.info("AToZDirection size is not equal !");
-            result = false;
-        }
-        return result;
-    }
-
-    /**
-     *  compare two ZtoZDirection.
-     *
-     * @param ztoa1 first ZToZDirection
-     * @param ztoa2 second ZToZDirection
-     * @return Boolean result true if equal, false if not
-     */
-    private Boolean egalZtoADirection(ZToADirection ztoa1, ZToADirection ztoa2) {
-        LOG.info("comparing ZtoADirection ...");
-        Boolean result = true;
-        if (ztoa1.getZToA().size() == ztoa2.getZToA().size()) {
-            int index = 0;
-            int size = ztoa1.getZToA().size();
-            LOG.info("size : {}", size);
-            String id1 = null;
-            String id2 = null;
-            while (index < size) {
-                id1 = ztoa1.getZToA().get(index).getId();
-                LOG.info("id : {}", id1);
-                Resource res1 = ztoa1.getZToA().get(index).getResource().getResource();
-                LOG.info("res1 : {}", res1.toString());
-                Resource res2 = null;
-                if (id1 != null) {
-                    Boolean trouve = false;
-                    for (int loop = 0;loop < size;loop++) {
-                        id2 = ztoa2.getZToA().get(loop).getId();
-                        if ((id2 != null) && (id2.compareTo(id1) == 0)) {
-                            res2 = ztoa2.getZToA().get(loop).getResource().getResource();
-                            LOG.info("res2 : {}", res2.toString());
-                            trouve = true;
-                            break;
-                        }
-                    }
-                    if (trouve) {
-                        if (!egalResource(res1, res2)) {
-                            result = false;
-                            break;
-                        }
-                    }
-                } else {
-                    result = false;
-                    break;
-                }
-                index++;
-            }
-        } else {
-            result = false;
-        }
-        return result;
-    }
-
-    /**
-     * Test if resources Nodes
-     * not include in PathDescriptions.
-     *
-     * @param path PathDescriptions
-     * @param nodes Nodes List
-     * @return Boolean result true if found, false if not
-     */
-    private Boolean excludeNode(PathDescriptions path, List<String> nodes) {
-        LOG.info("Testing exclude Nodes ...");
-        Boolean result = false;
-        if ((path != null) && !nodes.isEmpty()) {
-            List<AToZ> list = path.getAToZDirection().getAToZ();
-            if (!list.isEmpty()) {
-                int index = 0;
-                boolean found = false;
-                while ((index < list.size()) && !found) {
-                    Resource res = list.get(index).getResource().getResource();
-                    if ((res != null) && (res instanceof Node)) {
-                        Node node = (Node) res;
-                        for (String exclude : nodes) {
-                            if (exclude.compareToIgnoreCase(node.getNodeIdentifier().getNodeId()) == 0) {
-                                LOG.info("Node not excluded !");
-                                found = true;
-                                break;
-                            }
-                        }
-                    }
-                    index++;
-                }
-                if (!found) {
-                    result = true;
-                }
-            }
-        } else {
-            LOG.info("exclude parameters not corrrect !");
-        }
-        return result;
-    }
-
-    /**
-     * check if existing services not
-     * in pathDescriptions.
-     *
-     *
-     * @param existingService existing service list
-     * @param path PathDescriptions
-     * @param choice 0:Nodes, 1:Clli, 2:Srlg
-     * @return Boolean result true if found, false if not
-     */
-    private Boolean diversityService(List<String> existingService, PathDescriptions path, int choice) {
-        LOG.info("Testing diversity ...");
-        Boolean result = false;
-        if ((path != null) && (choice >= 0) && !existingService.isEmpty()) {
-            int index = 0;
-            while (index < existingService.size()) {
-                String tmp = existingService.get(index);
-                if (tmp != null) {
-                    org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service
-                        .types.rev170426.service.path.PathDescription pathDesc = null;
-                    if ((servicePathList != null) && !servicePathList.isEmpty()) {
-                        for (ServicePaths service : servicePathList) {
-                            if (service.getServicePathName().compareTo(tmp) == 0) {
-                                LOG.info("Existing Service '{}' found in ServicePathList ...", tmp);
-                                pathDesc = service.getPathDescription();
-                            }
-                        }
-                    }
-                    if (pathDesc != null) {
-                        switch (choice) {
-                            case 0: //Nodes
-                                LOG.info("Checking Node existing-service-applicability ...");
-                                if (!egalAtoZDirection(path.getAToZDirection(), pathDesc.getAToZDirection())) {
-                                    result = true;
-                                    break;
-                                }
-                                break;
-                            case 1: //Clli
-                                LOG.info("Checking clli existing-service-applicability ...");
-                                break;
-
-                            case 2: //Srlg
-                                LOG.info("Checking srlg existing-service-applicability ...");
-
-                                break;
-                            default:
-                                break;
-                        }
-                    } else {
-                        LOG.info("Existing Service '{}' not found in ServicePathList !", tmp);
-                        result = true;
-                    }
-                    if (!result) {
-                        break;
-                    }
-                }
-                index++;
-            }
-        } else {
-            LOG.info("Diversity parameters not coherent !");
-        }
-        return result;
-    }
-
-    /**
-     * test if pathDescription
-     * already exists in ServicePathList.
-     *
-     * @param path PathDescriptions
-     * @return <code>Boolean</code> result
-     */
-    private Boolean testPathDescription(PathDescriptions path) {
-        LOG.info("Testing pathDescription ...");
-        Boolean result = false;
-        if (path != null) {
-            LOG.info("retrieving path from servicePath List ...");
-            try {
-                if (!servicePathList.isEmpty()) {
-                    LOG.info("ServicePathList not empty, contains {} paths.", servicePathList.size());
-                    for (ServicePaths service : servicePathList) {
-                        org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service
-                            .types.rev170426.service.path.PathDescription tmp = service.getPathDescription();
-                        if (tmp != null) {
-                            if ((path.getAToZDirection() != null) && (tmp.getAToZDirection() != null)
-                                    && egalAtoZDirection(path.getAToZDirection(), tmp.getAToZDirection())) {
-                                if ((path.getZToADirection() != null) && (tmp.getZToADirection() != null)
-                                        && egalZtoADirection(path.getZToADirection(), tmp.getZToADirection())) {
-                                    result = true;
-                                    LOG.info("Path already present in servicePath List");
-                                    break;
-                                } else {
-                                    LOG.info("ZtoADirection not equal or one of ZtoADirection is null!");
-                                    break;
-                                }
-                            } else {
-                                LOG.info("AtoZDirection not equal !");
-                                break;
-                            }
-
-                        }
-                    }
-                } else {
-                    LOG.info("ServicePathList is empty");
-                }
-            } catch (NullPointerException e) {
-                LOG.error("ServicePathList is empty");
-            }
-        } else {
-            LOG.info("PathDescriptions is null !");
-            result = true;
-        }
-        LOG.info("testPathDescription result : {}", result);
-        return result;
-    }
-
-    /**
-     * function to retrieve Paths based on
-     * AEnd and ZEnd.
-     *
-     * @param aendNodeId Aend Node Id
-     * @param zendNodeId Zend Node Id
-     * @return result PathDescriptions List
-     */
-    private List<PathDescriptions> retrievePath(String aendNodeId, String zendNodeId) {
-        List<PathDescriptions> result = new ArrayList<PathDescriptions>();
-        List<PathDescriptions> paths = readPathDescriptionList();
-        if (!paths.isEmpty() && (aendNodeId != null) && (zendNodeId != null)) {
-            LOG.info("retrieving paths from pathDescription List for {} / {}", aendNodeId, zendNodeId);
-            for (PathDescriptions tmp : paths) {
-                Resource pathAend = null;
-                Resource pathZend = null;
-                String id = null;
-                if (tmp != null) {
-                    LOG.info("Getting Aend & ZEnd from path '{}'...",tmp.getPathName());
-                    int index = 0;
-                    int size = tmp.getAToZDirection().getAToZ().size();
-                    while (index < size) {
-                        id = tmp.getAToZDirection().getAToZ().get(index).getId();
-                        if (id.compareToIgnoreCase("1") == 0) {
-                            Resource resource = tmp.getAToZDirection().getAToZ().get(index).getResource()
-                                    .getResource();
-                            LOG.info("{} : {}", resource.getClass().toString(), resource.toString());
-                            pathAend = resource;
-                            break;
-                        }
-                        index++;
-                    }
-                    index = 0;
-                    while (index < size) {
-                        id = tmp.getZToADirection().getZToA().get(index).getId();
-                        if (id.compareToIgnoreCase("1") == 0) {
-                            Resource resource = tmp.getZToADirection().getZToA().get(index).getResource()
-                                    .getResource();
-                            LOG.info(resource.toString());
-                            pathZend = resource;
-                            break;
-                        }
-                        index++;
-                    }
-                    if ((pathAend != null) && (pathZend != null)) {
-                        LOG.info("pathAend : {} - pathZend: {}",pathAend, pathZend);
-                        LOG.info("aendNodeId : {} - zendNodeId : {}", aendNodeId, zendNodeId);
-                        if (comp(pathAend, pathZend, aendNodeId, zendNodeId)) {
-                            LOG.info("PathDescription found !");
-                            result.add(tmp);
-                        }
-                    }
-                }
-            }
-        }
-        return result;
-    }
-
-
-    /**
-     * found Pathdescriptions with
-     * name containing an expression.
-     *
-     * @param pathdescr PathDescriptions List
-     * @param contain String expression
-     * @return PathDescriptionsOrdered List
-     */
-    private SortedSet<PathDescriptionsOrdered> foundpath(List<PathDescriptions> pathdescr, String contain) {
-        SortedSet<PathDescriptionsOrdered> result = new TreeSet<PathDescriptionsOrdered>();
-        ListIterator<PathDescriptions> it = pathdescr.listIterator();
-        int odr = 0;
-        while (it.hasNext()) {
-            PathDescriptions path = it.next();
-            String name = path.getPathName();
-            LOG.info("path  : {}", name);
-            if ((name != null) && name.contains(contain)) {
-                LOG.info("    path gets : {}", name);
-                String [] split = name.split("_");
-                if (split.length == 3) {
-                    odr = Integer.parseInt(split[2]);
-                    result.add(new PathDescriptionsOrdered(path, odr));
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     * order PathDescriptions List
-     * with first, ordered direct links
-     * and secondly ordered indirect
-     * links.
-     *
-     * @param pathdescr PathDescriptions List
-     * @return PathDescriptions List ordered
-     */
-    private List<PathDescriptions> orderPathdescriptionsList(List<PathDescriptions> pathdescr) {
-        SortedSet<PathDescriptionsOrdered> direct = new TreeSet<PathDescriptionsOrdered>();
-        SortedSet<PathDescriptionsOrdered> indirect = new TreeSet<PathDescriptionsOrdered>();
-        List<PathDescriptions> result = new ArrayList<PathDescriptions>();
-        int size = pathdescr.size();
-        if (size > 0) {
-            LOG.info("getting direct path first ...");
-            direct = foundpath(pathdescr, "_direct_");
-            LOG.info("getting indirect path first ...");
-            indirect = foundpath(pathdescr, "_indirect_");
-        }
-        if (direct.size() > 0) {
-            Iterator<PathDescriptionsOrdered> itset = direct.iterator();
-            while (itset.hasNext()) {
-                result.add(itset.next().getPathDescriptions());
-            }
-            if (indirect.size() > 0) {
-                Iterator<PathDescriptionsOrdered> itset2 = indirect.iterator();
-                while (itset2.hasNext()) {
-                    result.add(itset2.next().getPathDescriptions());
-                }
-            }
-
-        } else if (indirect.size() > 0) {
-            Iterator<PathDescriptionsOrdered> itset2 = indirect.iterator();
-            while (itset2.hasNext()) {
-                result.add(itset2.next().getPathDescriptions());
-            }
-        }
-        if (result.size() == pathdescr.size()) {
-            return result;
-        } else {
-            return null;
-        }
-    }
-
-    public ListenableFuture<Boolean> cancelResourceReserve() {
-        LOG.info("In cancelResourceReserve request ...");
-        setSuccess(false);
-        return executor.submit(new Callable<Boolean>() {
-            @Override
-            public Boolean call() throws Exception {
-                Boolean output = false;
-                if (cancelInput != null) {
-                    Boolean found = false;
-                    String name = cancelInput.getServiceName();
-                    if ((name != null) && !servicePathList.isEmpty()) {
-                        for (ServicePaths service : servicePathList) {
-                            if (name.compareTo(service.getServicePathName()) == 0) {
-                                LOG.info("ServicePaths found in ServicePathList !!!");
-                                found = true;
-                                break;
-                            }
-                        }
-                        if (found) {
-                            LOG.info("removing servicePaths from datastore ...");
-                            if (writeOrDeleteServicePathList(name,1)) {
-                                LOG.info("Service deleted !");
-                                setSuccess(true);
-                                output = true;
-                            } else {
-                                LOG.info("service deletion failed !");
-                            }
-                        }
-                    } else {
-                        LOG.info("serviceName is null or servicePathList is empty !");
-                    }
-                } else {
-                    LOG.info("cancelresourcereserveinput parameter not valid !");
-                }
-                return output;
-            }
-        });
-    }
-
-    public ListenableFuture<Boolean> pathComputation() {
-        LOG.info("In pathComputation request ...");
-        setSuccess(false);
-        return executor.submit(new Callable<Boolean>() {
-            @Override
-            public Boolean call() throws Exception {
-                Boolean output = false;
-                List<PathDescriptions> pathsList = new ArrayList<PathDescriptions>();
-                PathDescriptions path = null;
-                int index ;
-                Boolean constraints = false;
-                if (input != null) {
-                    HardConstraints inputHard = input.getHardConstraints();
-                    SoftConstraints inputSoft = input.getSoftConstraints();
-                    if ((inputHard != null) || (inputSoft != null)) {
-                        constraints = true;
-                    }
-                    path = null;
-                    pathsList =  retrievePath(input.getServiceAEnd().getNodeId(), input.getServiceZEnd()
-                            .getNodeId());
-                    index = 0;
-                    output = false;
-                    /** get pathList ordered. */
-                    pathsList = orderPathdescriptionsList(pathsList);
-                    if (!pathsList.isEmpty()) {
-                        LOG.info("{} Paths get from Pathdescription List", pathsList.size());
-                        index = 0;
-                        output = false;
-                        while (index < pathsList.size()) {
-                            path = pathsList.get(index);
-                            LOG.info("path n°{} gets : '{}'!", index, path.getPathName());
-                            if (constraints) {
-                                LOG.info("Calculating path with constraints ...");
-                                if (inputHard.getCoRoutingOrGeneral() instanceof General) {
-                                    General general = (General)inputHard.getCoRoutingOrGeneral();
-                                    if (general != null) {
-                                        Diversity diversity = general.getDiversity();
-                                        if (diversity != null) {
-                                            LOG.info("Getting diversity ...");
-                                            List<String> existingService = diversity.getExistingService();
-                                            if (existingService.size() > 0) {
-                                                LOG.info("Getting existing service applicability ...");
-                                                int choice = -1;
-                                                if ((choice < 0)
-                                                        && diversity.getExistingServiceApplicability().isNode()) {
-                                                    LOG.info("existing-service-applicability : Node");
-                                                    choice = 0;
-                                                }
-                                                if ((choice < 0)
-                                                        && diversity.getExistingServiceApplicability().isClli()) {
-                                                    LOG.info("existing-service-applicability : Clli");
-                                                    choice = 1;
-                                                }
-                                                if ((choice < 0)
-                                                        && diversity.getExistingServiceApplicability().isSrlg()) {
-                                                    LOG.info("existing-service-applicability : Srlg");
-                                                    choice = 2;
-                                                }
-                                                if (!diversityService(existingService, path, choice)) {
-                                                    error = "existing service applicability not satisfied";
-                                                    LOG.info(error);
-                                                    path = null;
-                                                }
-                                            }
-                                        }
-                                        Exclude exclude = general.getExclude();
-                                        if (exclude != null) {
-                                            LOG.info("Getting exclude ...");
-                                            if (!excludeNode(path, exclude.getNodeId())) {
-                                                error = "Exclude node constraints not satisfied !";
-                                                LOG.info(error);
-                                                path = null;
-                                            }
-                                        }
-                                    }
-                                }
-                            }
-                            if (!testPathDescription(path)) {
-                                LOG.info("Process finish !");
-                                output = true;
-                                break;
-                            }
-                            index++;
-                        }
-                    } else {
-                        LOG.info("failed to retrieve path from PathDescription List !");
-                    }
-                } else {
-                    LOG.info("pathComputationRequestInput parameter not valid !");
-                }
-                if (path != null) {
-                    LOG.info("Path ok !");
-                    pathDescription = new PathDescriptionBuilder()
-                            .setAToZDirection(path.getAToZDirection())
-                            .setZToADirection(path.getZToADirection());
-                    if (input.isResourceReserve()) {
-                        LOG.info("reserving pce resource ...");
-                        setPathDescription(pathDescription);
-                        if (writeOrDeleteServicePathList(input.getServiceName(), 0)) {
-                            LOG.info("write ServicePaths to datastore");
-                            setSuccess(true);
-                        } else {
-                            LOG.error("writing ServicePaths to datastore failed ! ");
-                        }
-                    } else {
-                        LOG.info("no pce resource reserve !");
-                        setSuccess(true);
-                    }
-                }
-                return output;
-            }
-        });
-    }
-
-
-    /**
-     * get all ServicePaths in ServicePathlist.
-     *
-     * @return <code>ServicePaths List</code>
-     */
-    private List<ServicePaths> readServicePathList() {
-        LOG.info("Reading ServicePathList ...");
-        List<ServicePaths> result = null;
-        ReadOnlyTransaction readTx = db.newReadOnlyTransaction();
-        InstanceIdentifier<ServicePathList> iid = InstanceIdentifier.create(ServicePathList.class);
-        Future<Optional<ServicePathList>> future = readTx.read(LogicalDatastoreType.OPERATIONAL,iid);
-        Optional<ServicePathList> optional = Optional.absent();
-        try {
-            optional = Futures.getChecked(future, ExecutionException.class, 60, TimeUnit.SECONDS);
-        } catch (ExecutionException e) {
-            LOG.error("Reading service failed:", e);
-        }
-        if (optional.isPresent()) {
-            LOG.info("ServicePath List present !");
-            result = optional.get().getServicePaths();
-        }
-        return result;
-    }
-
-
-    private List<PathDescriptions> readPathDescriptionList() {
-        LOG.info("Reading PathDescriptionsList ...");
-        List<PathDescriptions> result = null;
-        ReadOnlyTransaction readTx = db.newReadOnlyTransaction();
-        InstanceIdentifier<PathDescriptionList> iid = InstanceIdentifier.create(PathDescriptionList.class);
-        Future<Optional<PathDescriptionList>> future = readTx.read(LogicalDatastoreType.OPERATIONAL,iid);
-        Optional<PathDescriptionList> optional = Optional.absent();
-        try {
-            optional = Futures.getChecked(future, ExecutionException.class, 60, TimeUnit.SECONDS);
-        } catch (ExecutionException e) {
-            LOG.error("Reading service failed:", e);
-        }
-        if (optional.isPresent()) {
-            LOG.info("ServicePath List present !");
-            result = optional.get().getPathDescriptions();
-        }
-        return result;
-
-    }
-
-    /**
-     * Write or Delete ServicePaths
-     * for ServicePathList.
-     *
-     * @param serviceName Service Name
-     * @param choice 0 : write or 1 : delete
-     * @return Boolean result true if deleted, false if not
-     */
-    private Boolean writeOrDeleteServicePathList(String serviceName, int choice) {
-        Boolean result = null;
-        if ((serviceName != null) && (serviceName.compareTo(" ") != 0) && (choice >= 0) && (choice < 2)) {
-            LOG.info("WriteOrDeleting '{}' ServicePaths", serviceName);
-            WriteTransaction writeTx = db.newWriteOnlyTransaction();
-            result = true;
-            String action = null;
-            InstanceIdentifier<ServicePaths> iid = InstanceIdentifier.create(ServicePathList.class)
-                    .child(ServicePaths.class,new ServicePathsKey(serviceName));
-            Future<Void> future = null;
-            switch (choice) {
-                case 0: /** Write. */
-                    LOG.info("Writing '{}' Service", serviceName);
-                    org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service
-                        .path.PathDescriptionBuilder path = new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c
-                        ._interface.service.types.rev170426.service.path.PathDescriptionBuilder();
-                    if (pathDescription != null) {
-                        if (pathDescription.getAToZDirection() != null) {
-                            path.setAToZDirection(pathDescription.getAToZDirection());
-                        }
-                        if (pathDescription.getZToADirection() != null) {
-                            path.setZToADirection(pathDescription.getZToADirection());
-                        }
-                        LOG.info("pathdescription gets");
-                    }
-                    ServiceAEnd aend = new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c
-                            ._interface.service.types.rev170426.service.path.ServiceAEndBuilder(input.getServiceAEnd())
-                            .build();
-                    ServiceZEnd zend = new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c
-                            ._interface.service.types.rev170426.service.path.ServiceZEndBuilder(input.getServiceZEnd())
-                            .build();
-                    ServicePaths service = new ServicePathsBuilder()
-                            .setServicePathName(serviceName)
-                            .setServiceHandlerHeader(new ServiceHandlerHeaderBuilder()
-                                    .setRequestId(input.getServiceHandlerHeader().getRequestId()).build())
-                            .setServiceAEnd(aend)
-                            .setServiceZEnd(zend)
-                            .setHardConstraints(input.getHardConstraints())
-                            .setSoftConstraints(input.getSoftConstraints())
-                            .setPathDescription(path.build())
-                            .build();
-                    LOG.info("Servicepath build");
-                    writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, service);
-                    action = "write";
-                    //CheckedFuture<Void, OperationFailedException> future = transaction.submit();
-                    future = writeTx.submit();
-                    try {
-                        LOG.info("Sending '{}' command to datastore !", action);
-                        Futures.getChecked(future, ExecutionException.class);
-                    } catch (ExecutionException e) {
-                        LOG.error("Failed to {} service from Service List", action);
-                        result = false;
-                    }
-                    break;
-
-                case 1: /** Delete */
-                    LOG.info("Deleting '{}' Service", serviceName);
-                    writeTx.delete(LogicalDatastoreType.OPERATIONAL, iid);
-                    action = "delete";
-                    future = writeTx.submit();
-                    try {
-                        LOG.info("Sending '{}' command to datastore !", serviceName);
-                        Futures.getChecked(future, ExecutionException.class);
-                    } catch (ExecutionException e) {
-                        LOG.error("Failed to {} service from Service List", serviceName);
-                        result = false;
-                    }
-                    break;
-
-                default:
-                    LOG.info("No choice found");
-                    break;
-
-            }
-
-        } else {
-            LOG.info("Parameters not correct !");
-        }
-        return result;
-    }
-
-    public PathDescriptionBuilder getPathDescription() {
-        return pathDescription;
-    }
-
-    public void setPathDescription(PathDescriptionBuilder pathDescription) {
-        this.pathDescription = pathDescription;
-    }
-
-    public Boolean getSuccess() {
-        return success;
-    }
-
-    public void setSuccess(Boolean success) {
-        this.success = success;
-    }
-
-    public PathComputationRequestInput getInput() {
-        return input;
-    }
-
-    public void setInput(PathComputationRequestInput pathComputationRequestInput) {
-        this.input = pathComputationRequestInput;
-    }
-
-    public CancelResourceReserveInput getCancelInput() {
-        return cancelInput;
-    }
-
-    public void setCancelInput(CancelResourceReserveInput cancelResourceReserveInput) {
-        this.cancelInput = cancelResourceReserveInput;
-    }
-
-    public DataBroker getDb() {
-        return db;
-    }
-
-    public void setDb(DataBroker db) {
-        this.db = db;
-    }
-
-    public String getError() {
-        return error;
-    }
-
-    public void setError(String error) {
-        this.error = error;
-    }
-
-    public List<ServicePaths> getServicePathList() {
-        return servicePathList;
-    }
-
-    public void setServicePathList(List<ServicePaths> servicePathList) {
-        this.servicePathList = servicePathList;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceCompliancyCheck.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceCompliancyCheck.java
deleted file mode 100644 (file)
index 7353d96..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce;
-
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.ConnectionType;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service.handler.header.ServiceHandlerHeader;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class for checking service sdnc-request-header compliancy.
- *
- * @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
- *
- */
-public class StubpceCompliancyCheck {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(StubpceCompliancyCheck.class);
-    /** SdncRequestHeader. */
-    private ServiceHandlerHeader serviceHandlerHeader;
-    /** Service Name. */
-    private String serviceName;
-    /** Type of connection : service / infrastructure / roadm-line. */
-    private ConnectionType conType;
-    /** Response message from procedure. */
-    private String message;
-
-
-    public StubpceCompliancyCheck(String serviceName,ServiceHandlerHeader serviceHandlerHeader) {
-        this.serviceName = serviceName;
-        this.serviceHandlerHeader = serviceHandlerHeader;
-        this.setMessage("");
-    }
-
-    /**
-     * Check if a String is not null and not equal to void.
-     *
-     * @param value
-     *            String value
-     * @return true if String ok false if not
-     */
-    public Boolean checkString(String value) {
-        Boolean result = false;
-        if (value != null && value.compareTo("") != 0) {
-            result = true;
-        }
-        return result;
-
-    }
-
-    /**
-     * Check Compliancy of Service request.
-     *
-     * @param contype
-     *            Boolean to check connection Type
-     * @param servicehandler
-     *            Boolean to check sndcRequestHeader
-     *
-     * @return true if String ok false if not
-     */
-    public Boolean check(Boolean contype, Boolean servicehandler) {
-        Boolean result = true;
-        if (!checkString(serviceName)) {
-            result = false;
-            message = "Service Name is not set";
-            LOG.debug(message);
-        } else if (contype && conType == null) {
-            result = false;
-            message = "Service ConnectionType is not set";
-            LOG.debug(message);
-        }
-        if (servicehandler) {
-            if (serviceHandlerHeader != null) {
-                String requestId = serviceHandlerHeader.getRequestId();
-                if (!checkString(requestId)) {
-                    result = false;
-                    message = "Service serviceHandlerHeader 'request-id' is not set";
-                    LOG.debug(message);
-                }
-            } else {
-                result = false;
-                message = "Service serviceHandlerHeader is not set ";
-                LOG.debug(message);
-            }
-        }
-        return result;
-    }
-
-    public String getMessage() {
-        return message;
-    }
-
-    public void setMessage(String message) {
-        this.message = message;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceTxRxCheck.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/StubpceTxRxCheck.java
deleted file mode 100644 (file)
index a301900..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce;
-
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.ServiceFormat;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.service.lgx.Lgx;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.service.port.Port;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.ServiceEndpointSp;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service.endpoint.sp.RxDirection;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service.endpoint.sp.TxDirection;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class for checking missing info on Tx/Rx for A/Z end.
- *
- * @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
- */
-public class StubpceTxRxCheck {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(StubpceTxRxCheck.class);
-    /** ServiceEndpoint. */
-    private ServiceEndpointSp serviceEnd;
-    /** Response message from procedure. */
-    private String message;
-    /** type serviceEndpoint : serviceAEnd / serviceZEnd. */
-    private String service = null;
-
-    /**
-     * ServicehandlerTxRxCheck class constructor.
-     *
-     * @param endPoint
-     *            ServiceEndpoint
-     * @param value
-     *            Integer to define ServiceAEND/ZEND
-     */
-    public StubpceTxRxCheck(ServiceEndpointSp endPoint, int value) {
-        this.serviceEnd = endPoint;
-        this.setMessage("");
-        if (value > 0) {
-            service = MyEndpoint.forValue(value).name();
-        }
-    }
-
-    /**
-     * Check if a String is not null and not equal to ''.
-     *
-     * @param value
-     *            String value
-     * @return true if String ok false if not
-     */
-    public Boolean checkString(String value) {
-        Boolean result = false;
-        if (value != null && value.compareTo("") != 0) {
-            result = true;
-        }
-        return result;
-
-    }
-
-    /**
-     * check if Port info is compliant.
-     *
-     * @param port
-     *            port info
-     * @return true if String ok false if not
-     */
-    public Boolean checkPort(Port port) {
-        Boolean result = false;
-        if (port != null) {
-            String portDeviceName = port.getPortDeviceName();
-            String portType = port.getPortType();
-            String portName = port.getPortName();
-            String portRack = port.getPortRack();
-            String portShelf = port.getPortShelf();
-
-            if (checkString(portDeviceName) && checkString(portType) && checkString(portName) && checkString(portRack)
-                    && checkString(portShelf)) {
-                result = true;
-            }
-        }
-        return result;
-
-    }
-
-    /**
-     * Check if lgx info is compliant.
-     *
-     * @param lgx
-     *            lgx info
-     * @return true if String ok false if not
-     */
-    public Boolean checkLgx(Lgx lgx) {
-        Boolean result = false;
-        if (lgx != null) {
-            String lgxDeviceName = lgx.getLgxDeviceName();
-            String lgxPortName = lgx.getLgxPortName();
-            String lgxPortRack = lgx.getLgxPortRack();
-            String lgxPortShelf = lgx.getLgxPortShelf();
-            if (checkString(lgxDeviceName) && checkString(lgxPortName) && checkString(lgxPortRack)
-                    && checkString(lgxPortShelf)) {
-                result = true;
-            }
-        }
-        return result;
-    }
-
-    /**
-     * Check if Tx/Rx Direction complaincy info.
-     *
-     * @param txDirection
-     *            TxDirection
-     * @param rxDirection
-     *            RxDirection
-     *
-     * @return <code>true</code> if check is ok <code>false</code> else
-     */
-    public boolean checkTxOrRxInfo(TxDirection txDirection, RxDirection rxDirection) {
-        Boolean result = true;
-        if (txDirection != null) {
-            if (!checkPort(txDirection.getPort())) {
-                result = false;
-                message = "Service TxDirection Port is not correctly set";
-            } else if (rxDirection != null) {
-                if (!checkPort(rxDirection.getPort())) {
-                    result = false;
-                    message = "Service RxDirection Port is not correctly set";
-                }
-            } else {
-                result = false;
-                message = "Service RxDirection is not correctly set";
-            }
-        } else {
-            result = false;
-            message = "Service TxDirection is not correctly set";
-        }
-        return result;
-    }
-
-    /**
-     * Check Compliancy of Service TxRx info.
-     *
-     * @return true if String ok false if not
-     */
-    public Boolean check() {
-        Boolean result = true;
-        if (serviceEnd != null) {
-            Long serviceRate = serviceEnd.getServiceRate();
-            ServiceFormat serviceformat = serviceEnd.getServiceFormat();
-            String clli = serviceEnd.getClli();
-            if (serviceRate != null && serviceRate <= 0) {
-                result = false;
-                message = "Service " + service + " rate is not set";
-                LOG.info(message);
-            } else if (serviceformat == null) {
-                result = false;
-                message = "Service " + service + " format is not set";
-                LOG.info(message);
-            } else if (!checkString(clli)) {
-                result = false;
-                message = "Service" + service + " clli format is not set";
-                LOG.info(message);
-            } else {
-                if (!checkTxOrRxInfo(serviceEnd.getTxDirection(), serviceEnd.getRxDirection())) {
-                    result = false;
-                }
-            }
-        } else {
-            result = false;
-            message = service + " is not set";
-            LOG.info(message);
-        }
-        return result;
-
-    }
-
-    public static void main(String[] args) {
-
-    }
-
-    public String getMessage() {
-        return message;
-    }
-
-    public void setMessage(String message) {
-        this.message = message;
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/TpNodeTp.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/TpNodeTp.java
deleted file mode 100644 (file)
index ab7304b..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce;
-
-import java.util.ArrayList;
-import java.util.List;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZ;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZKey;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToA;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToABuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToAKey;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.Resource;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.ResourceBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Node;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.TerminationPoint;
-
-/**
- * Class to create structure
- * TerminationPoint
- * Node
- * TerminationPoint.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-public class TpNodeTp {
-    private TerminationPoint tpOut;
-    private TerminationPoint tpIn;
-    private Node node;
-    private List<Resource> resources;
-    private List<AToZ> atoz;
-    private List<ZToA> ztoa;
-    private List<String> ids;
-
-    /**
-     * TpNodeTp Constructor.
-     *
-     * @param in TerminationPoint input
-     * @param out TerminationPoint output
-     * @param node Node Id
-     */
-    public TpNodeTp(TerminationPoint in, TerminationPoint out, Node node) {
-        this.tpOut = out;
-        this.tpIn = in;
-        this.node = node;
-        this.resources = new ArrayList<Resource>();
-        this.atoz = new ArrayList<AToZ>();
-        this.ztoa = new ArrayList<ZToA>();
-        this.ids = new ArrayList<String>();
-
-    }
-
-    /**
-     * create resource List.
-     */
-    public void createListResource() {
-        this.ids.clear();
-        this.resources.clear();
-        this.atoz.clear();
-        this.ztoa.clear();
-
-        this.resources.add(new ResourceBuilder().setResource(this.tpIn).build());
-        this.ids.add(this.tpIn.getTerminationPointIdentifier().getNodeId().concat("-")
-                .concat(this.tpIn.getTerminationPointIdentifier().getTpId()));
-        this.resources.add(new ResourceBuilder().setResource(this.node).build());
-        this.ids.add(this.node.getNodeIdentifier().getNodeId());
-        this.resources.add(new ResourceBuilder().setResource(this.tpOut).build());
-        this.ids.add(this.tpOut.getTerminationPointIdentifier().getNodeId().concat("-")
-                .concat(this.tpOut.getTerminationPointIdentifier().getTpId()));
-    }
-
-    /**
-     * Create an hop in AtoZList.
-     * @param odr hop number
-     */
-    public void createAToZListHop(int odr) {
-        AToZ hop = null;
-        AToZKey atozKey = null;
-        createListResource();
-        for (Resource resource : this.resources) {
-            atozKey = new AToZKey(Integer.toString(odr));
-            resource = new ResourceBuilder().setResource(resource.getResource()).build();
-            hop = new AToZBuilder()
-                    .withKey(atozKey)
-                    .setResource(resource)
-                    .build();
-            this.atoz.add(hop);
-            odr++;
-        }
-    }
-
-    /**
-     * Create an hop in ZtoAList.
-     * @param odr hop number
-     */
-    public void createZToAListHop(int odr) {
-        ZToA hop = null;
-        ZToAKey ztoaKey = null;
-        createListResource();
-        for (Resource resource : this.resources) {
-            ztoaKey = new ZToAKey(Integer.toString(odr));
-            resource = new ResourceBuilder().setResource(resource.getResource()).build();
-            hop = new ZToABuilder()
-                    .withKey(ztoaKey)
-                    .setResource(resource)
-                    .build();
-            this.ztoa.add(hop);
-            odr++;
-        }
-    }
-
-    public TpNodeTp reverse() {
-        return new TpNodeTp(this.tpOut, this.tpIn, this.node);
-    }
-
-    @Override
-    public String toString() {
-        StringBuilder result = new StringBuilder("[ ");
-        result.append("tpIn : " + this.tpIn.getTerminationPointIdentifier().getTpId());
-        result.append(" - Node : " + this.node.getNodeIdentifier().getNodeId());
-        result.append(" - tpOut : " + this.tpOut.getTerminationPointIdentifier().getTpId());
-        result.append(" ]");
-        return result.toString();
-
-    }
-
-    public List<AToZ> getAToZ() {
-        return this.atoz;
-    }
-
-    public List<ZToA> getZToA() {
-        return this.ztoa;
-    }
-
-    public Node getNode() {
-        return this.node;
-    }
-
-    public TerminationPoint getTpIn() {
-        return this.tpIn;
-    }
-
-    public TerminationPoint getTpOut() {
-        return this.tpOut;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceImpl.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceImpl.java
deleted file mode 100644 (file)
index 6240693..0000000
+++ /dev/null
@@ -1,590 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.impl;
-
-import com.google.common.base.Optional;
-import com.google.common.util.concurrent.FutureCallback;
-import com.google.common.util.concurrent.Futures;
-import com.google.common.util.concurrent.ListenableFuture;
-import com.google.common.util.concurrent.ListeningExecutorService;
-import com.google.common.util.concurrent.MoreExecutors;
-import java.util.Iterator;
-import java.util.SortedSet;
-import java.util.concurrent.ExecutionException;
-import java.util.concurrent.Executors;
-import java.util.concurrent.Future;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
-import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.transportpce.stubpce.CheckCoherencyHardSoft;
-import org.opendaylight.transportpce.stubpce.SendingPceRPCs;
-import org.opendaylight.transportpce.stubpce.StubpceCompliancyCheck;
-import org.opendaylight.transportpce.stubpce.StubpceTxRxCheck;
-import org.opendaylight.transportpce.stubpce.topology.PathDescriptionsOrdered;
-import org.opendaylight.transportpce.stubpce.topology.SuperNodePath;
-import org.opendaylight.transportpce.stubpce.topology.Topology;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.CancelResourceReserveInput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.CancelResourceReserveOutput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.CancelResourceReserveOutputBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.PathComputationRequestInput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.PathComputationRequestOutput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.PathComputationRequestOutputBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.PathDescriptionList;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.PathDescriptionListBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.ServicePathList;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.ServicePathListBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.ServicePathRpcResult;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.ServicePathRpcResultBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.StubpceService;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.path.description.list.PathDescriptions;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.path.description.list.PathDescriptionsBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.path.description.list.PathDescriptionsKey;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.list.ServicePaths;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.list.ServicePathsBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.list.ServicePathsKey;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.service.path.rpc.result.PathDescriptionBuilder;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.configuration.response.common.ConfigurationResponseCommonBuilder;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.service.rev161014.ServiceList;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.service.rev161014.service.list.Services;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.service.rev161014.service.list.ServicesBuilder;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.service.rev161014.service.list.ServicesKey;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.RpcStatusEx;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.ServicePathNotificationTypes;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426.service.path.rpc.result.PathDescription;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class to implement StubpceService StubpceListener.
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-
-public class StubpceImpl implements StubpceService {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(StubpceImpl.class);
-    /** Permit to access database. */
-    private DataBroker db;
-    /** check service sdnc-request-header compliancy. */
-    private StubpceCompliancyCheck compliancyCheck;
-    /** check missing info on Tx/Rx for A/Z end. */
-    private StubpceTxRxCheck txrxCheck;
-    /** check coherency between hard and soft constraints. */
-    private CheckCoherencyHardSoft checkCoherencyHardSoft;
-    private NotificationPublishService notificationPublishService;
-    private ServicePathRpcResult notification;
-    private PathDescriptionBuilder pathDescriptionBuilder;
-    private SendingPceRPCs sendingPCE;
-    private final ListeningExecutorService executor = MoreExecutors
-            .listeningDecorator(Executors.newFixedThreadPool(10));
-
-    public StubpceImpl(NotificationPublishService notificationPublishService, DataBroker databroker) {
-        this.notificationPublishService = notificationPublishService;
-        this.db = databroker;
-        this.pathDescriptionBuilder = null;
-        if (initializePathDescriptionList(databroker)) {
-            fillPathDesciptionList();
-        }
-        initializeServicePathList(databroker);
-        /*if (initializeServicePathList(databroker)) {
-            fillServicePathList();
-        }*/
-    }
-
-    @Override
-    public ListenableFuture<RpcResult<CancelResourceReserveOutput>>
-            cancelResourceReserve(CancelResourceReserveInput input) {
-        LOG.info("RPC cancelResourceReserve  request received");
-        String message = "";
-        String responseCode = "";
-        ConfigurationResponseCommonBuilder configurationResponseCommon = null;
-        String serviceName = input.getServiceName();
-        LOG.info("serviceName : {}", serviceName);
-        if (serviceName != null) {
-            this.sendingPCE = new SendingPceRPCs(input,this.db,this.executor);
-            FutureCallback<Boolean> pceCallback = new FutureCallback<Boolean>() {
-                String message = "";
-                ServicePathRpcResult notification = null;
-
-                @Override
-                public void onFailure(Throwable arg0) {
-                    LOG.error("Cancel resource failed : {}", arg0);
-                    this.notification = new ServicePathRpcResultBuilder()
-                            .setNotificationType(ServicePathNotificationTypes.CancelResourceReserve)
-                            .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                            .setStatusMessage("Cancel resource request failed  : " + arg0.getMessage()).build();
-                    try {
-                        StubpceImpl.this.notificationPublishService.putNotification(this.notification);
-                    } catch (InterruptedException e) {
-                        LOG.info("notification offer rejected : {}", e);
-                    }
-                }
-
-                @Override
-                public void onSuccess(Boolean response) {
-                    LOG.info("response : {}", response);
-                    if (response) {
-                        this.message = "Resource cancelled !";
-                        this.notification = new ServicePathRpcResultBuilder()
-                                .setNotificationType(ServicePathNotificationTypes.CancelResourceReserve)
-                                .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Successful)
-                                .setStatusMessage(this.message)
-                                .build();
-                    } else {
-                        this.message = StubpceImpl.this.sendingPCE.getError();
-                        this.notification = new ServicePathRpcResultBuilder()
-                                .setNotificationType(ServicePathNotificationTypes.CancelResourceReserve)
-                                .setServiceName("")
-                                .setStatus(RpcStatusEx.Failed).setStatusMessage(this.message)
-                                .build();
-                        this.message = "Cancel request failed !";
-                    }
-                    LOG.info(this.notification.toString());
-                    try {
-                        StubpceImpl.this.notificationPublishService.putNotification(this.notification);
-                    } catch (InterruptedException e) {
-                        LOG.info("notification offer rejected : {}", e);
-                    }
-                    LOG.info(this.message);
-                }
-            };
-            ListenableFuture<Boolean> pce = this.sendingPCE.cancelResourceReserve();
-            Futures.addCallback(pce, pceCallback, this.executor);
-            LOG.info("Cancel Resource Request in progress ...");
-            configurationResponseCommon = new ConfigurationResponseCommonBuilder()
-                    .setAckFinalIndicator("No")
-                    .setRequestId(input.getServiceHandlerHeader().getRequestId())
-                    .setResponseMessage("Service compliant, Cancel resource request in progress...")
-                    .setResponseCode("200");
-
-            CancelResourceReserveOutputBuilder output = new CancelResourceReserveOutputBuilder()
-                    .setConfigurationResponseCommon(configurationResponseCommon.build());
-            return RpcResultBuilder.success(output.build()).buildFuture();
-        } else {
-            message = "serviceName / requestId is not correct !";
-            responseCode = "500";
-            this.notification = new ServicePathRpcResultBuilder()
-                    .setNotificationType(ServicePathNotificationTypes.CancelResourceReserve)
-                    .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                    .setStatusMessage(message).build();
-            try {
-                this.notificationPublishService.putNotification(this.notification);
-            } catch (InterruptedException e) {
-                LOG.info("notification offer rejected : {}", e);
-            }
-        }
-        configurationResponseCommon = new ConfigurationResponseCommonBuilder();
-        configurationResponseCommon.setAckFinalIndicator("Yes")
-        .setRequestId(input.getServiceHandlerHeader().getRequestId())
-        .setResponseMessage(message)
-        .setResponseCode(responseCode).build();
-        CancelResourceReserveOutputBuilder output = new CancelResourceReserveOutputBuilder();
-        output.setConfigurationResponseCommon(configurationResponseCommon.build());
-        return RpcResultBuilder.success(output.build()).buildFuture();
-    }
-
-    @Override
-    public ListenableFuture<RpcResult<PathComputationRequestOutput>>
-            pathComputationRequest(PathComputationRequestInput input) {
-        LOG.info("RPC pathcomputation request received");
-        String message = "";
-        String responseCode = "";
-        boolean coherencyHardSoft = false;
-        boolean commonId = true;
-        ConfigurationResponseCommonBuilder configurationResponseCommon = null;
-        this.compliancyCheck = new StubpceCompliancyCheck(input.getServiceName(), input.getServiceHandlerHeader());
-        if (this.compliancyCheck.check(false, true)) {
-            LOG.info("Service compliant !");
-            /**
-             * If compliant, service-request parameters are verified in order to
-             * check if there is no missing parameter that prevents calculating
-             * a path and implement a service.
-             */
-            LOG.info("checking Tx/Rx Info for AEnd ...");
-            this.txrxCheck = new StubpceTxRxCheck(input.getServiceAEnd(), 1);
-            if (this.txrxCheck.check()) {
-                LOG.info("Tx/Rx Info for AEnd checked !");
-                LOG.info("checking Tx/Rx Info for ZEnd ...");
-                this.txrxCheck = new StubpceTxRxCheck(input.getServiceZEnd(), 2);
-                if (this.txrxCheck.check()) {
-                    LOG.info("Tx/Rx Info for ZEnd checked !");
-                    /**
-                     * If OK, common-id is verified in order to see if there is
-                     * no routing policy provided. If yes, the routing
-                     * constraints of the policy are recovered and coherency
-                     * with hard/soft constraints provided in the input of the
-                     * RPC.
-                     */
-                    if ((input.getHardConstraints() != null) || (input.getSoftConstraints() != null)) {
-                        LOG.info("Constraints specified !");
-                        this.checkCoherencyHardSoft = new CheckCoherencyHardSoft(input.getHardConstraints(),
-                                input.getSoftConstraints());
-                        if (this.checkCoherencyHardSoft.check()) {
-                            LOG.info("hard/soft constraints coherent !");
-                            coherencyHardSoft = true;
-                        } else {
-                            LOG.info("hard/soft constraints are not coherent !");
-                            message = "hard/soft constraints are not coherent !";
-                            responseCode = "500";
-                        }
-                    } else {
-                        commonId = false;
-                    }
-                    if (!commonId || (commonId && coherencyHardSoft)) {
-                        this.notification = new ServicePathRpcResultBuilder()
-                                .setNotificationType(ServicePathNotificationTypes.PathComputationRequest)
-                                .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Pending)
-                                .setStatusMessage("Service compliant, submitting pathComputation Request ...").build();
-                        try {
-                            this.notificationPublishService.putNotification(this.notification);
-                        } catch (InterruptedException e) {
-                            LOG.info("notification offer rejected : {}", e);
-                        }
-                        this.sendingPCE = new SendingPceRPCs(input,this.db,this.executor);
-                        FutureCallback<Boolean> pceCallback = new FutureCallback<Boolean>() {
-                            String message = "";
-                            ServicePathRpcResult notification = null;
-
-                            @Override
-                            public void onFailure(Throwable arg0) {
-                                LOG.error("Failure message : {}", arg0.toString());
-                                LOG.error("Path calculation failed !");
-                                this.notification = new ServicePathRpcResultBuilder()
-                                        .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                                        .setStatusMessage("PCR Request failed  : " + arg0.getMessage()).build();
-                                try {
-                                    StubpceImpl.this.notificationPublishService.putNotification(this.notification);
-                                } catch (InterruptedException e) {
-                                    LOG.info("notification offer rejected : {}", e);
-                                }
-                            }
-
-                            @Override
-                            public void onSuccess(Boolean response) {
-                                LOG.info("response : {}", response);
-                                if (response) {
-                                    this.message = "Path Computated !";
-                                    ServicePathRpcResultBuilder tmp = new ServicePathRpcResultBuilder()
-                                            .setNotificationType(ServicePathNotificationTypes.PathComputationRequest)
-                                            .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Successful)
-                                            .setStatusMessage(this.message);
-                                    StubpceImpl.this.pathDescriptionBuilder =
-                                        StubpceImpl.this.sendingPCE.getPathDescription();
-                                    if (StubpceImpl.this.pathDescriptionBuilder != null) {
-                                        PathDescription pathDescription = new org.opendaylight.yang.gen.v1.http.org
-                                            .transportpce.b.c._interface.servicepath.rev170426.service.path
-                                            .rpc.result.PathDescriptionBuilder()
-                                            .setAToZDirection(
-                                                StubpceImpl.this.pathDescriptionBuilder.getAToZDirection())
-                                            .setZToADirection(
-                                                StubpceImpl.this.pathDescriptionBuilder.getZToADirection())
-                                            .build();
-                                        tmp.setPathDescription(new PathDescriptionBuilder()
-                                                .setAToZDirection(pathDescription.getAToZDirection())
-                                                .setZToADirection(pathDescription.getZToADirection())
-                                                .build());
-                                    }
-                                    this.notification = tmp.build();
-                                } else {
-                                    this.message = StubpceImpl.this.sendingPCE.getError();
-                                    this.notification = new ServicePathRpcResultBuilder()
-                                            .setNotificationType(ServicePathNotificationTypes.PathComputationRequest)
-                                            .setServiceName("")
-                                            .setStatus(RpcStatusEx.Failed).setStatusMessage(this.message)
-                                            .build();
-                                    this.message = "Path not calculated!";
-                                }
-                                try {
-                                    StubpceImpl.this.notificationPublishService.putNotification(this.notification);
-                                } catch (InterruptedException e) {
-                                    LOG.info("notification offer rejected : {}", e);
-                                }
-                                LOG.info(this.message);
-                            }
-                        };
-                        ListenableFuture<Boolean> pce = this.sendingPCE.pathComputation();
-                        Futures.addCallback(pce, pceCallback, this.executor);
-                        LOG.info("PathComputation Request in progress ...");
-                        configurationResponseCommon = new ConfigurationResponseCommonBuilder()
-                                .setAckFinalIndicator("No")
-                                .setRequestId(input.getServiceHandlerHeader().getRequestId())
-                                .setResponseMessage("Service compliant, Path calculating in progress...")
-                                .setResponseCode("200");
-
-                        PathComputationRequestOutputBuilder output = new PathComputationRequestOutputBuilder()
-                                .setConfigurationResponseCommon(configurationResponseCommon.build());
-                        return RpcResultBuilder.success(output.build()).buildFuture();
-                    }
-
-                } else {
-                    message = this.txrxCheck.getMessage();
-                    responseCode = "500";
-                }
-            } else {
-                message = this.txrxCheck.getMessage();
-                responseCode = "500";
-            }
-        } else {
-            message = this.compliancyCheck.getMessage();
-            responseCode = "500";
-            this.notification = new ServicePathRpcResultBuilder()
-                    .setNotificationType(ServicePathNotificationTypes.PathComputationRequest)
-                    .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                    .setStatusMessage("Service not compliant : " + message).build();
-            try {
-                this.notificationPublishService.putNotification(this.notification);
-            } catch (InterruptedException e) {
-                LOG.info("notification offer rejected : {}", e);
-            }
-        }
-        configurationResponseCommon = new ConfigurationResponseCommonBuilder();
-        configurationResponseCommon.setAckFinalIndicator("Yes")
-        .setRequestId(input.getServiceHandlerHeader().getRequestId())
-        .setResponseMessage(message)
-        .setResponseCode(responseCode).build();
-        PathComputationRequestOutputBuilder output = new PathComputationRequestOutputBuilder();
-        output.setConfigurationResponseCommon(configurationResponseCommon.build());
-        return RpcResultBuilder.success(output.build()).buildFuture();
-
-    }
-
-    /**
-     * Initialize PathDescriptionList Structure on DataStore.
-     *
-     * @param DataBroker
-     *            Access DataStore
-     */
-    private boolean initializePathDescriptionList(DataBroker dataBroker) {
-        Boolean result = true;
-        LOG.info("Preparing to initialize the PathDescription List");
-        WriteTransaction transaction = dataBroker.newWriteOnlyTransaction();
-        InstanceIdentifier<PathDescriptionList> iid = InstanceIdentifier.create(PathDescriptionList.class);
-        PathDescriptionList pathDescriptionList = new PathDescriptionListBuilder().build();
-        transaction.put(LogicalDatastoreType.OPERATIONAL, iid, pathDescriptionList);
-        Future<Void> future = transaction.submit();
-        try {
-            Futures.getChecked(future, ExecutionException.class);
-        } catch (ExecutionException e) {
-            LOG.error("Failed to create PathDescription List");
-            result = false;
-        }
-        return result;
-    }
-
-    /**
-     * Initialize ServicePathList Structure on DataStore.
-     *
-     * @param DataBroker
-     *            Access DataStore
-     * @return <code>true</code> if ok, <code>false</code> else
-     */
-    private boolean initializeServicePathList(DataBroker dataBroker) {
-        Boolean result = true;
-        LOG.info("Preparing to initialize the ServicePathList registry");
-        WriteTransaction transaction = dataBroker.newWriteOnlyTransaction();
-        InstanceIdentifier<ServicePathList> iid = InstanceIdentifier.create(ServicePathList.class);
-        ServicePathList servicePathList = new ServicePathListBuilder().build();
-        transaction.put(LogicalDatastoreType.OPERATIONAL, iid, servicePathList);
-        Future<Void> future = transaction.submit();
-        try {
-            Futures.getChecked(future, ExecutionException.class);
-        } catch (ExecutionException e) {
-            LOG.error("Failed to create ServicePathList List : {}", e.toString());
-            result = false;
-        }
-        return result;
-    }
-
-    /**
-     * fill PathDescriptionList
-     * with direct paths and
-     * indirect paths.
-     */
-    private void fillPathDesciptionList() {
-        LOG.info("filling PathDescription List...");
-        Topology topo = new Topology();
-        topo.start();
-        LOG.info("Network : {}", topo.getNetwork());
-        SuperNodePath superNodePath = new SuperNodePath(topo.getNetwork());
-        String aend = "NodeA";
-        String zend = "NodeZ";
-        superNodePath.run(aend, zend);
-        fill(superNodePath.getDirectPathDesc(aend, zend, superNodePath.getPaths()));
-        fill(superNodePath.getIndirectPathDesc(aend, zend, superNodePath.getPaths()));
-    }
-
-    /**
-     * fill datastore with
-     * Pathdescriptions List.
-     *
-     * @param sortedSet PathDescriptionsOrdered List
-     */
-    private void fill(SortedSet<PathDescriptionsOrdered> sortedSet) {
-        InstanceIdentifier<PathDescriptions> iid;
-        WriteTransaction writeTx;
-        Future<Void> future;
-        if (!sortedSet.isEmpty()) {
-            Iterator<PathDescriptionsOrdered> it = sortedSet.iterator();
-            while (it.hasNext()) {
-                PathDescriptions pathDesc = it.next().getPathDescriptions();
-                if (pathDesc != null) {
-                    iid = InstanceIdentifier.create(PathDescriptionList.class)
-                            .child(PathDescriptions.class, new PathDescriptionsKey(pathDesc.getPathName()));
-                    writeTx = this.db.newWriteOnlyTransaction();
-                    writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, pathDesc);
-                    future = writeTx.submit();
-                    try {
-                        Futures.getChecked(future, ExecutionException.class);
-                    } catch (ExecutionException e) {
-                        LOG.error("Failed to write PathDescriptions to PathDescriptionsList : {}", e.toString());
-                    }
-                } else {
-                    LOG.error("PathDescriptions gets is null !");
-                }
-            }
-        } else {
-            LOG.info("PathDescriptions List is empty !");
-        }
-    }
-
-    /**
-     * read Service from ServiceList DataStore.
-     *
-     * @param serviceName
-     *            Name of Service
-     *
-     * @return <code>Services</code>
-     */
-    @SuppressWarnings("unused")
-    private Services readServiceList(String serviceName) {
-        Services result = null;
-        ReadOnlyTransaction readTx = this.db.newReadOnlyTransaction();
-        InstanceIdentifier<Services> iid = InstanceIdentifier.create(ServiceList.class).child(Services.class,
-                new ServicesKey(serviceName));
-        Future<Optional<Services>> future = readTx.read(LogicalDatastoreType.OPERATIONAL,iid);
-        Optional<Services> optional = Optional.absent();
-        try {
-            optional = Futures.getChecked(future, ExecutionException.class);
-        } catch (ExecutionException e) {
-            LOG.error("Reading service failed:", e);
-        }
-        if (optional.isPresent()) {
-            LOG.debug("Service '{}' present !", serviceName);
-            result = new ServicesBuilder(optional.get()).build();
-        }
-        return result;
-    }
-
-    /**
-     * read ServicePath Service from ServicePathList DataStore.
-     *
-     * @param serviceName
-     *            Name of ServicePath
-     *
-     * @return <code>Services</code>
-     */
-    @SuppressWarnings("unused")
-    private ServicePaths readServicePathList(String serviceName) {
-        ServicePaths result = null;
-        ReadOnlyTransaction readTx = this.db.newReadOnlyTransaction();
-        InstanceIdentifier<ServicePaths> iid = InstanceIdentifier.create(ServicePathList.class)
-                .child(ServicePaths.class, new ServicePathsKey(serviceName));
-        Future<Optional<ServicePaths>> future = readTx.read(LogicalDatastoreType.OPERATIONAL,iid);
-        Optional<ServicePaths> optional = Optional.absent();
-        try {
-            optional = Futures.getChecked(future, ExecutionException.class);
-        } catch (ExecutionException e) {
-            LOG.error("Reading service failed:", e);
-        }
-        if (optional.isPresent()) {
-            LOG.debug("Service '{}' present !", serviceName);
-            result = new ServicePathsBuilder(optional.get()).build();
-        }
-        return result;
-    }
-
-    /**
-     * read PathDescription information from PathDescriptionList.
-     *
-     * @param pathName
-     *            Name of PathDescription
-     *
-     * @return <code>PathDescriptions</code>
-     */
-    @SuppressWarnings("unused")
-    private PathDescriptions readPathDescriptionList(String pathName) {
-        PathDescriptions result = null;
-        ReadOnlyTransaction readTx = this.db.newReadOnlyTransaction();
-        InstanceIdentifier<PathDescriptions> iid = InstanceIdentifier.create(PathDescriptionList.class)
-                .child(PathDescriptions.class, new PathDescriptionsKey(pathName));
-        Future<Optional<PathDescriptions>> future = readTx.read(LogicalDatastoreType.OPERATIONAL,iid);
-        Optional<PathDescriptions> optional = Optional.absent();
-        try {
-            optional = Futures.getChecked(future, ExecutionException.class);
-        } catch (ExecutionException e) {
-            LOG.error("Reading service failed:", e);
-        }
-        if (optional.isPresent()) {
-            LOG.debug("PathDescritions '{}' present !", pathName);
-            result = new PathDescriptionsBuilder(optional.get()).build();
-        }
-        return result;
-    }
-
-    /**
-     * register ServicePath Service to ServicePathList with PathDescription
-     * information.
-     *
-     * @param input
-     *            PathComputationRequestInput
-     * @return String operations result, null if ok or not otherwise
-     */
-    @SuppressWarnings("unused")
-    private String writeServicePathList(PathComputationRequestInput input) {
-        String serviceName = input.getServiceName();
-        LOG.debug("Write ServicePath '{}' Service", serviceName);
-        String result = null;
-        LOG.debug("Writing '{}' ServicePath", serviceName);
-        InstanceIdentifier<ServicePaths> iid = InstanceIdentifier.create(ServicePathList.class)
-                .child(ServicePaths.class, new ServicePathsKey(serviceName));
-
-        org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service
-            .path.PathDescriptionBuilder path = new org.opendaylight.yang.gen.v1.http.org.transportpce
-            .b.c._interface.service.types.rev170426.service.path.PathDescriptionBuilder();
-        path.setAToZDirection(this.pathDescriptionBuilder.getAToZDirection());
-        path.setZToADirection(this.pathDescriptionBuilder.getZToADirection());
-        ServicePaths service = new ServicePathsBuilder().setServicePathName(input.getServiceName())
-                .setSoftConstraints(input.getSoftConstraints()).setHardConstraints(input.getHardConstraints())
-                .setPathDescription(path.build()).build();
-        WriteTransaction writeTx = this.db.newWriteOnlyTransaction();
-        writeTx.put(LogicalDatastoreType.OPERATIONAL, iid, service);
-        Future<Void> future = writeTx.submit();
-        try {
-            Futures.getChecked(future, ExecutionException.class);
-            result = null;
-        } catch (ExecutionException e) {
-            LOG.error("Failed to write service to Service List");
-            result = "Failed to write service to Service List";
-        }
-        return result;
-    }
-
-    public PathDescriptionBuilder getPathDescriptionBuilder() {
-        return this.pathDescriptionBuilder;
-    }
-
-    public void setPathDescriptionBuilder(PathDescriptionBuilder pathDescriptionBuilder) {
-        this.pathDescriptionBuilder = pathDescriptionBuilder;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceProvider.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/impl/StubpceProvider.java
deleted file mode 100644 (file)
index 7377fa9..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-
-package org.opendaylight.transportpce.stubpce.impl;
-
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.NotificationService;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.StubpceListener;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.StubpceService;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class to register
- * Stubpce Service and Notification.
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on behalf of Orange
- *
- */
-public class StubpceProvider {
-    private static final Logger LOG = LoggerFactory.getLogger(StubpceProvider.class);
-    private final RpcProviderRegistry rpcRegistry;
-    private final NotificationPublishService notificationPublishService;
-    private final DataBroker dataBroker;
-
-
-    private BindingAwareBroker.RpcRegistration<StubpceService> rpcRegistration;
-    private ListenerRegistration<StubpceListener> stubPcelistenerRegistration;
-
-    public StubpceProvider(RpcProviderRegistry rpcProviderRegistry,final DataBroker dataBroker,
-            NotificationService notificationService, NotificationPublishService notificationPublishService) {
-        this.rpcRegistry = rpcProviderRegistry;
-        this.notificationPublishService = notificationPublishService;
-        this.dataBroker = dataBroker;
-    }
-
-    /**
-     * Method called when the blueprint container is created.
-     */
-    public void init() {
-        LOG.info("StubpceProvider Session Initiated");
-        final StubpceImpl consumer = new StubpceImpl(this.notificationPublishService,this.dataBroker);
-        this.rpcRegistration = this.rpcRegistry.addRpcImplementation(StubpceService.class, consumer);
-    }
-
-    /**
-     * Method called when the blueprint container is destroyed.
-     */
-    public void close() {
-        LOG.info("StubpceProvider Closed");
-        this.rpcRegistration.close();
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/InterNodePath.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/InterNodePath.java
deleted file mode 100644 (file)
index 861bc84..0000000
+++ /dev/null
@@ -1,556 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.google.common.collect.Lists;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.ListIterator;
-import org.opendaylight.transportpce.stubpce.TpNodeTp;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.AToZDirection;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.AToZDirectionBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ZToADirection;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ZToADirectionBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZ;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZKey;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToA;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToABuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToAKey;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.Resource;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.ResourceBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Link;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.LinkBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.TerminationPoint;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.link.LinkIdentifierBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * class to build all path between superNode elements
- * ( XPDR and ROADM).
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-
-public class InterNodePath {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(InterNodePath.class);
-    private SuperNode superNode;
-    private List<NodePath> nodepaths;
-    private List<AToZDirection> atoz;
-    private List<ZToADirection> ztoa;
-
-    /**
-     * InterNodePath constructor.
-     *
-     * @param supernode Supernode
-     */
-    public InterNodePath(SuperNode supernode) {
-        setSuperNode(supernode);
-        setNodepaths(new ArrayList<NodePath>());
-        setAtoz(new ArrayList<AToZDirection>());
-        setZtoa(new ArrayList<ZToADirection>());
-    }
-
-    /**
-     * build AToZdirection.
-     *
-     * @param paths <code>Path</code> List
-     */
-    private void getAToZDirection(List<Path> paths) {
-        int order = 0;
-        AToZDirectionBuilder atozDirection = new AToZDirectionBuilder();
-        List<AToZ> atozList = new ArrayList<AToZ>();
-        TpNodeTp tpNodeTp;
-        for (Path path : paths) {
-            tpNodeTp = path.getTpNodeTp();
-            tpNodeTp.createAToZListHop(order);
-            for (AToZ tmp : tpNodeTp.getAToZ()) {
-                atozList.add(tmp);
-                order++;
-            }
-            Link link = path.getLink();
-            AToZKey atozKey = new AToZKey(Integer.toString(order));
-            Resource resource = new ResourceBuilder().setResource(link).build();
-            AToZ hop = new AToZBuilder().setId(atozKey.getId()).withKey(atozKey).setResource(resource).build();
-            atozList.add(hop);
-            order++;
-        }
-        atozDirection.setRate((long) 100).setAToZWavelengthNumber((long) 200).setAToZ(atozList);
-        this.atoz.add(atozDirection.build());
-    }
-
-    /**
-     * build ZToAdirection.
-     *
-     * @param paths <code>Path</code> List
-     */
-    private void getZToADirection(List<Path> paths) {
-        int order = 0;
-        ZToADirectionBuilder ztoaDirection = new ZToADirectionBuilder();
-        List<ZToA> ztoaList = new ArrayList<ZToA>();
-        TpNodeTp tpNodeTp;
-        for (Path path : paths) {
-            tpNodeTp = path.getTpNodeTp();
-            tpNodeTp.createZToAListHop(order);
-            for (ZToA tmp : tpNodeTp.getZToA()) {
-                ztoaList.add(tmp);
-                order++;
-            }
-            Link link = path.getLink();
-            ZToAKey ztoaKey = new ZToAKey(Integer.toString(order));
-            Resource resource = new ResourceBuilder().setResource(link).build();
-            ZToA hop = new ZToABuilder().setId(ztoaKey.getId()).withKey(ztoaKey).setResource(resource).build();
-            ztoaList.add(hop);
-            order++;
-        }
-        ztoaDirection.setRate((long) 100).setZToAWavelengthNumber((long) 200).setZToA(ztoaList);
-        this.ztoa.add(ztoaDirection.build());
-    }
-
-    /**
-     * Build direction path
-     * for all Supernode elements.
-     *
-     * @param skip Boolean to specify an ROADM without XPDR
-     * @param nodeId Supernode element nodeId
-     * @param zend Supernode path ZEnd nodeId
-     */
-    public void build(Boolean skip, String nodeId,String zend) {
-        LOG.info("Building direction ...");
-        if (skip) {
-            buildDegToDeg(false);
-            buildDegToDeg(true);
-        } else {
-            boolean reverse = false;
-            if (nodeId.contains(zend)) {
-                reverse = true;
-            }
-            NodePath xpdr = null;
-            NodePath srg = null;
-            NodePath deg1 = null;
-            NodePath deg2 = null;
-            for (NodePath node : this.nodepaths) {
-                //LOG.info(node.toString());
-                String id = node.getNodeId();
-                if (id.contains("XPDR")) {
-                    xpdr = node;
-                }
-                if (id.contains("SRG")) {
-                    srg = node;
-                }
-                if (id.contains("DEG1")) {
-                    deg1 = node;
-                }
-                if (id.contains("DEG2")) {
-                    deg2 = node;
-                }
-            }
-            buildXpdrToSrgToDeg(xpdr,srg,deg1,deg2,reverse);
-            buildDegToSrgToXpdr(xpdr,srg,deg1,deg2,reverse);
-        }
-    }
-
-    /**
-     * build direction path for
-     * Supernode element DEG1, DEG2.
-     *
-     * @param twotoOne boolean to determine direction
-     */
-    private void buildDegToDeg(boolean twotoOne) {
-        LOG.info("buildDegToDeg ...");
-        NodePath deg1 = null;
-        NodePath deg2 = null;
-        for (NodePath node : this.nodepaths) {
-            //LOG.info(node.toString());
-            String nodeId = node.getNodeId();
-            if (nodeId.contains("DEG1")) {
-                deg1 = node;
-            }
-            if (nodeId.contains("DEG2")) {
-                deg2 = node;
-            }
-        }
-        if ((deg1 != null) && (deg2 != null)) {
-            List<Path> result =  new ArrayList<Path>();
-            NodePath deb = deg1;
-            NodePath end = deg2;
-            if (twotoOne) {
-                deb = deg2;
-                end = deg1;
-            }
-            for (Path deg1Path : deb.getPath()) {
-                TpNodeTp tmpdeg = deg1Path.getTpNodeTp();
-                if (tmpdeg.getTpIn().getTerminationPointIdentifier().getTpId().contains("TTP")) {
-                    result.clear();
-                    result.addAll(Lists.newArrayList(deg1Path));
-                    if (!twotoOne) {
-                        getAToZDirection(result);
-                    } else {
-                        getZToADirection(result);
-                    }
-                }
-            }
-            for (Path deg2Path : end.getPath()) {
-                TpNodeTp tmpdeg = deg2Path.getTpNodeTp();
-                if (tmpdeg.getTpIn().getTerminationPointIdentifier().getTpId().contains("CTP")) {
-                    result.clear();
-                    result.addAll(Lists.newArrayList(deg2Path));
-                    if (!twotoOne) {
-                        getAToZDirection(result);
-                    } else {
-                        getZToADirection(result);
-                    }
-                }
-            }
-        } else {
-            LOG.info("deg1 or/and deg2 is null !");
-        }
-    }
-
-    /**
-     build direction from
-     *Degree  to SRG to XPDR
-     *in Supernode elements.
-     *
-     *@param xpdr NodePath XPDR
-     *@param srg NodePath SRG
-     *@param deg NodePath Degree
-     *@param reverse boolean to determine the direction
-     */
-    private void buildDeg(NodePath xpdr,NodePath srg,NodePath deg, Boolean reverse) {
-        List<Path> result =  new ArrayList<Path>();
-        for (Path degPath : deg.getPath()) {
-            TpNodeTp tmpdeg = degPath.getTpNodeTp();
-            if (tmpdeg.getTpIn().getTerminationPointIdentifier().getTpId().contains("TTP")) {
-                for (Path srgPath : srg.getPath()) {
-                    TpNodeTp tmpsrg = srgPath.getTpNodeTp();
-                    if (tmpsrg.getTpIn().getTerminationPointIdentifier().getTpId().contains("CP")) {
-                        for (Path xpdrPath : xpdr.getPath()) {
-                            TpNodeTp tmpxpdr = xpdrPath.getTpNodeTp();
-                            if (tmpxpdr.getTpIn().getTerminationPointIdentifier().getTpId().contains("NETWORK")) {
-                                result.clear();
-                                result.addAll(Lists.newArrayList(degPath,srgPath,xpdrPath));
-                                if (reverse) {
-                                    getAToZDirection(result);
-                                } else {
-                                    getZToADirection(result);
-                                }
-                            }
-                        }
-                    }
-                }
-            }
-        }
-    }
-
-    /**
-     *build direction from
-     *DEG1 / DEG2  to SRG to XPDR
-     *in Supernode elements.
-     *
-     *@param xpdr NodePath XPDR
-     *@param srg NodePath SRG
-     *@param deg1 NodePath Degree 1
-     *@param deg2 NodePath Degree 2
-     *@param reverse boolean to determine the direction
-     */
-    private void buildDegToSrgToXpdr(NodePath xpdr,NodePath srg,NodePath deg1,NodePath deg2,boolean reverse) {
-        LOG.info("buildDegToSrgToXpr ...");
-        if ((xpdr != null) && (srg != null) && (deg1 != null) && (deg2 != null)) {
-            buildDeg(xpdr, srg, deg1, reverse);
-            buildDeg(xpdr, srg, deg2, reverse);
-        } else {
-            LOG.info("xpdr, deg or/and srg is null !");
-        }
-    }
-
-    /**
-     *build direction from
-     *XPDR to SRG to DEG
-     *in Supernode elements.
-     *
-     *@param xpdr NodePath XPDR
-     *@param srg NodePath SRG
-     *@param deg1 NodePath Degree 1
-     *@param deg2 NodePath Degree 2
-     *@param reverse boolean to determine the direction
-     */
-    private void buildXpdrToSrgToDeg(NodePath xpdr,NodePath srg,NodePath deg1,NodePath deg2,boolean reverse) {
-        LOG.info("buildXpdrToSrgToDeg ...");
-        if ((xpdr != null) && (srg != null) && (deg1 != null) && (deg2 != null)) {
-            List<Path> result =  new ArrayList<Path>();
-            for (Path xpdrPath : xpdr.getPath()) {
-                TpNodeTp tmpxpdr = xpdrPath.getTpNodeTp();
-                if (tmpxpdr.getTpIn().getTerminationPointIdentifier().getTpId().contains("CLIENT")) {
-                    for (Path srgPath : srg.getPath()) {
-                        TpNodeTp tmp = srgPath.getTpNodeTp();
-                        Link srglink = srgPath.getLink();
-                        if (tmp.getTpIn().getTerminationPointIdentifier().getTpId().contains("PP")) {
-                            for (Path deg1Path : deg1.getPath()) {
-                                TpNodeTp tmpdeg = deg1Path.getTpNodeTp();
-                                if (tmpdeg.getTpIn().getTerminationPointIdentifier().getTpId().contains("CTP")
-                                        && srglink.getLinkIdentifier().getLinkId().contains("DEG1")) {
-                                    result.clear();
-                                    result.addAll(Lists.newArrayList(xpdrPath,srgPath,deg1Path));
-                                    if (reverse) {
-                                        getZToADirection(result);
-                                    } else {
-                                        getAToZDirection(result);
-                                    }
-                                }
-                            }
-                            for (Path deg2Path : deg2.getPath()) {
-                                TpNodeTp tmpdeg = deg2Path.getTpNodeTp();
-                                if (tmpdeg.getTpIn().getTerminationPointIdentifier().getTpId().contains("CTP")
-                                        && srglink.getLinkIdentifier().getLinkId().contains("DEG2")) {
-                                    result.clear();
-                                    result.addAll(Lists.newArrayList(xpdrPath,srgPath,deg2Path));
-                                    if (reverse) {
-                                        getZToADirection(result);
-                                    } else {
-                                        getAToZDirection(result);
-                                    }
-                                }
-                            }
-                        }
-                    }
-                }
-            }
-        } else {
-            LOG.info("xpdr, deg or/and srg is null !");
-        }
-    }
-
-    /**
-     * get all AToZdirection containing
-     * a list of <code>AToZ</code> end by
-     * a String.
-     *
-     * @param endBy String
-     * @param atozDirection AToZdirection List
-     * @param index Integer to determine if it for last Link(1) or last TerminationPoint(2)
-     * @return <code>AToZDirection</code> List
-     */
-    public List<AToZDirection> getAToZDirectionEndBy(String endBy, List<AToZDirection> atozDirection, int index) {
-        List<AToZDirection> result = new ArrayList<AToZDirection>();
-        for (AToZDirection tmp : atozDirection) {
-            List<AToZ> atozList = tmp.getAToZ();
-            int size = atozList.size();
-            if (size > 2) {
-                String id = Integer.toString(size - index);
-                org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription
-                    .rev170426.pce.resource.resource.Resource res = null;
-                for (AToZ tmpAtoz : atozList) {
-                    if (tmpAtoz.getId().compareTo(id) == 0) {
-                        res = tmpAtoz.getResource().getResource();
-                        if (res != null) {
-
-                            switch (index) {
-                                case 1: //last link
-                                    if (res instanceof Link) {
-                                        Link tp = (Link) res;
-                                        if ((tp != null) && tp.getLinkIdentifier().getLinkId().contains(endBy)) {
-                                            result.add(tmp);
-                                        }
-                                    }
-                                    break;
-
-                                case 2: //last tp
-                                    if (res instanceof TerminationPoint) {
-                                        TerminationPoint tp = (TerminationPoint) res;
-                                        if ((tp != null) && tp.getTerminationPointIdentifier().getTpId()
-                                                .contains(endBy)) {
-                                            result.add(tmp);
-                                        }
-                                    }
-                                    break;
-
-                                default :
-                                    break;
-                            }
-                        }
-                    }
-                }
-            } else {
-                LOG.info("firstnodeTpId is null !");
-            }
-        }
-        LOG.info("getAToZDirectionEndBy result size : {}\n{}", result.size(),result.toString());
-        return result;
-    }
-
-    /**
-     * replace or remove in
-     * Link in <code>AToZ</code> list
-     * containing in AToZdirection.
-     *
-     * @param endBy String
-     * @param beginBy String
-     * @param atozLink name of ROAMDTOROAMD link
-     * @param atozDirection AToZdirection List
-     * @param remove boolean to determine if removing or not
-     * @return <code>AToZDirection</code> List
-     */
-    public List<AToZDirection> replaceOrRemoveAToZDirectionEndLink(String endBy,String beginBy,String atozLink,
-            List<AToZDirection> atozDirection, boolean remove) {
-        List<AToZDirection> result = new ArrayList<AToZDirection>();
-        List<AToZDirection> tmp = new ArrayList<AToZDirection>();
-        if (remove) {
-            tmp = getAToZDirectionEndBy(endBy, atozDirection, 1);
-            if (!tmp.isEmpty()) {
-                tmp = getAToZDirectionBeginBy(beginBy, tmp);
-            }
-        } else {
-            tmp = getAToZDirectionEndBy(endBy, atozDirection,2);
-        }
-        if (!tmp.isEmpty()) {
-            for (AToZDirection atozdir : tmp) {
-                List<AToZ> atozList = atozdir.getAToZ();
-                int size = atozList.size();
-                if (size > 0) {
-                    String id = Integer.toString(size - 1);
-                    for (ListIterator<AToZ> it = atozList.listIterator(); it.hasNext();) {
-                        AToZ tmpAtoz = it.next();
-                        if (tmpAtoz.getId().compareTo(id) == 0) {
-                            org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription
-                                .rev170426.pce.resource.resource.Resource res = tmpAtoz.getResource().getResource();
-                            if ((res != null)  && (res instanceof Link)) {
-                                Link link = new LinkBuilder()
-                                        .setLinkIdentifier(new LinkIdentifierBuilder()
-                                                .setLinkId(atozLink)
-                                                .build())
-                                        .build();
-                                AToZKey atozKey = new AToZKey(tmpAtoz.key());
-                                org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
-                                    .pathdescription.rev170426.pce.resource.Resource resource = new ResourceBuilder()
-                                    .setResource(link).build();
-                                AToZ hop = new AToZBuilder().setId(atozKey.getId()).withKey(atozKey)
-                                        .setResource(resource).build();
-                                it.remove();
-                                if (!remove) {
-                                    it.add(hop);
-                                }
-                                result.add(atozdir);
-                            }
-                        }
-                    }
-                }
-            }
-        } else {
-            LOG.info("getAToZDirectionEndBy size : {}", tmp.size());
-        }
-        return result;
-    }
-
-    /**
-     *get all AToZdirection containing
-     * a list of <code>AToZ</code> begin by
-     * a String.
-     *
-     * @param beginBy String
-     * @param atozDirection AToZdirection List
-     * @return <code>AToZDirection</code> List
-     */
-    public List<AToZDirection> getAToZDirectionBeginBy(String beginBy, List<AToZDirection> atozDirection) {
-        List<AToZDirection> result = new ArrayList<AToZDirection>();
-        for (AToZDirection tmp : atozDirection) {
-            List<AToZ> atozList = tmp.getAToZ();
-            int size = atozList.size();
-            if (size > 0) {
-                String id = Integer.toString(0);
-                for (AToZ tmpAtoz : atozList) {
-                    if (tmpAtoz.getId().compareTo(id) == 0) {
-                        org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription
-                            .rev170426.pce.resource.resource.Resource res = tmpAtoz.getResource().getResource();
-                        if ((res != null)  && (res instanceof TerminationPoint)) {
-                            TerminationPoint tp = (TerminationPoint) res;
-                            if ((tp != null) && tp.getTerminationPointIdentifier().getTpId().contains(beginBy)) {
-                                LOG.info("tmp : {}", tmp.toString());
-                                result.add(tmp);
-                            }
-                        }
-                    }
-                }
-            }
-        }
-        LOG.info("result size : {}", result.size());
-        return result;
-    }
-
-    /**
-     * first launch process to
-     * build/fill <code>NodePath</code>
-     * And after that, start building
-     * direction between Supernode
-     * elements.
-     *
-     * @param zend path zend Supernode nodeId
-     */
-    public void buildPath(String zend) {
-        if (this.superNode != null) {
-            for (org.opendaylight.transportpce.stubpce.topology.Resource res : this.superNode.getResources()) {
-                NodePath path = new NodePath(res, this.superNode.getSuperNodeId(), this.superNode.isXpdrSrgAbsent());
-                path.fill();
-                this.nodepaths.add(path);
-            }
-            LOG.info("nodepaths size : {}", this.nodepaths.size());
-            build(this.superNode.isXpdrSrgAbsent(),this.superNode.getSuperNodeId(), zend);
-        }
-    }
-
-    public static void main(String[] args) {
-        Topology topo = new Topology();
-        topo.start();
-        Network net = topo.getNetwork();
-        if (net != null) {
-            SuperNode res = net.getSuperNodes().get(0);
-            String zend = "NodeZ";
-            LOG.info(res.getSuperNodeId().toString());
-            InterNodePath path = new InterNodePath(res);
-            path.buildPath(zend);
-        }
-    }
-
-    public SuperNode getSuperNode() {
-        return this.superNode;
-    }
-
-    public void setSuperNode(SuperNode superNode) {
-        this.superNode = superNode;
-    }
-
-    public List<AToZDirection> getAtoz() {
-        return this.atoz;
-    }
-
-    public void setAtoz(List<AToZDirection> atoz) {
-        this.atoz = atoz;
-    }
-
-    public List<ZToADirection> getZtoa() {
-        return this.ztoa;
-    }
-
-    public void setZtoa(List<ZToADirection> ztoa) {
-        this.ztoa = ztoa;
-    }
-
-    public List<NodePath> getNodepaths() {
-        return this.nodepaths;
-    }
-
-    public void setNodepaths(List<NodePath> nodepaths) {
-        this.nodepaths = nodepaths;
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/LogicalConnectionPoint.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/LogicalConnectionPoint.java
deleted file mode 100644 (file)
index 45da247..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
-
-
-/**
- * class to build Logical
- * Connection Point.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-@JacksonXmlRootElement(localName = "logical-connection-point")
-public class LogicalConnectionPoint {
-    @JacksonXmlProperty(localName = "tp-id")
-    private String tpId;
-    @JacksonXmlProperty(localName = "node-id")
-    private String nodeId;
-
-    public LogicalConnectionPoint(@JacksonXmlProperty(localName = "tp-id") final String tpId,
-            @JacksonXmlProperty(localName = "node-id") final String nodeId) {
-        this.setTpId(tpId);
-        this.setNodeId(nodeId);
-    }
-
-    public String getTpId() {
-        return tpId;
-    }
-
-    public void setTpId(String tpId) {
-        this.tpId = tpId;
-    }
-
-    public String getNodeId() {
-        return nodeId;
-    }
-
-    public void setNodeId(String nodeId) {
-        this.nodeId = nodeId;
-    }
-
-    @Override
-    public String toString() {
-        java.lang.String name = "[";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        if (tpId != null) {
-            builder.append("tpId=");
-            builder.append(tpId);
-            builder.append(", ");
-        }
-        if (nodeId != null) {
-            builder.append("nodeId=");
-            builder.append(nodeId);
-        }
-        return builder.append(']').toString();
-
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Network.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Network.java
deleted file mode 100644 (file)
index 1849cba..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
-
-import java.util.List;
-
-/**
- * Class to create topology
- * structure according to the idea of
- * SuperNode.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-@JacksonXmlRootElement(localName = "network")
-public class Network {
-    /** SuperNode List.*/
-    @JacksonXmlElementWrapper(localName = "super-nodes")
-    @JacksonXmlProperty(localName = "super-node")
-    private List<SuperNode> superNodes;
-    /** Links between Supernodes. */
-    @JacksonXmlProperty(localName = "roadm-to-roadm")
-    private RoadmToRoadm roadmToroadm;
-
-    /**
-     * Network constructor.
-     *
-     * @param nodes Supernode list
-     * @param links roadmtoroadm links
-     */
-    public Network(
-            @JacksonXmlProperty(localName = "Nsupernode") final List<SuperNode> nodes,
-            @JacksonXmlProperty(localName = "roadm-to-roadm") final RoadmToRoadm links) {
-        setSuperNodes(nodes);
-        setRoadmToroadm(links);
-    }
-
-    public List<SuperNode> getSuperNodes() {
-        return superNodes;
-    }
-
-    public void setSuperNodes(List<SuperNode> superNodes) {
-        this.superNodes = superNodes;
-    }
-
-
-    public RoadmToRoadm getRoadmToroadm() {
-        return roadmToroadm;
-    }
-
-    public void setRoadmToroadm(RoadmToRoadm roadmToroadm) {
-        this.roadmToroadm = roadmToroadm;
-    }
-
-    @Override
-    public String toString() {
-        int index;
-        int size;
-        java.lang.String name = "Network [";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        index = 0;
-        size = superNodes.size();
-        builder.append("SuperNodes [");
-        if (size > 0) {
-            for (SuperNode tmp : superNodes) {
-                builder.append(tmp.toString());
-                index++;
-                if (index < size) {
-                    builder.append(", ");
-                }
-            }
-        }
-        builder.append("]");
-        if (roadmToroadm != null) {
-            builder.append(", roadmToroadm=");
-            builder.append(roadmToroadm.toString());
-        }
-        return builder.append(']').toString();
-
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodeLinkNode.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodeLinkNode.java
deleted file mode 100644 (file)
index 07faa03..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import java.util.List;
-
-/**
- * Class to create structure
- * NodeToLinkToNode.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-public class NodeLinkNode {
-    /** aend first endpoint. */
-    private String aend;
-    /** zend second endpoint. */
-    private String zend;
-    /** atoz link. */
-    private List<String> atozLink;
-    /** ztoa link. */
-    private List<String> ztoaLink;
-    /** direct boolean to specify direct path. */
-    private Boolean direct;
-
-    /**
-     * NodeLinkNode Constructor.
-     *
-     * @param aend first endpoint
-     * @param zend second endpoint
-     * @param link1 atoz link
-     * @param link2 ztoa link
-     * @param direct boolean to specify direct path
-     */
-    public NodeLinkNode(String aend, String zend, List<String> link1, List<String> link2,Boolean direct) {
-        setAend(aend);
-        setZend(zend);
-        setAtozLink(link1);
-        setZtoaLink(link2);
-        setDirect(direct);
-    }
-
-    public Boolean getDirect() {
-        return direct;
-    }
-
-    public void setDirect(Boolean direct) {
-        this.direct = direct;
-    }
-
-    public String getAend() {
-        return aend;
-    }
-
-    public void setAend(String aend) {
-        this.aend = aend;
-    }
-
-    public String getZend() {
-        return zend;
-    }
-
-    public void setZend(String zend) {
-        this.zend = zend;
-    }
-
-    @Override
-    public String toString() {
-        java.lang.String name = "NodeLinkNode [";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        if (aend != null) {
-            builder.append("aend=");
-            builder.append(aend);
-            builder.append(", ");
-        }
-        if (atozLink != null) {
-            builder.append("atozLink=");
-            builder.append(atozLink);
-            builder.append(", ");
-        }
-        if (ztoaLink != null) {
-            builder.append("ztoaLink=");
-            builder.append(ztoaLink);
-            builder.append(", ");
-        }
-        if (zend != null) {
-            builder.append("zend=");
-            builder.append(zend);
-            builder.append(", ");
-        }
-        builder.append(", direct=");
-        builder.append(direct);
-        return builder.append(']').toString();
-    }
-
-    public List<String> getAtozLink() {
-        return atozLink;
-    }
-
-    public void setAtozLink(List<String> atozLink) {
-        this.atozLink = atozLink;
-    }
-
-    public List<String> getZtoaLink() {
-        return ztoaLink;
-    }
-
-    public void setZtoaLink(List<String> ztoaLink) {
-        this.ztoaLink = ztoaLink;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodePath.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/NodePath.java
deleted file mode 100644 (file)
index 61ea668..0000000
+++ /dev/null
@@ -1,376 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import java.util.ArrayList;
-import java.util.List;
-import org.apache.commons.lang3.StringUtils;
-import org.opendaylight.transportpce.stubpce.TpNodeTp;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Link;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.LinkBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Node;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.NodeBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.TerminationPoint;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.TerminationPointBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.link.LinkIdentifierBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.node.NodeIdentifierBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.termination.point.TerminationPointIdentifierBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * build all path with one resource
- * from Supernode.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-public class NodePath {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(NodePath.class);
-    /** element of Supernode. */
-    private org.opendaylight.transportpce.stubpce.topology.Resource resource;
-    /** <code>TpNodeTp</code> list. */
-    private List<TpNodeTp> tpNodeTps;
-    /** <code>Link</code> list. */
-    private List<Link> links;
-    /** SuperNode element nodeId. */
-    private String nodeId;
-    /** Supernode Id. */
-    private String superNodeId;
-    /** boolean to determine if Supernode contains an XPDR. */
-    private boolean isXpdrSrgAbsent;
-    /** Path List. */
-    private List<Path> path;
-
-    /**
-     *NodePath constructor.
-     *
-     * @param res element of Supernode
-     * @param superNodeId supernode Id
-     * @param isXpdrSrgAbsent boolean to determine if Supernode contains an XPDR
-     */
-    public NodePath(org.opendaylight.transportpce.stubpce.topology.Resource res,
-            String superNodeId, boolean isXpdrSrgAbsent) {
-        setResource(res);
-        setNodeId(res.getNodeId());
-        setSuperNodeId(superNodeId);
-        setXpdrSrgAbsent(isXpdrSrgAbsent);
-        setLinks(new ArrayList<Link>());
-        setTpNodeTps(new ArrayList<TpNodeTp>());
-        setPath(new ArrayList<Path>());
-    }
-
-    @Override
-    public String toString() {
-        java.lang.String name = "NodePath [";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        if (nodeId != null) {
-            builder.append("nodeId= ");
-            builder.append(nodeId);
-            builder.append(", ");
-        }
-        if (path.size() > 0) {
-            builder.append("Paths [");
-            builder.append(path.toString());
-            builder.append(" ]");
-        }
-        return builder.append(']').toString();
-    }
-
-    /**
-     *get all resources (links,
-     *logicalConnectionpoints, nodeId)
-     *from Supernode element.
-     */
-    public void fill() {
-        Boolean xpdr = false;
-        if (resource != null) {
-            String nodeid = resource.getNodeId();
-            List<String> resLinks = resource.getLinks();
-            List<LogicalConnectionPoint> resLcps = resource.getLcps();
-            for (String tmp : resLinks) {
-                Link link = new LinkBuilder()
-                        .setLinkIdentifier(new LinkIdentifierBuilder()
-                                .setLinkId(tmp)
-                                .build())
-                        .build();
-                links.add(link);
-            }
-            if (nodeid.contains("XPDR")) {
-                LOG.info("building xpdr resource ...");
-                xpdr = true;
-                buildXpdrTopo(nodeid,resLinks,resLcps,xpdr);
-                links.add(new LinkBuilder()
-                        .setLinkIdentifier(new LinkIdentifierBuilder()
-                                .setLinkId("TAIL-LINKS")
-                                .build())
-                        .build());
-            }
-            if (nodeid.contains("SRG")) {
-                LOG.info("building SRG resource ...");
-                buildSRGTopo(nodeid, resLinks, resLcps);
-            }
-            if (nodeid.contains("DEG")) {
-                LOG.info("building DEG resource ...");
-                xpdr = false;
-                buildXpdrTopo(nodeid,resLinks,resLcps,xpdr);
-                links.add(new LinkBuilder()
-                        .setLinkIdentifier(new LinkIdentifierBuilder()
-                                .setLinkId("EXTERNAL-LINKS")
-                                .build())
-                        .build());
-            }
-        }
-        createDirection();
-    }
-
-    /**
-     * reverse a TpNodeTp
-     * List.
-     *
-     * @return TpNodeTp list
-     */
-    private List<TpNodeTp> reverseTpNodetpList() {
-        List<TpNodeTp> result = new ArrayList<TpNodeTp>();
-        for (TpNodeTp tpNodetp : tpNodeTps) {
-            TpNodeTp tmp = tpNodetp.reverse();
-            result.add(tmp);
-        }
-        return result;
-    }
-
-    /**
-     *create list of Path
-     *(TpNodeTp/Link).
-     */
-    private void createDirection() {
-        /** create direction */
-        LOG.info("creating direction ...");
-        Path resourcePath = null;
-        List<TpNodeTp> direction = new ArrayList<TpNodeTp>();
-        for (Link link : links) {
-            String linkId = link.getLinkIdentifier().getLinkId();
-            LOG.info("LinkId : {}", linkId);
-            if (!isXpdrSrgAbsent) {
-                if (StringUtils.countMatches(link.getLinkIdentifier().getLinkId(), "ROADM") < 2) {
-                    if ((linkId.contains("XPDR") && linkId.startsWith("ROADM"))
-                        || ((linkId.startsWith("DEG") && linkId.contains("SRG")))
-                        || (nodeId.contains("XPDR") && linkId.contains("TAIL-LINKS"))) {
-                        LOG.info("reversing TpNodetp list for link '{}'", linkId);
-                        direction = reverseTpNodetpList();
-                    } else {
-                        direction = tpNodeTps;
-                    }
-                } else {
-                    LOG.info("link is deg to deg link !");
-                }
-            } else {
-                if (StringUtils.countMatches(link.getLinkIdentifier().getLinkId(), "ROADM") == 2) {
-                    direction = reverseTpNodetpList();
-                } else {
-                    direction = tpNodeTps;
-                }
-            }
-            if (tpNodeTps.size() > 0) {
-                for (TpNodeTp tpNodeTp : direction) {
-                    resourcePath = new Path(tpNodeTp, link);
-                    LOG.info(resourcePath.toString());
-                    path.add(resourcePath);
-                }
-            } else {
-                LOG.info("tpNodeTps is empty !");
-            }
-        }
-    }
-
-    /**
-     * build a list of
-     * Termination Point in
-     * XPDR or DEG
-     * ordered in AToZdirection
-     * on a Supernode (XPDR to SRG)
-     * (ROADMA-DEG to ROADMZ-DEG).
-     *
-     * @param xpdr determine if it is an XPDR or not
-     * @param resLcps list of LogicalConnectionPoint
-     * @return String list of TerminationPoints
-     */
-    private List<String> getOrderedTps(boolean xpdr, List<LogicalConnectionPoint> resLcps) {
-        List<String> result = new ArrayList<String>();
-        if (xpdr) {
-            for (LogicalConnectionPoint lcp : resLcps) {
-                String tmp = lcp.getTpId();
-                if (tmp.contains("CLIENT")) {
-                    result.add(0, tmp);
-                } else if (tmp.contains("NETWORK")) {
-                    result.add(1, tmp);
-                }
-            }
-        } else {
-            for (LogicalConnectionPoint lcp : resLcps) {
-                String tmp = lcp.getTpId();
-                if (tmp.contains("CTP")) {
-                    result.add(0, tmp);
-                } else if (tmp.contains("TTP")) {
-                    result.add(1, tmp);
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     * build TpNodeTp
-     * structure in an
-     * XPDR.
-     *
-     * @param nodeid XPDR Id
-     * @param resLinks list of links
-     * @param resLcps list of LogicalConnectionPoints
-     * @param xpdr determine if it is an XPDR or not
-     */
-    private void buildXpdrTopo(String nodeid, List<String> resLinks, List<LogicalConnectionPoint> resLcps,
-            boolean xpdr) {
-       /** build TpNodetp .*/
-        TerminationPointBuilder in = null;
-        TerminationPointBuilder out = null;
-        List<String> lcps = getOrderedTps(xpdr,resLcps);
-        if (lcps.size() == 2) {
-            in = new TerminationPointBuilder()
-                    .setTerminationPointIdentifier(new TerminationPointIdentifierBuilder()
-                            .setNodeId(nodeid)
-                            .setTpId(lcps.get(0))
-                            .build());
-            out = new TerminationPointBuilder()
-                    .setTerminationPointIdentifier(new TerminationPointIdentifierBuilder()
-                            .setNodeId(nodeid)
-                            .setTpId(lcps.get(1))
-                            .build());
-        } else {
-            LOG.info("lcps size not equal to 2");
-
-        }
-        Node node = new NodeBuilder()
-                .setNodeIdentifier(new NodeIdentifierBuilder()
-                        .setNodeId(nodeid)
-                        .build())
-                .build();
-        TpNodeTp tmp = new TpNodeTp(in.build(), out.build(), node);
-        tpNodeTps.add(tmp);
-    }
-
-    /**
-     * build TpNodeTp
-     * structure in an
-     * SGR.
-     *
-     * @param nodeid SRG nodeId
-     * @param resLinks list of links
-     * @param resLcps list of LogicalConnectionPoints
-     */
-    private void buildSRGTopo(String nodeid, List<String> resLinks,List<LogicalConnectionPoint> resLcps) {
-        /** build TpNodetp .*/
-        Node node = new NodeBuilder()
-                .setNodeIdentifier(new NodeIdentifierBuilder()
-                        .setNodeId(nodeid)
-                        .build())
-                .build();
-        TerminationPoint out = new TerminationPointBuilder()
-                .setTerminationPointIdentifier(new TerminationPointIdentifierBuilder()
-                        .setNodeId(nodeid)
-                        .setTpId("SRG1-CP-TXRX")
-                        .build())
-                .build();
-        for (LogicalConnectionPoint lcp : resLcps) {
-            if (lcp.getTpId().compareTo("SRG1-CP-TXRX") != 0) {
-                TerminationPoint in = new TerminationPointBuilder()
-                        .setTerminationPointIdentifier(new TerminationPointIdentifierBuilder()
-                                .setNodeId(nodeid)
-                                .setTpId(lcp.getTpId())
-                                .build())
-                        .build();
-                tpNodeTps.add(new TpNodeTp(in, out, node));
-            }
-        }
-    }
-
-    public static void main(String[] args) {
-        Topology topo = new Topology();
-        topo.start();
-        Network net = topo.getNetwork();
-        if (net != null) {
-            SuperNode superNode = net.getSuperNodes().get(0);
-            LOG.info("SuperNode : {}", superNode.getSuperNodeId());
-            for (org.opendaylight.transportpce.stubpce.topology.Resource res :
-                superNode.getResources()) {
-                LOG.info(res.toString());
-                NodePath path = new NodePath(res, superNode.getSuperNodeId(), superNode.isXpdrSrgAbsent());
-                path.fill();
-            }
-        }
-    }
-
-    public org.opendaylight.transportpce.stubpce.topology.Resource getResource() {
-        return resource;
-    }
-
-    public void setResource(org.opendaylight.transportpce.stubpce.topology.Resource resource) {
-        this.resource = resource;
-    }
-
-    public List<TpNodeTp> getTpNodeTps() {
-        return tpNodeTps;
-    }
-
-    public void setTpNodeTps(List<TpNodeTp> tpNodeTps) {
-        this.tpNodeTps = tpNodeTps;
-    }
-
-    public List<Link> getLinks() {
-        return links;
-    }
-
-    public void setLinks(List<Link> links) {
-        this.links = links;
-    }
-
-    public List<Path> getPath() {
-        return path;
-    }
-
-    public void setPath(List<Path> path) {
-        this.path = path;
-    }
-
-    public String getNodeId() {
-        return nodeId;
-    }
-
-    public void setNodeId(String nodeId) {
-        this.nodeId = nodeId;
-    }
-
-    public String getSuperNodeId() {
-        return superNodeId;
-    }
-
-    public void setSuperNodeId(String superNodeId) {
-        this.superNodeId = superNodeId;
-    }
-
-    public boolean isXpdrSrgAbsent() {
-        return isXpdrSrgAbsent;
-    }
-
-    public void setXpdrSrgAbsent(boolean xpdrSrgAbsent) {
-        this.isXpdrSrgAbsent = xpdrSrgAbsent;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Path.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Path.java
deleted file mode 100644 (file)
index 6de05e9..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import org.opendaylight.transportpce.stubpce.TpNodeTp;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Link;
-
-/**
- * Class to create structure
- * TpNodeTp and link.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-public class Path {
-    /** TpNodeTp. */
-    private TpNodeTp tpNodeTp;
-    /** Link at TpNodeTp. */
-    private Link link;
-
-    /**
-     *Path constructor.
-     *
-     * @param tpnodetp TpNodeTp
-     * @param link link at the end of TpNodeTp
-     */
-    public Path(TpNodeTp tpnodetp, Link link) {
-        setTpNodeTp(tpnodetp);
-        setLink(link);
-    }
-
-    public Path(TpNodeTp tpNodeTp) {
-        setTpNodeTp(tpNodeTp);
-    }
-
-    public TpNodeTp getTpNodeTp() {
-        return tpNodeTp;
-    }
-
-    public void setTpNodeTp(TpNodeTp tpNodeTp) {
-        this.tpNodeTp = tpNodeTp;
-    }
-
-    public Link getLink() {
-        return link;
-    }
-
-    public void setLink(Link link) {
-        this.link = link;
-    }
-
-    @Override
-    public String toString() {
-        java.lang.String name = "Path [";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        if (tpNodeTp != null) {
-            builder.append("tpNodeTp= ");
-            builder.append(tpNodeTp);
-            builder.append(", ");
-        }
-        if (link != null) {
-            builder.append(link);
-        }
-        return builder.append(']').toString();
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/PathDescriptionsOrdered.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/PathDescriptionsOrdered.java
deleted file mode 100644 (file)
index cb8c15f..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.path.description.list.PathDescriptions;
-
-/**
- * class to create structure
- * of <code>PathDescriptions</code>
- * ordered.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-public class PathDescriptionsOrdered implements Comparable<PathDescriptionsOrdered> {
-    private PathDescriptions pathDescriptions;
-    private int ord;
-
-    /**
-     * PathDescriptionsOrdered constructor.
-     *
-     * @param paths PathDescriptions
-     * @param order Integer
-     */
-    public PathDescriptionsOrdered(PathDescriptions paths, int order) {
-        setPathDescriptions(paths);
-        setOrd(order);
-    }
-
-    @Override
-    public int compareTo(PathDescriptionsOrdered paths) {
-        return this.ord - paths.getOrd();
-    }
-
-    public PathDescriptions getPathDescriptions() {
-        return pathDescriptions;
-    }
-
-    public void setPathDescriptions(PathDescriptions pathDescriptions) {
-        this.pathDescriptions = pathDescriptions;
-    }
-
-    public int getOrd() {
-        return ord;
-    }
-
-    public void setOrd(int ord) {
-        this.ord = ord;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Resource.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Resource.java
deleted file mode 100644 (file)
index 47d2dff..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
-import java.util.List;
-
-
-/**
- * Class to create structure of
- * Supernode element.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-@JacksonXmlRootElement(localName = "resource")
-public class Resource {
-    /** element nodeId. */
-    @JacksonXmlProperty(localName = "node-id")
-    private String nodeId;
-    /** list of element links. */
-    @JacksonXmlElementWrapper(localName = "links")
-    @JacksonXmlProperty(localName = "link")
-    private List<String> links;
-    /** list of element LogicalConnectionPoint. */
-    @JacksonXmlElementWrapper(localName = "logical-connection-points")
-    @JacksonXmlProperty(localName = "logical-connection-point")
-    private List<LogicalConnectionPoint> lcps;
-
-
-    /**
-     * Resource constructor.
-     *
-     * @param nodeId element nodeId
-     * @param links list of element links
-     * @param lcps list of element LogicalConnectionPoint
-     */
-    public Resource(@JacksonXmlProperty(localName = "node-id") final String nodeId,
-            @JacksonXmlProperty(localName = "Reslinks") final List<String> links,
-            @JacksonXmlProperty(localName = "Reslcps") final List<LogicalConnectionPoint> lcps) {
-        this.setNodeId(nodeId);
-        this.setLinks(links);
-        this.setLpcs(lcps);
-    }
-
-    public String getNodeId() {
-        return nodeId;
-    }
-
-    public void setNodeId(String nodeId) {
-        this.nodeId = nodeId;
-    }
-
-    public List<String> getLinks() {
-        return links;
-    }
-
-    public void setLinks(List<String> links) {
-        this.links = links;
-    }
-
-    public List<LogicalConnectionPoint> getLcps() {
-        return lcps;
-    }
-
-    public void setLpcs(List<LogicalConnectionPoint> logicalConPoints) {
-        this.lcps = logicalConPoints;
-    }
-
-    @Override
-    public String toString() {
-        int index;
-        int size;
-        java.lang.String name = "Resource [";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        if (nodeId != null) {
-            builder.append("nodeId=");
-            builder.append(nodeId);
-        }
-        index = 0;
-        size = lcps.size();
-        builder.append(", LogicalConnectionPoints [");
-        for (LogicalConnectionPoint tmp : lcps) {
-            builder.append(tmp.toString());
-            index++;
-            if (index < size) {
-                builder.append(", ");
-            }
-        }
-        builder.append("]");
-        index = 0;
-        size = links.size();
-        builder.append(", links [");
-        for (String tmp : links) {
-            builder.append(tmp);
-            index++;
-            if (index < size) {
-                builder.append(", ");
-            }
-        }
-        builder.append("]");
-        return builder.append(']').toString();
-
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/RoadmToRoadm.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/RoadmToRoadm.java
deleted file mode 100644 (file)
index 2699d33..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
-
-import java.util.List;
-
-
-/**
- * Class to create list of links
- * between Supernode.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-@JacksonXmlRootElement(localName = "roadm-to-roadm")
-public class RoadmToRoadm {
-    /** List of links. */
-    @JacksonXmlElementWrapper(localName = "links")
-    @JacksonXmlProperty(localName = "link")
-    private List<String> links;
-
-    /**
-     * RoadmToRoadm structure.
-     *
-     * @param links list of links
-     */
-    public RoadmToRoadm(@JacksonXmlProperty(localName = "Rlinks") final List<String> links) {
-        setLinks(links);
-    }
-
-    public List<String> getLinks() {
-        return links;
-    }
-
-    public void setLinks(List<String> links) {
-        this.links = links;
-    }
-
-    @Override
-    public String toString() {
-        int index;
-        int size;
-        java.lang.String name = "RoadmToRoadm [";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        index = 0;
-        size = links.size();
-        builder.append("Links [");
-        for (String tmp : links) {
-            builder.append(tmp.toString());
-            index++;
-            if (index < size) {
-                builder.append(", ");
-            }
-        }
-        builder.append("]");
-        return builder.append(']').toString();
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNode.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNode.java
deleted file mode 100644 (file)
index fcf825a..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
-import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
-
-import java.util.ArrayList;
-import java.util.List;
-
-
-/**
- * class to create Supernode
- * structure.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-@JacksonXmlRootElement(localName = "super-node")
-public class SuperNode {
-    /** Supernode Id. */
-    @JacksonXmlProperty(localName = "super-node-id")
-    private String superNodeId;
-    /** list of elements cotaining in Supernode. */
-    @JacksonXmlElementWrapper(localName = "resources")
-    @JacksonXmlProperty(localName = "resource")
-    private List<Resource> resources;
-
-    /**
-     * SuperNode constructor.
-     *
-     * @param supernodeid superNode Id
-     * @param resources List of Supernode elements
-     */
-    public SuperNode(@JacksonXmlProperty(localName = "super-node-id") final String supernodeid,
-            @JacksonXmlProperty(localName = "Spresource") final List<Resource> resources) {
-        setSuperNodeId(supernodeid);
-        setResources(resources);
-    }
-
-    /**
-     * SuperNode constructor.
-     *
-     * @param supernodeid supernode Id
-     */
-    public SuperNode(String supernodeid) {
-        setSuperNodeId(supernodeid);
-        setResources(new ArrayList<Resource>());
-    }
-
-    /**
-     *Test if Supernode contains
-     *an XPDR.
-     * @return true if XPDR present, false else
-     */
-    public boolean isXpdrSrgAbsent() {
-        boolean result = true;
-        int present = 0;
-        if (resources.size() > 0) {
-            for (Resource resource : resources) {
-                String nodeId = resource.getNodeId();
-                if (nodeId != null) {
-                    if (nodeId.contains("XPDR")) {
-                        present++;
-                    }
-                    if (nodeId.contains("SRG")) {
-                        present++;
-                    }
-                }
-            }
-        }
-        if (present == 2) {
-            result = false;
-        }
-        return result;
-    }
-
-    public List<Resource> getResources() {
-        return resources;
-    }
-
-    public void setResources(List<Resource> resources) {
-        this.resources = resources;
-    }
-
-    public String getSuperNodeId() {
-        return superNodeId;
-    }
-
-    public void setSuperNodeId(String superNodeId) {
-        this.superNodeId = superNodeId;
-    }
-
-    @Override
-    public String toString() {
-        int index;
-        int size;
-        java.lang.String name = "SuperNode [";
-        java.lang.StringBuilder builder = new java.lang.StringBuilder(name);
-        if (superNodeId != null) {
-            builder.append("superNodeId=");
-            builder.append(superNodeId);
-        }
-        index = 0;
-        size = resources.size();
-        builder.append(", Resources [");
-        for (Resource tmp : resources) {
-            builder.append(tmp.toString());
-            index++;
-            if (index < size) {
-                builder.append(", ");
-            }
-        }
-        builder.append("]");
-        return builder.append(']').toString();
-    }
-
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNodePath.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/SuperNodePath.java
deleted file mode 100644 (file)
index e96eb5c..0000000
+++ /dev/null
@@ -1,733 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.google.common.collect.Lists;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.ListIterator;
-import java.util.SortedSet;
-import java.util.TreeSet;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubpce.rev170426.path.description.list.PathDescriptionsBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.AToZDirection;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.AToZDirectionBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ZToADirection;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ZToADirectionBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZ;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.atoz.direction.AToZKey;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToA;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToABuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.path.description.ztoa.direction.ZToAKey;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.Resource;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.ResourceBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.Link;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.LinkBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.pce.resource.resource.resource.link.LinkIdentifierBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * Class to build Path between
- * two Supernode.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-public class SuperNodePath {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(SuperNodePath.class);
-    /** List of NodeLinkNode. */
-    private List<NodeLinkNode> paths;
-    /** Supernode topology. */
-    private Network network;
-
-    /**
-     * SuperNodePath constructor.
-     *
-     * @param network Supernode topology
-     */
-    public SuperNodePath(Network network) {
-        setPaths(new ArrayList<NodeLinkNode>());
-        this.network = network;
-    }
-
-    /**
-     * test if Supernode is an
-     * extremity of path to build.
-     *
-     * @param end extremity node Id
-     * @param supernodes Supernodes list to build path
-     * @return true if link extremity, false else
-     */
-    private Boolean endNode(String end, List<String> supernodes) {
-        Boolean result = false;
-        if ((end != null) && (end.compareTo(" ") != 0)) {
-            for (String node : supernodes) {
-                if (node.compareTo(end) == 0) {
-                    result = true;
-                    break;
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     * get Supernode
-     * with supernode Id.
-     *
-     * @param nodeId supernode id to get
-     * @return SuperNode supernode gets
-     */
-    public SuperNode getSuperNode(String nodeId) {
-        SuperNode result = null;
-        if (this.network != null) {
-            for (SuperNode tmp : this.network.getSuperNodes()) {
-                if (tmp.getSuperNodeId().compareTo(nodeId) == 0) {
-                    result = tmp;
-                    break;
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     *find links between
-     *two Supernodes.
-     *
-     * @param aend begin extremity
-     * @param zend end extremity
-     * @param links Roadm to Roadm links
-     * @param direct determine if link is direct or not
-     * @return String list of links name
-     */
-    private List<String> findLinks(String aend, String zend, List<String> links, boolean direct) {
-        List<String> result = new ArrayList<String>();
-        if (links.size() > 0) {
-            aend = aend.replace("Node", "ROADM");
-            zend = zend.replace("Node", "ROADM");
-            String atozlink = null;
-            String ztoalink = null;
-            for (String tmp : links) {
-                if (tmp.contains(aend)
-                        && tmp.contains(zend)) {
-                    LOG.info("direct path found for : {} / {}", aend, zend);
-                    if (tmp.startsWith(aend)) {
-                        atozlink = tmp;
-                    }
-                    if (tmp.startsWith(zend)) {
-                        ztoalink = tmp;
-                    }
-                    if ((atozlink != null) && (ztoalink != null)) {
-                        result.add(atozlink.concat("/").concat(ztoalink));
-                        atozlink = null;
-                        ztoalink = null;
-                    }
-                }
-            }
-        } else {
-            LOG.info("no roadm-to-roadm links !");
-        }
-        return result;
-    }
-
-    /**
-     *find next Supernode hop.
-     *
-     * @param link roadm to roadm link
-     * @param aend begin supernode
-     * @param node list of supernode id
-     * @return String  supernodeId next hop
-     */
-    private String findHop(String link, String aend, List<String> node) {
-        String result = null;
-        aend = aend.replace("Node", "ROADM");
-        for (String tmp : node) {
-            tmp = tmp.replace("Node", "ROADM");
-            if (tmp.compareTo(aend) != 0) {
-                if (link.contains(aend) && link.contains(tmp)) {
-                    LOG.info("hop : {}", tmp);
-                    result = tmp;
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     *get all Supernode in
-     *topology.
-     *
-     * @return String list of Supernode Id
-     */
-    private List<String> getSuperNodeId() {
-        List<String> result = new ArrayList<String>();
-        if (this.network.getSuperNodes().size() > 0) {
-            for (SuperNode tmp : this.network.getSuperNodes()) {
-                result.add(tmp.getSuperNodeId());
-            }
-        }
-        return result;
-    }
-
-    /**
-     * get all roadm to roadm
-     * links in topology.
-     *
-     * @return String list of roadm to roadm links
-     */
-    private List<String> getRoadmLinks() {
-        List<String> result = new ArrayList<String>();
-        if (this.network.getRoadmToroadm().getLinks().size() > 0) {
-            for (String tmp : this.network.getRoadmToroadm().getLinks()) {
-                result.add(tmp);
-            }
-        }
-        return result;
-    }
-
-    /**
-     * create NodeLinkNode
-     * structure.
-     *
-     * @param links String list of roadm to roadm links
-     * @param aend beginning Supernode
-     * @param zend ending Supernode
-     * @param direct determine if link is direct or not
-     */
-    private void fill(List<String> links,String aend, String zend, boolean direct) {
-        String term = "indirect";
-        if (direct) {
-            term = "direct";
-        }
-        if (!links.isEmpty()) {
-            List<String> atoz = new ArrayList<String>();
-            List<String> ztoa = new ArrayList<String>();
-            for (String tmp : links) {
-                String [] split = tmp.split("/");
-                if (split.length == 2) {
-                    atoz.add(split[0]);
-                    ztoa.add(split[1]);
-                }
-            }
-            if (!atoz.isEmpty() && (atoz.size() == ztoa.size())) {
-                NodeLinkNode node = new NodeLinkNode(aend, zend, atoz,ztoa,direct);
-                this.paths.add(node);
-            }
-
-        } else {
-            LOG.info("{} links not found !", term);
-        }
-    }
-
-    /**
-     * launch SupernodePath process
-     * to build NodeLinkNode.
-     *
-     * @param aend beginning extremity path
-     * @param zend ending extremity path
-     */
-    public void run(String aend, String zend) {
-        if (this.network != null) {
-            List<String> supernodes = getSuperNodeId();
-            List<String> roadmLinks = getRoadmLinks();
-            if ((aend != null) && (zend != null)) {
-                int size = supernodes.size();
-                String hop = null;
-                List<String> links = null;
-                if (size > 0) {
-                    if (endNode(aend, supernodes) && endNode(zend, supernodes)) {
-                        LOG.info("Getting direct links ...");
-                        links = new ArrayList<String>();
-                        links = findLinks(aend,zend,roadmLinks,true);
-                        fill(links, aend, zend, true);
-                        LOG.info("Getting indirect links ..");
-                        links = new ArrayList<String>();
-                        for (String tmp : roadmLinks) {
-                            hop = findHop(tmp, aend, supernodes);
-                            if (hop != null) {
-                                if (hop.compareTo(zend.replace("Node", "ROADM")) != 0) {
-                                    LOG.info("next hop found : {}", hop);
-                                    links.addAll(findLinks(aend,hop,roadmLinks,false));
-                                    links.addAll(findLinks(hop,zend,roadmLinks,false));
-                                } else {
-                                    break;
-                                }
-                            }
-                        }
-                        fill(links, aend, zend, false);
-                    } else {
-                        LOG.info("aend or/and zend not exists !");
-                    }
-                }
-            } else {
-                LOG.info("aend or/and is null !");
-            }
-        } else {
-            LOG.info("network is null !!");
-        }
-    }
-
-    /**
-     * modify all AToZ Id
-     * in AToZ List containing
-     * in AToZdirection.
-     *
-     * @param order beginning order
-     * @param atozDirection AToZdirection List
-     * @return AToZdirection List
-     */
-    public List<AToZDirection> modifyOrder(int order, List<AToZDirection> atozDirection) {
-        List<AToZDirection> result = new ArrayList<AToZDirection>();
-        for (AToZDirection tmp : atozDirection) {
-            List<AToZ> atozList = tmp.getAToZ();
-            int size = atozList.size();
-            if (size > 0) {
-                for (ListIterator<AToZ> it = atozList.listIterator(); it.hasNext();) {
-                    AToZ atoz = it.next();
-                    org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription
-                        .rev170426.pce.resource.resource.Resource res = atoz.getResource().getResource();
-                    int tmpkey = order + Integer.parseInt(atoz.key().getId());
-                    AToZKey atozKey = new AToZKey(Integer.toString(tmpkey));
-                    org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
-                        .pathdescription.rev170426.pce.resource.Resource resource = new ResourceBuilder()
-                        .setResource(res).build();
-                    AToZ hop = new AToZBuilder().setId(atozKey.getId()).withKey(atozKey).setResource(resource).build();
-                    it.remove();
-                    it.add(hop);
-                    tmpkey++;
-                }
-                result.add(tmp);
-            }
-        }
-        return result;
-    }
-
-    /**
-     * merge two AToZdirection List.
-     *
-     * @param cleanInterA first AToZdirection List
-     * @param cleanInterZ second AToZdirection List
-     * @param first boolean to determine if it is the first time merge is done
-     * @return AToZDirection List
-     */
-    public List<AToZDirection> merge(List<AToZDirection> cleanInterA, List<AToZDirection> cleanInterZ,
-            boolean first) {
-        List<AToZDirection> result = new ArrayList<AToZDirection>();
-        if (!cleanInterA.isEmpty()) {
-            int order  = cleanInterA.get(0).getAToZ().size();
-            if (order > 0) {
-                List<AToZDirection> modify = modifyOrder(order, cleanInterZ);
-                if (!modify.isEmpty()) {
-                    for (AToZDirection tmp : cleanInterA) {
-                        List<AToZ> atozList = new ArrayList<AToZ>(tmp.getAToZ());
-                        for (AToZDirection add : modify) {
-                            ListIterator<AToZ> it = atozList.listIterator();
-                            /** on va a la fin de la liste */
-                            while (it.hasNext()) {
-                                it.next();
-                            }
-                            List<AToZ> addList = add.getAToZ();
-                            for (AToZ atoz : addList) {
-                                it.add(atoz);
-                            }
-                            AToZDirectionBuilder newDirection = new AToZDirectionBuilder();
-                            newDirection.setRate((long) 100).setAToZWavelengthNumber((long) 200).setAToZ(atozList);
-                            result.add(newDirection.build());
-                            atozList = new ArrayList<AToZ>(tmp.getAToZ());
-                        }
-                    }
-                } else {
-                    LOG.info("modify List is empty ! ");
-                }
-            } else {
-                LOG.info("order is not superior to 0");
-            }
-        } else {
-            if (first && !cleanInterZ.isEmpty()) {
-                LOG.info("first merge so result is a copy of second AToZDirection List !");
-                result = new ArrayList<AToZDirection>(cleanInterZ);
-            } else {
-                LOG.info("cleanInterA is empty !");
-            }
-        }
-        return result;
-    }
-
-    /**
-     * gets Degree number
-     * for roadm links.
-     *
-     * @param atozLink atoz roadm link
-     * @param ztoaLink ztoa roadm link
-     * @return String list of degree
-     */
-    public List<String> getDeg(String atozLink, String ztoaLink) {
-        List<String> result = new ArrayList<String>();
-        if ((atozLink != null) && (ztoaLink != null)) {
-            String [] split = atozLink.split("-", 4);
-            if (split.length == 4) {
-                result = Lists.newArrayList(split[1],split[3]);
-            }
-        } else {
-            LOG.info("atozlink and/or ztoalink is null !");
-        }
-        return result;
-    }
-
-    /**
-     * reverse link name
-     * (ROADMA-DEG1-ROADMZ-DEG2
-     * to
-     * ROADMZ-DEG2-ROADMA-DEG1).
-     *
-     * @param linkId Link name
-     * @return String link name reversed
-     */
-    public String reverseLinkId(String linkId) {
-        StringBuilder builder = new StringBuilder();
-        String [] split = linkId.split("-");
-        int size = split.length;
-        switch (size) {
-            case 3:
-                if (linkId.contains("XPDR")) {
-                    if (linkId.startsWith("XPDR")) {
-                        builder.append(split[1]).append("-")
-                        .append(split[2]).append("-")
-                        .append(split[0]);
-                    } else {
-                        builder.append(split[2]).append("-")
-                        .append(split[0]).append("-")
-                        .append(split[1]);
-                    }
-                }
-                break;
-
-            case 4:
-                builder.append(split[2]).append("-")
-                .append(split[3]).append("-")
-                .append(split[0]).append("-")
-                .append(split[1]);
-                break;
-
-            default:
-                break;
-        }
-        return builder.toString();
-    }
-
-    /**
-     * convert AToAdirection to
-     * ZToAdirection.
-     *
-     * @param atozDirection AToZdirection to convert
-     * @return ZToAdirection
-     */
-    public ZToADirection convertToZtoaDirection(AToZDirection atozDirection) {
-        ZToADirectionBuilder ztoaDirection = new ZToADirectionBuilder();
-        if (atozDirection != null) {
-            List<AToZ> atozList = atozDirection.getAToZ();
-            List<ZToA> ztoaList = new ArrayList<ZToA>();
-            if (!atozList.isEmpty()) {
-                List<AToZ> reverse = Lists.reverse(atozList);
-                /** Building path. */
-                ZToAKey ztoaKey = null;
-                Resource resource = null;
-                org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription
-                    .rev170426.pce.resource.resource.Resource resLink = null;
-                ZToA hop = null;
-                int odr = 0;
-                for (AToZ atoz : reverse) {
-                    ztoaKey = new ZToAKey(Integer.toString(odr));
-                    resLink = atoz.getResource().getResource();
-                    if (resLink != null) {
-                        if (resLink instanceof Link) {
-                            Link link = (Link) resLink;
-                            String newLinkId = reverseLinkId(link.getLinkIdentifier().getLinkId());
-                            if (newLinkId != null) {
-                                resource = new ResourceBuilder().setResource(new LinkBuilder()
-                                        .setLinkIdentifier(new LinkIdentifierBuilder()
-                                                .setLinkId(newLinkId)
-                                                .build())
-                                        .build())
-                                    .build();
-                            }
-
-                        } else {
-                            resource = new ResourceBuilder().setResource(resLink).build();
-                        }
-                    }
-                    if (resource != null) {
-                        hop = new ZToABuilder()
-                                .withKey(ztoaKey)
-                                .setResource(resource)
-                                .build();
-                        ztoaList.add(hop);
-                        odr++;
-                    } else {
-                        LOG.info("resource is null ");
-                    }
-                }
-                if (!ztoaList.isEmpty()) {
-                    ztoaDirection.setRate((long) 100).setZToAWavelengthNumber((long) 200).setZToA(ztoaList);
-                } else {
-                    LOG.info("ztoaList is empty !");
-                }
-            }
-        }
-        return ztoaDirection.build();
-    }
-
-    /**
-     *build Pathdescritions ordered List
-     *to be loaded in Pathdescriptions
-     *datastore.
-     *
-     * @param atozDirection AToZdirection List
-     * @param term direct ou indirect
-     * @return PathDescriptionsOrdered List
-     */
-    private SortedSet<PathDescriptionsOrdered> buildPathDescription(List<AToZDirection> atozDirection, String term) {
-        SortedSet<PathDescriptionsOrdered> result = new TreeSet<PathDescriptionsOrdered>();
-        PathDescriptionsBuilder pathDescr = new PathDescriptionsBuilder();
-        int size = atozDirection.size();
-        if (!atozDirection.isEmpty()) {
-            LOG.info("result list AToZDirection size  : {}", atozDirection.size());
-            List<ZToADirection> ztoadirList = new ArrayList<ZToADirection>();
-            for (AToZDirection atozdir : atozDirection) {
-                ZToADirection ztodir = convertToZtoaDirection(atozdir);
-                if (ztodir != null) {
-                    ztoadirList.add(ztodir);
-                }
-            }
-            if (!ztoadirList.isEmpty() && (size == ztoadirList.size())) {
-                LOG.info("building PathDescriptions ...");
-                int index = 1;
-                String pathName = null;
-                for (int indexPath = 0 ; indexPath < size ; indexPath++) {
-                    pathName = term.concat(Integer.toString(index));
-                    LOG.info("pathName : {}", pathName);
-                    pathDescr.setAToZDirection(atozDirection.get(indexPath))
-                    .setZToADirection(ztoadirList.get(indexPath)).setPathName(pathName);
-                    LOG.info("pathdesciption : {}", pathDescr.build().toString());
-                    result.add(new PathDescriptionsOrdered(pathDescr.build(),index));
-                    index++;
-                }
-            } else {
-                LOG.info("Something wrong happen during atodir conversion...");
-            }
-
-        } else {
-            LOG.info("atozDirection is empty");
-        }
-        return result;
-    }
-
-    /**
-     * gets link extremity.
-     *
-     * @param link link
-     * @return Supernode List of extremities
-     */
-    public List<SuperNode> getSuperNodeEndLink(String link) {
-        List<SuperNode> result = new ArrayList<SuperNode>();
-        if (link != null) {
-            String [] split = link.split("-");
-            if (split.length == 4) {
-                String aend = split[0].replaceAll("ROADM", "Node");
-                String zend = split[2].replaceAll("ROADM", "Node");
-                if ((aend != null) && (zend != null)) {
-                    LOG.info("getting super node for : {} and {}", aend, zend);
-                    SuperNode aendSp = getSuperNode(aend);
-                    SuperNode zendSp = getSuperNode(zend);
-                    if ((aendSp != null) && (zendSp != null)) {
-                        result.add(aendSp);
-                        result.add(zendSp);
-                    }
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     * build all direct paths.
-     *
-     * @param aend beginning extremity path
-     * @param zend ending extremity path
-     * @param nodeLinkNodes list paths
-     * @return PathDescriptionsOrdered List of direct paths
-     */
-    public SortedSet<PathDescriptionsOrdered> getDirectPathDesc(String aend, String zend,
-            List<NodeLinkNode> nodeLinkNodes) {
-        List<AToZDirection> atozdirectionPaths = new ArrayList<AToZDirection>();
-        SortedSet<PathDescriptionsOrdered> result = new TreeSet<PathDescriptionsOrdered>();
-        SuperNode aendSp = getSuperNode(aend);
-        SuperNode zendSp = getSuperNode(zend);
-        if (!nodeLinkNodes.isEmpty()) {
-            for (NodeLinkNode tmp : nodeLinkNodes) {
-                if (tmp.getDirect()) {
-                    LOG.info("Direct NodeLinkNode : {}", tmp.toString());
-                    String atozLink = null;
-                    String ztoaLink = null;
-                    atozLink = tmp.getAtozLink().get(0);
-                    ztoaLink = tmp.getZtoaLink().get(0);
-                    if ((atozLink != null) && (ztoaLink != null)) {
-                        LOG.info("atozlink : {}", atozLink);
-                        LOG.info("ztoalink : {}", ztoaLink);
-                        InterNodePath interAend = new InterNodePath(aendSp);
-                        interAend.buildPath(zend);
-                        InterNodePath interZend = new InterNodePath(zendSp);
-                        interZend.buildPath(zend);
-                        List<String> deg = getDeg(atozLink,ztoaLink);
-                        LOG.info("deg : {}", deg.toString());
-                        if (deg.size() == 2) {
-                            List<AToZDirection> cleanInterA =
-                                    interAend.replaceOrRemoveAToZDirectionEndLink(deg.get(0),"",atozLink,
-                                            interAend.getAtoz(),false);
-                            List<AToZDirection> cleanInterZ =
-                                    interZend.replaceOrRemoveAToZDirectionEndLink("TAIL-LINKS",deg.get(1),"",
-                                            interZend.getAtoz(),true);
-                            if (!cleanInterA.isEmpty() && !cleanInterZ.isEmpty()) {
-                                atozdirectionPaths.addAll(merge(cleanInterA,cleanInterZ,false));
-                            } else {
-                                LOG.info("cleanInterA ad/or cleanInterZ is empty !");
-                            }
-                        } else {
-                            LOG.info("deg size is not correct, must be 2 ! ");
-                        }
-                    } else {
-                        LOG.info("atozlink and / or ztoalink is null");
-                    }
-                }
-            }
-
-        } else {
-            LOG.info("List of direct path is empty !");
-        }
-        if (!atozdirectionPaths.isEmpty()) {
-            LOG.info("result size : {}", result.size());
-            result = buildPathDescription(atozdirectionPaths,aend.concat("To").concat(zend).concat("_direct_"));
-        } else {
-            LOG.info("result is empty");
-        }
-        return result;
-    }
-
-    /**
-     * build all indirect paths.
-     *
-     * @param aend beginning extremity path
-     * @param zend ending extremity path
-     * @param nodeLinkNodes list paths
-     * @return PathDescriptionsOrdered List of indirect paths
-     */
-    public SortedSet<PathDescriptionsOrdered> getIndirectPathDesc(String aend, String zend,
-            List<NodeLinkNode> nodeLinkNodes) {
-        List<AToZDirection> atozdirectionPaths = new ArrayList<AToZDirection>();
-        SortedSet<PathDescriptionsOrdered> result = new TreeSet<PathDescriptionsOrdered>();
-        SuperNode aendSp = getSuperNode(aend);
-        SuperNode zendSp = getSuperNode(zend);
-        if (!nodeLinkNodes.isEmpty()) {
-            for (NodeLinkNode tmp : nodeLinkNodes) {
-                if (!tmp.getDirect()) {
-                    LOG.info("Indirect NodeLinkNode : {}", tmp.toString());
-                    int size = tmp.getAtozLink().size();
-                    /** must be two for now just one hop. */
-                    LOG.info("number of links  : {}", size);
-                    boolean first = true;
-                    if (size == 2) {
-                        List<String> atozLinks = tmp.getAtozLink();
-                        List<String> ztoaLinks = tmp.getZtoaLink();
-                        if (!atozLinks.isEmpty() && !ztoaLinks.isEmpty()) {
-                            LOG.info("atozlink : {}", atozLinks.toString());
-                            LOG.info("ztoalink : {}", ztoaLinks.toString());
-                            int loop = 0;
-                            while (loop < 2) {
-                                List<SuperNode> hop = getSuperNodeEndLink(atozLinks.get(loop));
-                                if (!hop.isEmpty() && (hop.size() == 2)) {
-                                    aendSp = hop.get(0);
-                                    zendSp = hop.get(1);
-                                    InterNodePath interAend = new InterNodePath(aendSp);
-                                    interAend.buildPath(zend);
-                                    LOG.info("interAend : {}", interAend.getAtoz().toString());
-                                    InterNodePath interZend = new InterNodePath(zendSp);
-                                    interZend.buildPath(zend);
-                                    LOG.info("interZend : {}", interZend.getAtoz().toString());
-                                    List<String> deg1 = getDeg(atozLinks.get(loop),ztoaLinks.get(loop));
-                                    LOG.info("deg1 : {}", deg1.toString());
-                                    if (!deg1.isEmpty() && (deg1.size() == 2)) {
-                                        List<AToZDirection> cleanInterA = null;
-                                        List<AToZDirection> cleanInterZ = null;
-                                        if (zendSp.getSuperNodeId().compareTo(zend) == 0) {
-                                            cleanInterA = interAend.replaceOrRemoveAToZDirectionEndLink(deg1.get(0),
-                                                    "",atozLinks.get(loop),interAend.getAtoz(),false);
-                                            LOG.info("next hop is zend");
-                                            cleanInterZ = interZend.replaceOrRemoveAToZDirectionEndLink("TAIL-LINKS",
-                                                    deg1.get(1),"",interZend.getAtoz(),true);
-                                        } else if (loop < 1) {
-                                            cleanInterA = interAend.replaceOrRemoveAToZDirectionEndLink(deg1.get(0),
-                                                    "",atozLinks.get(loop),interAend.getAtoz(),false);
-                                            cleanInterZ = interZend.getAToZDirectionEndBy(deg1.get(1),
-                                                    interZend.getAtoz(), 1);
-                                        }
-                                        if (!cleanInterA.isEmpty() && !cleanInterZ.isEmpty()) {
-                                            atozdirectionPaths = merge(atozdirectionPaths,cleanInterA,first);
-                                            atozdirectionPaths = merge(atozdirectionPaths, cleanInterZ,false);
-                                            first = false;
-                                        } else {
-                                            LOG.info("cleanInterA ad/or cleanInterZ is empty !");
-                                            break;
-                                        }
-                                    }
-                                } else {
-                                    LOG.info("Hop list is empty");
-                                }
-                                loop++;
-                            }
-                        }
-                    } else {
-                        LOG.info("Link size is not supported , must be two !");
-                    }
-                }
-            }
-        } else {
-            LOG.info("List of indirect path is empty !");
-        }
-        if (!atozdirectionPaths.isEmpty()) {
-            LOG.info("result size : {}", result.size());
-            result = buildPathDescription(atozdirectionPaths,aend.concat("To").concat(zend).concat("_indirect_"));
-        } else {
-            LOG.info("result is empty");
-        }
-        return result;
-    }
-
-    public static void main(String[] args) {
-        Topology topo = new Topology();
-        topo.start();
-        SuperNodePath path = new SuperNodePath(topo.getNetwork());
-        String aend = "NodeA";
-        String zend = "NodeZ";
-        path.run(aend, zend);
-        path.getDirectPathDesc(aend, zend, path.getPaths());
-        path.getIndirectPathDesc(aend, zend, path.getPaths());
-    }
-
-    public List<NodeLinkNode> getPaths() {
-        return this.paths;
-    }
-
-    public void setPaths(List<NodeLinkNode> paths) {
-        this.paths = paths;
-    }
-}
diff --git a/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Topology.java b/tests/stubpce/src/main/java/org/opendaylight/transportpce/stubpce/topology/Topology.java
deleted file mode 100644 (file)
index 92d98c8..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubpce.topology;
-
-import com.fasterxml.jackson.dataformat.xml.XmlMapper;
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import org.osgi.framework.BundleContext;
-import org.osgi.framework.FrameworkUtil;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class to build Supernode
- * topology (fakepce.xml file has to be
- * in src/main/ressources folder
- * to be loaded in taget/classes).
- *
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on
- *         behalf of Orange
- */
-public class Topology {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(Topology.class);
-    /** file must be in src/main/resources in order to be in
-     * target/classes after compilation.
-     */
-
-    /** Structure of Supernode topology. */
-    private Network network;
-    private BundleContext bcontext;
-    /** String to get Supernode topolgy info freom xml file. */
-    private String xml = null;
-
-    /**
-     * load fakepce.xml file
-     * and convert the informations
-     * in Network structure.
-     *
-     */
-    public void start() {
-        setNetwork(null);
-        XmlMapper xmlMapper = new XmlMapper();
-        try {
-            InputStream is = FrameworkUtil.getBundle(Topology.class).getBundleContext()
-                    .getBundle().getEntry("/fakepce.xml").openStream();
-            xml = inputStreamToString(is);
-            if (xml != null) {
-                setNetwork(xmlMapper.readValue(xml, Network.class));
-                LOG.info("Network : {}", network.toString());
-            } else {
-                LOG.info("String xml is null");
-            }
-        } catch (IOException e) {
-            LOG.error("The file fakepce.xml not found", e);
-        }
-    }
-
-    /**
-     * get xml file
-     * content.
-     *
-     * @param is InputStream
-     * @return String xml file content
-     * @throws IOException exception raised
-     */
-    private String inputStreamToString(InputStream is) throws IOException {
-        StringBuilder sb = new StringBuilder();
-        String line;
-        BufferedReader br = new BufferedReader(new InputStreamReader(is));
-        while ((line = br.readLine()) != null) {
-            sb.append(line);
-        }
-        br.close();
-        return sb.toString();
-    }
-
-    public static void main(String[] args) {
-        Topology topo = new Topology();
-        topo.start();
-    }
-
-    public Network getNetwork() {
-        return network;
-    }
-
-    public void setNetwork(Network network) {
-        this.network = network;
-    }
-
-    public void setBcontext(BundleContext bcontext) {
-        this.bcontext = bcontext;
-    }
-
-    public BundleContext getBcontext() {
-        return this.bcontext;
-    }
-}
diff --git a/tests/stubpce/src/main/resources/OSGI-INF/blueprint/Stubpce-blueprint.xml b/tests/stubpce/src/main/resources/OSGI-INF/blueprint/Stubpce-blueprint.xml
deleted file mode 100644 (file)
index 30a4f3a..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- vi: set et smarttab sw=4 tabstop=4: -->\r
-<!--\r
-Copyright Â© 2017 Orange and others. All rights reserved.\r
-\r
-This program and the accompanying materials are made available under the\r
-terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
-and is available at http://www.eclipse.org/legal/epl-v10.html\r
-\r
-Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange\r
--->\r
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"\r
-  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"\r
-  odl:use-default-for-reference-types="true">\r
-\r
-  <reference id="rpcRegistry"\r
-             interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\r
-\r
-  <reference id="notificationPublishService"\r
-          interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"\r
-          odl:type="default" />\r
-\r
-  <reference id="notificationService"\r
-             interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"\r
-             odl:type="default" />\r
-\r
-  <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"\r
-             odl:type="default" />\r
-\r
-  <bean id="provider"\r
-    class="org.opendaylight.transportpce.stubpce.impl.StubpceProvider"\r
-    init-method="init" destroy-method="close">\r
-    <argument ref="rpcRegistry" />\r
-    <argument ref="notificationPublishService" />\r
-    <argument ref="notificationService"/>\r
-    <argument ref="dataBroker" />\r
-  </bean>\r
-\r
-  <bean id="injectxmlfile"\r
-    class="org.opendaylight.transportpce.stubpce.topology.Topology"\r
-    init-method="start">\r
-    <property name="bcontext" ref="blueprintBundleContext"/>\r
-  </bean>\r
-\r
-</blueprint>\r
diff --git a/tests/stubpce/src/main/resources/fakepce.xml b/tests/stubpce/src/main/resources/fakepce.xml
deleted file mode 100644 (file)
index 2d4433a..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<network>
-  <roadm-to-roadm>
-    <links>
-      <link>ROADMA-DEG1-ROADMB-DEG1</link>
-      <link>ROADMA-DEG2-ROADMZ-DEG2</link>
-      <link>ROADMZ-DEG1-ROADMB-DEG1</link>
-      <link>ROADMZ-DEG2-ROADMA-DEG2</link>
-      <link>ROADMB-DEG1-ROADMA-DEG1</link>
-      <link>ROADMB-DEG2-ROADMZ-DEG1</link>
-    </links>
-  </roadm-to-roadm>
-  <super-nodes>
-    <super-node>
-      <super-node-id>NodeA</super-node-id>
-      <resources>
-        <resource>
-          <node-id>XPDRA</node-id>
-          <links>
-            <link>XPDRA-ROADMA-SRG1</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>CLIENT1</tp-id>
-              <node-id>XPDRA</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>NETWORK1</tp-id>
-              <node-id>XPDRA</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-        <resource>
-          <node-id>ROADMA-SRG1</node-id>
-          <links>
-            <link>ROADMA-SRG1-XPDRA</link>
-            <link>SRG1-CP-DEG1-CP</link>
-            <link>SRG1-CP-DEG2-CP</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>SRG1-PP1</tp-id>
-              <node-id>ROADMA-SRG1</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>SRG1-PP2</tp-id>
-              <node-id>ROADMA-SRG1</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-        <resource>
-          <node-id>ROADMA-DEG1</node-id>
-          <links>
-            <link>ROADMA-DEG1-ROADMA-DEG2</link>
-            <link>DEG1-CP-SRG1-CP</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>DEG1-CTP-TXRX</tp-id>
-              <node-id>ROADMA-DEG1</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>DEG1-TTP-TXRX</tp-id>
-              <node-id>ROADMA-DEG1</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-        <resource>
-          <node-id>ROADMA-DEG2</node-id>
-          <links>
-            <link>ROADMA-DEG2-ROADMA-DEG1</link>
-            <link>DEG2-CP-SRG1-CP</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>DEG2-CTP-TXRX</tp-id>
-              <node-id>ROADMA-DEG2</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>DEG2-TTP-TXRX</tp-id>
-              <node-id>ROADMA-DEG2</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-      </resources>
-    </super-node>
-    <super-node>
-      <super-node-id>NodeB</super-node-id>
-      <resources>
-        <resource>
-          <node-id>ROADMB-DEG1</node-id>
-          <links>
-            <link>ROADMB-DEG1-ROADMB-DEG2</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>DEG1-CTP-TXRX</tp-id>
-              <node-id>ROADMB-DEG1</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>DEG1-TTP-TXRX</tp-id>
-              <node-id>ROADMB-DEG1</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-        <resource>
-          <node-id>ROADMB-DEG2</node-id>
-          <links>
-            <link>ROADMB-DEG2-ROADMB-DEG1</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>DEG2-CTP-TXRX</tp-id>
-              <node-id>ROADMB-DEG2</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>DEG2-TTP-TXRX</tp-id>
-              <node-id>ROADMB-DEG2</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-      </resources>
-    </super-node>
-    <super-node>
-      <super-node-id>NodeZ</super-node-id>
-      <resources>
-        <resource>
-          <node-id>XPDRC</node-id>
-          <links>
-            <link>XPDRC-ROADMZ-SRG1</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>CLIENT1</tp-id>
-              <node-id>XPDRC</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>NETWORK1</tp-id>
-              <node-id>XPDRC</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-        <resource>
-          <node-id>ROADMZ-SRG1</node-id>
-          <links>
-            <link>ROADMZ-SRG1-XPDRC</link>
-            <link>SRG1-CP-DEG1-CP</link>
-            <link>SRG1-CP-DEG2-CP</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>SRG1-PP1</tp-id>
-              <node-id>ROADMZ-SRG1</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>SRG1-PP2</tp-id>
-              <node-id>ROADMZ-SRG1</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-        <resource>
-          <node-id>ROADMA-DEG1</node-id>
-          <links>
-            <link>ROADMZ-DEG1-ROADMZ-DEG2</link>
-            <link>DEG1-CP-SRG1-CP</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>DEG1-CTP-TXRX</tp-id>
-              <node-id>ROADMA-DEG1</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>DEG1-TTP-TXRX</tp-id>
-              <node-id>ROADMA-DEG1</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-        <resource>
-          <node-id>ROADMZ-DEG2</node-id>
-          <links>
-            <link>ROADMZ-DEG2-ROADMZ-DEG1</link>
-            <link>DEG2-CP-SRG1-CP</link>
-          </links>
-          <logical-connection-points>
-            <logical-connection-point>
-              <tp-id>DEG2-CTP-TXRX</tp-id>
-              <node-id>ROADMZ-DEG2</node-id>
-            </logical-connection-point>
-            <logical-connection-point>
-              <tp-id>DEG2-TTP-TXRX</tp-id>
-              <node-id>ROADMZ-DEG2</node-id>
-            </logical-connection-point>
-          </logical-connection-points>
-        </resource>
-      </resources>
-    </super-node>
-  </super-nodes>
-</network>
diff --git a/tests/stubrenderer/pom.xml b/tests/stubrenderer/pom.xml
deleted file mode 100644 (file)
index a80b601..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
-Copyright Â© 2017 Orange and others. All rights reserved.
-
-This program and the accompanying materials are made available under the
-terms of the Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-
-Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.opendaylight.mdsal</groupId>
-    <artifactId>binding-parent</artifactId>
-    <version>3.0.8</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce</groupId>
-  <artifactId>transportpce-stubrenderer</artifactId>
-  <version>0.4.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>mdsal-artifacts</artifactId>
-        <version>1.9.1-SNAPSHOT</version>
-        <scope>import</scope>
-        <type>pom</type>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.netconf</groupId>
-        <artifactId>netconf-artifacts</artifactId>
-        <version>1.6.1-SNAPSHOT</version>
-        <scope>import</scope>
-        <type>pom</type>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>transportpce-api</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-network</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-service</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-device</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>transportpce-stubmodels</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.controller.model</groupId>
-      <artifactId>model-topology</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.netconf</groupId>
-      <artifactId>sal-netconf-connector</artifactId>
-    </dependency>
-
-    <!-- Testing Dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
diff --git a/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/SendingRendererRPCs.java b/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/SendingRendererRPCs.java
deleted file mode 100644 (file)
index cdcdc0e..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubrenderer;
-
-import com.google.common.util.concurrent.ListenableFuture;
-import com.google.common.util.concurrent.ListeningExecutorService;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.concurrent.Callable;
-
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.service.TopologyBuilder;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.topology.rev161014.topology.AToZ;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.topology.rev161014.topology.ZToA;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- *Class for Sending
- * Renderer requests :
- * - Service-implementation-request
- * - Service-delete-request.
- * @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
- *
- */
-public class SendingRendererRPCs {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(SendingRendererRPCs.class);
-    /** define procedure success (or not ). */
-    private Boolean success;
-    /** define type of request<br>
-     * <code>true</code> pathcomputation <br>
-     * <code>false</code> cancelresourcereserve. */
-    private TopologyBuilder topology;
-    private List<AToZ> atoz;
-    private List<ZToA> ztoa;
-    private String error;
-    private final ListeningExecutorService executor;
-
-    public SendingRendererRPCs(ListeningExecutorService executor) {
-        success = true;
-        setTopology(null);
-        this.executor = executor;
-        setError("");
-    }
-
-    private void buildAtoZ() {
-        atoz = new ArrayList<AToZ>();
-    }
-
-    private void buildZtoA() {
-        ztoa = new ArrayList<ZToA>();
-    }
-
-    public ListenableFuture<Boolean> serviceDelete() {
-        LOG.info("ServiceDelete request ...");
-        success = false;
-        return executor.submit(new Callable<Boolean>() {
-            @Override
-            public Boolean call() throws Exception {
-                Boolean output = true;
-                LOG.info("Wait for 10s til beginning the Renderer serviceDelete request");
-                try {
-                    Thread.sleep(10000); //sleep for 10s
-                } catch (InterruptedException e) {
-                    output = false;
-                    LOG.error("Thread.sleep failed : {}", e.toString());
-                }
-                buildAtoZ();
-                buildZtoA();
-                success = true;
-                return output;
-            }
-        });
-    }
-
-    public ListenableFuture<Boolean> serviceImplementation() {
-        LOG.info("serviceImplementation request ...");
-        success = false;
-        return executor.submit(new Callable<Boolean>() {
-            @Override
-            public Boolean call() throws Exception {
-                Boolean output = true;
-                LOG.info("Wait for 10s til beginning the Renderer serviceDelete request");
-                try {
-                    Thread.sleep(10000); //sleep for 10s
-                } catch (InterruptedException e) {
-                    output = false;
-                    LOG.error("Thread.sleep failed : {}", e.toString());
-                }
-                buildAtoZ();
-                buildZtoA();
-                setTopology(new TopologyBuilder()
-                        .setAToZ(atoz)
-                        .setZToA(ztoa));
-                output = true;
-                success = true;
-                return output;
-            }
-        });
-    }
-
-    public Boolean getSuccess() {
-        return success;
-    }
-
-    public void setSuccess(Boolean success) {
-        this.success = success;
-    }
-
-    public TopologyBuilder getTopology() {
-        return topology;
-    }
-
-    public void setTopology(TopologyBuilder topo) {
-        this.topology = topo;
-    }
-
-    public String getError() {
-        return error;
-    }
-
-    public void setError(String error) {
-        this.error = error;
-    }
-}
diff --git a/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/StubrendererCompliancyCheck.java b/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/StubrendererCompliancyCheck.java
deleted file mode 100644 (file)
index 173e7d0..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.transportpce.stubrenderer;
-
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.service.handler.header.ServiceHandlerHeader;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class for checking service sdnc-request-header compliancy.
- *
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on behalf of Orange
- *
- */
-public class StubrendererCompliancyCheck {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(StubrendererCompliancyCheck.class);
-    /** SdncRequestHeader. */
-    private ServiceHandlerHeader serviceHandlerHeader;
-    /** Service Name. */
-    private String serviceName;
-    /** Response message from procedure. */
-    private String message;
-
-
-    public StubrendererCompliancyCheck(String serviceName,ServiceHandlerHeader serviceHandlerHeader) {
-        this.serviceName = serviceName;
-        this.serviceHandlerHeader = serviceHandlerHeader;
-        this.setMessage("");
-    }
-
-    /**
-     * Check if a String is not null and not equal to void.
-     *
-     * @param value
-     *            String value
-     * @return true if String ok false if not
-     */
-    public Boolean checkString(String value) {
-        Boolean result = false;
-        if (value != null && value.compareTo("") != 0) {
-            result = true;
-        }
-        return result;
-
-    }
-
-    /**
-     * Check Compliancy of Service request.
-     *
-     * @param contype
-     *            Boolean to check connection Type
-     * @param servicehandler
-     *            Boolean to check sndcRequestHeader
-     *
-     * @return true if String ok false if not
-     */
-    public Boolean check(Boolean contype, Boolean servicehandler) {
-        Boolean result = true;
-        if (!checkString(serviceName)) {
-            result = false;
-            message = "Service Name is not set";
-            LOG.info(message);
-        }
-        if (servicehandler) {
-            if (serviceHandlerHeader != null) {
-                String requestId = serviceHandlerHeader.getRequestId();
-                if (!checkString(requestId)) {
-                    result = false;
-                    message = "Service serviceHandlerHeader 'request-id' is not set";
-                    LOG.info(message);
-                }
-            } else {
-                result = false;
-                message = "Service serviceHandlerHeader is not set ";
-                LOG.info(message);
-            }
-        }
-        return result;
-    }
-
-    public String getMessage() {
-        return message;
-    }
-
-    public void setMessage(String message) {
-        this.message = message;
-    }
-}
diff --git a/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/impl/StubrendererImpl.java b/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/impl/StubrendererImpl.java
deleted file mode 100644 (file)
index 6e197d5..0000000
+++ /dev/null
@@ -1,299 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-
-package org.opendaylight.transportpce.stubrenderer.impl;
-
-import com.google.common.util.concurrent.FutureCallback;
-import com.google.common.util.concurrent.Futures;
-import com.google.common.util.concurrent.ListenableFuture;
-import com.google.common.util.concurrent.ListeningExecutorService;
-import com.google.common.util.concurrent.MoreExecutors;
-import java.util.concurrent.Executors;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.transportpce.stubrenderer.SendingRendererRPCs;
-import org.opendaylight.transportpce.stubrenderer.StubrendererCompliancyCheck;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceDeleteInput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceDeleteOutput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceDeleteOutputBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceImplementationRequestInput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceImplementationRequestOutput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceImplementationRequestOutputBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceRpcResultSp;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceRpcResultSpBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.StubrendererService;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.service.rpc.result.sp.PathTopology;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.service.rpc.result.sp.PathTopologyBuilder;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.configuration.response.common.ConfigurationResponseCommonBuilder;
-import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev161014.service.TopologyBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.RpcStatusEx;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.service.types.rev170426.ServicePathNotificationTypes;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-
-/**
- * Class to implement StubrendererService.
- * @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
- *
- */
-public class StubrendererImpl implements StubrendererService {
-    /** Logging. */
-    private static final Logger LOG = LoggerFactory.getLogger(StubrendererImpl.class);
-    /** send notification. */
-    private NotificationPublishService notificationPublishService;
-    private ServiceRpcResultSp notification;
-    private final ListeningExecutorService executor = MoreExecutors
-            .listeningDecorator(Executors.newFixedThreadPool(10));
-    /** check service sdnc-request-header compliancy. */
-    private StubrendererCompliancyCheck compliancyCheck;
-
-    public StubrendererImpl(NotificationPublishService notificationPublishService) {
-        this.notificationPublishService = notificationPublishService;
-    }
-
-    @Override
-    public ListenableFuture<RpcResult<ServiceImplementationRequestOutput>> serviceImplementationRequest(
-            ServiceImplementationRequestInput input) {
-        LOG.info("RPC  serviceImplementationRequest request received");
-        String responseCode = "";
-        String message = "";
-        ConfigurationResponseCommonBuilder configurationResponseCommon = null;
-
-        this.compliancyCheck = new StubrendererCompliancyCheck(input.getServiceName(), input.getServiceHandlerHeader());
-        if (this.compliancyCheck.check(false, true)) {
-            LOG.info("Service compliant !");
-            /**
-             * If compliant, service-request parameters are verified in order to
-             * check if there is no missing parameter that prevents calculating
-             * a path and implement a service.
-             */
-
-            this.notification = new ServiceRpcResultSpBuilder()
-                    .setNotificationType(ServicePathNotificationTypes.ServiceImplementationRequest)
-                    .setServiceName(input.getServiceName())
-                    .setStatus(RpcStatusEx.Pending)
-                    .setStatusMessage("Service compliant, submitting serviceImplementation Request ...")
-                    .build();
-            try {
-                this.notificationPublishService.putNotification(this.notification);
-            } catch (InterruptedException e) {
-                LOG.info("notification offer rejected : {}", e);
-            }
-
-            SendingRendererRPCs sendingRenderer = new SendingRendererRPCs(this.executor);
-            FutureCallback<Boolean> rendererCallback =
-                    new FutureCallback<Boolean>() {
-                String message = "";
-                ServiceRpcResultSp notification = null;
-
-                @Override
-                public void onFailure(Throwable arg0) {
-                    LOG.error("Failure message : {}", arg0.toString());
-                    LOG.error("Service implementation failed !");
-                    this.notification = new ServiceRpcResultSpBuilder()
-                            .setNotificationType(ServicePathNotificationTypes.ServiceImplementationRequest)
-                            .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                            .setStatusMessage("PCR Request failed  : {}" + arg0.getMessage()).build();
-                    try {
-                        StubrendererImpl.this.notificationPublishService.putNotification(this.notification);
-                    } catch (InterruptedException e) {
-                        LOG.info("notification offer rejected : {}", e);
-                    }
-                }
-
-                @Override
-                public void onSuccess(Boolean response) {
-                    LOG.info("response : {}", response);
-                    if (response) {
-                        this.message = "Service implemented !";
-                        TopologyBuilder topo = sendingRenderer.getTopology();
-                        ServiceRpcResultSpBuilder tmp = new ServiceRpcResultSpBuilder()
-                                .setNotificationType(ServicePathNotificationTypes.ServiceImplementationRequest)
-                                .setServiceName(input.getServiceName())
-                                .setStatus(RpcStatusEx.Successful)
-                                .setStatusMessage(this.message);
-                        if (topo != null) {
-                            PathTopology value = new PathTopologyBuilder()
-                                    .setAToZ(topo.getAToZ())
-                                    .setZToA(topo.getZToA())
-                                    .build();
-                            tmp.setPathTopology(value);
-                        }
-                        this.notification = tmp.build();
-                    } else {
-                        this.message = "Service implementation failed : " + sendingRenderer.getError();
-                        this.notification = new ServiceRpcResultSpBuilder()
-                                .setNotificationType(ServicePathNotificationTypes.ServiceImplementationRequest)
-                                .setServiceName("")
-                                .setStatus(RpcStatusEx.Failed).setStatusMessage(this.message)
-                                .build();
-                    }
-                    LOG.info(this.notification.toString());
-                    try {
-                        StubrendererImpl.this.notificationPublishService.putNotification(this.notification);
-                    } catch (InterruptedException e) {
-                        LOG.info("notification offer rejected : {}", e);
-                    }
-                    LOG.info(this.message);
-                }
-            };
-            ListenableFuture<Boolean> renderer = sendingRenderer.serviceImplementation();
-            Futures.addCallback(renderer, rendererCallback, this.executor);
-            LOG.info("Service implmentation Request in progress ");
-            configurationResponseCommon = new ConfigurationResponseCommonBuilder()
-                    .setAckFinalIndicator("Yes")
-                    .setRequestId(input.getServiceHandlerHeader().getRequestId())
-                    .setResponseCode("200")
-                    .setResponseMessage("Service implementation Request in progress ");
-
-            ServiceImplementationRequestOutput output = new ServiceImplementationRequestOutputBuilder()
-                    .setConfigurationResponseCommon(configurationResponseCommon.build())
-                    .build();
-            return RpcResultBuilder.success(output).buildFuture();
-        } else {
-            message = this.compliancyCheck.getMessage();
-            responseCode = "500";
-            LOG.info("Service not compliant caused by : {}", message);
-            this.notification = new ServiceRpcResultSpBuilder()
-                    .setNotificationType(ServicePathNotificationTypes.ServiceDelete)
-                    .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                    .setStatusMessage("Service not compliant caused by : " + message)
-                    .build();
-            try {
-                this.notificationPublishService.putNotification(this.notification);
-            } catch (InterruptedException e) {
-                LOG.info("notification offer rejected : {}", e);
-            }
-        }
-        configurationResponseCommon = new ConfigurationResponseCommonBuilder()
-                .setAckFinalIndicator("yes")
-                .setRequestId(input.getServiceHandlerHeader().getRequestId())
-                .setResponseCode(responseCode)
-                .setResponseMessage(message);
-        ServiceImplementationRequestOutput output = new ServiceImplementationRequestOutputBuilder()
-                .setConfigurationResponseCommon(configurationResponseCommon.build())
-                .build();
-
-        return RpcResultBuilder.success(output).buildFuture();
-    }
-
-    @Override
-    public ListenableFuture<RpcResult<ServiceDeleteOutput>> serviceDelete(ServiceDeleteInput input) {
-        String message = "";
-        LOG.info("RPC serviceDelete request received");
-        String responseCode = "";
-        ConfigurationResponseCommonBuilder configurationResponseCommon = null;
-        this.compliancyCheck = new StubrendererCompliancyCheck(input.getServiceName(), input.getServiceHandlerHeader());
-        if (this.compliancyCheck.check(false, true)) {
-            LOG.info("Service compliant !");
-            /**
-             * If compliant, service-request parameters are verified in order to
-             * check if there is no missing parameter that prevents calculating
-             * a path and implement a service.
-             */
-
-            this.notification = new ServiceRpcResultSpBuilder()
-                    .setNotificationType(ServicePathNotificationTypes.ServiceDelete)
-                    .setServiceName(input.getServiceName())
-                    .setStatus(RpcStatusEx.Pending)
-                    .setStatusMessage("Service compliant, submitting serviceDelete Request ...")
-                    .build();
-            try {
-                this.notificationPublishService.putNotification(this.notification);
-            } catch (InterruptedException e) {
-                LOG.info("notification offer rejected : {}", e);
-            }
-            SendingRendererRPCs sendingRenderer = new SendingRendererRPCs(this.executor);
-            FutureCallback<Boolean> rendererCallback = new FutureCallback<Boolean>() {
-                String message = "";
-                ServiceRpcResultSp notification = null;
-
-                @Override
-                public void onFailure(Throwable arg0) {
-                    LOG.error("Failure message : {}", arg0.toString());
-                    LOG.error("Service delete failed !");
-                    this.notification = new ServiceRpcResultSpBuilder()
-                            .setNotificationType(ServicePathNotificationTypes.ServiceDelete)
-                            .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                            .setStatusMessage("PCR Request failed  : " + arg0.getMessage()).build();
-                    try {
-                        StubrendererImpl.this.notificationPublishService.putNotification(this.notification);
-                    } catch (InterruptedException e) {
-                        LOG.info("notification offer rejected : {}", e);
-                    }
-                }
-
-                @Override
-                public void onSuccess(Boolean response) {
-                    LOG.info("response : {}", response);
-                    if (response) {
-                        this.message = "Service deleted !";
-                        this.notification = new ServiceRpcResultSpBuilder()
-                                .setNotificationType(ServicePathNotificationTypes.ServiceDelete)
-                                .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Successful)
-                                .setStatusMessage(this.message).build();
-                    } else {
-                        this.message = "Service delete failed : " + sendingRenderer.getError();
-                        this.notification = new ServiceRpcResultSpBuilder()
-                                .setNotificationType(ServicePathNotificationTypes.ServiceDelete)
-                                .setServiceName("")
-                                .setStatus(RpcStatusEx.Failed).setStatusMessage(this.message)
-                                .build();
-                    }
-                    LOG.info(this.notification.toString());
-                    try {
-                        StubrendererImpl.this.notificationPublishService.putNotification(this.notification);
-                    } catch (InterruptedException e) {
-                        LOG.info("notification offer rejected : {}", e);
-                    }
-                    LOG.info(this.message);
-                }
-            };
-            ListenableFuture<Boolean> renderer = sendingRenderer.serviceDelete();
-            Futures.addCallback(renderer, rendererCallback, this.executor);
-            message = "Service delete Request in progress ...";
-            LOG.info(message);
-            configurationResponseCommon = new ConfigurationResponseCommonBuilder()
-                    .setAckFinalIndicator("Yes")
-                    .setRequestId(input.getServiceHandlerHeader().getRequestId())
-                    .setResponseCode("200")
-                    .setResponseMessage(message);
-            ServiceDeleteOutput output = new ServiceDeleteOutputBuilder()
-                    .setConfigurationResponseCommon(configurationResponseCommon.build())
-                    .build();
-            return RpcResultBuilder.success(output).buildFuture();
-        } else {
-            message = this.compliancyCheck.getMessage();
-            LOG.info("Service not compliant caused by : {}", message);
-            responseCode = "500";
-            this.notification = new ServiceRpcResultSpBuilder()
-                    .setNotificationType(ServicePathNotificationTypes.ServiceDelete)
-                    .setServiceName(input.getServiceName()).setStatus(RpcStatusEx.Failed)
-                    .setStatusMessage("Service not compliant caused by : " + message)
-                    .build();
-            try {
-                this.notificationPublishService.putNotification(this.notification);
-            } catch (InterruptedException e) {
-                LOG.info("notification offer rejected : {}", e);
-            }
-        }
-        configurationResponseCommon = new ConfigurationResponseCommonBuilder()
-                .setAckFinalIndicator("yes")
-                .setRequestId(input.getServiceHandlerHeader().getRequestId())
-                .setResponseCode(responseCode)
-                .setResponseMessage(message);
-        ServiceDeleteOutput output = new ServiceDeleteOutputBuilder()
-                .setConfigurationResponseCommon(configurationResponseCommon.build())
-                .build();
-        return RpcResultBuilder.success(output).buildFuture();
-    }
-}
diff --git a/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/impl/StubrendererProvider.java b/tests/stubrenderer/src/main/java/org/opendaylight/transportpce/stubrenderer/impl/StubrendererProvider.java
deleted file mode 100644 (file)
index 0beb087..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright Â© 2017 Orange, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-
-package org.opendaylight.transportpce.stubrenderer.impl;
-
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.NotificationService;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.StubrendererListener;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.StubrendererService;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Class to register Stubrenderer Service and Notification.
- * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on behalf of Orange
- *
- */
-public class StubrendererProvider {
-    private static final Logger LOG = LoggerFactory.getLogger(StubrendererProvider.class);
-    private final RpcProviderRegistry rpcRegistry;
-    private final NotificationPublishService notificationPublishService;
-
-
-    private BindingAwareBroker.RpcRegistration<StubrendererService> rpcRegistration;
-    private ListenerRegistration<StubrendererListener> stubRendererlistenerRegistration;
-
-    public StubrendererProvider(RpcProviderRegistry rpcProviderRegistry,
-            NotificationService notificationService,
-            NotificationPublishService notificationPublishService) {
-        this.rpcRegistry = rpcProviderRegistry;
-        this.notificationPublishService = notificationPublishService;
-    }
-
-    /**
-     * Method called when the blueprint container is created.
-     */
-    public void init() {
-        LOG.info("StubrendererProvider Session Initiated");
-        final StubrendererImpl consumer = new StubrendererImpl(this.notificationPublishService);
-        this.rpcRegistration = this.rpcRegistry.addRpcImplementation(StubrendererService.class, consumer);
-    }
-
-    /**
-     * Method called when the blueprint container is destroyed.
-     */
-    public void close() {
-        LOG.info("StubrendererProvider Closed");
-        this.rpcRegistration.close();
-    }
-}
diff --git a/tests/stubrenderer/src/main/resources/OSGI-INF/blueprint/stubrenderer-blueprint.xml b/tests/stubrenderer/src/main/resources/OSGI-INF/blueprint/stubrenderer-blueprint.xml
deleted file mode 100644 (file)
index e7a811d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!--
-Copyright Â© 2017 Orange and others. All rights reserved.
-
-This program and the accompanying materials are made available under the
-terms of the Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-
-Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
--->
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
-  xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
-  odl:use-default-for-reference-types="true">
-
-  <reference id="rpcRegistry"
-        interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>
-
-  <reference id="notificationPublishService"
-          interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
-          odl:type="default" />
-
-   <reference id="notificationService"
-          interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"
-          odl:type="default" />
-
-  <bean id="provider"
-    class="org.opendaylight.transportpce.stubrenderer.impl.StubrendererProvider"
-    init-method="init" destroy-method="close">
-    <argument ref="rpcRegistry" />
-    <argument ref="notificationPublishService" />
-    <argument ref="notificationService"/>
-  </bean>
-
-</blueprint>
index ed5f0b5add0576c5a36a062e2096562ddd7f8441..388e52c3856eaa231991644cebf6b30cb9fe0a4b 100644 (file)
@@ -33,7 +33,7 @@ class TransportPCEFulltesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode1(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode1.log', 'w') as outfile:
@@ -43,7 +43,7 @@ class TransportPCEFulltesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode2(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode2.log', 'w') as outfile:
@@ -53,7 +53,7 @@ class TransportPCEFulltesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode3(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode3.log', 'w') as outfile:
@@ -63,7 +63,7 @@ class TransportPCEFulltesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode4(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode4.log', 'w') as outfile:
index de727076803be79c4f91b39ff8fa5bbb9e5611fa..3ac186a05332e46a36b9a31ad191d738a4106b15 100644 (file)
@@ -34,7 +34,7 @@ class TransportOlmTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode1(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode1.log', 'w') as outfile:
@@ -44,7 +44,7 @@ class TransportOlmTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode2(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode2.log', 'w') as outfile:
@@ -54,7 +54,7 @@ class TransportOlmTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode3(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode3.log', 'w') as outfile:
@@ -63,7 +63,7 @@ class TransportOlmTesting(unittest.TestCase):
                     stdout=outfile)
     @classmethod
     def __start_honeynode4(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode4.log', 'w') as outfile:
index ef5180cf7e221074e87ae1aedb7ee7bcc9435843..d66c2e14133cf41d4129020d2d2028084960237e 100644 (file)
@@ -31,7 +31,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode1(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode1.log', 'w') as outfile:
@@ -41,7 +41,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode2(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode2.log', 'w') as outfile:
index 9d64344c8c6c798500c1bc703cb80d539a194765..33c9a5543c164a2235c8825e8705f8672a0122ac 100644 (file)
@@ -32,7 +32,7 @@ class TransportPCERendererTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode1(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode1.log', 'w') as outfile:
@@ -42,7 +42,7 @@ class TransportPCERendererTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode2(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode2.log', 'w') as outfile:
diff --git a/tests/transportpce_tests/test_servicehandler.py b/tests/transportpce_tests/test_servicehandler.py
deleted file mode 100644 (file)
index bbcf6c9..0000000
+++ /dev/null
@@ -1,846 +0,0 @@
-#!/usr/bin/env python
-##############################################################################
-# Copyright (c) 2017 Orange, Inc. and others.  All rights reserved.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-
-import json
-import os
-import psutil
-import requests
-import signal
-import shutil
-import subprocess
-import time
-import unittest
-
-
-class TransportPCEtesting(unittest.TestCase):
-
-    odl_process = None
-    honeynode_topology = None
-    restconf_baseurl = "http://localhost:8181/restconf"
-
-    @classmethod
-    def _get_file(cls):
-        honeynode_topology_file = "sample_configs/honeynode-topo.xml"
-        if os.path.isfile(honeynode_topology_file):
-            with open(honeynode_topology_file, 'r') as honeynode_file:
-                cls.honeynode_topo = honeynode_file.read();
-
-    @classmethod
-    def __start_odl(cls):
-        executable = "../karaf/target/assembly/bin/karaf"
-        with open('odl.log', 'w') as outfile:
-            cls.odl_process = subprocess.Popen(
-                ["bash", executable, "server"], stdout=outfile,
-                stdin=open(os.devnull))
-
-    @classmethod
-    def setUpClass(cls):  # a class method called before tests in an individual class run.
-        cls._get_file()
-        cls.__start_odl()
-        time.sleep(90)
-
-    @classmethod
-    def tearDownClass(cls):
-        for child in psutil.Process(cls.odl_process.pid).children():
-            child.send_signal(signal.SIGINT)
-            child.wait()
-        cls.odl_process.send_signal(signal.SIGINT)
-        cls.odl_process.wait()
-
-    def setUp(self):  # instruction executed before each test method
-        print ("execution of {}".format(self.id().split(".")[-1]))
-
-#    def test_01_restconfAPI(self):
-#        url = ("{}/operational/network-topology:network-topology/topology/"
-#        "topology-netconf/node/controller-config".format(self.restconf_baseurl))
-#        headers = {'content-type': 'application/json'}
-#        response = requests.request("GET", url, headers=headers, auth=('admin', 'admin'))
-#        self.assertEqual(response.status_code, requests.codes.ok)
-#        res = response.json()
-#        self.assertEqual(res['node'] [0] ['netconf-node-topology:connection-status'],
-#                         'connected')
-#        time.sleep(1)
-
-    # Load honeynode topology
-    def test_02_load_honeynode_topology(self):
-        url = ("{}/config/ietf-network:networks/network/openroadm-topology"
-              .format(self.restconf_baseurl))
-        body = self.honeynode_topo
-        headers = {'content-type': 'application/xml',
-        "Accept": "application/json"}
-        response = requests.request(
-            "PUT", url, data=body, headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        time.sleep(2)
-
-    def test_03_check_link_xpdra_roadma(self):
-        url = ("{}/config/ietf-network:networks/network/openroadm-topology/link/"
-               "XPDRA-XPDR1-XPDR1-NETWORK1toROADMA-SRG1-SRG1-PP1-TXRX".format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json'}
-        response = requests.request("GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        time.sleep(1)
-
-    def test_04_check_link_xpdrc_roadmc(self):
-        url = ("{}/config/ietf-network:networks/network/openroadm-topology/link/"
-               "XPDRC-XPDR1-XPDR1-NETWORK1toROADMC-SRG1-SRG1-PP1-TXRX".format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json'}
-        response = requests.request("GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        time.sleep(1)
-
-    def test_05_check_link_roadma_xpdra(self):
-        url = ("{}/config/ietf-network:networks/network/openroadm-topology/link/"
-               "ROADMA-SRG1-SRG1-PP1-TXRXtoXPDRA-XPDR1-XPDR1-NETWORK1".format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json'}
-        response = requests.request("GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        time.sleep(1)
-
-    def test_06_check_link_roadmc_xpdrc(self):
-        url = ("{}/config/ietf-network:networks/network/openroadm-topology/link/"
-               "ROADMC-SRG1-SRG1-PP1-TXRXtoXPDRC-XPDR1-XPDR1-NETWORK1".format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json'}
-        response = requests.request("GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        time.sleep(1)
-
-    # Create Service 'test' with correct parameters
-    def test_07_create_service_success(self):
-        url = ("{}/operations/org-openroadm-service:service-create"
-              .format(self.restconf_baseurl))
-        data = {"input": {
-                "sdnc-request-header": {
-                    "request-id": "e3028bae-a90f-4ddd-a83f-cf224eba0e58",
-                    "rpc-action": "service-create",
-                    "request-system-id": "appname",
-                    "notification-url": "http://localhost:8585/NotificationServer/notify"
-                },
-                "service-name": "test",
-                "common-id": "ASATT1234567",
-                "connection-type": "infrastructure",
-                "service-a-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRA",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJP8",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.3",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.4",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "service-z-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRC",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJT4",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.29",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.30",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "due-date": "2016-11-28T00:00:01Z",
-                "operator-contact": "pw1234"
-            }
-        }
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('PCE calculation in progress',
-            res['output']['configuration-response-common']['response-message'])
-        time.sleep(20)
-
-    # Create Service 'test' with not compliant parameter : no 'sdnc-request-header' parameter
-    def test_08_create_service_failed(self):
-        url = ("{}/operations/org-openroadm-service:service-create"
-              .format(self.restconf_baseurl))
-        data = {"input": {
-                "service-name": "test",
-                "common-id": "ASATT1234567",
-                "connection-type": "infrastructure",
-                "service-a-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRA",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJP8",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.3",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.4",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "service-z-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRC",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJT4",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.29",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.30",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "due-date": "2016-11-28T00:00:01Z",
-                "operator-contact": "pw1234"
-            }
-        }
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('Service sndc-request-header is not set',
-            res['output']['configuration-response-common']['response-message'])
-        time.sleep(5)
-
-    # Create Service 'test' with not compliant parameter : no 'tx-direction' for serviceAEnd
-    def test_09_create_service_failed(self):
-        url = ("{}/operations/org-openroadm-service:service-create"
-              .format(self.restconf_baseurl))
-        data = {"input": {
-                "sdnc-request-header": {
-                    "request-id": "e3028bae-a90f-4ddd-a83f-cf224eba0e58",
-                    "rpc-action": "service-create",
-                    "request-system-id": "appname",
-                    "notification-url": "http://localhost:8585/NotificationServer/notify"
-                },
-                "service-name": "test",
-                "common-id": "ASATT1234567",
-                "connection-type": "infrastructure",
-                "service-a-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRA",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJP8",
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.4",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "service-z-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRC",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJT4",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.29",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.30",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "due-date": "2016-11-28T00:00:01Z",
-                "operator-contact": "pw1234"
-            }
-        }
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('Service TxDirection is not correctly set',
-            res['output']['configuration-response-common']['response-message'])
-        time.sleep(5)
-
-    # Get 'test' service created
-    def test_10_verify_service_created(self):
-        url = ("{}/operational/org-openroadm-service:service-list/services/test"
-              .format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertEqual(
-            res['services'][0]['administrative-state'],
-            'inService')
-        time.sleep(1)
-
-    # get non existing service
-    def test_11_get_non_existing_service(self):
-        url = ("{}/operational/org-openroadm-service:service-list/services/test1"
-              .format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, 404)
-        time.sleep(1)
-
-    #reconfigure 'test' to be 'test-new'
-    def test_12_reconfigure_service_test(self):
-        url = ("{}/operations/org-openroadm-service:service-reconfigure"
-              .format(self.restconf_baseurl))
-        data = {"input": {
-                "service-name": "test",
-                "new-service-name": "test-new",
-                "common-id": "ASATT1234567",
-                "connection-type": "infrastructure",
-                "service-a-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRA",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJP8",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.3",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.4",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "service-z-end": {
-                    "service-rate": "100",
-                    "node-id": "XPDRC",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJT4",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.29",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.30",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                }
-            }
-        }
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('Renderer service delete in progress',
-            res['output']['status-message'])
-        time.sleep(30)
-
-    # get new service 'test-new'
-    def test_13_verify_service_reconfigure(self):
-        url = ("{}/operational/org-openroadm-service:service-list/services/test-new"
-              .format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "GET", url, headers=headers, auth=('admin', 'admin'))
-        res = response.json()
-        self.assertEqual(
-            res['services'][0]['administrative-state'],
-            'inService')
-        time.sleep(1)
-
-    # Delete  service
-    def test_14_delete_service_reconfigure(self):
-        url = ("{}/operations/org-openroadm-service:service-delete"
-              .format(self.restconf_baseurl))
-        data = {"input": {
-                "sdnc-request-header": {
-                    "request-id": "e3028bae-a90f-4ddd-a83f-cf224eba0e58",
-                    "rpc-action": "service-delete",
-                    "request-system-id": "appname",
-                    "notification-url": "http://localhost:8585/NotificationServer/notify"
-                },
-                "service-delete-req-info": {
-                    "service-name": "test-new",
-                    "due-date": "2016-11-28T00:00:01Z",
-                    "tail-retention": "no"
-                }
-            }
-        }
-        headers = {'content-type': 'application/json'}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('Renderer service delete in progress',
-            res['output']['configuration-response-common']['response-message'])
-        time.sleep(20)
-
-    # Verify 'test' service deleted
-    def test_15_verify_service_reconfigure_deleted(self):
-        url = ("{}/operational/org-openroadm-service:service-list/services/test-new"
-              .format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, 404)
-        time.sleep(1)
-
-    # Create Temp Service 'ASATT1234567' with correct parameters
-    def test_16_create_temp_service_success(self):
-        url = ("{}/operations/org-openroadm-service:temp-service-create"
-              .format(self.restconf_baseurl))
-        data = {
-            "input": {
-                "sdnc-request-header": {
-                    "request-id": "e3028bae-a90f-4ddd-a83f-cf224eba0e58",
-                    "rpc-action": "temp-service-create",
-                    "request-system-id": "appname",
-                    "notification-url": "http://localhost:8585/NotificationServer/notify"
-                },
-                "common-id": "ASATT1234567",
-                "connection-type": "infrastructure",
-                "service-a-end": {
-                    "service-rate": "100",
-                    "node-id": "ROADMA",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJP8",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.3",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.4",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "service-z-end": {
-                    "service-rate": "100",
-                    "node-id": "ROADMC",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJT4",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.29",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.30",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "due-date": "2016-11-28T00:00:01Z",
-                "operator-contact": "pw1234"
-            }
-        }
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('PCE calculation in progress',
-            res['output']['configuration-response-common']['response-message'])
-        time.sleep(20)
-
-
-    # Create Temp Service not compliant with no common-id
-    def test_17_create_temp_service_failed(self):
-        url = ("{}/operations/org-openroadm-service:temp-service-create"
-              .format(self.restconf_baseurl))
-        data = {
-            "input": {
-                "sdnc-request-header": {
-                    "request-id": "e3028bae-a90f-4ddd-a83f-cf224eba0e58",
-                    "rpc-action": "temp-service-create",
-                    "request-system-id": "appname",
-                    "notification-url": "http://localhost:8585/NotificationServer/notify"
-                },
-                "connection-type": "infrastructure",
-                "service-a-end": {
-                    "service-rate": "100",
-                    "node-id": "ROADMA",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJP8",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.3",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
-                            "lgx-port-name": "LGX Back.4",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "service-z-end": {
-                    "service-rate": "100",
-                    "node-id": "ROADMC",
-                    "service-format": "Ethernet",
-                    "clli": "SNJSCAMCJT4",
-                    "tx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.29",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "rx-direction": {
-                        "port": {
-                            "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
-                            "port-type": "router",
-                            "port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0",
-                            "port-rack": "000000.00",
-                            "port-shelf": "00"
-                        },
-                        "lgx": {
-                            "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
-                            "lgx-port-name": "LGX Back.30",
-                            "lgx-port-rack": "000000.00",
-                            "lgx-port-shelf": "00"
-                        }
-                    },
-                    "optic-type": "gray"
-                },
-                "due-date": "2016-11-28T00:00:01Z",
-                "operator-contact": "pw1234"
-            }
-        }
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('Service Name (common-id for Temp service) is not set',
-            res['output']['configuration-response-common']['response-message'])
-        time.sleep(5)
-
-    # Get 'ASATT1234567' temp service created
-    def test_18_verify_temp_service_created(self):
-        url = ("{}/operational/org-openroadm-service:temp-service-list/services/ASATT1234567"
-              .format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertEqual(
-            res['services'][0]['administrative-state'],
-            'inService')
-        time.sleep(1)
-
-    # get non existing service
-    def test_19_get_temp_service_non_existed(self):
-        url = ("{}/operational/org-openroadm-service:temp-service-list/services/test1"
-              .format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, 404)
-        time.sleep(1)
-
-    # Delete temp service
-    def test_20_delete_temp_service_created(self):
-        url = ("{}/operations/org-openroadm-service:temp-service-delete"
-              .format(self.restconf_baseurl))
-        data = {"input": {
-                "common-id": "ASATT1234567"
-            }
-        }
-        headers = {'content-type': 'application/json'}
-        response = requests.request(
-            "POST", url, data=json.dumps(data), headers=headers,
-            auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, requests.codes.ok)
-        res = response.json()
-        self.assertIn('Renderer service delete in progress',
-            res['output']['configuration-response-common']['response-message'])
-        time.sleep(20)
-
-# Verify 'test' service deleted
-    def test_21_verify_temp_service_deleted(self):
-        url = ("{}/operational/org-openroadm-service:service-list/services/ASATT1234567"
-              .format(self.restconf_baseurl))
-        headers = {'content-type': 'application/json',
-        "Accept": "application/json"}
-        response = requests.request(
-            "GET", url, headers=headers, auth=('admin', 'admin'))
-        self.assertEqual(response.status_code, 404)
-        time.sleep(1)
-
-
-if __name__ == "__main__":
-    unittest.main(verbosity=2)
index 415ef9bb28f9d7b2e2fd3a25f58df331ddef0363..a772a9109bfa0e266beedb62f66094cd08c7d504 100644 (file)
@@ -38,7 +38,7 @@ class TransportPCEtesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode1(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode1.log', 'w') as outfile:
@@ -49,7 +49,7 @@ class TransportPCEtesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode2(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode2.log', 'w') as outfile:
index cdfc02a42d9487b78a34a8c265b4e75fd464f939..ea35a3c6c80d32251cc417fdad0288b2169acf6b 100644 (file)
@@ -40,7 +40,7 @@ class TransportPCETopologyTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode1(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode1.log', 'w') as outfile:
@@ -50,7 +50,7 @@ class TransportPCETopologyTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode2(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode2.log', 'w') as outfile:
@@ -60,7 +60,7 @@ class TransportPCETopologyTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode3(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode3.log', 'w') as outfile:
@@ -70,7 +70,7 @@ class TransportPCETopologyTesting(unittest.TestCase):
 
     @classmethod
     def __start_honeynode4(cls):
-        executable = ("./honeynode/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
+        executable = ("./honeynode/2.1/honeynode-distribution/target/honeynode-distribution-1.18.01-hc"
                       "/honeynode-distribution-1.18.01/honeycomb-tpce")
         if os.path.isfile(executable):
             with open('honeynode4.log', 'w') as outfile:
diff --git a/tox.ini b/tox.ini
index b0704282d2e2a5b28c646a935c25aa6f4dfb8062..e1c54173921a55a7e2d33c01bf8412c803cfde72 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -17,7 +17,6 @@ changedir={toxinidir}/tests
 commands =
   {py27,portmapping,topoPortMapping,rspn,topology,pce,olm,end2end}: - bash -c "if [ ! `which mvn` ]; then ./installMavenCentOS.sh  ; fi"
   {py27,portmapping,topoPortMapping,rspn,topology,pce,olm,end2end}: - bash -c "(cd .. && mvn clean install -s tests/odl_settings.xml -DskipTests -Dmaven.javadoc.skip=true)"
-#  {py27,topoPortMapping}: - ./buildTesttool.sh
   {py27,portmapping,topoPortMapping,rspn,topology,olm,end2end}: - ./buildHoneynode.sh
   #py27: nosetests --with-xunit transportpce_tests/
   {py27,portmapping}: - nosetests --with-xunit transportpce_tests/test_portmapping.py
@@ -26,8 +25,6 @@ commands =
   {py27,rspn}: - nosetests --with-xunit transportpce_tests/test_renderer_service_path_nominal.py
   {py27,pce}: - nosetests --with-xunit transportpce_tests/test_pce.py
   {py27,olm}: - nosetests --with-xunit transportpce_tests/test_olm.py
-  {servicehandler}: - ./SH_func_tests.sh
-  {servicehandler}: - nosetests --with-xunit transportpce_tests/test_servicehandler.py
   {py27,end2end}: - nosetests --with-xunit transportpce_tests/test_end2end.py