Remove OpenROADM and TAPI models from project 13/102513/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Fri, 30 Sep 2022 12:03:20 +0000 (14:03 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Fri, 30 Sep 2022 12:03:20 +0000 (14:03 +0200)
These models are now managed in transportpce/models project.

JIRA: TRNSPRTPCE-694
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I636d36dd0dce9a6db33bfe2f47907dae0cb4305c

211 files changed:
ordmodels/common/pom.xml [deleted file]
ordmodels/common/src/main/resources/NOTICE [deleted file]
ordmodels/common/src/main/yang/org-openroadm-alarm@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-alarm@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-alarm@2020-05-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-alarm-pm-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-amplifier-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-amplifier-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-attributes@2020-03-27.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-attributes@2021-09-24.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-equipment-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-equipment-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-link-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-link-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-node-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-node-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-node-types@2021-05-28.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2019-03-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2020-05-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2021-12-10.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-phy-codes@2021-05-28.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-state-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-state-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-types@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-types@2017-09-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-types@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-types@2019-05-31.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-types@2020-05-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-common-types@2021-12-10.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2017-12-15.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-interfaces@2019-05-31.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-interfaces@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-layerRate@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-layerRate@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-maintenance@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-maintenance@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-manifest-file@2020-03-27.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-network-resource@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-network-resource@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2017-12-15.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2020-03-27.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2021-09-24.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-pm-types@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-pm-types@2017-12-15.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-pm-types@2020-03-27.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-pm@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-pm@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-pm@2020-05-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-port-types@2017-09-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-port-types@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-port-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-port-types@2020-03-27.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-port-types@2020-12-11.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-probable-cause@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-probable-cause@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-probable-cause@2020-05-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource-types@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource-types@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource-types@2021-09-24.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource@2019-05-31.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource@2020-05-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-resource@2021-12-10.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-service-format@2019-05-31.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-service-format@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2017-12-15.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2018-11-30.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2019-11-29.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-tca@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-tca@2018-10-19.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-tca@2020-03-27.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2016-10-14.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2017-12-15.yang [deleted file]
ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2019-11-29.yang [deleted file]
ordmodels/device/pom.xml [deleted file]
ordmodels/device/src/main/resources/NOTICE [deleted file]
ordmodels/device/src/main/resources/openconfig.LICENSE [deleted file]
ordmodels/device/src/main/yang/iana-afn-safi@2013-07-04.yang [deleted file]
ordmodels/device/src/main/yang/openconfig-extensions@2017-04-11.yang [deleted file]
ordmodels/device/src/main/yang/openconfig-telemetry-types@2017-08-24.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-database@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-database@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-database@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-de-operations@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-de-operations@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-de-operations@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-device-resource-types@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-device-types@2019-11-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-device@2017-02-06.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-device@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-device@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-dhcp@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-file-transfer@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-file-transfer@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-file-transfer@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-fwdl@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-fwdl@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-fwdl@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-gcc-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-gnmi@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-interfaces@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-interfaces@2017-06-26.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-ip@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-ipv4-unicast-routing@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-ipv6-unicast-routing@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-key-chain@2019-11-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-lldp@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-lldp@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-lldp@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2017-12-15.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2019-11-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2017-12-15.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-media-channel-interfaces@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-media-channel-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-network-media-channel-interfaces@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-network-media-channel-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-multiplex-interfaces@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-operational-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-optical-tributary-signal-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-common@2017-06-26.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-common@2020-03-27.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-otsi-group-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-physical-types@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-physical-types@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-physical-types@2019-11-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-pluggable-optics-holder-capability@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-pluggable-optics-holder-capability@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-port-capability@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-port-capability@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-ppp-interfaces@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-prot-otn-linear-aps@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-prot-otn-linear-aps@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-routing@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-rstp@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-rstp@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-rstp@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-security@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-swdl@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-swdl@2018-10-19.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-swdl@2020-05-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-syslog@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-syslog@2017-12-15.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-syslog@2019-11-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-telemetry-types@2019-11-29.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2016-10-14.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2017-12-15.yang [deleted file]
ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2019-11-29.yang [deleted file]
ordmodels/network/pom.xml [deleted file]
ordmodels/network/src/main/yang/org-openroadm-amplifier@2021-09-24.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-clli-network@2019-11-29.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-common-network@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-degree@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-external-pluggable@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-link@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-network-topology-types@2020-12-11.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-network-topology@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-network-types@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-network@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-otn-network-topology@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-roadm@2019-11-29.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-srg@2021-12-10.yang [deleted file]
ordmodels/network/src/main/yang/org-openroadm-xponder@2021-12-10.yang [deleted file]
ordmodels/pom.xml [deleted file]
ordmodels/service/pom.xml [deleted file]
ordmodels/service/src/main/yang/org-openroadm-ber-test@2021-12-10.yang [deleted file]
ordmodels/service/src/main/yang/org-openroadm-common-ber-test@2020-05-29.yang [deleted file]
ordmodels/service/src/main/yang/org-openroadm-common-service-types@2021-12-10.yang [deleted file]
ordmodels/service/src/main/yang/org-openroadm-controller-customization@2021-12-10.yang [deleted file]
ordmodels/service/src/main/yang/org-openroadm-operational-mode-catalog@2021-12-10.yang [deleted file]
ordmodels/service/src/main/yang/org-openroadm-routing-constraints@2021-12-10.yang [deleted file]
ordmodels/service/src/main/yang/org-openroadm-service@2021-12-10.yang [deleted file]
ordmodels/service/src/main/yang/org-openroadm-topology@2021-12-10.yang [deleted file]
tapimodels/pom.xml [deleted file]
tapimodels/src/main/yang/tapi-common@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-connectivity@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-dsr@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-eth@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-notification@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-oam@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-odu@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-path-computation@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-photonic-media@2018-12-10.yang [deleted file]
tapimodels/src/main/yang/tapi-topology@2018-12-10.yang [deleted file]

diff --git a/ordmodels/common/pom.xml b/ordmodels/common/pom.xml
deleted file mode 100644 (file)
index 352e2a7..0000000
+++ /dev/null
@@ -1,38 +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>10.0.2</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce.ordmodels</groupId>
-  <artifactId>transportpce-ordmodels-common</artifactId>
-  <version>6.0.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.opendaylight.yangtools</groupId>
-      <artifactId>yang-common</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc6991-ietf-yang-types</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-  </dependencies>
-</project>
diff --git a/ordmodels/common/src/main/resources/NOTICE b/ordmodels/common/src/main/resources/NOTICE
deleted file mode 100644 (file)
index a8fc5c4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-This work includes a modified version of the YANG model org-openroadm-port-types
-developed by the Open ROADM MSA.
-
-It contains an additional regen identity 'if-OTUCn-ODUCn-regen' found in some
-non-compliant devices.
-Though this identity should have been advertised through a YANG deviation,
-this does not raise any compatibility problem with compliant devices.
-This is an ideally temporary work-around until a compliant solution is found.
-cf https://jira.opendaylight.org/browse/TRNSPRTPCE-532
diff --git a/ordmodels/common/src/main/yang/org-openroadm-alarm@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-alarm@2016-10-14.yang
deleted file mode 100644 (file)
index e86950f..0000000
+++ /dev/null
@@ -1,130 +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;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-probable-cause {
-    prefix org-openroadm-probable-cause;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/common/src/main/yang/org-openroadm-alarm@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-alarm@2018-10-19.yang
deleted file mode 100644 (file)
index 6168ed3..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-module org-openroadm-alarm {
-  namespace "http://org/openroadm/alarm";
-  prefix org-openroadm-alarm;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-probable-cause {
-    prefix org-openroadm-probable-cause;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping alarm {
-    leaf id {
-      type string;
-      mandatory true;
-      description
-        "Uniquely id for this alarm, within the given management domain";
-    }
-    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 raiseTime {
-      type yang:date-and-time;
-      mandatory true;
-      description
-        "Time alarm was raised";
-    }
-    leaf severity {
-      type org-openroadm-common-types:severity;
-      mandatory true;
-      description
-        "Severity of alarm. Based on X.733 perceived severity.";
-    }
-    leaf circuit-id {
-      type string;
-      description
-        "Circuit-id for alarm correlation.";
-    }
-    leaf additional-detail {
-      type string;
-      description
-        "Provide additional descriptive text about the probable cause.";
-    }
-    leaf corrective-action {
-      type string;
-      description
-        "Provide recommended corrective actions for this probable cause, i.e. replace or restart a circuit pack, check wiring for the reported source, or secondary failure to be correlated ";
-    }
-  }
-
-  notification alarm-notification {
-    description
-      "Notification sent on initial alarm creation, as well as any time the alarm changes state, including clear";
-    uses alarm;
-  }
-  container active-alarm-list {
-    config false;
-    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;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-alarm@2020-05-29.yang b/ordmodels/common/src/main/yang/org-openroadm-alarm@2020-05-29.yang
deleted file mode 100644 (file)
index 57cdc61..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-module org-openroadm-alarm {
-  namespace "http://org/openroadm/alarm";
-  prefix org-openroadm-alarm;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-probable-cause {
-    prefix org-openroadm-probable-cause;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef 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;
-      }
-    }
-    description
-      "Severity, based on X.733 perceived severity";
-  }
-
-  grouping alarm {
-    leaf id {
-      type string;
-      mandatory true;
-      description
-        "Uniquely id for this alarm, within the given management domain";
-    }
-    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 raiseTime {
-      type yang:date-and-time;
-      mandatory true;
-      description
-        "Time alarm was raised";
-    }
-    leaf severity {
-      type severity;
-      mandatory true;
-      description
-        "Severity of alarm. Based on X.733 perceived severity.";
-    }
-    leaf circuit-id {
-      type string;
-      description
-        "Circuit-id for alarm correlation.";
-    }
-    leaf additional-detail {
-      type string;
-      description
-        "Provide additional descriptive text about the probable cause.";
-    }
-    leaf corrective-action {
-      type string;
-      description
-        "Provide recommended corrective actions for this probable cause, i.e. replace or restart a circuit pack, check wiring for the reported source, or secondary failure to be correlated ";
-    }
-  }
-
-  notification alarm-notification {
-    description
-      "Notification sent on initial alarm creation, as well as any time the alarm changes state, including clear";
-    uses alarm;
-  }
-
-  container active-alarm-list {
-    config false;
-    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;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-alarm-pm-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-alarm-pm-types@2019-11-29.yang
deleted file mode 100644 (file)
index d13b85b..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-module org-openroadm-common-alarm-pm-types {
-  namespace "http://org/openroadm/common-alarm-pm-types";
-  prefix org-openroadm-common-alarm-pm-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common alarm and pm types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef direction {
-    type enumeration {
-      enum tx {
-        value 1;
-      }
-      enum rx {
-        value 2;
-      }
-      enum bidirectional {
-        value 3;
-      }
-      enum notApplicable {
-        value 4;
-      }
-    }
-  }
-
-  typedef location {
-    type enumeration {
-      enum notApplicable {
-        value 1;
-      }
-      enum nearEnd {
-        value 2;
-      }
-      enum farEnd {
-        value 3;
-      }
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-amplifier-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-common-amplifier-types@2018-11-30.yang
deleted file mode 100644 (file)
index c2c004f..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-module org-openroadm-common-amplifier-types {
-  namespace "http://org/openroadm/common-amplifier-types";
-  prefix org-openroadm-common-amplifier-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,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef amplifier-types {
-    type enumeration {
-      enum "standard" {
-        value 1;
-      }
-    }
-    description
-      "identifier for amplifier type
-       1. standard for amplifier as defined initially in the ROADM MSA specifications
-       To be completed if/when additional amplifier types are required ";
-  }
-
-  typedef line-amplifier-control-mode {
-    type enumeration {
-      enum "gainLoss" {
-        value 2;
-      }
-      enum "off" {
-        value 3;
-      }
-    }
-    description
-      "Identifies the line amplifier control mode, either off or gain.";
-  }
-
-  typedef amplifier-gain-range {
-    type enumeration {
-      enum "gain-range-1" {
-        value 1;
-      }
-      enum "gain-range-2" {
-        value 2;
-      }
-      enum "gain-range-3" {
-        value 3;
-      }
-      enum "gain-range-4" {
-        value 4;
-      }
-    }
-    description
-      "Operational mode for the amplifier:
-       this parameter allows modeling different operational modes (gain ranges) ,notably for switched-gain amplifiers.
-       It indicates which performance model shall be used by the path feasibility engine.
-       For standard amplifier, or when performance evaluation is based on incremental noise, use gain-range-1.
-       When performance evaluation is based on advanced parameters, specify used gain-range (1 to 4).
-       Up to release 2.1, only gain-range-1 is to be used (default value) ";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-amplifier-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-amplifier-types@2019-11-29.yang
deleted file mode 100644 (file)
index d5500a1..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-module org-openroadm-common-amplifier-types {
-  namespace "http://org/openroadm/common-amplifier-types";
-  prefix org-openroadm-common-amplifier-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,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef amplifier-types {
-    type enumeration {
-      enum standard {
-        value 1;
-      }
-    }
-    description
-      "identifier for amplifier type
-       1. standard for amplifier as defined initially in the ROADM MSA specifications
-       To be completed if/when additional amplifier types are required ";
-  }
-
-  typedef line-amplifier-control-mode {
-    type enumeration {
-      enum gainLoss {
-        value 2;
-      }
-      enum off {
-        value 3;
-      }
-    }
-    description
-      "Identifies the line amplifier control mode, either off or gain.";
-  }
-
-  typedef amplifier-gain-range {
-    type enumeration {
-      enum gain-range-1 {
-        value 1;
-      }
-      enum gain-range-2 {
-        value 2;
-      }
-      enum gain-range-3 {
-        value 3;
-      }
-      enum gain-range-4 {
-        value 4;
-      }
-    }
-    description
-      "Operational mode for the amplifier:
-       this parameter allows modeling different operational modes (gain ranges) ,notably for switched-gain amplifiers.
-       It indicates which performance model shall be used by the path feasibility engine.
-       For standard amplifier, or when performance evaluation is based on incremental noise, use gain-range-1.
-       When performance evaluation is based on advanced parameters, specify used gain-range (1 to 4).
-       Up to release 2.1, only gain-range-1 is to be used (default value) ";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-attributes@2020-03-27.yang b/ordmodels/common/src/main/yang/org-openroadm-common-attributes@2020-03-27.yang
deleted file mode 100644 (file)
index 115271a..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-module org-openroadm-common-attributes {
-  namespace "http://org/openroadm/common-attributes";
-  prefix org-openroadm-common-attributes;
-
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2020-03-27;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common attributes.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-
-  grouping parent-odu-allocation {
-    description
-      "parent odu allocation group";
-    container parent-odu-allocation {
-      presence "Explicit assignment of parent ODU trib-slot and trib-port allocation. ";
-      description
-        "parent odu allocation";
-      leaf trib-port-number {
-        type uint16 {
-          range "1 .. 80";
-        }
-        mandatory true;
-        description
-          "Assigned tributary port number in parent OPU";
-      }
-      choice trib-slots-choice {
-        description
-          "trib slot selection";
-        case opu {
-          leaf-list trib-slots {
-            type uint16 {
-              range "1 .. 80";
-            }
-            min-elements 1;
-            max-elements 80;
-            description
-              "Assigned trib slots occupied in parent OPU MSI";
-          }
-        }
-        case opucn {
-          leaf-list opucn-trib-slots {
-            type org-openroadm-otn-common-types:opucn-trib-slot-def;
-            description
-              "Specify the list of OPUCn 5G tributary slots in the form of
-               TS #A.B (G.709 Figure 20-9) in the case of provisioning the low
-                order ODUk to the parent server ODUCn";
-          }
-        }
-      }
-    }
-  }
-
-  grouping deg-threshold {
-    description
-      "Deg threshold grouping";
-    leaf degm-intervals {
-      type uint8 {
-        range "2 .. 10";
-      }
-      default "2";
-      description
-        "G.806 - Consecutive bad intervals required for declare dDEG";
-    }
-    leaf degthr-percentage {
-      type uint16 {
-        range "1 .. 10000";
-      }
-      default "100";
-      description
-        "Percentage of errored blocks required to declare an interval bad, in units of 0.01%";
-    }
-  }
-
-  grouping trail-trace-tx {
-    description
-      "Trail trace tx grouping";
-    leaf tx-sapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned 15 character transmit trace SAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
-    }
-    leaf tx-dapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned 15 character transmit trace DAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
-    }
-    leaf tx-operator {
-      type string {
-        length "0 .. 32";
-      }
-      description
-        "The provisioned 32 character Operator Specific field";
-    }
-  }
-
-  grouping trail-trace-other {
-    description
-      "Trail trace other grouping";
-    leaf expected-sapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned expected SAPI, to be compared with accepted TTI";
-    }
-    leaf expected-dapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned expected DAPI, to be compared with accepted TTI";
-    }
-    leaf tim-act-enabled {
-      type boolean;
-      default "false";
-      description
-        "Enables TTI Mismatch consequent actions.";
-    }
-    leaf tim-detect-mode {
-      type enumeration {
-        enum Disabled {
-          description
-            "TTI is ignored";
-        }
-        enum SAPI {
-          description
-            "Expected SAPI is compared to the Accepted TTI. Other TTI fields are ignored";
-        }
-        enum DAPI {
-          description
-            "Expected DAPI is compared to the Accepted TTI. Other TTI fields are ignored";
-        }
-        enum SAPI-and-DAPI {
-          description
-            "Expected SAPI and Expected DAPI are compared to the Accepted TTI. Operator specific TTI field is ignored";
-        }
-      }
-      default "Disabled";
-      description
-        "tim detect mode leaf";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-attributes@2021-09-24.yang b/ordmodels/common/src/main/yang/org-openroadm-common-attributes@2021-09-24.yang
deleted file mode 100644 (file)
index c46db9c..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-module org-openroadm-common-attributes {
-  namespace "http://org/openroadm/common-attributes";
-  prefix org-openroadm-common-attributes;
-
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2021-09-24;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common attributes.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-
-  grouping parent-odu-allocation {
-    description
-      "parent odu allocation group";
-    container parent-odu-allocation {
-      presence "Explicit assignment of parent ODU trib-slot and trib-port allocation. ";
-      description
-        "parent odu allocation";
-      leaf trib-port-number {
-        type uint16 {
-          range "1 .. 80";
-        }
-        mandatory true;
-        description
-          "Assigned tributary port number in parent OPU";
-      }
-      choice trib-slots-choice {
-        description
-          "trib slot selection";
-        case opu {
-          leaf-list trib-slots {
-            type uint16 {
-              range "1 .. 80";
-            }
-            min-elements 1;
-            max-elements 80;
-            description
-              "Assigned trib slots occupied in parent OPU MSI";
-          }
-        }
-        case opucn {
-          leaf-list opucn-trib-slots {
-            type org-openroadm-otn-common-types:opucn-trib-slot-def;
-            description
-              "Specify the list of OPUCn 5G tributary slots in the form of
-               TS #A.B (G.709 Figure 20-9) in the case of provisioning the low
-                order ODUk to the parent server ODUCn";
-          }
-        }
-      }
-    }
-  }
-
-  grouping deg-threshold {
-    description
-      "Deg threshold grouping";
-    leaf degm-intervals {
-      type uint8 {
-        range "2 .. 10";
-      }
-      default "2";
-      description
-        "G.806 - Consecutive bad intervals required for declare dDEG";
-    }
-    leaf degthr-percentage {
-      type uint16 {
-        range "1 .. 10000";
-      }
-      default "100";
-      description
-        "Percentage of errored blocks required to declare an interval bad, in units of 0.01%";
-    }
-  }
-
-  grouping trail-trace-tx {
-    description
-      "Trail trace tx grouping";
-    leaf tx-sapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned 15 character transmit trace SAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
-    }
-    leaf tx-dapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned 15 character transmit trace DAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
-    }
-    leaf tx-operator {
-      type string {
-        length "0 .. 32";
-      }
-      description
-        "The provisioned 32 character Operator Specific field";
-    }
-  }
-
-  grouping trail-trace-other {
-    description
-      "Trail trace other grouping";
-    leaf expected-sapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned expected SAPI, to be compared with accepted TTI";
-    }
-    leaf expected-dapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned expected DAPI, to be compared with accepted TTI";
-    }
-    leaf tim-act-enabled {
-      type boolean;
-      default "false";
-      description
-        "Enables TTI Mismatch consequent actions.";
-    }
-    leaf tim-detect-mode {
-      type enumeration {
-        enum Disabled {
-          description
-            "TTI is ignored";
-        }
-        enum SAPI {
-          description
-            "Expected SAPI is compared to the Accepted TTI. Other TTI fields are ignored";
-        }
-        enum DAPI {
-          description
-            "Expected DAPI is compared to the Accepted TTI. Other TTI fields are ignored";
-        }
-        enum SAPI-and-DAPI {
-          description
-            "Expected SAPI and Expected DAPI are compared to the Accepted TTI. Operator specific TTI field is ignored";
-        }
-      }
-      default "Disabled";
-      description
-        "tim detect mode leaf";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-equipment-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-common-equipment-types@2018-11-30.yang
deleted file mode 100644 (file)
index 842d9b1..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-module org-openroadm-common-equipment-types {
-  namespace "http://org/openroadm/common-equipment-types";
-  prefix org-openroadm-common-equipment-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,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef optic-types {
-    type enumeration {
-      enum "gray" {
-        value 1;
-      }
-      enum "dwdm" {
-        value 2;
-      }
-    }
-  }
-
-  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;
-      }
-    }
-  }
-
-  grouping equipment-type {
-    leaf type {
-      type equipment-type-enum;
-      config false;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      config false;
-      mandatory false;
-      description
-        "Populated with equipment type when enum value is set to 'other'";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-equipment-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-equipment-types@2019-11-29.yang
deleted file mode 100644 (file)
index f5189c3..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-module org-openroadm-common-equipment-types {
-  namespace "http://org/openroadm/common-equipment-types";
-  prefix org-openroadm-common-equipment-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,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef optic-types {
-    type enumeration {
-      enum gray {
-        value 1;
-      }
-      enum dwdm {
-        value 2;
-      }
-    }
-  }
-
-  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;
-      }
-    }
-  }
-
-  grouping equipment-type {
-    leaf type {
-      type equipment-type-enum;
-      config false;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      config false;
-      mandatory false;
-      description
-        "Populated with equipment type when enum value is set to 'other'";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-link-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-common-link-types@2018-11-30.yang
deleted file mode 100644 (file)
index cd8c6ac..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-module org-openroadm-common-link-types {
-  namespace "http://org/openroadm/common-link-types";
-  prefix org-openroadm-common-link-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common link types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef power-dBm {
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "dBm";
-    description
-      "Power value in dBm.";
-  }
-
-  typedef ratio-dB {
-    type decimal64 {
-      fraction-digits 3;
-    }
-    units "dB";
-    description
-      "Power ratio in dB.";
-  }
-
-  typedef fiber-pmd {
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "ps/(km[1/2])";
-    description
-      "Polarization Mode Dispersion expressed in ps/km(1/2).";
-  }
-
-  typedef optical-control-mode {
-    type enumeration {
-      enum "power" {
-        value 1;
-      }
-      enum "gainLoss" {
-        value 2;
-      }
-      enum "off" {
-        value 3;
-      }
-    }
-    description
-      "Optical Control Mode: identifies specific algorithm related to power management and general optical control.";
-    reference "openroadm.org: Open ROADM MSA Specification.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-link-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-link-types@2019-11-29.yang
deleted file mode 100644 (file)
index 25bc8fb..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-module org-openroadm-common-link-types {
-  namespace "http://org/openroadm/common-link-types";
-  prefix org-openroadm-common-link-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common link types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef power-dBm {
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "dBm";
-    description
-      "Power value in dBm.";
-  }
-
-  typedef ratio-dB {
-    type decimal64 {
-      fraction-digits 3;
-    }
-    units "dB";
-    description
-      "Power ratio in dB.";
-  }
-
-  typedef fiber-pmd {
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "ps/(km[1/2])";
-    description
-      "Polarization Mode Dispersion expressed in ps/km(1/2).";
-  }
-
-  typedef optical-control-mode {
-    type enumeration {
-      enum power {
-        value 1;
-      }
-      enum gainLoss {
-        value 2;
-      }
-      enum off {
-        value 3;
-      }
-    }
-    description
-      "Optical Control Mode: identifies specific algorithm related to power management and general optical control.";
-    reference
-      "openroadm.org: Open ROADM MSA Specification.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-node-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-common-node-types@2018-11-30.yang
deleted file mode 100644 (file)
index 2079c03..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-module org-openroadm-common-node-types {
-  namespace "http://org/openroadm/common-node-types";
-  prefix org-openroadm-common-node-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common node types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef node-id-type {
-    type string {
-      length "7..63";
-      pattern "([a-zA-Z][a-zA-Z0-9-]{5,61}[a-zA-Z0-9])" {
-        error-message
-          "A node-id must be 7 to 63 characters in length.
-           A node-id can contain letters, numbers, and hyphens.
-           The first character must be a letter.
-           The last character must be a letter or number.";
-      }
-    }
-    description
-      "Globally unique identifier for a device.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-node-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-node-types@2019-11-29.yang
deleted file mode 100644 (file)
index d8a914b..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-module org-openroadm-common-node-types {
-  namespace "http://org/openroadm/common-node-types";
-  prefix org-openroadm-common-node-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common node types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef node-id-type {
-    type string {
-      length "7..63";
-      pattern '([a-zA-Z][a-zA-Z0-9-]{5,61}[a-zA-Z0-9])' {
-        error-message
-          "A node-id must be 7 to 63 characters in length.
-           A node-id can contain letters, numbers, and hyphens.
-           The first character must be a letter.
-           The last character must be a letter or number.";
-      }
-    }
-    description
-      "Globally unique identifier for a device.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-node-types@2021-05-28.yang b/ordmodels/common/src/main/yang/org-openroadm-common-node-types@2021-05-28.yang
deleted file mode 100644 (file)
index 9812e68..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-module org-openroadm-common-node-types {
-  namespace "http://org/openroadm/common-node-types";
-  prefix org-openroadm-common-node-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common node types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef node-types {
-    type enumeration {
-      enum rdm {
-        value 1;
-      }
-      enum xpdr {
-        value 2;
-      }
-      enum ila {
-        value 3;
-      }
-      enum extplug {
-        value 4;
-      }
-    }
-    description
-      "Identifier for node type
-       1. rdm for ROADM
-       2. xpdr for Transponder, Regen
-       3. ila for in-line amplifier
-       4. extplug for external pluggable";
-  }
-
-  typedef node-subtypes {
-    type enumeration {
-      enum none {
-        value 1;
-        description
-          "The none-enum indicates there is no node-subtype refinement. 
-           Standard OpenROADM node properties apply in this case. If an 
-           optional-leaf of node-subtypes is not present, the behaviour is the 
-           same as the none-enum.";
-      }
-      enum edge-optical-spec {
-        value 2;
-        description
-          "This enum refines a ROADM node-type. It indicates that node conforms 
-           to edge optical specifications as defined in the OpenROADM MSA 
-           Specification: MW-MW(Edge), MW-Wr(Edge), and Local Control (Edge).";
-      }
-    }
-    description
-      "Identifier for node-subtype. Provides refinement of node-type.";
-  }
-
-  typedef xpdr-node-types {
-    type enumeration {
-      enum tpdr {
-        value 1;
-      }
-      enum mpdr {
-        value 2;
-      }
-      enum switch {
-        value 3;
-      }
-      enum regen {
-        value 4;
-      }
-      enum regen-uni {
-        value 5;
-      }
-    }
-    description
-      "Identifier for Xponder node type
-       1. Transponder
-       2. Muxponder
-       3. OTN switchponder
-       4. Regenerator
-       5. Regenerator based on unidirectional model
-
-       Xponder types are modeled in one of two ways:
-
-       Type 1: The xponder ports are configured with port-qual of xpdr-client or
-xpdr-network, the xponder connectivity is advertised using connection-map, and
-no explicit cross connects are provisioned.
-
-       Type 2: The xponder ports are configured with port-qual of switch-network
-or switch-client, the connectivity is advertised using switching-pool, and
-explicit cross connects are provisioned.
-
-       Type 1 applies to transponders, unidirectional regenerators, and bidirectional regenerators.
-       Type 2 applies to muxponders and switchponders.";
-  }
-
-  typedef node-id-type {
-    type string {
-      length "7..63";
-      pattern '([a-zA-Z][a-zA-Z0-9-]{5,61}[a-zA-Z0-9])' {
-        error-message
-          "A node-id must be 7 to 63 characters in length.
-           A node-id can contain letters, numbers, and hyphens.
-           The first character must be a letter.
-           The last character must be a letter or number.";
-      }
-    }
-    description
-      "Globally unique identifier for a device.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2018-11-30.yang
deleted file mode 100644 (file)
index 2a3d461..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-module org-openroadm-common-optical-channel-types {
-  namespace "http://org/openroadm/common-optical-channel-types";
-  prefix org-openroadm-common-optical-channel-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common optical channel types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  identity och-rate-identity {
-    description
-      "A unique och rate identification";
-  }
-
-  identity otsi-rate-identity {
-    description
-      "A unique OTSi rate identification";
-  }
-
-  identity fec-identity {
-    description
-      "A unique FEC identification";
-  }
-
-  identity sc-fec {
-    base fec-identity;
-    description
-      "Staircase FEC identification";
-  }
-
-  identity rs-fec {
-    base fec-identity;
-    description
-      "Reed Solomon FEC identification";
-  }
-
-  identity o-fec {
-    base fec-identity;
-    description
-      "OpenROADM FEC identification";
-  }
-
-  identity foic-identity {
-    description
-      "A unique FOICx.k identification (G.709.3 FlexO-LR and
-       G.709.1 FlexO-SR)";
-  }
-
-  identity flexo-otsi-rate-identity {
-    description
-      "A unique rate identification. Applicable to specify OTSi rate. Also
-       applicable to FOIC rate when associated with FlexO processing
-       (G.709.3 FlexO-LR Table 11-2, G.709.1 FlexO-SR clause 9.2.2
-        Table 11-1, 12-1, 13-1) and G.Sup58.";
-  }
-
-  identity foic1.2 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic1.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1 and G.709.3";
-  }
-
-  identity foic2.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic2.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic3.6 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in future";
-  }
-
-  identity foic4.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic4.16 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity R400G-flexo-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for flexo/otsi rate identity";
-  }
-
-  identity R200G-flexo-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for flexo/otsi rate identity";
-  }
-
-  identity R200G {
-    base och-rate-identity;
-    description
-      "Identity for 200G Rate";
-  }
-
-  identity R100G-flexo-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for otsi/flexo rate identity";
-  }
-
-  identity R100G {
-    base och-rate-identity;
-    description
-      "Identity for 100G Rate";
-  }
-
-  identity R56G-foic-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R28G-foic-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R10.7G {
-    base och-rate-identity;
-    description
-      "Identity for 10.7G Rate";
-  }
-
-  identity R11.1G {
-    base och-rate-identity;
-    description
-      "Identity for 11.1G Rate";
-  }
-
-  typedef frequency-THz {
-    type decimal64 {
-      fraction-digits 8;
-    }
-    units "THz";
-    description
-      "Frequency value in THz.";
-  }
-
-  typedef frequency-GHz {
-    type decimal64 {
-      fraction-digits 5;
-    }
-    units "GHz";
-    description
-      "Frequency value in GHz.";
-  }
-
-  typedef wavelength-duplication-type {
-    type enumeration {
-      enum "one-per-srg" {
-        value 1;
-        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.";
-      }
-      enum "one-per-degree" {
-        value 2;
-        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.";
-      }
-    }
-    description
-      "One per srg is applied to C/D add/drop group
-       one per degree is applied to C/D/C add drop group";
-  }
-
-  typedef 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";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2019-03-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2019-03-29.yang
deleted file mode 100644 (file)
index 85698fe..0000000
+++ /dev/null
@@ -1,298 +0,0 @@
-module org-openroadm-common-optical-channel-types {
-  namespace "http://org/openroadm/common-optical-channel-types";
-  prefix org-openroadm-common-optical-channel-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common optical channel types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  identity och-rate-identity {
-    description
-      "A unique och rate identification";
-  }
-
-  identity otsi-rate-identity {
-    description
-      "A unique OTSi rate identification";
-  }
-
-  identity fec-identity {
-    description
-      "A unique FEC identification";
-  }
-
-  identity sc-fec {
-    base fec-identity;
-    description
-      "Staircase FEC identification";
-  }
-
-  identity rs-fec {
-    base fec-identity;
-    description
-      "Reed Solomon FEC identification";
-  }
-
-  identity o-fec {
-    base fec-identity;
-    description
-      "OpenROADM FEC identification";
-  }
-
-  identity foic-identity {
-    description
-      "A unique FOICx.k identification (G.709.3 FlexO-LR and
-       G.709.1 FlexO-SR)";
-  }
-
-  identity flexo-otsi-rate-identity {
-    description
-      "A unique rate identification. Applicable to specify OTSi rate. Also
-       applicable to FOIC rate when associated with FlexO processing
-       (G.709.3 FlexO-LR Table 11-2, G.709.1 FlexO-SR clause 9.2.2
-        Table 11-1, 12-1, 13-1) and G.Sup58.";
-  }
-
-  identity foic1.2 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic1.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1 and G.709.3";
-  }
-
-  identity foic2.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic2.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic3.6 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in future";
-  }
-
-  identity foic4.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic4.16 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity R400G-flexo-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for flexo/otsi rate identity";
-  }
-
-  identity R200G-flexo-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for flexo/otsi rate identity";
-  }
-
-  identity R200G {
-    base och-rate-identity;
-    description
-      "Identity for 200G Rate";
-  }
-
-  identity R100G-flexo-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for otsi/flexo rate identity";
-  }
-
-  identity R100G {
-    base och-rate-identity;
-    description
-      "Identity for 100G Rate";
-  }
-
-  identity R56G-foic-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R28G-foic-otsi {
-    base flexo-otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R10.7G {
-    base och-rate-identity;
-    description
-      "Identity for 10.7G Rate";
-  }
-
-  identity R11.1G {
-    base och-rate-identity;
-    description
-      "Identity for 11.1G Rate";
-  }
-
-  typedef frequency-THz {
-    type decimal64 {
-      fraction-digits 8;
-    }
-    units "THz";
-    description
-      "Frequency value in THz.";
-  }
-
-  typedef frequency-GHz {
-    type decimal64 {
-      fraction-digits 5;
-    }
-    units "GHz";
-    description
-      "Frequency value in GHz.";
-  }
-
-  typedef wavelength-duplication-type {
-    type enumeration {
-      enum "one-per-srg" {
-        value 1;
-        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.";
-      }
-      enum "one-per-degree" {
-        value 2;
-        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.";
-      }
-    }
-    description
-      "One per srg is applied to C/D add/drop group
-       one per degree is applied to C/D/C add drop group";
-  }
-
-  typedef 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";
-  }
-  typedef provision-mode-type {
-    type enumeration {
-      enum "explicit";
-      enum "profile";
-    }
-    description
-      "Provision Mode Type On Optical Channel";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2020-05-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2020-05-29.yang
deleted file mode 100644 (file)
index 3fc027b..0000000
+++ /dev/null
@@ -1,297 +0,0 @@
-module org-openroadm-common-optical-channel-types {
-  namespace "http://org/openroadm/common-optical-channel-types";
-  prefix org-openroadm-common-optical-channel-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common optical channel types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  identity optical-rate-identity {
-    description
-      "base for otsi and och idenity";
-  }
-
-  identity och-rate-identity {
-    base optical-rate-identity;
-    description
-      "A unique och rate identification";
-  }
-
-  identity otsi-rate-identity {
-    base optical-rate-identity;
-    description
-      "A unique OTSi rate identification";
-  }
-
-  identity foic-identity {
-    description
-      "A unique FOICx.k identification (G.709.3 FlexO-LR and
-       G.709.1 FlexO-SR)";
-  }
-
-  identity foic1.2 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic1.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1 and G.709.3";
-  }
-
-  identity foic2.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic2.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic3.6 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in future";
-  }
-
-  identity foic4.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic4.16 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity R400G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R300G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R200G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R200G {
-    base och-rate-identity;
-    description
-      "Identity for 200G Rate";
-  }
-
-  identity R100G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R100G {
-    base och-rate-identity;
-    description
-      "Identity for 100G Rate";
-  }
-
-  identity R56G-foic-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R28G-foic-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R10.7G {
-    base och-rate-identity;
-    description
-      "Identity for 10.7G Rate";
-  }
-
-  identity R11.1G {
-    base och-rate-identity;
-    description
-      "Identity for 11.1G Rate";
-  }
-
-  typedef frequency-THz {
-    type decimal64 {
-      fraction-digits 8;
-    }
-    units "THz";
-    description
-      "Frequency value in THz.";
-  }
-
-  typedef frequency-GHz {
-    type decimal64 {
-      fraction-digits 5;
-    }
-    units "GHz";
-    description
-      "Frequency value in GHz.";
-  }
-
-  typedef wavelength-duplication-type {
-    type enumeration {
-      enum one-per-srg {
-        value 1;
-        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.";
-      }
-      enum one-per-degree {
-        value 2;
-        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.";
-      }
-    }
-    description
-      "One per srg is applied to C/D add/drop group
-       one per degree is applied to C/D/C add drop group";
-  }
-
-  typedef 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";
-  }
-
-  typedef provision-mode-type {
-    type enumeration {
-      enum explicit;
-      enum profile;
-    }
-    description
-      "Provision Mode Type On Optical Channel";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2021-12-10.yang b/ordmodels/common/src/main/yang/org-openroadm-common-optical-channel-types@2021-12-10.yang
deleted file mode 100644 (file)
index 39f3061..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-module org-openroadm-common-optical-channel-types {
-  namespace "http://org/openroadm/common-optical-channel-types";
-  prefix org-openroadm-common-optical-channel-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common optical channel types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  identity optical-rate-identity {
-    description
-      "base for otsi and och idenity";
-  }
-
-  identity och-rate-identity {
-    base optical-rate-identity;
-    description
-      "A unique och rate identification";
-  }
-
-  identity otsi-rate-identity {
-    base optical-rate-identity;
-    description
-      "A unique OTSi rate identification";
-  }
-
-  identity foic-identity {
-    description
-      "A unique FOICx.k identification (G.709.3 FlexO-LR and
-       G.709.1 FlexO-SR)";
-  }
-
-  identity foic1.1 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58 2020-09";
-  }
-
-  identity foic1.2 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic1.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1 and G.709.3";
-  }
-
-  identity foic2.4 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic2.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity foic3.6 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in future";
-  }
-
-  identity foic4.8 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.709.1";
-  }
-
-  identity foic4.16 {
-    base foic-identity;
-    description
-      "Applicable to the FlexO type defined in G.Sup58";
-  }
-
-  identity R400G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R300G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R200G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R200G {
-    base och-rate-identity;
-    description
-      "Identity for 200G Rate";
-  }
-
-  identity R100G-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R100G {
-    base och-rate-identity;
-    description
-      "Identity for 100G Rate";
-  }
-
-  identity R56G-foic-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R28G-foic-otsi {
-    base otsi-rate-identity;
-    description
-      "Applicable instance for otsi rate identity";
-  }
-
-  identity R10.7G {
-    base och-rate-identity;
-    description
-      "Identity for 10.7G Rate";
-  }
-
-  identity R11.1G {
-    base och-rate-identity;
-    description
-      "Identity for 11.1G Rate";
-  }
-
-  typedef frequency-THz {
-    type decimal64 {
-      fraction-digits 8;
-    }
-    units "THz";
-    description
-      "Frequency value in THz.";
-  }
-
-  typedef frequency-GHz {
-    type decimal64 {
-      fraction-digits 5;
-    }
-    units "GHz";
-    description
-      "Frequency value in GHz.";
-  }
-
-  typedef wavelength-duplication-type {
-    type enumeration {
-      enum one-per-srg {
-        value 1;
-        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.";
-      }
-      enum one-per-degree {
-        value 2;
-        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.";
-      }
-    }
-    description
-      "One per srg is applied to C/D add/drop group
-       one per degree is applied to C/D/C add drop group";
-  }
-
-  typedef 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 quadrature 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";
-  }
-
-  typedef provision-mode-type {
-    type enumeration {
-      enum explicit;
-      enum profile;
-    }
-    description
-      "Provision Mode Type On Optical Channel";
-  }
-  
-  grouping full-bandwidth-grouping {
-    leaf full-bandwidth-at-3dB {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      description
-        "Signal full bandwidth at 3dB below the peak. Information used to model signal’s spectral shape.";
-      config false;
-    }
-    leaf full-bandwidth-at-10dB {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      description
-        "Signal full bandwidth at 10dB below the peak. Information used to model signal’s spectral shape.";
-      config false;
-    }
-  }
-
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-phy-codes@2021-05-28.yang b/ordmodels/common/src/main/yang/org-openroadm-common-phy-codes@2021-05-28.yang
deleted file mode 100644 (file)
index b3b7ff2..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-module org-openroadm-common-phy-codes {
-  namespace "http://org/openroadm/common-phy-codes";
-  prefix org-openroadm-common-phy-codes;
-
-  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,
-      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 2021-05-28 {
-    description
-        "Version 9.1";
-    }
-
-  identity compliance-code-identity {
-    description
-      "Base identity for reporting pluggable compliance codes per port.";
-  }
-
-  identity phy-code-none {
-    base compliance-code-identity;
-    description
-      "Used to report that no OpenROADM codes are supported.";
-  }
-
-  // BEGIN section for client phy code entities
-  
-  // Parent identity
-  identity client-phy-code-identity {
-    description
-      "base identity for client phy code.";
-  }
-
-  // IEEE 802.3 - 2018 PHY/PMD Names (subset)
-  identity ethernet-1000BASE-SX {
-    base client-phy-code-identity;
-  }
-  identity ethernet-1000BASE-LX {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-SR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-LR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-ER {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-SW {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-LW {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-EW {
-    base client-phy-code-identity;
-  }
-  identity ethernet-25GBASE-SR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-25GBASE-LR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-25GBASE-ER {
-    base client-phy-code-identity;
-  }
-  identity ethernet-25GBASE-CR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-25GBASE-CR-S {
-    base client-phy-code-identity;
-  }
-  identity ethernet-25GBASE-KR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-25GBASE-KR-S {
-    base client-phy-code-identity;
-  }
-  identity ethernet-40GBASE-SR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-40GBASE-LR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-40GBASE-ER4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-40GBASE-FR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-40GBASE-T {
-    base client-phy-code-identity;
-  }  
-  identity ethernet-40GBASE-KR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-50GBASE-SR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-50GBASE-FR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-50GBASE-LR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-50GBASE-KR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-50GBASE-CR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-CR2 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-KR2 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-SR10 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-SR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-LR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-ER4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-SR2 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-DR {
-    base client-phy-code-identity;
-  }  
-  identity ethernet-100GBASE-CR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-KP4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GBASE-KR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-200GBASE-SR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-200GBASE-DR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-200GBASE-FR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-200GBASE-LR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-400GBASE-SR16 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-400GBASE-DR4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-400GBASE-FR8 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-400GBASE-LR8 {
-    base client-phy-code-identity;
-  }
-
-
-  // Common names not defined in IEEE 802.3
-  identity ethernet-1000BASE-EX {
-    base client-phy-code-identity;
-  }
-  identity ethernet-1000BASE-ZX {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-ZR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-10GBASE-ZW {
-    base client-phy-code-identity;
-  }
-  identity ethernet-40GQSFP-PSM4 {
-    base client-phy-code-identity;
-  }
-
-
-  // http://psm4.org 
-  identity ethernet-100G-PSM4 {
-    base client-phy-code-identity;
-  }
-
-
-  // http://www.cwdm4-msa.org/
-  identity ethernet-100GE-CWDM4 {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100GE-4WDM-10 {
-    base client-phy-code-identity;
-  }
-
-
-
-  // http://100glambda.com/
-  identity ethernet-100G-FR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-100G-LR {
-    base client-phy-code-identity;
-  }
-  identity ethernet-400G-FR4 {
-    base client-phy-code-identity;
-  }
-
-
-  // ITU-T G.959.1 - 2018 */
-  identity otn-P1I1-1D1 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1S1-1D1 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1L1-1D1 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1L1-1D2 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1I1-2D1 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1I1-2D2 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1S1-2D1 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1S1-2D2a {
-    base client-phy-code-identity;
-  }
-  identity otn-P1S1-2D2b {
-    base client-phy-code-identity;
-  }
-  identity otn-1S1-2D2bF {
-    base client-phy-code-identity;
-  }
-  identity otn-P1L1-2D1 {
-    base client-phy-code-identity;
-  }
-  identity otn-P1L1-2D2 {
-    base client-phy-code-identity;
-  }
-  identity otn-1L1-2D2F {
-    base client-phy-code-identity;
-  }
-  identity otn-P1L1-2D2E {
-    base client-phy-code-identity;
-  }
-  identity otn-1L1-2D2FE {
-    base client-phy-code-identity;
-  }
-  identity otn-C4S1-2D1 {
-    base client-phy-code-identity;
-  }
-  identity otn-1I1-3D1F {
-    base client-phy-code-identity;
-  }
-  identity otn-8R1-4D1F {
-    base client-phy-code-identity;
-  }
-  identity otn-4I1-9D1F {
-    base client-phy-code-identity;
-  }
-  identity otn-4L1-9C1F {
-    base client-phy-code-identity;
-  }
-  identity otn-4L1-9D1F {
-    base client-phy-code-identity;
-  }
-  identity otn-4I1-4D1F {
-    base client-phy-code-identity;
-  }
-  identity otn-8I1-4D1F {
-    base client-phy-code-identity;
-  }
-
-  typedef compliance-codes-union {
-    type union {
-      type identityref { base client-phy-code-identity; }
-      type identityref { base compliance-code-identity; }
-    }
-    default "org-openroadm-common-phy-codes:phy-code-none";
-    description
-      "Compliance codes supported in OpenROADM.";
-  }
-  // END section for client phy code entities
-}
\ No newline at end of file
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-state-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-common-state-types@2018-11-30.yang
deleted file mode 100644 (file)
index 03d352e..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-module org-openroadm-common-state-types {
-  namespace "http://org/openroadm/common-state-types";
-  prefix org-openroadm-common-state-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,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef lifecycle-state {
-    type enumeration {
-      enum "deployed" {
-        value 1;
-      }
-      enum "planned" {
-        value 2;
-      }
-      enum "maintenance" {
-        value 3;
-      }
-      enum "deploying" {
-        value 4;
-      }
-      enum "undeploying" {
-        value 5;
-      }
-      enum "undeployed" {
-        value 6;
-      }
-      enum "proposed" {
-        value 7;
-      }
-      enum "draft" {
-        value 8;
-      }
-      enum "deploy-failed" {
-        value 9;
-      }
-      enum "undeploy-failed" {
-        value 10;
-      }
-      enum "deployed-augmented" {
-        value 11;
-      }
-      enum "deployed-updating" {
-        value 12;
-      }
-    }
-    description
-      "Lifecycle state.";
-  }
-
-  typedef state {
-    type enumeration {
-      enum "inService" {
-        value 1;
-      }
-      enum "outOfService" {
-        value 2;
-      }
-      enum "degraded" {
-        value 3;
-      }
-    }
-    description
-      "State that indicates whether the resource is able to provide fulfill its role - carry traffic, etc.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-state-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-state-types@2019-11-29.yang
deleted file mode 100644 (file)
index 901a013..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-module org-openroadm-common-state-types {
-  namespace "http://org/openroadm/common-state-types";
-  prefix org-openroadm-common-state-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,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef lifecycle-state {
-    type enumeration {
-      enum deployed {
-        value 1;
-      }
-      enum planned {
-        value 2;
-      }
-      enum maintenance {
-        value 3;
-      }
-      enum deploying {
-        value 4;
-      }
-      enum undeploying {
-        value 5;
-      }
-      enum undeployed {
-        value 6;
-      }
-      enum proposed {
-        value 7;
-      }
-      enum draft {
-        value 8;
-      }
-      enum deploy-failed {
-        value 9;
-      }
-      enum undeploy-failed {
-        value 10;
-      }
-      enum deployed-augmented {
-        value 11;
-      }
-      enum deployed-updating {
-        value 12;
-      }
-    }
-    description
-      "Lifecycle state.";
-  }
-
-  typedef state {
-    type enumeration {
-      enum inService {
-        value 1;
-      }
-      enum outOfService {
-        value 2;
-      }
-      enum degraded {
-        value 3;
-      }
-    }
-    description
-      "State that indicates whether the resource is able to provide fulfill its role - carry traffic, etc.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-types@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-common-types@2016-10-14.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/ordmodels/common/src/main/yang/org-openroadm-common-types@2017-09-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-types@2017-09-29.yang
deleted file mode 100644 (file)
index 5957348..0000000
+++ /dev/null
@@ -1,629 +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 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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;
-      }
-      enum "ila" {
-        value 3;
-      }
-      enum "extplug" {
-        value 4;
-      }
-    }
-    description
-      "Identifier for node type
-       1. rdm for ROADM
-       2. xpdr for Transponder, Regen
-       3. ila for in-line amplifier
-       4. extplug for external plugable";
-  }
-
-  typedef node-id-type {
-    type string {
-      length "7..63";
-      pattern "([a-zA-Z][a-zA-Z0-9-]{5,18}[a-zA-Z0-9])" {
-        error-message
-          "A node-id must be 7 to 63 characters in length.
-           A node-id can contain letters, numbers, and hyphens.
-           The first character must be a letter.
-           The last character must be a letter or number.";
-       }
-    }
-    description
-      "Globally unique identifer for a device.";
-  }
-
-  typedef xpdr-node-types {
-    type enumeration {
-      enum "tpdr" {
-        value 1;
-      }
-      enum "mpdr" {
-        value 2;
-      }
-      enum "switch" {
-        value 3;
-      }
-      enum "regen" {
-        value 4;
-      }
-      enum "regen-uni" {
-        value 5;
-      }
-    }
-    description
-      "Identifier for Xponder node type
-       1. Transponder
-       2. Muxponder
-       3. OTN switchponder
-       4. Regenerator
-       5. Regenerator based on unidirectional model";
-  }
-
-  typedef frequency-THz {
-    description
-      "Frequency value in THz.";
-    type decimal64 {
-      fraction-digits 8;
-    }
-    units "THz";
-  }
-
-  typedef frequency-GHz {
-    description
-      "Frequency value in GHz.";
-    type decimal64 {
-      fraction-digits 5;
-    }
-    units "GHz";
-  }
-
-  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 fiber-pmd {
-    description
-      "Polarization Mode Dispersion expressed in ps/km(1/2).";
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "ps/(km[1/2])";
-  }
-
-  typedef amplifier-types {
-    type enumeration {
-      enum "standard" {
-        value 1;
-      }
-    }
-    description
-      "identifier for amplifier type
-       1. standard for amplifier as defined initially in the ROADM MSA specifications
-       To be completed if/when additional amplifier types are required ";
-  }
-
-  typedef line-amplifier-control-mode {
-    description
-      "Identifies the line amplifier control mode, either off or gain.";
-    type enumeration {
-      enum "gainLoss" {
-        value 2;
-      }
-      enum "off" {
-        value 3;
-      }
-    }
-  }
-
-  typedef amplifier-gain-range {
-    description
-      "Operational mode for the amplifier:
-       this parameter allows modeling different operational modes (gain ranges) ,notably for switched-gain amplifiers.
-       It indicates which performance model shall be used by the path feasibility engine.
-       For standard amplifier, or when performance evaluation is based on incremental noise, use gain-range-1.
-       When performance evaluation is based on advanced parameters, specify used gain-range (1 to 4).
-       Up to release 2.1, only gain-range-1 is to be used (default value) ";
-    type enumeration {
-      enum "gain-range-1" {
-        value 1;
-      }
-      enum "gain-range-2" {
-        value 2;
-      }
-      enum "gain-range-3" {
-        value 3;
-      }
-      enum "gain-range-4" {
-        value 4;
-      }
-    }
-  }
-
-  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 activate-notification-type {
-    description
-      "Type of notification on software or database activation events";
-    type enumeration {
-      enum "activate" {
-        value 1;
-        description
-          "software or database activation";
-      }
-      enum "commit" {
-        value 2;
-        description
-          "commit the software or database.
-           For software activate, this event can happen in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.
-           For database activate, this event can occur in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.";
-      }
-      enum "cancel" {
-        value 3;
-        description
-          "cancel the database or software activation operation.
-           For software activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.
-           For database activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.";
-      }
-    }
-  }
-
-  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 status";
-    }
-  }
-
-  typedef extended-rpc-status {
-    description
-      "status of RPC ";
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-      enum "In-progress" {
-        value 3;
-      }
-    }
-  }
-
-  grouping extended-rpc-response-status {
-    leaf status {
-      type extended-rpc-status;
-      mandatory true;
-      description
-        "Successful, Failed or In-progress";
-    }
-    leaf status-message {
-      type string;
-      description
-        "Gives a more detailed status.";
-    }
-  }
-
-  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;
-      }
-      enum "undeployed" {
-        value 6;
-      }
-      enum "proposed" {
-        value 7;
-      }
-      enum "draft" {
-        value 8;
-      }
-    }
-  }
-
-  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;
-      }
-      enum "notApplicable" {
-        value 4;
-      }
-    }
-  }
-
-  typedef location {
-    type enumeration {
-      enum "notApplicable" {
-        value 1;
-      }
-      enum "nearEnd" {
-        value 2;
-      }
-      enum "farEnd" {
-        value 3;
-      }
-    }
-  }
-
-  typedef wavelength-duplication-type {
-    description
-      "One per srg is applied to C/D add/drop group
-       one per degree is applied to C/D/C add drop group";
-    type enumeration {
-      enum "one-per-srg" {
-        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 "one-per-degree" {
-        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;
-      }
-    }
-  }
-
-  typedef 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;
-      }
-      enum "switch-network" {
-        value 6;
-      }
-      enum "switch-client" {
-        value 7;
-      }
-      enum "ila-external" {
-        value 8;
-      }
-      enum "ila-internal" {
-        value 9;
-      }
-    }
-  }
-
-  identity och-rate-identity {
-    description
-      "A unique och rate identification";
-  }
-
-  identity R200G {
-    base och-rate-identity;
-    description
-      "Identity for 200G Rate";
-  }
-
-  identity R100G {
-    base och-rate-identity;
-    description
-      "Identity for 100G Rate";
-  }
-
-  identity R10.7G {
-    base och-rate-identity;
-    description
-      "Identity for 10.7G Rate";
-  }
-
-  identity R11.1G {
-    base och-rate-identity;
-    description
-      "Identity for 11.1G Rate";
-  }
-
-  typedef 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";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-types@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-common-types@2018-10-19.yang
deleted file mode 100644 (file)
index 6f2d9fe..0000000
+++ /dev/null
@@ -1,675 +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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  identity och-rate-identity {
-    description
-      "A unique och rate identification";
-  }
-
-  identity R200G {
-    base och-rate-identity;
-    description
-      "Identity for 200G Rate";
-  }
-
-  identity R100G {
-    base och-rate-identity;
-    description
-      "Identity for 100G Rate";
-  }
-
-  identity R10.7G {
-    base och-rate-identity;
-    description
-      "Identity for 10.7G Rate";
-  }
-
-  identity R11.1G {
-    base och-rate-identity;
-    description
-      "Identity for 11.1G Rate";
-  }
-
-  typedef node-types {
-    type enumeration {
-      enum "rdm" {
-        value 1;
-      }
-      enum "xpdr" {
-        value 2;
-      }
-      enum "ila" {
-        value 3;
-      }
-      enum "extplug" {
-        value 4;
-      }
-    }
-    description
-      "Identifier for node type
-       1. rdm for ROADM
-       2. xpdr for Transponder, Regen
-       3. ila for in-line amplifier
-       4. extplug for external plugable";
-  }
-
-  typedef node-id-type {
-    type string {
-      length "7..63";
-      pattern "([a-zA-Z][a-zA-Z0-9-]{5,18}[a-zA-Z0-9])" {
-        error-message
-          "A node-id must be 7 to 63 characters in length.
-           A node-id can contain letters, numbers, and hyphens.
-           The first character must be a letter.
-           The last character must be a letter or number.";
-      }
-    }
-    description
-      "Globally unique identifer for a device.";
-  }
-
-  typedef xpdr-node-types {
-    type enumeration {
-      enum "tpdr" {
-        value 1;
-      }
-      enum "mpdr" {
-        value 2;
-      }
-      enum "switch" {
-        value 3;
-      }
-      enum "regen" {
-        value 4;
-      }
-      enum "regen-uni" {
-        value 5;
-      }
-    }
-    description
-      "Identifier for Xponder node type
-       1. Transponder
-       2. Muxponder
-       3. OTN switchponder
-       4. Regenerator
-       5. Regenerator based on unidirectional model";
-  }
-
-  typedef frequency-THz {
-    type decimal64 {
-      fraction-digits 8;
-    }
-    units "THz";
-    description
-      "Frequency value in THz.";
-  }
-
-  typedef frequency-GHz {
-    type decimal64 {
-      fraction-digits 5;
-    }
-    units "GHz";
-    description
-      "Frequency value in GHz.";
-  }
-
-  typedef power-dBm {
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "dBm";
-    description
-      "Power value in dBm.";
-  }
-
-  typedef ratio-dB {
-    type decimal64 {
-      fraction-digits 3;
-    }
-    units "dB";
-    description
-      "Power ratio in dB.";
-  }
-
-  typedef fiber-pmd {
-    type decimal64 {
-      fraction-digits 2;
-    }
-    units "ps/(km[1/2])";
-    description
-      "Polarization Mode Dispersion expressed in ps/km(1/2).";
-  }
-
-  typedef amplifier-types {
-    type enumeration {
-      enum "standard" {
-        value 1;
-      }
-    }
-    description
-      "identifier for amplifier type
-       1. standard for amplifier as defined initially in the ROADM MSA specifications
-       To be completed if/when additional amplifier types are required ";
-  }
-
-  typedef line-amplifier-control-mode {
-    type enumeration {
-      enum "gainLoss" {
-        value 2;
-      }
-      enum "off" {
-        value 3;
-      }
-    }
-    description
-      "Identifies the line amplifier control mode, either off or gain.";
-  }
-
-  typedef amplifier-gain-range {
-    type enumeration {
-      enum "gain-range-1" {
-        value 1;
-      }
-      enum "gain-range-2" {
-        value 2;
-      }
-      enum "gain-range-3" {
-        value 3;
-      }
-      enum "gain-range-4" {
-        value 4;
-      }
-    }
-    description
-      "Operational mode for the amplifier:
-       this parameter allows modeling different operational modes (gain ranges) ,notably for switched-gain amplifiers.
-       It indicates which performance model shall be used by the path feasibility engine.
-       For standard amplifier, or when performance evaluation is based on incremental noise, use gain-range-1.
-       When performance evaluation is based on advanced parameters, specify used gain-range (1 to 4).
-       Up to release 2.1, only gain-range-1 is to be used (default value) ";
-  }
-
-  typedef 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;
-      }
-    }
-    description
-      "Severity, based on X.733 perceived severity";
-  }
-
-  typedef activate-notification-type {
-    type enumeration {
-      enum "activate" {
-        value 1;
-        description
-          "software or database activation";
-      }
-      enum "commit" {
-        value 2;
-        description
-          "commit the software or database.
-           For software activate, this event can happen in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.
-           For database activate, this event can occur in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.";
-      }
-      enum "cancel" {
-        value 3;
-        description
-          "cancel the database or software activation operation.
-           For software activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.
-           For database activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.";
-      }
-    }
-    description
-      "Type of notification on software or database activation events";
-  }
-
-  typedef rpc-status {
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef extended-rpc-status {
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-      enum "In-progress" {
-        value 3;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef openroadm-version-type {
-    type enumeration {
-      enum "1.0" {
-        value 1;
-        description
-          "value for 1.0";
-      }
-      enum "2.0" {
-        value 2;
-        description
-          "value for 2.0";
-      }
-      enum "2.1" {
-        value 3;
-        description
-          "value for 2.1";
-      }
-      enum "2.2" {
-        value 4;
-        description
-          "value for 2.2";
-      }
-      enum "2.2.1" {
-        value 8;
-        description
-          "value for 2.2";
-      }
-    }
-    description
-      "OpenROADM version enum type";
-  }
-
-  typedef lifecycle-state {
-    type enumeration {
-      enum "deployed" {
-        value 1;
-      }
-      enum "planned" {
-        value 2;
-      }
-      enum "maintenance" {
-        value 3;
-      }
-      enum "deploying" {
-        value 4;
-      }
-      enum "undeploying" {
-        value 5;
-      }
-      enum "undeployed" {
-        value 6;
-      }
-      enum "proposed" {
-        value 7;
-      }
-      enum "draft" {
-        value 8;
-      }
-      enum "deploy-failed" {
-        value 9;
-      }
-      enum "undeploy-failed" {
-        value 10;
-      }
-    }
-    description
-      "Lifecycle state.";
-  }
-
-  typedef state {
-    type enumeration {
-      enum "inService" {
-        value 1;
-      }
-      enum "outOfService" {
-        value 2;
-      }
-      enum "degraded" {
-        value 3;
-      }
-    }
-    description
-      "State that indicates whether the resource is able to provide fullfill its role - carry traffic, etc.";
-  }
-
-  typedef optic-types {
-    type enumeration {
-      enum "gray" {
-        value 1;
-      }
-      enum "dwdm" {
-        value 2;
-      }
-    }
-  }
-
-  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 {
-    type enumeration {
-      enum "power" {
-        value 1;
-      }
-      enum "gainLoss" {
-        value 2;
-      }
-      enum "off" {
-        value 3;
-      }
-    }
-    description
-      "Optical Control Mode: identifies specific algorithm related to power management and general optical control.";
-    reference "openroadm.org: Open ROADM MSA Specification.";
-  }
-
-  typedef direction {
-    type enumeration {
-      enum "tx" {
-        value 1;
-      }
-      enum "rx" {
-        value 2;
-      }
-      enum "bidirectional" {
-        value 3;
-      }
-      enum "notApplicable" {
-        value 4;
-      }
-    }
-  }
-
-  typedef location {
-    type enumeration {
-      enum "notApplicable" {
-        value 1;
-      }
-      enum "nearEnd" {
-        value 2;
-      }
-      enum "farEnd" {
-        value 3;
-      }
-    }
-  }
-
-  typedef wavelength-duplication-type {
-    type enumeration {
-      enum "one-per-srg" {
-        value 1;
-        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.";
-      }
-      enum "one-per-degree" {
-        value 2;
-        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.";
-      }
-    }
-    description
-      "One per srg is applied to C/D add/drop group
-       one per degree is applied to C/D/C add drop group";
-  }
-
-  typedef 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;
-      }
-      enum "switch-network" {
-        value 6;
-      }
-      enum "switch-client" {
-        value 7;
-      }
-      enum "ila-external" {
-        value 8;
-      }
-      enum "ila-internal" {
-        value 9;
-      }
-    }
-  }
-
-  typedef 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";
-  }
-
-  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;
-    }
-  }
-
-  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 status";
-    }
-  }
-
-  grouping extended-rpc-response-status {
-    leaf status {
-      type extended-rpc-status;
-      mandatory true;
-      description
-        "Successful, Failed or In-progress";
-    }
-    leaf status-message {
-      type string;
-      description
-        "Gives a more detailed status.";
-    }
-  }
-
-  grouping equipment-type {
-    leaf type {
-      type equipment-type-enum;
-      config false;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      config false;
-      mandatory false;
-      description
-        "Populated with equipment type when enum value is set to vendorExtension";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-common-types@2018-11-30.yang
deleted file mode 100644 (file)
index 2458192..0000000
+++ /dev/null
@@ -1,238 +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,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef activate-notification-type {
-    type enumeration {
-      enum "activate" {
-        value 1;
-        description
-          "software or database activation";
-      }
-      enum "commit" {
-        value 2;
-        description
-          "commit the software or database.
-           For software activate, this event can happen in the following scenarios:
-             1) immediately when user issue sw-activate command without validationTimer
-                or if the validationTimer is specified as 00-00-00;
-             2) when user issue cancel-validation-timer before it expires and with accept=true.
-           For database activate, this event can occur in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.";
-      }
-      enum "cancel" {
-        value 3;
-        description
-          "cancel the database or software activation operation.
-           For software activate, this event can happen in the following cases:
-             1) when the validationTimer expires;
-             2) when the user issues cancel-validation-timer with accept=false.
-           For database activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.";
-      }
-    }
-    description
-      "Type of notification on software or database activation events";
-  }
-
-  typedef rpc-status {
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef extended-rpc-status {
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-      enum "In-progress" {
-        value 3;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef openroadm-version-type {
-    type enumeration {
-      enum "1.0" {
-        value 1;
-        description
-          "value for 1.0";
-      }
-      enum "2.0" {
-        value 2;
-        description
-          "value for 2.0";
-      }
-      enum "2.1" {
-        value 3;
-        description
-          "value for 2.1";
-      }
-      enum "2.2" {
-        value 4;
-        description
-          "value for 2.2";
-      }
-      enum "3.0" {
-        value 5;
-        description
-          "value for 3.0";
-      }
-      enum "3.1" {
-        value 6;
-        description
-          "value for 3.1";
-      }
-      enum "4.0" {
-        value 7;
-        description
-          "value for 4.0";
-      }
-      enum "2.2.1" {
-        value 8;
-        description
-          "value for 2.2.1";
-      }
-      enum "4.1" {
-        value 9;
-        description
-          "value for 4.1";
-      }
-      enum "3.1.1" {
-        value 10;
-        description
-          "value for 3.1.1";
-      }
-    }
-    description
-      "OpenROADM version enum type";
-  }
-
-  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 status";
-    }
-  }
-
-  grouping extended-rpc-response-status {
-    leaf status {
-      type extended-rpc-status;
-      mandatory true;
-      description
-        "Successful, Failed or In-progress";
-    }
-    leaf status-message {
-      type string;
-      description
-        "Gives a more detailed status.";
-    }
-  }
-
-  grouping eth-rate-and-burst-size {
-    description
-      "Grouping of ethernet committed rate and burst size.";
-    leaf committed-info-rate {
-      type uint32;
-      mandatory true;
-      description
-        "Committed Information Rate (CIR), unit in Mbps. For example, 1250 Mbps";
-    }
-    leaf committed-burst-size {
-      type uint16;
-      mandatory true;
-      description
-        "Committed Burst Size, unit in 1KB (K Byte).
-                Range 16 | 32 | 64 | 128 | 512 | 1024. Default: 16";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-types@2019-05-31.yang b/ordmodels/common/src/main/yang/org-openroadm-common-types@2019-05-31.yang
deleted file mode 100644 (file)
index 9d5728c..0000000
+++ /dev/null
@@ -1,252 +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,
-      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 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef activate-notification-type {
-    type enumeration {
-      enum "activate" {
-        value 1;
-        description
-          "software or database activation";
-      }
-      enum "commit" {
-        value 2;
-        description
-          "commit the software or database.
-           For software activate, this event can happen in the following scenarios:
-             1) immediately when user issue sw-activate command without validationTimer
-                or if the validationTimer is specified as 00-00-00;
-             2) when user issue cancel-validation-timer before it expires and with accept=true.
-           For database activate, this event can occur in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.";
-      }
-      enum "cancel" {
-        value 3;
-        description
-          "cancel the database or software activation operation.
-           For software activate, this event can happen in the following cases:
-             1) when the validationTimer expires;
-             2) when the user issues cancel-validation-timer with accept=false.
-           For database activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.";
-      }
-    }
-    description
-      "Type of notification on software or database activation events";
-  }
-
-  typedef rpc-status {
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef extended-rpc-status {
-    type enumeration {
-      enum "Successful" {
-        value 1;
-      }
-      enum "Failed" {
-        value 2;
-      }
-      enum "In-progress" {
-        value 3;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef openroadm-version-type {
-    type enumeration {
-      enum "1.0" {
-        value 1;
-        description
-          "value for 1.0";
-      }
-      enum "2.0" {
-        value 2;
-        description
-          "value for 2.0";
-      }
-      enum "2.1" {
-        value 3;
-        description
-          "value for 2.1";
-      }
-      enum "2.2" {
-        value 4;
-        description
-          "value for 2.2";
-      }
-      enum "3.0" {
-        value 5;
-        description
-          "value for 3.0";
-      }
-      enum "3.1" {
-        value 6;
-        description
-          "value for 3.1";
-      }
-      enum "4.0" {
-        value 7;
-        description
-          "value for 4.0";
-      }
-      enum "2.2.1" {
-        value 8;
-        description
-          "value for 2.2.1";
-      }
-      enum "4.1" {
-        value 9;
-        description
-          "value for 4.1";
-      }
-      enum "3.1.1" {
-        value 10;
-        description
-          "value for 3.1.1";
-      }
-      enum "5.0" {
-        value 11;
-        description
-          "value for 5.0";
-      }
-      enum "5.1" {
-        value 12;
-        description
-          "value for 5.1";
-      }
-    }
-    description
-      "OpenROADM version enum type";
-  }
-
-  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 status";
-    }
-  }
-
-  grouping extended-rpc-response-status {
-    leaf status {
-      type extended-rpc-status;
-      mandatory true;
-      description
-        "Successful, Failed or In-progress";
-    }
-    leaf status-message {
-      type string;
-      description
-        "Gives a more detailed status.";
-    }
-  }
-
-  grouping eth-rate-and-burst-size {
-    description
-      "Grouping of ethernet committed rate and burst size.";
-    leaf committed-info-rate {
-      type uint32;
-      mandatory true;
-      description
-        "Committed Information Rate (CIR), unit in Mbps. For example, 1250 Mbps";
-    }
-    leaf committed-burst-size {
-      type uint16;
-      mandatory true;
-      description
-        "Committed Burst Size, unit in 1KB (K Byte).
-                Range 16 | 32 | 64 | 128 | 512 | 1024. Default: 16";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-types@2020-05-29.yang b/ordmodels/common/src/main/yang/org-openroadm-common-types@2020-05-29.yang
deleted file mode 100644 (file)
index ac8565c..0000000
+++ /dev/null
@@ -1,427 +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,
-      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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef activate-notification-type {
-    type enumeration {
-      enum activate {
-        value 1;
-        description
-          "software or database activation";
-      }
-      enum commit {
-        value 2;
-        description
-          "commit the software or database.
-           For software activate, this event can happen in the following scenarios:
-             1) immediately when user issue sw-activate command without validationTimer
-                or if the validationTimer is specified as 00-00-00;
-             2) when user issue cancel-validation-timer before it expires and with accept=true.
-           For database activate, this event can occur in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.";
-      }
-      enum cancel {
-        value 3;
-        description
-          "cancel the database or software activation operation.
-           For software activate, this event can happen in the following cases:
-             1) when the validationTimer expires;
-             2) when the user issues cancel-validation-timer with accept=false.
-           For database activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.";
-      }
-    }
-    description
-      "Type of notification on software or database activation events";
-  }
-
-  typedef rpc-status {
-    type enumeration {
-      enum Successful {
-        value 1;
-      }
-      enum Failed {
-        value 2;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef extended-rpc-status {
-    type enumeration {
-      enum Successful {
-        value 1;
-      }
-      enum Failed {
-        value 2;
-      }
-      enum In-progress {
-        value 3;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef openroadm-version-type {
-    type enumeration {
-      enum 1.0 {
-        value 1;
-        description
-          "value for 1.0";
-      }
-      enum 2.0 {
-        value 2;
-        description
-          "value for 2.0";
-      }
-      enum 2.1 {
-        value 3;
-        description
-          "value for 2.1";
-      }
-      enum 2.2 {
-        value 4;
-        description
-          "value for 2.2";
-      }
-      enum 3.0 {
-        value 5;
-        description
-          "value for 3.0";
-      }
-      enum 3.1 {
-        value 6;
-        description
-          "value for 3.1";
-      }
-      enum 4.0 {
-        value 7;
-        description
-          "value for 4.0";
-      }
-      enum 2.2.1 {
-        value 8;
-        description
-          "value for 2.2.1";
-      }
-      enum 4.1 {
-        value 9;
-        description
-          "value for 4.1";
-      }
-      enum 3.1.1 {
-        value 10;
-        description
-          "value for 3.1.1";
-      }
-      enum 5.0 {
-        value 11;
-        description
-          "value for 5.0";
-      }
-      enum 5.1 {
-        value 12;
-        description
-          "value for 5.1";
-      }
-      enum 6.0 {
-        value 13;
-        description
-          "value for 6.0";
-      }
-      enum 6.1 {
-        value 14;
-        description
-          "value for 6.1";
-      }
-      enum 7.0 {
-        value 15;
-        description
-          "value for 7.0";
-      }
-      enum 7.1 {
-        value 16;
-        description
-          "value for 7.1";
-      }
-    }
-    description
-      "OpenROADM version enum type";
-  }
-
-  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 status";
-    }
-  }
-
-  grouping extended-rpc-response-status {
-    leaf status {
-      type extended-rpc-status;
-      mandatory true;
-      description
-        "Successful, Failed or In-progress";
-    }
-    leaf status-message {
-      type string;
-      description
-        "Gives a more detailed status.";
-    }
-  }
-
-  grouping eth-rate-and-burst-size {
-    description
-      "Grouping of ethernet committed rate and burst size.";
-    leaf committed-info-rate {
-      type uint32;
-      mandatory true;
-      description
-        "Committed Information Rate (CIR), unit in Mbps. For example, 1250 Mbps";
-    }
-    leaf committed-burst-size {
-      type uint16;
-      mandatory true;
-      description
-        "Committed Burst Size, unit in 1KB (K Byte).
-                Range 16 | 32 | 64 | 128 | 512 | 1024. Default: 16";
-    }
-  }
-
-  identity otn-protection-type {
-    description
-      "OTN base protection identity from which
-         specific protection types are derived.";
-  }
-
-  typedef tcm-direction-capability-type {
-    type enumeration {
-      enum up-tcm {
-        description
-          "Port supports up TCM termination, e.g., direction facing the switch fabric";
-      }
-      enum down-tcm {
-        description
-          "Port supports down TCM termination, e.g., direction facing out of the equipment ";
-      }
-      enum up-down-tcm {
-        description
-          "Port supports both up and down TCM terminations";
-      }
-    }
-    description
-      "TCM direction capability for the port";
-  }
-
-
-
-
-
-
-  //
-  // Identities for FEC -- used for Device and Service models
-  //
-
-  // Base Identity
-  identity fec-identity {
-    description
-      "A unique FEC identification";
-  }
-
-  // FEC Off (duplications for backwards compatibility)
-  identity off-fec {
-    status deprecated;
-    base fec-identity;
-    description
-      "FEC Off";
-  }
-  identity off {
-    base fec-identity;
-    description
-      "FEC Off";
-  }
-
-  // Staircase FEC (duplications for backwards compatibility)
-  identity sc-fec {
-    status deprecated;
-    base fec-identity;
-    description
-      "Staircase FEC identification";
-  }
-  identity scfec {
-    base fec-identity;
-    description
-      "Staircase FEC identification";
-  }
-
-  // Reed Solomon FEC (duplication for backwards compatibility)
-  identity rs-fec {
-    status deprecated;
-    base fec-identity;
-    description
-      "Reed Solomon FEC identification";
-  }
-  identity rsfec {
-    base fec-identity;
-    description
-      "Reed Solomon FEC identification";
-  }
-
-  // OpenROADM FEC (duplication for backwards compatibility)
-  identity o-fec {
-    status deprecated;
-    base fec-identity;
-    description
-      "OpenROADM FEC identification";
-  }
-  identity ofec {
-    base fec-identity;
-    description
-      "OpenROADM FEC identification";
-  }
-
-  // G.975.1 I.4
-  identity efec {
-    base fec-identity;
-    description
-      "G.975.1 I.4";
-  }
-
-  // G.975.1 I.7
-  identity ufec {
-    base fec-identity;
-    description
-      "G.975.1 I.7";
-  }
-
-  // Soft Decision FEC
-  identity sdfec {
-    base fec-identity;
-    description
-      "Soft Decision FEC";
-  }
-
-  // Clariphy SDFEC
-  identity sdfeca1 {
-    base fec-identity;
-    description
-      "Clariphy SDFEC";
-  }
-
-  // SDFEC with SCFED
-  identity sdfecb1 {
-    base fec-identity;
-    description
-      "SDFEC with SCFEC";
-  }
-
-
-  grouping fec-grouping {
-    leaf fec {
-      type identityref {
-        base org-openroadm-common-types:fec-identity;
-      }
-      description
-        "FEC / Forward Error Correction";
-    }
-  }
-
-}
\ No newline at end of file
diff --git a/ordmodels/common/src/main/yang/org-openroadm-common-types@2021-12-10.yang b/ordmodels/common/src/main/yang/org-openroadm-common-types@2021-12-10.yang
deleted file mode 100644 (file)
index ca3d2b8..0000000
+++ /dev/null
@@ -1,487 +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,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef activate-notification-type {
-    type enumeration {
-      enum activate {
-        value 1;
-        description
-          "software or database activation";
-      }
-      enum commit {
-        value 2;
-        description
-          "commit the software or database.
-           For software activate, this event can happen in the following scenarios:
-             1) immediately when user issue sw-activate command without validationTimer
-                or if the validationTimer is specified as 00-00-00;
-             2) when user issue cancel-validation-timer before it expires and with accept=true.
-           For database activate, this event can occur in the following scenarios:
-             1) immediately when user issue db-activate command without rollBackTimer
-                or if the rollBackTimer is specified as 00-00-00;
-             2) when user issue cancel-rollback-timer before it expires and with accept=true.";
-      }
-      enum cancel {
-        value 3;
-        description
-          "cancel the database or software activation operation.
-           For software activate, this event can happen in the following cases:
-             1) when the validationTimer expires;
-             2) when the user issues cancel-validation-timer with accept=false.
-           For database activate, this event can happen in the following cases:
-             1) when the rollBackTimer expires;
-             2) when the user issues cancel-rollback-timer with accept=false.";
-      }
-    }
-    description
-      "Type of notification on software or database activation events";
-  }
-
-  typedef rpc-status {
-    type enumeration {
-      enum Successful {
-        value 1;
-      }
-      enum Failed {
-        value 2;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef extended-rpc-status {
-    type enumeration {
-      enum Successful {
-        value 1;
-      }
-      enum Failed {
-        value 2;
-      }
-      enum In-progress {
-        value 3;
-      }
-    }
-    description
-      "status of RPC ";
-  }
-
-  typedef openroadm-version-type {
-    type enumeration {
-      enum 1.0 {
-        value 1;
-        description
-          "value for 1.0";
-      }
-      enum 2.0 {
-        value 2;
-        description
-          "value for 2.0";
-      }
-      enum 2.1 {
-        value 3;
-        description
-          "value for 2.1";
-      }
-      enum 2.2 {
-        value 4;
-        description
-          "value for 2.2";
-      }
-      enum 3.0 {
-        value 5;
-        description
-          "value for 3.0";
-      }
-      enum 3.1 {
-        value 6;
-        description
-          "value for 3.1";
-      }
-      enum 4.0 {
-        value 7;
-        description
-          "value for 4.0";
-      }
-      enum 2.2.1 {
-        value 8;
-        description
-          "value for 2.2.1";
-      }
-      enum 4.1 {
-        value 9;
-        description
-          "value for 4.1";
-      }
-      enum 3.1.1 {
-        value 10;
-        description
-          "value for 3.1.1";
-      }
-      enum 5.0 {
-        value 11;
-        description
-          "value for 5.0";
-      }
-      enum 5.1 {
-        value 12;
-        description
-          "value for 5.1";
-      }
-      enum 6.0 {
-        value 13;
-        description
-          "value for 6.0";
-      }
-      enum 6.1 {
-        value 14;
-        description
-          "value for 6.1";
-      }
-      enum 7.0 {
-        value 15;
-        description
-          "value for 7.0";
-      }
-      enum 7.1 {
-        value 16;
-        description
-          "value for 7.1";
-      }
-      enum 8.0 {
-        value 17;
-        description
-          "value for 8.0";
-      }
-      enum 8.1 {
-        value 18;
-        description
-          "value for 8.1";
-      }
-      enum 9.0 {
-        value 19;
-        description
-          "value for 9.0";
-      }
-      enum 9.1 {
-        value 20;
-        description
-          "value for 9.1";
-      }
-      enum 10.0 {
-        value 21;
-        description
-          "value for 10.0";
-      }
-      enum 10.1 {
-        value 22;
-        description
-          "value for 10.1";
-      }
-    }
-    description
-      "OpenROADM version enum type";
-  }
-
-  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 status";
-    }
-  }
-
-  grouping extended-rpc-response-status {
-    leaf status {
-      type extended-rpc-status;
-      mandatory true;
-      description
-        "Successful, Failed or In-progress";
-    }
-    leaf status-message {
-      type string;
-      description
-        "Gives a more detailed status.";
-    }
-  }
-
-  grouping eth-rate-and-burst-size {
-    description
-      "Grouping of ethernet committed rate and burst size.";
-    leaf committed-info-rate {
-      type uint32;
-      mandatory true;
-      description
-        "Committed Information Rate (CIR), unit in Mbps. For example, 1250 Mbps";
-    }
-    leaf committed-burst-size {
-      type uint16;
-      mandatory true;
-      description
-        "Committed Burst Size, unit in 1KB (K Byte).
-                Range 16 | 32 | 64 | 128 | 512 | 1024. Default: 16";
-    }
-  }
-
-  identity otn-protection-type {
-    description
-      "OTN base protection identity from which
-         specific protection types are derived.";
-  }
-
-  typedef tcm-direction-capability-type {
-    type enumeration {
-      enum up-tcm {
-        description
-          "Port supports up TCM termination, e.g., direction facing the switch fabric";
-      }
-      enum down-tcm {
-        description
-          "Port supports down TCM termination, e.g., direction facing out of the equipment ";
-      }
-      enum up-down-tcm {
-        description
-          "Port supports both up and down TCM terminations";
-      }
-    }
-    description
-      "TCM direction capability for the port";
-  }
-
-
-
-
-
-
-  //
-  // Identities for FEC -- used for Device and Service models
-  //
-
-  // Base Identity
-  identity fec-identity {
-    description
-      "A unique FEC identification";
-  }
-
-  // FEC Off (duplications for backwards compatibility)
-  identity off-fec {
-    status deprecated;
-    base fec-identity;
-    description
-      "FEC Off";
-  }
-  identity off {
-    base fec-identity;
-    description
-      "FEC Off";
-  }
-  identity scfec {
-    base fec-identity;
-    description
-      "Staircase FEC identification";
-  }
-  identity rsfec {
-    base fec-identity;
-    description
-      "Reed Solomon FEC identification";
-  }
-  identity ofec {
-    base fec-identity;
-    description
-      "OpenROADM FEC identification";
-  }
-
-  // G.975.1 I.4
-  identity efec {
-    base fec-identity;
-    description
-      "G.975.1 I.4";
-  }
-
-  // G.975.1 I.7
-  identity ufec {
-    base fec-identity;
-    description
-      "G.975.1 I.7";
-  }
-
-  // Soft Decision FEC
-  identity sdfec {
-    base fec-identity;
-    description
-      "Soft Decision FEC";
-  }
-
-  // Clariphy SDFEC
-  identity sdfeca1 {
-    base fec-identity;
-    description
-      "Clariphy SDFEC";
-  }
-
-  // SDFEC with SCFED
-  identity sdfecb1 {
-    base fec-identity;
-    description
-      "SDFEC with SCFEC";
-  }
-
-  // Base-R
-  identity baser {
-    base fec-identity;
-    description
-      "Base-R (IEEE 802.3)";
-  }
-
-  grouping fec-grouping {
-    leaf fec {
-      type identityref {
-        base org-openroadm-common-types:fec-identity;
-      }
-      description
-        "FEC / Forward Error Correction";
-    }
-  }
-
-  typedef SRLG-type {
-    type enumeration {
-      enum site {
-        value 0;
-        description
-          "Site SRLG";
-      }
-      enum node {
-        value 1;
-        description
-          "Node SRLG";
-      }
-      enum srlg {
-        value 2;
-        description
-          "SRLG here is also referred as fiber SRLG";
-      }
-      enum link {
-        value 3;
-        description
-          "Link SRLG";
-      }    
-    }
-  }  
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2016-10-14.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/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2017-12-15.yang b/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2017-12-15.yang
deleted file mode 100644 (file)
index 0c951ae..0000000
+++ /dev/null
@@ -1,139 +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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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
-          "equipment 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/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2018-11-30.yang
deleted file mode 100644 (file)
index 20aa29c..0000000
+++ /dev/null
@@ -1,143 +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,
-     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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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
-          "equipment 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/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-equipment-states-types@2019-11-29.yang
deleted file mode 100644 (file)
index ccfca19..0000000
+++ /dev/null
@@ -1,147 +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,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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
-          "equipment 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/ordmodels/common/src/main/yang/org-openroadm-interfaces@2019-05-31.yang b/ordmodels/common/src/main/yang/org-openroadm-interfaces@2019-05-31.yang
deleted file mode 100644 (file)
index ef4a3ea..0000000
+++ /dev/null
@@ -1,177 +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,
-     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 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 mediaChannelTrailTerminationPoint {
-    base interface-type;
-    description
-      "Media Channel Trail Termination Point";
-  }
-
-  identity networkMediaChannelConnectionTerminationPoint {
-    base interface-type;
-    description
-      "Network Media Channel Connection Termination Point";
-  }
-
-  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 otsi {
-    base interface-type;
-    description
-      "OTSI interface.";
-  }
-
-  identity otsi-group {
-    base interface-type;
-    description
-      "OTSI Group interface.";
-  }
-
-  identity flexo {
-    base interface-type;
-    description
-      "Flexo interface.";
-  }
-
-  identity flexo-group {
-    base interface-type;
-    description
-      "Flexo Group interface.";
-  }
-
-  identity openROADMOpticalMultiplex {
-    base interface-type;
-    description
-      "Optical Transport Multiplex type for openROADM";
-  }
-
-  identity ppp {
-    base interface-type;
-    description
-      "PPP for IP GNE.";
-  }
-
-  identity gcc {
-    base interface-type;
-    description
-      "ITU-T G.709 GCC.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-interfaces@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-interfaces@2019-11-29.yang
deleted file mode 100644 (file)
index 618c1e5..0000000
+++ /dev/null
@@ -1,181 +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,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 mediaChannelTrailTerminationPoint {
-    base interface-type;
-    description
-      "Media Channel Trail Termination Point";
-  }
-
-  identity networkMediaChannelConnectionTerminationPoint {
-    base interface-type;
-    description
-      "Network Media Channel Connection Termination Point";
-  }
-
-  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 otsi {
-    base interface-type;
-    description
-      "OTSI interface.";
-  }
-
-  identity otsi-group {
-    base interface-type;
-    description
-      "OTSI Group interface.";
-  }
-
-  identity flexo {
-    base interface-type;
-    description
-      "Flexo interface.";
-  }
-
-  identity flexo-group {
-    base interface-type;
-    description
-      "Flexo Group interface.";
-  }
-
-  identity openROADMOpticalMultiplex {
-    base interface-type;
-    description
-      "Optical Transport Multiplex type for openROADM";
-  }
-
-  identity ppp {
-    base interface-type;
-    description
-      "PPP for IP GNE.";
-  }
-
-  identity gcc {
-    base interface-type;
-    description
-      "ITU-T G.709 GCC.";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-layerRate@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-layerRate@2016-10-14.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/ordmodels/common/src/main/yang/org-openroadm-layerRate@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-layerRate@2019-11-29.yang
deleted file mode 100644 (file)
index ef23863..0000000
+++ /dev/null
@@ -1,102 +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,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  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";
-      }
-    }
-  }
-
-  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;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-maintenance@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-maintenance@2016-10-14.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/ordmodels/common/src/main/yang/org-openroadm-maintenance@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-maintenance@2018-10-19.yang
deleted file mode 100644 (file)
index 748055f..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-module org-openroadm-maintenance {
-  namespace "http://org/openroadm/maintenance";
-  prefix org-openroadm-mainteance;
-
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef maintenance-operation {
-    type enumeration {
-      enum "terminalLoopback" {
-        value 1;
-      }
-      enum "facilityLoopback" {
-        value 2;
-      }
-      enum "testSignal" {
-        value 3;
-      }
-    }
-    description
-      "Maintenance Operation.";
-  }
-
-  grouping maintenance {
-    leaf id {
-      type string;
-      mandatory true;
-      description
-        "Uniquely identify maintenance activity";
-    }
-    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;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-manifest-file@2020-03-27.yang b/ordmodels/common/src/main/yang/org-openroadm-manifest-file@2020-03-27.yang
deleted file mode 100644 (file)
index 27012bd..0000000
+++ /dev/null
@@ -1,1026 +0,0 @@
-module org-openroadm-manifest-file {
-  namespace "http://org/openroadm/manifest-file";
-  prefix org-openroadm-manifest-file;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of sw-manifest-file
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
-     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 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-    reference
-      "This module serves as the manifest file reference.";
-  }
-
-  identity manifest-commands {
-    description
-      "base identity for defining manifest-commands.";
-  }
-
-  identity download-file {
-    base manifest-commands;
-    description
-      "download-file (transfer from OWB-C to Device)";
-  }
-
-  identity upload-file {
-    base manifest-commands;
-    description
-      "upload-file (transfer from Device to OWB-C)";
-  }
-
-  identity delete-file {
-    base manifest-commands;
-    description
-      "delete-file from device";
-  }
-
-  identity sw-manifest-commands {
-    base manifest-commands;
-    description
-      "base identity for defining manifest-commands specific to sw-manifest.";
-  }
-
-  identity sw-stage {
-    base sw-manifest-commands;
-    description
-      "sw-stage sw-manifest-command";
-  }
-
-  identity sw-activate {
-    base sw-manifest-commands;
-    description
-      "sw-activate sw-manifest-command";
-  }
-
-  identity cancel-validation-timer {
-    base sw-manifest-commands;
-    description
-      "cancel-validation-timer sw-manifest-command";
-  }
-
-  identity db-backup-manifest-commands {
-    base manifest-commands;
-    description
-      "base identity for defining manifest-commands specific to db-backup-manifest.";
-  }
-
-  identity db-backup {
-    base db-backup-manifest-commands;
-    description
-      "db-backup db-backup-manifest-command";
-  }
-
-  identity db-restore-manifest-commands {
-    base manifest-commands;
-    description
-      "base identity for defining manifest-commands specific to db-restore-manifest.";
-  }
-
-  identity db-restore {
-    base db-restore-manifest-commands;
-    description
-      "db-restore db-restore-manifest-command";
-  }
-
-  identity db-activate {
-    base db-restore-manifest-commands;
-    description
-      "db-activate db-restore-manifest-command";
-  }
-
-  identity cancel-rollback-timer {
-    base db-restore-manifest-commands;
-    description
-      "cancel-rollback-timer db-restore-manifest-command";
-  }
-
-  grouping base-manifest {
-    description
-      "base set of variables in all manifest files";
-    leaf vendor {
-      type string;
-      mandatory true;
-      description
-        "This field should match the /org-openroadm-device/info/vendor.
-         It is assumed that the vendor value does not change during the
-         processing of the manifest file.
-
-         The controller agent would use the vendor and model to find the
-         manifest for an Open ROADM NE. The controller agent would also
-         use the vendor and model to validate that this is a valid manifest
-         for the Open ROADM NE.
-        ";
-    }
-    leaf model {
-      type string;
-      mandatory true;
-      description
-        "This field should match the /org-openroadm-device/info/model.
-         It is assumed that the model value does not change during the
-         processing of the manifest file.
-
-         The controller agent would use the vendor and model to find the
-         manifest for an Open ROADM NE. The controller agent would also
-         use the vendor and model to validate that this is a valid manifest
-         for the Open ROADM NE.
-        ";
-    }
-    leaf sw-version {
-      type string;
-      description
-        "This field should match the
-             /org-openroadm-device/info/softwareVersion.
-         This is the value in the info tree AFTER an upgrade.
-        ";
-    }
-    leaf global-async-timeout {
-      type uint16;
-      default "900";
-      description
-        "global-async-timeout - time in seconds to wait for command processing to
-         complete.
-
-         Upon timeout, the controller may either:
-           - assume success;
-           - assume failure;
-           - poll the device to determine success/failure of the operation
-
-         This global-async-timeout applies to any asynchronous command.
-        ";
-    }
-    leaf global-sync-timeout {
-      type uint16;
-      description
-        "global-sync-timeout - time in seconds to wait for the rpc response for
-         synchronous commands.
-
-         This global-sync-timeout applies to any synchronous command.
-
-         Upon timeout, the controller may either:
-           - assume success;
-           - assume failure;
-           - poll the device to determine success/failure of the operation
-
-         No default is modeled; if not provided, defaults to the global
-         timeout supported by the controller for rpc responses.
-        ";
-    }
-  }
-
-  grouping timeout-command {
-    description
-      "timeout-command is to be used by any manifest command supporting a timeout";
-    leaf timeout {
-      type uint16;
-      description
-        "See command for additional details.
-         if command is async,
-           - overrides the global-async-timeout;
-           - defaults to the global-async-timeout if not provided.
-         if command is sync,
-           - overrides the global-sync-timeout;
-           - defaults to the global-sync-timeout if not provided.
-        ";
-    }
-  }
-
-  grouping is-async-command {
-    description
-      "is-async-command is to be supported by all manifest commands even if only
-       supported as sync or async. In such cases, a must statement should be
-       included to limit support to either sync or async.";
-    leaf is-async {
-      type boolean;
-      default "true";
-      description
-        "command can be supported as either an async or sync command by a vendor.
-         When supported as a sync command, the OWB-C will determine the success/failure
-         of the command based on the RPC response instead of waiting for transient
-         notifications from the device.";
-    }
-  }
-
-  grouping transfer-command {
-    description
-      "transfer-command defines the common set of variables used by download-file
-       and upload-file";
-    leaf remote-filename {
-      type string;
-      mandatory true;
-      description
-        "See command for detailed description.";
-    }
-    leaf local-file-path {
-      type string;
-      mandatory true;
-      description
-        "See command for detailed description.";
-    }
-    uses timeout-command;
-    uses is-async-command;
-  }
-
-  grouping file-command {
-    description
-      "file-command is used by all manifest files needing a filename";
-    leaf filename {
-      type string;
-      description
-        "filename is mandatory for delete-file; optional otherwise.
-         See command for detailed description.";
-    }
-  }
-
-  grouping command-reboot {
-    description
-      "command-reboot is used by manifest commands which result in a
-       device restart.";
-    leaf auto-reboot {
-      type uint16;
-      mandatory true;
-      description
-        "See command for detailed description.";
-    }
-  }
-
-  grouping download-file-command {
-    description
-      "down-file-command";
-    container download-file {
-      when "../command = 'download-file'";
-      description
-        "Transfer a file from the SFTP server to the device.
-         format: download-file remote-filename local-file-path [timeout]
-         where
-           remote-filename is the filename of the file to transfer on the SFTP
-           server. The filename can include a relative path that represents the
-           subdirectory structure of the vendor's software directory. This file
-           (and optional path) must exist in the software release directory on
-           the SFTP server.
-
-           local-file-path is the local path and filename to transfer the file on
-           the device.
-
-           timeout - see timeout-command grouping for basic details;
-                     if command is async,
-                       - Receipt of an in-progress (version 2)
-                         transfer-notification resets the timeout.
-
-         Maps to the transfer rpc with
-            action = download
-            local-file-path = local-file-path
-            remote-file-path =
-               sftp://user:password@host[:port]/path/remote-filename
-
-            The remote-file-path attribute on the transfer command would be
-            constructed by the software download agent by appending the sftp URL
-            (which includes username, password, host, port, and path to the
-            software release directory) with the remote_filename.
-
-         In the context of the transfer, remote is the SFTP server (e.g., located
-         on the software download agent) and local is on the Open ROADM device.
-
-         Expected notifications: transfer-notification
-        ";
-      uses transfer-command;
-    }
-  }
-
-  grouping upload-file-command {
-    description
-      "upload-file-command";
-    container upload-file {
-      when "../command = 'upload-file'";
-      description
-        "Transfer a file from the device to the SFTP server.
-         format: upload-file remote-filename local-file-path [timeout]
-         where
-           remote-filename is the filename of the file to receive the upload
-           on the SFTP server. The filename can include a relative path that
-           represents the subdirectory structure of the vendor's software
-           directory.
-
-           local-file-path is the local path and filename of the file on
-           the device to be uploaded to the SFTP server. This file must exist on
-           the device.
-
-           timeout - see timeout-command grouping for basic details;
-                     if command is async,
-                       - Receipt of an in-progress (version 2)
-                         transfer-notification resets the timeout.
-
-         Maps to the transfer rpc with
-            action = upload
-            local-file-path = local-file-path
-            remote-file-path =
-               sftp://user:password@host[:port]/path/remote-filename
-
-            The remote-file-path attribute on the transfer command would be
-            constructed by the software download agent by appending the sftp URL
-            (which includes username, password, host, port, and path to the
-            software release directory) with the remote_filename.
-
-         In the context of the transfer, remote is the SFTP server (e.g., located
-         on the software download agent) and local is on the Open ROADM device.
-
-         Expected notifications: transfer-notification
-        ";
-      uses transfer-command;
-    }
-  }
-
-  grouping delete-file-command {
-    description
-      "delete-file-command";
-    container delete-file {
-      when "../command = 'delete-file'";
-      must "is-async != 'false'" {
-        error-message "delete-file is only supported as sync command";
-      }
-      description
-        "Delete a file from the device's file system.
-         format: delete-file filename [timeout]
-         where
-           filename is the filename to be deleted from the device. The filename
-           may include path information.
-
-           timeout - overrides the global-sync-timeout; defaults to the
-                     global-sync-timeout if not provided.
-
-         Maps to the delete-file rpc:
-            delete-file filename
-        ";
-      uses file-command {
-        refine "filename" {
-          mandatory true;
-        }
-      }
-      uses timeout-command;
-      uses is-async-command;
-    }
-  }
-
-  grouping sw-stage-command {
-    description
-      "sw-stage-command";
-    container sw-stage {
-      when "../command = 'sw-stage'";
-      description
-        "Stage a file in the device.  The details of what a device does during
-         the staging operation is vendor specific.  However, the vendor may
-         initiate additional file transfers from the SFTP server during the
-         staging operation.  It is expected that the files will only be
-         transferred from the software release directory.
-
-         format: sw-stage [filename] [timeout]
-         where
-           filename is the filename of the file to stage. If filename is not
-           provided, the software download application will send the sw-stage
-           command without a filename.
-
-           timeout - overrides the global-async-timeout; defaults to the
-                     global-async-timeout if not provided.
-
-
-         Maps to the sw-stage rpc:
-            sw-stage [filename]
-
-         Expected notifications: sw-stage-notification
-        ";
-      uses file-command;
-      uses timeout-command;
-      uses is-async-command;
-    }
-  }
-
-  grouping wait-time-command {
-    description
-      "Wait timer starting from the completion of sw-activate or db-activate before canceling the validation timer or rollback timer";
-    leaf wait-time {
-      type uint16;
-      mandatory true;
-      description
-        "See command for detailed description.";
-    }
-  }
-
-  grouping sw-activate-command {
-    description
-      "sw-activate-command";
-    container sw-activate {
-      when "../command = 'sw-activate'";
-      must "is-async != 'true'" {
-        error-message "sw-activate is only supported as async command";
-      }
-      description
-        "Activate a software load in a device.  The details of what a device does
-         during the activation phase is vendor specific.  The device initiates
-         an automatic reboot as part of the activation.
-
-         format:  sw-activate version [validation-timer] [timeout] auto-reboot
-         where:
-           version: The version of software that is being activated. (The current
-           YANG model indicates that version is optional; however, version should
-           be a mandatory attribute of the sw-activate command in the manifest
-           file).
-
-           validation-timer: Validation timer setting for the software activation.
-           Format is expected to be in the form HH-MM-SS per the YANG model. The
-           software download application expects this format in order to treat
-           00-00-00 and no validation timer as the same use case.
-
-           timeout - overrides the global-async-timeout; defaults to the
-           global-async-timeout if not provided. This timer begins as soon as the
-           sw-activate processing begins. timeout must be greater than the
-           auto-reboot time.
-
-           auto-reboot: time (in seconds) to wait to for the device to reboot.
-           This is the device restart time (e.g. the length of time from device
-           comm loss until the device is ready for login). This timer begins when
-           the controller detects the comm-loss from the device. If login is not
-           successful when this timer expires, the sw-activate is failed.
-
-           NOTE: if controller swdl application is not doing the login directly,
-           the controller may need to augment the auto-reboot timer to account for
-           the login time.
-
-         Maps to the sw-activate rpc:
-           sw-activate version [validationTimer]
-
-         Expected notifications: sw-activate-notification
-           When no validation timer (or validation-timer = 00-00-00), two
-           notifications will be expected: one for activate, the other for
-           commit. Otherwise, only the activate notification is expected.
-
-           NOTE: the sw-activate-notifications (for activate) may be received
-           before or after the reboot; it is assumed the sw-activate-notification
-           (for commit) always occurs after the reboot. Any polling due to missed
-           sw-activate-notifications (activate and/or commit) should not be done
-           until after the reboot login; processing of sw-activate does not
-           complete until after receipt of the notifications and the reboot login.
-        ";
-      leaf version {
-        type string;
-        mandatory true;
-        description
-          "Although version is optional in the sw-activate rpc, it is
-           mandatory in the manifest file command.";
-      }
-      leaf validation-timer {
-        type string;
-        description
-          "hh-mm-ss";
-      }
-      uses timeout-command;
-      uses command-reboot;
-      uses is-async-command;
-    }
-  }
-
-  grouping cancel-validation-timer-command {
-    description
-      "cancel-validation-timer-command";
-    container cancel-validation-timer {
-      when "../command = 'cancel-validation-timer'";
-      description
-        "Command to automatically cancel the validation timer after wait-time.
-         Accept will be set to True if this command is used.
-
-         format:  cancel-validation-timer wait-time [time-out]
-         where:
-
-           wait-time - wait timer starting from the completion of
-           sw-activate before canceling the validation timer.
-
-           timeout - see timeout-command grouping for basic details.
-
-         Expected notifications: sw-activate-notification
-           commit notification is expected.
-        ";
-      uses wait-time-command;
-      uses timeout-command;
-      uses is-async-command;
-    }
-  }
-
-  grouping db-backup-command {
-    description
-      "db-backup-command";
-    container db-backup {
-      when "../command = 'db-backup'";
-      description
-        "Perform a database backup on the device.
-
-         format: db-backup [filename] [timeout]
-         where
-           filename is the filename of the backup file to be generated on the
-           device. If filename is not provided, the database backup application
-           will send the db-backup command without a filename. It's possible the
-           filename will not be statically provided in the manifest file, but
-           provided by the database backup application.
-
-           timeout - see timeout-command grouping for basic details;
-
-         Maps to the db-backup rpc:
-           db-backup [filename]
-
-         Expected notifications: db-backup-notification
-        ";
-      uses file-command;
-      uses timeout-command;
-      uses is-async-command;
-    }
-  }
-
-  grouping db-restore-command {
-    description
-      "db-restore-command";
-    container db-restore {
-      when "../command = 'db-restore'";
-      description
-        "Perform a database restore on the device.
-
-         format: db-restore [filename] [node-id-check] [timeout]
-         where
-           filename is the filename of the file to be restored on the
-           device. If filename is not provided, the database restore application
-           will send the db-restore command without a filename. It's possible the
-           filename will not be statically provided in the manifest file, but
-           provided by the database restore application.
-
-           node-id-check is a boolean indicating whether sysNameCheck is required.
-
-           timeout - see timeout-command grouping for basic details;
-
-         Maps to the db-restore rpc:
-           db-restore [filename] [nodeIDCheck]
-
-         Expected notifications: db-restore-notification
-        ";
-      uses file-command;
-      leaf node-id-check {
-        type string;
-        default "true";
-        description
-          "Defined as an string here so that manifest file can parameterize
-           the value for user input. __NODE-ID-CHECK is used for that purpose. Other valid
-           values are true or false. Maps to a boolean value in the rpc invocation.";
-      }
-      uses timeout-command;
-      uses is-async-command;
-    }
-  }
-
-  grouping cancel-rollback-timer-command {
-    description
-      "cancel-rollback-timer-command";
-    container cancel-rollback-timer {
-      when "../command = 'cancel-rollback-timer'";
-      description
-        "Command to automatically cancel the rollback timer after wait-time.
-         Accept will be set to True if this command is used.
-
-         format: cancel-rollback-timer wait-time [timeout]
-
-           wait-time - Wait timer starting from the completion of
-           db-activate before canceling the rollback timer.
-
-           timeout - see timeout-command grouping for basic details.
-
-         Expected notifications: db-activate-notification
-           commit notification is expected.
-        ";
-      uses wait-time-command;
-      uses timeout-command;
-      uses is-async-command;
-    }
-  }
-
-  grouping db-activate-command {
-    description
-      "db-activate-command";
-    container db-activate {
-      when "../command = 'db-activate'";
-      must "is-async != 'true'" {
-        error-message "db-activate is only supported as async command";
-      }
-      description
-        "Activate a database on a device.  The details of what a device does
-         during the activation phase is vendor specific.  The device initiates
-         an automatic reboot as part of the activation.
-
-         format:  db-activate [rollback-timer] [timeout] auto-reboot
-         where:
-           rollback-timer: Rollback timer setting for the database activation.
-           Format is expected to be in the form HH-MM-SS per the YANG model. The
-           database activation application expects this format in order to treat
-           00-00-00 and no validation timer as the same use case.
-
-           timeout - overrides the global-async-timeout; defaults to the
-           global-async-timeout if not provided. This timer begins as soon as the
-           db-activate processing begins. timeout must be greater than the
-           auto-reboot time.
-
-           auto-reboot: time (in seconds) to wait to for the device to reboot.
-           This is the device restart time (e.g. the length of time from device
-           comm loss until the device is ready for login). This timer begins when
-           the controller detects the comm-loss from the device. If login is not
-           successful when this timer expires, the db-activate is failed.
-
-           NOTE: if controller database application is not doing the login
-           directly, the controller may need to augment the auto-reboot timer to
-           account for the login time.
-
-         Maps to the db-activate rpc:
-           db-activate [rollBackTimer]
-
-         Expected notifications: db-activate-notification
-           When no rollback timer (or rollback-timer = 00-00-00), two
-           notifications will be expected: one for activate, the other for
-           commit. Otherwise, only the activate notification is expected.
-
-           NOTE: the db-activate-notifications (for activate) may be received
-           before or after the reboot; it is assumed the db-activate-notification
-           (for commit) always occurs after the reboot. Any polling due to missed
-           db-activate-notifications (activate and/or commit) should not be done
-           until after the reboot login; processing of db-activate does not
-           complete until after receipt of the notifications and the reboot login.
-        ";
-      leaf rollback-timer {
-        type string;
-        description
-          "hh-mm-ss";
-      }
-      uses timeout-command;
-      uses command-reboot;
-      uses is-async-command;
-    }
-  }
-
-  container sw-manifest {
-    presence "The sw-manifest instructions for swdl operations have been defined.";
-    description
-      "The manifest file provides instructions to a software download
-       application to download and install a new software load into a vendor's
-       equipment.
-
-       Software download files
-           All vendor files for a software release should be stored in a
-       separate directory. A unique directory would be used for each vendor,
-       model and software release combination. This directory and all files in
-       that directory will be accessible by the SFTP server.
-           The software directory can be flat or hierarchical with
-       subdirectories. The manifest file should be in the root directory of the
-       software directory.
-           A software directory must contain files for one and only one
-       software release.
-
-       Manifest file name
-           Each software release directory shall contain a manifest file for
-       that release. The filename for the manifest file shall be sw-manifest.json.
-      ";
-    uses base-manifest {
-      refine "sw-version" {
-        mandatory true;
-      }
-    }
-    list instruction-set {
-      key "index";
-      description
-        "The instruction set for a list of sw-versions that can be upgraded to
-         the sw-version specified at the top of the manifest file.";
-      leaf index {
-        type uint8;
-        description
-          "The index for this instruction set.";
-      }
-      leaf-list from-sw-version {
-        type string;
-        description
-          "The optional list of sw-versions that can be upgraded to the
-           sw-version specified at the top of the sw-manifest file.
-
-           If not specified, this instruction set is used to upgrade from
-           any sw-version to the sw-version specified at the top of the
-           sw-manifest file.
-
-           If multiple instruction sets are provided, from-sw-version
-           should always be defined.";
-      }
-      leaf is-commit-sw-activate-async {
-        type boolean;
-        default "true";
-        description
-          "Is cancel-validation-timer (accept = true) supported as an
-           async or sync command on the device? If supported as sync, the rpc response
-           is used to determine success/failure instead of waiting for transient notifications
-           of the result.
-           NOTE: cancel-validation-timer (accept = false) requires a reboot so is
-           always considered async";
-      }
-      leaf cancel-validation-timer-async-timeout {
-        type uint16;
-        description
-          "timeout value to use for cancel-validation-timer when supported as
-           an async command. If not specified, the global-async-timeout is used.";
-      }
-      leaf cancel-validation-timer-sync-timeout {
-        type uint16;
-        description
-          "timeout value to use for cancel-validation-timer (accept = true) when
-           supported as a sync command. If not specified, the global-sync-timeout
-           is used.";
-      }
-      container sw-manifest-commands {
-        description
-          "The ordered list of commands to be processed. Since some yang
-           implementations do not support ordered-by user, the list is also
-           indexed by command-order. The commands should be processed
-           in the order of command-order.
-
-           Processing moves to the next command when:
-           1. command is synchronous and rpc returns a successful result.
-           2. command is asynchronous, the rpc returns a successful result,
-           and
-           2.1 expected successful notification(s) have been received; or
-           2.2 timeout occurs.
-           \t\t
-           Processing of the manifest file is aborted when:
-           1. command is synchronous and rpc returns a failed result.
-           2. command is asynchronous, and:
-           2.1 the rpc returns a failed result; or
-           2.2 a failed notification is received; or
-           2.3 timeout occurs.
-           \t\t
-           NOTE: behavior for timeouts (synchronous or asynchronous) may depend upon
-           controller implementation per command. It may be considered either:
-           - as a successful result
-           - as a failed result
-           - as a success or failure based on polling the device
-          ";
-        list sw-manifest-command {
-          key "command-order";
-          ordered-by user;
-          description
-            "The list of commands to be processed.";
-          leaf command-order {
-            type uint8;
-            description
-              "The order in which commands should be processed.";
-          }
-          leaf command {
-            type identityref {
-              base sw-manifest-commands;
-            }
-            mandatory true;
-            description
-              "The command to be processed.";
-          }
-          uses download-file-command;
-          uses delete-file-command;
-          uses sw-stage-command;
-          uses sw-activate-command;
-          uses cancel-validation-timer-command;
-        }
-      }
-    }
-  }
-  container db-backup-manifest {
-    presence "The db-backup-manifest template for db-backup operations has been defined.";
-    description
-      "The manifest file provides instructions to a database operations
-       application to backup the database on a device.
-
-       Since the files used for these operations are likely user selected,
-       these manifest files are more likely used by the controller as a
-       template to control the overall flow of a backup operation and provide
-       a means of providing customized timeout values.
-
-       The following strings will be recognized as parameters to be replaced
-       by the user selected values: __LOCAL-FILE-PATH, __REMOTE-FILENAME.
-
-       Manifest file name
-           Each vendor/model combination can have a separate manifest file
-       defined for backup. These shall be named db-backup-manifest.json.
-      ";
-    uses base-manifest;
-    container db-backup-manifest-commands {
-      description
-        "The ordered list of commands to be processed. Since some yang
-         implementations do not support ordered-by user, the list is also
-         indexed by command-order. The commands should be processed
-         in the order of command-order.
-
-         Processing moves to the next command when:
-            1. command is synchronous and rpc returns a successful result.
-            2. command is asynchronous, the rpc returns a successful result,
-               and
-               2.1 expected successful notification(s) have been received; or
-               2.2 timeout occurs.
-
-         Processing of the manifest file is aborted when:
-            1. command is synchronous and rpc returns a failed result.
-            2. command is asynchronous, and:
-               2.1 the rpc returns a failed result; or
-               2.2 a failed notification is received; or
-               2.3 timeout occurs.
-
-         NOTE: behavior for timeouts (synchronous or asynchronous) may depend upon
-         controller implementation per command. It may be considered either:
-             - as a successful result
-             - as a failed result
-             - as a success or failure based on polling the device
-        ";
-      list db-backup-manifest-command {
-        key "command-order";
-        ordered-by user;
-        description
-          "The list of commands to be processed.";
-        leaf command-order {
-          type uint8;
-          description
-            "The order in which commands should be processed.";
-        }
-        leaf command {
-          type identityref {
-            base db-backup-manifest-commands;
-          }
-          mandatory true;
-          description
-            "The command to be processed.";
-        }
-        uses upload-file-command;
-        uses delete-file-command;
-        uses db-backup-command;
-      }
-    }
-  }
-  container db-restore-manifest {
-    presence "The db-restore-manifest template for db-restore operations has been defined.";
-    description
-      "The manifest file provides instructions to a database operations
-       application to restore the database on a device.
-
-       Since the files used for these operations are likely user selected,
-       these manifest files are more likely used by the controller as a
-       template to control the overall flow of a restore operation and provide
-       a means of providing customized timeout and auto-reboot values.
-
-       The following strings will be recognized as parameters to be replaced
-       by the user selected values: __LOCAL-FILE-PATH, __REMOTE-FILENAME,
-       __NODE-ID-CHECK.
-
-       Manifest file name
-           Each vendor/model combination can have a separate manifest file
-       defined for restore. These shall be named db-restore-manifest.json.
-      ";
-    uses base-manifest;
-    leaf is-commit-db-activate-async {
-      type boolean;
-      default "true";
-      description
-        "Is cancel-rollback-timer (accept = true) supported as an
-         async or sync command on the device? If supported as sync, the rpc response
-         is used to determine success/failure instead of waiting for transient notifications
-         of the result.
-         NOTE: cancel-rollback-timer (accept = false) requires a reboot so is
-         always considered async";
-    }
-    leaf cancel-rollback-timer-async-timeout {
-      type uint16;
-      description
-        "timeout value to use for cancel-rollback-timer when supported as
-         an async command. If not specified, the global-async-timeout is used.";
-    }
-    leaf cancel-rollback-timer-sync-timeout {
-      type uint16;
-      description
-        "timeout value to use for cancel-rollback-timer (accept = true) when
-         supported as a sync command. If not specified, the global-sync-timeout
-         is used.";
-    }
-    leaf database-init-sync-timeout {
-      type uint16;
-      description
-        "timeout value to use for database-init command. If not specified,
-         the global-sync-timeout is used.";
-    }
-    container db-restore-manifest-commands {
-      description
-        "The ordered list of commands to be processed. Since some yang
-         implementations do not support ordered-by user, the list is also
-         indexed by command-order. The commands should be processed
-         in the order of command-order.
-
-         Processing moves to the next command when:
-            1. command is synchronous and rpc returns a successful result.
-            2. command is asynchronous, the rpc returns a successful result,
-               and
-               2.1 expected successful notification(s) have been received; or
-               2.2 timeout occurs.
-
-         Processing of the manifest file is aborted when:
-            1. command is synchronous and rpc returns a failed result.
-            2. command is asynchronous, and:
-               2.1 the rpc returns a failed result; or
-               2.2 a failed notification is received; or
-               2.3 timeout occurs.
-
-         NOTE: behavior for timeouts (synchronous or asynchronous) may depend upon
-         controller implementation per command. It may be considered either:
-             - as a successful result
-             - as a failed result
-             - as a success or failure based on polling the device
-        ";
-      list db-restore-manifest-command {
-        key "command-order";
-        ordered-by user;
-        description
-          "The list of commands to be processed.";
-        leaf command-order {
-          type uint8;
-          description
-            "The order in which commands should be processed.";
-        }
-        leaf command {
-          type identityref {
-            base db-restore-manifest-commands;
-          }
-          mandatory true;
-          description
-            "The command to be processed.";
-        }
-        uses download-file-command;
-        uses delete-file-command;
-        uses db-restore-command;
-        uses db-activate-command;
-        uses cancel-rollback-timer-command;
-      }
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-network-resource@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-network-resource@2018-11-30.yang
deleted file mode 100644 (file)
index 3145572..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-module org-openroadm-network-resource {
-  namespace "http://org/openroadm/network-resource";
-  prefix org-openroadm-network-resource;
-
-  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,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  identity network-resource-types {
-    description
-      "base type for network resources";
-  }
-
-  identity network-resource-tp {
-    base network-resource-types;
-    description
-      "tp-id network resource";
-  }
-
-  identity network-resource-link {
-    base network-resource-types;
-    description
-      "link-id network resource";
-  }
-
-  grouping network-resource {
-    description
-      "This resource identifier is intended to provide a generic identifer
-       for any network resource that can be used without specific knowledge of
-       the resource.";
-    container network-resource {
-      choice network-resource {
-        case network-resource-tp {
-          uses network-tp-name;
-        }
-        case network-resource-link {
-          uses network-link-name;
-        }
-      }
-    }
-    leaf network-resource-type {
-      type identityref {
-        base network-resource-types;
-      }
-      mandatory true;
-    }
-  }
-
-  grouping network-tp-name {
-    leaf tp-network-id {
-      type string;
-      mandatory true;
-      description
-        "network-id from the network model.";
-    }
-    leaf tp-node-id {
-      type string;
-      mandatory true;
-      description
-        "node-id from the network model.";
-    }
-    leaf tp-id {
-      type string;
-      mandatory true;
-      description
-        "tp-id from the network model.";
-    }
-  }
-
-  grouping network-link-name {
-    leaf link-network-id {
-      type string;
-      mandatory true;
-      description
-        "network-id from the network model.";
-    }
-    leaf link-id {
-      type string;
-      mandatory true;
-      description
-        "link-id from the network model.";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-network-resource@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-network-resource@2019-11-29.yang
deleted file mode 100644 (file)
index 3da7ee2..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-module org-openroadm-network-resource {
-  namespace "http://org/openroadm/network-resource";
-  prefix org-openroadm-network-resource;
-
-  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,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  identity network-resource-types {
-    description
-      "base type for network resources";
-  }
-
-  identity network-resource-tp {
-    base network-resource-types;
-    description
-      "tp-id network resource";
-  }
-
-  identity network-resource-link {
-    base network-resource-types;
-    description
-      "link-id network resource";
-  }
-
-  grouping network-resource {
-    description
-      "This resource identifier is intended to provide a generic identifer
-       for any network resource that can be used without specific knowledge of
-       the resource.";
-    container network-resource {
-      choice network-resource {
-        case network-resource-tp {
-          uses network-tp-name;
-        }
-        case network-resource-link {
-          uses network-link-name;
-        }
-      }
-    }
-    leaf network-resource-type {
-      type identityref {
-        base network-resource-types;
-      }
-      mandatory true;
-    }
-  }
-
-  grouping network-tp-name {
-    leaf tp-network-id {
-      type string;
-      mandatory true;
-      description
-        "network-id from the network model.";
-    }
-    leaf tp-node-id {
-      type string;
-      mandatory true;
-      description
-        "node-id from the network model.";
-    }
-    leaf tp-id {
-      type string;
-      mandatory true;
-      description
-        "tp-id from the network model.";
-    }
-  }
-
-  grouping network-link-name {
-    leaf link-network-id {
-      type string;
-      mandatory true;
-      description
-        "network-id from the network model.";
-    }
-    leaf link-id {
-      type string;
-      mandatory true;
-      description
-        "link-id from the network model.";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2016-10-14.yang
deleted file mode 100644 (file)
index 26a6879..0000000
+++ /dev/null
@@ -1,257 +0,0 @@
-module org-openroadm-otn-common-types {
-  namespace "http://org/openroadm/otn-common-types";
-  prefix org-openroadm-otn-common-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for common otn related type definitions.
-
-     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 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  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";
-  }
-
-  identity odu-payload-type-identity {
-    description
-      "A unique payload type identification of the ODU.";
-  }
-
-  identity PT20 {
-    base odu-payload-type-identity;
-    description
-      "Identity for an ODU Payload 20";
-  }
-
-  identity PT21 {
-    base odu-payload-type-identity;
-    description
-      "Identity for an ODU Payload 21";
-  }
-
-  identity PT22 {
-    base odu-payload-type-identity;
-    description
-      "Identity for an ODU Payload 22";
-  }
-
-  identity odu-rate-identity {
-    description
-      "A unique rate identification of the ODU.";
-  }
-
-  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-cbr {
-    base odu-rate-identity;
-    description
-      "Identity for an ODUflex-cbr";
-  }
-
-  identity ODUflex-gfp {
-    base odu-rate-identity;
-    description
-      "Identity for an ODUflex-gfp";
-  }
-
-  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, OPU4 MSI TS is occupied/allocated.
-       Applies to all ODTU4.x mappings";
-  }
-
-  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";
-  }
-
-  identity odu-function-identity {
-    description
-      "A unique identification of the ODUk interface function.";
-  }
-
-  identity ODU-TTP {
-    base odu-function-identity;
-    description
-      "ODU TTP facility facing trail termination";
-  }
-
-  identity ODU-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP connection termination";
-  }
-
-  identity ODU-TTP-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP mapper level connection termination with trail termination and client adaptation";
-  }
-
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2017-12-15.yang b/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2017-12-15.yang
deleted file mode 100644 (file)
index 41f4cdf..0000000
+++ /dev/null
@@ -1,246 +0,0 @@
-module org-openroadm-otn-common-types {
-  namespace "http://org/openroadm/otn-common-types";
-  prefix org-openroadm-otn-common-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for common otn related type definitions.
-
-     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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  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";
-  }
-
-  identity odu-rate-identity {
-    description
-      "A unique rate identification of the ODU.";
-  }
-
-  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-cbr {
-    base odu-rate-identity;
-    description
-      "Identity for an ODUflex-cbr";
-  }
-
-  identity ODUflex-gfp {
-    base odu-rate-identity;
-    description
-      "Identity for an ODUflex-gfp";
-  }
-
-  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, OPU4 MSI TS is occupied/allocated.
-       Applies to all ODTU4.x mappings";
-  }
-
-  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";
-  }
-
-  identity odu-function-identity {
-    description
-      "A unique identification of the ODUk interface function.";
-  }
-
-  identity ODU-TTP {
-    base odu-function-identity;
-    description
-      "ODU TTP facility facing trail termination";
-  }
-
-  identity ODU-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP connection termination";
-  }
-
-  identity ODU-TTP-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP mapper level connection termination with trail termination and client adaptation";
-  }
-
-  typedef payload-type-def {
-    type string {
-      length "2";
-      pattern "[0-9a-fA-F]*";
-    }
-    description
-      "Common type definition for odu payload-type";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2018-11-30.yang
deleted file mode 100644 (file)
index f6f11c8..0000000
+++ /dev/null
@@ -1,311 +0,0 @@
-module org-openroadm-otn-common-types {
-  namespace "http://org/openroadm/otn-common-types";
-  prefix org-openroadm-otn-common-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for common otn related type definitions.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  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";
-  }
-
-  identity odu-rate-identity {
-    description
-      "A unique rate identification of the ODU.";
-  }
-
-  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-cbr {
-    base odu-rate-identity;
-    description
-      "ODUFlex for CBR client signals (G.709)";
-  }
-
-  identity ODUflex-cbr-25G {
-    base odu-rate-identity;
-    description
-      "ODUFlex for CBR client signals 25G (G.709 17.13.1)";
-  }
-
-  identity ODUflex-cbr-200G {
-    base odu-rate-identity;
-    description
-      "ODUFlex for CBR client signals 200G (G.709 17.13.2)";
-  }
-
-  identity ODUflex-cbr-400G {
-    base odu-rate-identity;
-    description
-      "ODUFlex for CBR client signals 400G (G.709 17.13.2)";
-  }
-
-  identity ODUflex-imp {
-    base odu-rate-identity;
-    description
-      "ODUFlex for IMP (Idle insertion Mapping Procedure) mapped client signals (G.709)";
-  }
-
-  identity ODUflex-flexe {
-    base odu-rate-identity;
-    description
-      "ODUflex for FlexE-aware client signals (G.709)";
-  }
-
-  identity ODUflex-gfp {
-    base odu-rate-identity;
-    description
-      "ODUflex for GFP-F mapped client signals (G.709)";
-  }
-
-  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, OPU4 MSI TS is occupied/allocated.
-       Applies to all ODTU4.x mappings";
-  }
-
-  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";
-  }
-
-  identity odu-function-identity {
-    description
-      "A unique identification of the ODUk interface function.";
-  }
-
-  identity ODU-TTP {
-    base odu-function-identity;
-    description
-      "ODU TTP facility facing trail termination";
-  }
-
-  identity ODU-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP connection termination";
-  }
-
-  identity ODU-TTP-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP mapper level connection termination with trail termination and client adaptation";
-  }
-
-  typedef payload-type-def {
-    type string {
-      length "2";
-      pattern "[0-9a-fA-F]*";
-    }
-    description
-      "Common type definition for odu payload-type";
-  }
-
-  typedef opucn-trib-slot-def {
-    type string;
-    description
-      "OPUCn trib slot in the form of 'A.B' with
-       A = 1..n
-       B = 1..20";
-  }
-
-  typedef tcm-direction-enum {
-    type enumeration {
-      enum "up-tcm" {
-        description
-          "TCM termination direction faces the switch fabric.";
-      }
-      enum "down-tcm" {
-        description
-          "TCM termination direction faces the facility";
-      }
-    }
-    description
-      "Enumeration type for TCM direction";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2020-03-27.yang b/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2020-03-27.yang
deleted file mode 100644 (file)
index 0eb123b..0000000
+++ /dev/null
@@ -1,352 +0,0 @@
-module org-openroadm-otn-common-types {
-  namespace "http://org/openroadm/otn-common-types";
-  prefix org-openroadm-otn-common-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for common otn related type definitions.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  identity otu-rate-identity {
-    description
-      "A unique rate identification of the OTU.";
-  }
-
-  identity OTUCn {
-    base otu-rate-identity;
-    description
-      "Identity for an OTUCn";
-  }
-
-  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";
-  }
-
-  identity odu-rate-identity {
-    description
-      "A unique rate identification of the ODU.";
-  }
-
-  identity ODUCn {
-    base odu-rate-identity;
-    description
-      "Identity for an ODUCn";
-  }
-
-  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-cbr {
-    base odu-rate-identity;
-    description
-      "ODUFlex for CBR client signals (G.709)";
-  }
-
-  identity ODUflex-cbr-identity {
-    description
-      "Service type for ODUflex (CBR)";
-  }
-
-  identity ODUflex-cbr-25G {
-    base ODUflex-cbr-identity;
-    description
-      "ODUFlex for CBR client signals 25G (G.709 17.13.1)";
-  }
-
-  identity ODUflex-cbr-200G {
-    base ODUflex-cbr-identity;
-    description
-      "ODUFlex for CBR client signals 200G (G.709 17.13.2)";
-  }
-
-  identity ODUflex-cbr-400G {
-    base ODUflex-cbr-identity;
-    description
-      "ODUFlex for CBR client signals 400G (G.709 17.13.2)";
-  }
-
-  identity ODUflex-imp {
-    base odu-rate-identity;
-    description
-      "ODUFlex for IMP (Idle insertion Mapping Procedure) mapped client signals (G.709)";
-  }
-
-  identity ODUflex-flexe {
-    base odu-rate-identity;
-    description
-      "ODUflex for FlexE-aware client signals (G.709)";
-  }
-
-  identity ODUflex-gfp {
-    base odu-rate-identity;
-    description
-      "ODUflex for GFP-F mapped client signals (G.709)";
-  }
-
-  identity odtu-type-identity {
-    description
-      "A unique identification for the MSI odtu type.";
-  }
-
-  identity ODTUCn.ts {
-    base odtu-type-identity;
-    description
-      "ODTUCn.ts - OPUCn MSI type (G.709 clause 20.2)";
-  }
-
-  identity ODTU4.ts-Allocated {
-    base odtu-type-identity;
-    description
-      "OPU4 MSI - ODTU4.ts, OPU4 MSI TS is occupied/allocated.
-       Applies to all ODTU4.x mappings";
-  }
-
-  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 ODTU4.ts {
-    base odtu-type-identity;
-    description
-      "ODTU4.ts MSI type";
-  }
-
-  identity unallocated {
-    base odtu-type-identity;
-    description
-      "Unallocated MSI type";
-  }
-
-  identity odu-function-identity {
-    description
-      "A unique identification of the ODUk interface function.";
-  }
-
-  identity ODU-TTP {
-    base odu-function-identity;
-    description
-      "ODU TTP facility facing trail termination";
-  }
-
-  identity ODU-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP connection termination";
-  }
-
-  identity ODU-TTP-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP mapper level connection termination with trail termination and client adaptation";
-  }
-
-  typedef payload-type-def {
-    type string {
-      length "2";
-      pattern '[0-9a-fA-F]*';
-    }
-    description
-      "Common type definition for odu payload-type";
-  }
-
-  typedef opucn-trib-slot-def {
-    type string;
-    description
-      "OPUCn trib slot in the form of 'A.B' with
-       A = 1..n
-       B = 1..20";
-  }
-
-  typedef tcm-direction-enum {
-    type enumeration {
-      enum up-tcm {
-        description
-          "TCM termination direction faces the switch fabric.";
-      }
-      enum down-tcm {
-        description
-          "TCM termination direction faces the facility";
-      }
-    }
-    description
-      "Enumeration type for TCM direction";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2021-09-24.yang b/ordmodels/common/src/main/yang/org-openroadm-otn-common-types@2021-09-24.yang
deleted file mode 100644 (file)
index 6cba5a0..0000000
+++ /dev/null
@@ -1,366 +0,0 @@
-module org-openroadm-otn-common-types {
-  namespace "http://org/openroadm/otn-common-types";
-  prefix org-openroadm-otn-common-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for common otn related type definitions.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  identity otu-rate-identity {
-    description
-      "A unique rate identification of the OTU.";
-  }
-
-  identity OTUCn {
-    base otu-rate-identity;
-    description
-      "Identity for an OTUCn";
-  }
-
-  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";
-  }
-
-  identity odu-rate-identity {
-    description
-      "A unique rate identification of the ODU.";
-  }
-
-  identity ODUCn {
-    base odu-rate-identity;
-    description
-      "Identity for an ODUCn";
-  }
-
-  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-cbr {
-    base odu-rate-identity;
-    description
-      "ODUFlex for CBR client signals (G.709)";
-  }
-
-  identity ODUflex-cbr-identity {
-    description
-      "Service type for ODUflex (CBR)";
-  }
-
-  identity ODUflex-cbr-25G {
-    base ODUflex-cbr-identity;
-    description
-      "ODUFlex for CBR client signals 25G (G.709 17.13.1)";
-  }
-
-  identity ODUflex-cbr-200G {
-    base ODUflex-cbr-identity;
-    description
-      "ODUFlex for CBR client signals 200G (G.709 17.13.2)";
-  }
-
-  identity ODUflex-cbr-400G {
-    base ODUflex-cbr-identity;
-    description
-      "ODUFlex for CBR client signals 400G (G.709 17.13.2)";
-  }
-
-  identity ODUflex-imp {
-    base odu-rate-identity;
-    description
-      "ODUFlex for IMP (Idle insertion Mapping Procedure) mapped client signals (G.709)";
-  }
-
-  identity ODUflex-flexe {
-    base odu-rate-identity;
-    description
-      "ODUflex for FlexE-aware client signals (G.709)";
-  }
-
-  identity ODUflex-gfp {
-    base odu-rate-identity;
-    description
-      "ODUflex for GFP-F mapped client signals (G.709)";
-  }
-
-  identity odtu-type-identity {
-    description
-      "A unique identification for the MSI odtu type.";
-  }
-
-  identity ODTUCn.ts {
-    base odtu-type-identity;
-    description
-      "ODTUCn.ts - OPUCn MSI type (G.709 clause 20.2)";
-  }
-
-  identity ODTU4.ts-Allocated {
-    base odtu-type-identity;
-    description
-      "OPU4 MSI - ODTU4.ts, OPU4 MSI TS is occupied/allocated.
-       Applies to all ODTU4.x mappings";
-  }
-
-  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 ODTU4.ts {
-    base odtu-type-identity;
-    description
-      "ODTU4.ts MSI type";
-  }
-
-  identity unallocated {
-    base odtu-type-identity;
-    description
-      "Unallocated MSI type";
-  }
-
-  identity odu-function-identity {
-    description
-      "A unique identification of the ODUk interface function.";
-  }
-
-  identity ODU-TTP {
-    base odu-function-identity;
-    description
-      "ODU TTP facility facing trail termination";
-  }
-
-  identity ODU-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP connection termination";
-  }
-
-  identity ODU-TTP-CTP {
-    base odu-function-identity;
-    description
-      "ODU CTP mapper level connection termination with trail termination and client adaptation";
-  }
-
-  typedef payload-type-def {
-    type string {
-      length "2";
-      pattern '[0-9a-fA-F]*';
-    }
-    description
-      "Common type definition for odu payload-type";
-  }
-
-  typedef flexo-payload-type-def {
-    type string {
-      length "2";
-      pattern '[0-9a-fA-F]*';
-    }
-    description
-      "Common type definition for flexo payload-type (Section 9.2.6.2,
-       G.709.1 2020-12)";
-  }
-
-  typedef opucn-trib-slot-def {
-    type string;
-    description
-      "OPUCn trib slot in the form of 'A.B' with
-       A = 1..n
-       B = 1..20";
-  }
-
-  typedef tcm-direction-enum {
-    type enumeration {
-      enum up-tcm {
-        description
-          "TCM termination direction faces the switch fabric.";
-      }
-      enum down-tcm {
-        description
-          "TCM termination direction faces the facility";
-      }
-    }
-    description
-      "Enumeration type for TCM direction";
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-pm-types@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-pm-types@2016-10-14.yang
deleted file mode 100644 (file)
index 98fb914..0000000
+++ /dev/null
@@ -1,279 +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;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/common/src/main/yang/org-openroadm-pm-types@2017-12-15.yang b/ordmodels/common/src/main/yang/org-openroadm-pm-types@2017-12-15.yang
deleted file mode 100644 (file)
index 2501ee3..0000000
+++ /dev/null
@@ -1,483 +0,0 @@
-module org-openroadm-pm-types {
-  namespace "http://org/openroadm/pm-types";
-  prefix org-openroadm-pm-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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef pm-granularity {
-    type enumeration {
-      enum "notApplicable" {
-        value 1;
-        description
-          "This is for total statistic counters on devices that support
-              them.";
-      }
-      enum "15min" {
-        value 2;
-      }
-      enum "24Hour" {
-        value 3;
-      }
-    }
-    description
-      "Granularity of PM bin";
-  }
-
-  typedef pm-data-type {
-    type union {
-      type uint64;
-      type int64;
-      type decimal64 {
-        fraction-digits 2;
-      }
-      type decimal64 {
-        fraction-digits 17;
-      }
-    }
-  }
-
-  typedef validity {
-    type enumeration {
-      enum "complete" {
-        value 1;
-      }
-      enum "partial" {
-        value 2;
-      }
-      enum "suspect" {
-        value 3;
-      }
-    }
-    description
-      "Validity of data";
-  }
-
-  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, OPOUT-OMS, OPT-OCH). 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, OPIN-OMS, OPR-OCH). Total optical power";
-      }
-      enum "codeViolations" {
-        value 8;
-        description
-          "Code Violations (CV)";
-      }
-      enum "erroredSeconds" {
-        value 9;
-        description
-          "Errored Seconds (ES)";
-      }
-      enum "severelyErroredSeconds" {
-        value 10;
-        description
-          "Severely Errored Seconds (SES)";
-      }
-      enum "unavailableSeconds" {
-        value 11;
-        description
-          "Unavailable Seconds (UAS)";
-      }
-      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)";
-      }
-      enum "severelyErroredSecondsEthernet" {
-        value 16;
-        description
-          "Severly Errored Seconds, Ethernet (SES-E)";
-      }
-      enum "unavailableSecondsEthernet" {
-        value 17;
-        description
-          "Unavailable Seconds, Ethernet (UAS-E)";
-      }
-      enum "erroredBlockCount" {
-        value 18;
-        description
-          "Errored block count";
-      }
-      enum "delay" {
-        value 19;
-        description
-          "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
-      }
-      enum "defectSeconds" {
-        value 20;
-        description
-          "Defect Seconds (DS)";
-      }
-      enum "backwardIncomingAlignmentError" {
-        value 21;
-        description
-          "Backward Incoming Alignment Error (BIAE)";
-      }
-      enum "incomingAlignmentError" {
-        value 22;
-        description
-          "Incoming Alignment Error (IAE)";
-      }
-      enum "opticalPowerOutputMin" {
-        value 23;
-        description
-          "Minimum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum "opticalPowerOutputMax" {
-        value 24;
-        description
-          "Maximum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum "opticalPowerOutputAvg" {
-        value 25;
-        description
-          "Average Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum "opticalPowerInputMin" {
-        value 26;
-        description
-          "Minimum Optical Power Input (OPIN-OTS). Total optical power";
-      }
-      enum "opticalPowerInputMax" {
-        value 27;
-        description
-          "Maximum Optical Power Input (OPIN-OTS). Total optical power";
-      }
-      enum "opticalPowerInputAvg" {
-        value 28;
-        description
-          "Average Optical Power Input (OPIN-OTS). Total optical power";
-      }
-      enum "opticalPowerOutputOSC" {
-        value 29;
-        description
-          "OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum "opticalPowerOutputOSCMin" {
-        value 30;
-        description
-          "Minimum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum "opticalPowerOutputOSCMax" {
-        value 31;
-        description
-          "Maximum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum "opticalPowerOutputOSCAvg" {
-        value 32;
-        description
-          "Average OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum "opticalPowerInputOSC" {
-        value 33;
-        description
-          "OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum "opticalPowerInputOSCMin" {
-        value 34;
-        description
-          "Minimum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum "opticalPowerInputOSCMax" {
-        value 35;
-        description
-          "Maximum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum "opticalPowerInputOSCAvg" {
-        value 36;
-        description
-          "Average OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum "preFECCorrectedErrors" {
-        value 37;
-        description
-          "pFEC corrected Errors";
-      }
-      enum "totalOpticalPowerInput" {
-        value 38;
-        description
-          "Total Optical Power Input.";
-      }
-      enum "totalOpticalPowerInputMin" {
-        value 39;
-        description
-          "Minumun Total Optical Power Input.";
-      }
-      enum "totalOpticalPowerInputMax" {
-        value 40;
-        description
-          "Maximum Total Optical Power Input.";
-      }
-      enum "totalOpticalPowerInputAvg" {
-        value 41;
-        description
-          "Average Total Optical Power Input.";
-      }
-      enum "FECCorrectableBlocks" {
-        value 42;
-        description
-          "FEC Correctable Blocks.";
-      }
-      enum "FECUncorrectableBlocks" {
-        value 43;
-        description
-          "FEC Uncorrectable Blocks.";
-      }
-      enum "BIPErrorCounter" {
-        value 56;
-        description
-          "BIP Error Counter";
-      }
-      enum "protectionSwitchingCount" {
-        value 57;
-        description
-          "Protection Switching Count (PSC)";
-      }
-      enum "protectionSwitchingDuration" {
-        value 58;
-        description
-          "Protection Switching Duration in seconds (PSD)";
-      }
-      enum "erroredBlockCountTCM1-up" {
-        value 59;
-        description
-          "errored Blocks Count on TCM1 up direction.";
-      }
-      enum "erroredBlockCountTCM2-up" {
-        value 60;
-        description
-          "errored Blocks Count on TCM2 up direction.";
-      }
-      enum "erroredBlockCountTCM3-up" {
-        value 61;
-        description
-          "errored Blocks Count on TCM3 up direction.";
-      }
-      enum "erroredBlockCountTCM4-up" {
-        value 62;
-        description
-          "errored Blocks Count on TCM4 up direction.";
-      }
-      enum "erroredBlockCountTCM5-up" {
-        value 63;
-        description
-          "errored Blocks Count on TCM5 up direction.";
-      }
-      enum "erroredBlockCountTCM6-up" {
-        value 64;
-        description
-          "errored Blocks Count on TCM6 up direction.";
-      }
-      enum "delayTCM1-up" {
-        value 65;
-        description
-          "Delay on TCM1 up direction.";
-      }
-      enum "delayTCM2-up" {
-        value 66;
-        description
-          "Delay on TCM2 up direction.";
-      }
-      enum "delayTCM3-up" {
-        value 67;
-        description
-          "Delay on TCM3 up direction.";
-      }
-      enum "delayTCM4-up" {
-        value 68;
-        description
-          "Delay on TCM4 up direction.";
-      }
-      enum "delayTCM5-up" {
-        value 69;
-        description
-          "Delay on TCM5 up direction.";
-      }
-      enum "delayTCM6-up" {
-        value 70;
-        description
-          "Delay on TCM6 up direction.";
-      }
-      enum "erroredBlockCountTCM1-down" {
-        value 71;
-        description
-          "errored Blocks Count on TCM1 down direction.";
-      }
-      enum "erroredBlockCountTCM2-down" {
-        value 72;
-        description
-          "errored Blocks Count on TCM2 down direction.";
-      }
-      enum "erroredBlockCountTCM3-down" {
-        value 73;
-        description
-          "errored Blocks Count on TCM3 down direction.";
-      }
-      enum "erroredBlockCountTCM4-down" {
-        value 74;
-        description
-          "errored Blocks Count on TCM4 down direction.";
-      }
-      enum "erroredBlockCountTCM5-down" {
-        value 75;
-        description
-          "errored Blocks Count on TCM5 down direction.";
-      }
-      enum "erroredBlockCountTCM6-down" {
-        value 76;
-        description
-          "errored Blocks Count on TCM6 down direction.";
-      }
-      enum "delayTCM1-down" {
-        value 77;
-        description
-          "Delay on TCM1 down direction.";
-      }
-      enum "delayTCM2-down" {
-        value 78;
-        description
-          "Delay on TCM2 down direction.";
-      }
-      enum "delayTCM3-down" {
-        value 79;
-        description
-          "Delay on TCM3 down direction.";
-      }
-      enum "delayTCM4-down" {
-        value 80;
-        description
-          "Delay on TCM4 down direction.";
-      }
-      enum "delayTCM5-down" {
-        value 81;
-        description
-          "Delay on TCM5 down direction.";
-      }
-      enum "delayTCM6-down" {
-        value 82;
-        description
-          "Delay on TCM6 down direction.";
-      }
-    }
-  }
-
-  grouping pm-measurement {
-    description
-      "Set of parameters related to a PM Measurement";
-    leaf pmParameterValue {
-      type pm-data-type;
-      config false;
-      mandatory true;
-    }
-    leaf pmParameterUnit {
-      type string;
-      mandatory false;
-      description
-        "Unit PM parameter has been measured - frames, packets, u, etc";
-    }
-    leaf validity {
-      type validity;
-      mandatory 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 {
-      type string;
-      description
-        "name of parameter, when enum value set to vendorExtension because
-         name not found in pm-names-enum";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-pm-types@2020-03-27.yang b/ordmodels/common/src/main/yang/org-openroadm-pm-types@2020-03-27.yang
deleted file mode 100644 (file)
index 287cd45..0000000
+++ /dev/null
@@ -1,709 +0,0 @@
-module org-openroadm-pm-types {
-  namespace "http://org/openroadm/pm-types";
-  prefix org-openroadm-pm-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,
-      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 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef pm-granularity {
-    type enumeration {
-      enum notApplicable {
-        value 1;
-        description
-          "This is for total statistic counters on devices that support
-              them.";
-      }
-      enum 15min {
-        value 2;
-      }
-      enum 24Hour {
-        value 3;
-      }
-    }
-    description
-      "Granularity of PM bin";
-  }
-
-  typedef pm-data-type {
-    type union {
-      type uint64;
-      type int64;
-      type decimal64 {
-        fraction-digits 2;
-      }
-      type decimal64 {
-        fraction-digits 17;
-      }
-    }
-  }
-
-  typedef validity {
-    type enumeration {
-      enum complete {
-        value 1;
-      }
-      enum partial {
-        value 2;
-      }
-      enum suspect {
-        value 3;
-      }
-    }
-    description
-      "Validity of data";
-  }
-
-  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, OPOUT-OMS, OPT-OCH). 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, OPIN-OMS, OPR-OCH). Total optical power";
-      }
-      enum codeViolations {
-        value 8;
-        description
-          "Code Violations (CV)";
-      }
-      enum erroredSeconds {
-        value 9;
-        description
-          "Errored Seconds (ES)";
-      }
-      enum severelyErroredSeconds {
-        value 10;
-        description
-          "Severely Errored Seconds (SES)";
-      }
-      enum unavailableSeconds {
-        value 11;
-        description
-          "Unavailable Seconds (UAS)";
-      }
-      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)";
-      }
-      enum severelyErroredSecondsEthernet {
-        value 16;
-        description
-          "Severely Errored Seconds, Ethernet (SES-E)";
-      }
-      enum unavailableSecondsEthernet {
-        value 17;
-        description
-          "Unavailable Seconds, Ethernet (UAS-E)";
-      }
-      enum erroredBlockCount {
-        value 18;
-        description
-          "Errored block count";
-      }
-      enum delay {
-        value 19;
-        description
-          "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
-      }
-      enum defectSeconds {
-        value 20;
-        description
-          "Defect Seconds (DS)";
-      }
-      enum backwardIncomingAlignmentError {
-        value 21;
-        description
-          "Backward Incoming Alignment Error (BIAE)";
-      }
-      enum incomingAlignmentError {
-        value 22;
-        description
-          "Incoming Alignment Error (IAE)";
-      }
-      enum opticalPowerOutputMin {
-        value 23;
-        description
-          "Minimum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum opticalPowerOutputMax {
-        value 24;
-        description
-          "Maximum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum opticalPowerOutputAvg {
-        value 25;
-        description
-          "Average Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
-      }
-      enum opticalPowerInputMin {
-        value 26;
-        description
-          "Minimum Optical Power Input (OPIN-OTS). Total optical power";
-      }
-      enum opticalPowerInputMax {
-        value 27;
-        description
-          "Maximum Optical Power Input (OPIN-OTS). Total optical power";
-      }
-      enum opticalPowerInputAvg {
-        value 28;
-        description
-          "Average Optical Power Input (OPIN-OTS). Total optical power";
-      }
-      enum opticalPowerOutputOSC {
-        value 29;
-        description
-          "OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum opticalPowerOutputOSCMin {
-        value 30;
-        description
-          "Minimum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum opticalPowerOutputOSCMax {
-        value 31;
-        description
-          "Maximum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum opticalPowerOutputOSCAvg {
-        value 32;
-        description
-          "Average OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
-      }
-      enum opticalPowerInputOSC {
-        value 33;
-        description
-          "OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum opticalPowerInputOSCMin {
-        value 34;
-        description
-          "Minimum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum opticalPowerInputOSCMax {
-        value 35;
-        description
-          "Maximum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum opticalPowerInputOSCAvg {
-        value 36;
-        description
-          "Average OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
-      }
-      enum preFECCorrectedErrors {
-        value 37;
-        description
-          "pFEC corrected Errors";
-      }
-      enum totalOpticalPowerInput {
-        value 38;
-        description
-          "Total Optical Power Input.";
-      }
-      enum totalOpticalPowerInputMin {
-        value 39;
-        description
-          "Minimum Total Optical Power Input.";
-      }
-      enum totalOpticalPowerInputMax {
-        value 40;
-        description
-          "Maximum Total Optical Power Input.";
-      }
-      enum totalOpticalPowerInputAvg {
-        value 41;
-        description
-          "Average Total Optical Power Input.";
-      }
-      enum FECCorrectableBlocks {
-        value 42;
-        description
-          "FEC Correctable Blocks.";
-      }
-      enum FECUncorrectableBlocks {
-        value 43;
-        description
-          "FEC Uncorrectable Blocks.";
-      }
-      enum BIPErrorCounter {
-        value 56;
-        description
-          "BIP Error Counter";
-      }
-      enum protectionSwitchingCount {
-        value 57;
-        description
-          "Protection Switching Count (PSC)";
-      }
-      enum protectionSwitchingDuration {
-        value 58;
-        description
-          "Protection Switching Duration in seconds (PSD)";
-      }
-      enum erroredBlockCountTCM1-up {
-        value 59;
-        description
-          "errored Blocks Count on TCM1 up direction.";
-      }
-      enum erroredBlockCountTCM2-up {
-        value 60;
-        description
-          "errored Blocks Count on TCM2 up direction.";
-      }
-      enum erroredBlockCountTCM3-up {
-        value 61;
-        description
-          "errored Blocks Count on TCM3 up direction.";
-      }
-      enum erroredBlockCountTCM4-up {
-        value 62;
-        description
-          "errored Blocks Count on TCM4 up direction.";
-      }
-      enum erroredBlockCountTCM5-up {
-        value 63;
-        description
-          "errored Blocks Count on TCM5 up direction.";
-      }
-      enum erroredBlockCountTCM6-up {
-        value 64;
-        description
-          "errored Blocks Count on TCM6 up direction.";
-      }
-      enum delayTCM1-up {
-        value 65;
-        description
-          "Delay on TCM1 up direction.";
-      }
-      enum delayTCM2-up {
-        value 66;
-        description
-          "Delay on TCM2 up direction.";
-      }
-      enum delayTCM3-up {
-        value 67;
-        description
-          "Delay on TCM3 up direction.";
-      }
-      enum delayTCM4-up {
-        value 68;
-        description
-          "Delay on TCM4 up direction.";
-      }
-      enum delayTCM5-up {
-        value 69;
-        description
-          "Delay on TCM5 up direction.";
-      }
-      enum delayTCM6-up {
-        value 70;
-        description
-          "Delay on TCM6 up direction.";
-      }
-      enum erroredBlockCountTCM1-down {
-        value 71;
-        description
-          "errored Blocks Count on TCM1 down direction.";
-      }
-      enum erroredBlockCountTCM2-down {
-        value 72;
-        description
-          "errored Blocks Count on TCM2 down direction.";
-      }
-      enum erroredBlockCountTCM3-down {
-        value 73;
-        description
-          "errored Blocks Count on TCM3 down direction.";
-      }
-      enum erroredBlockCountTCM4-down {
-        value 74;
-        description
-          "errored Blocks Count on TCM4 down direction.";
-      }
-      enum erroredBlockCountTCM5-down {
-        value 75;
-        description
-          "errored Blocks Count on TCM5 down direction.";
-      }
-      enum erroredBlockCountTCM6-down {
-        value 76;
-        description
-          "errored Blocks Count on TCM6 down direction.";
-      }
-      enum delayTCM1-down {
-        value 77;
-        description
-          "Delay on TCM1 down direction.";
-      }
-      enum delayTCM2-down {
-        value 78;
-        description
-          "Delay on TCM2 down direction.";
-      }
-      enum delayTCM3-down {
-        value 79;
-        description
-          "Delay on TCM3 down direction.";
-      }
-      enum delayTCM4-down {
-        value 80;
-        description
-          "Delay on TCM4 down direction.";
-      }
-      enum delayTCM5-down {
-        value 81;
-        description
-          "Delay on TCM5 down direction.";
-      }
-      enum delayTCM6-down {
-        value 82;
-        description
-          "Delay on TCM6 down direction.";
-      }
-      enum partialRateDiscard {
-        value 83;
-        description
-          "Discarded packet as a result of policing or rate limiting for subrate ethernet.";
-      }
-      enum erroredSecondsTCM1-up {
-        value 84;
-        description
-          "errored Seconds Count on TCM1 up direction.";
-      }
-      enum erroredSecondsTCM2-up {
-        value 85;
-        description
-          "errored Seconds Count on TCM2 up direction.";
-      }
-      enum erroredSecondsTCM3-up {
-        value 86;
-        description
-          "errored Seconds Count on TCM3 up direction.";
-      }
-      enum erroredSecondsTCM4-up {
-        value 87;
-        description
-          "errored Seconds Count on TCM4 up direction.";
-      }
-      enum erroredSecondsTCM5-up {
-        value 88;
-        description
-          "errored Seconds Count on TCM5 up direction.";
-      }
-      enum erroredSecondsTCM6-up {
-        value 89;
-        description
-          "errored Seconds Count on TCM6 up direction.";
-      }
-      enum severelyErroredSecondsTCM1-up {
-        value 90;
-        description
-          "severely Errored Seconds Count on TCM1 up direction.";
-      }
-      enum severelyErroredSecondsTCM2-up {
-        value 91;
-        description
-          "severely Errored Seconds Count on TCM2 up direction.";
-      }
-      enum severelyErroredSecondsTCM3-up {
-        value 92;
-        description
-          "severely Errored Seconds Count on TCM3 up direction.";
-      }
-      enum severelyErroredSecondsTCM4-up {
-        value 93;
-        description
-          "severely Errored Seconds Count on TCM4 up direction.";
-      }
-      enum severelyErroredSecondsTCM5-up {
-        value 94;
-        description
-          "severely Errored Seconds Count on TCM5 up direction.";
-      }
-      enum severelyErroredSecondsTCM6-up {
-        value 95;
-        description
-          "severely Errored Seconds Count on TCM6 up direction.";
-      }
-      enum unavailableSecondsTCM1-up {
-        value 96;
-        description
-          "unavailable Seconds Count on TCM1 up direction.";
-      }
-      enum unavailableSecondsTCM2-up {
-        value 97;
-        description
-          "unavailable Seconds Count on TCM2 up direction.";
-      }
-      enum unavailableSecondsTCM3-up {
-        value 98;
-        description
-          "unavailable Seconds Count on TCM3 up direction.";
-      }
-      enum unavailableSecondsTCM4-up {
-        value 99;
-        description
-          "unavailable Seconds Count on TCM4 up direction.";
-      }
-      enum unavailableSecondsTCM5-up {
-        value 100;
-        description
-          "unavailable Seconds Count on TCM5 up direction.";
-      }
-      enum unavailableSecondsTCM6-up {
-        value 101;
-        description
-          "unavailable Seconds Count on TCM6 up direction.";
-      }
-      enum erroredSecondsTCM1-down {
-        value 102;
-        description
-          "errored Seconds Count on TCM1 down direction.";
-      }
-      enum erroredSecondsTCM2-down {
-        value 103;
-        description
-          "errored Seconds Count on TCM2 down direction.";
-      }
-      enum erroredSecondsTCM3-down {
-        value 104;
-        description
-          "errored Seconds Count on TCM3 down direction.";
-      }
-      enum erroredSecondsTCM4-down {
-        value 105;
-        description
-          "errored Seconds Count on TCM4 down direction.";
-      }
-      enum erroredSecondsTCM5-down {
-        value 106;
-        description
-          "errored Seconds Count on TCM5 down direction.";
-      }
-      enum erroredSecondsTCM6-down {
-        value 107;
-        description
-          "errored Seconds Count on TCM6 down direction.";
-      }
-      enum severelyErroredSecondsTCM1-down {
-        value 108;
-        description
-          "severely Errored Seconds Count on TCM1 down direction.";
-      }
-      enum severelyErroredSecondsTCM2-down {
-        value 109;
-        description
-          "severely Errored Seconds Count on TCM2 down direction.";
-      }
-      enum severelyErroredSecondsTCM3-down {
-        value 110;
-        description
-          "severely Errored Seconds Count on TCM3 down direction.";
-      }
-      enum severelyErroredSecondsTCM4-down {
-        value 111;
-        description
-          "severely Errored Seconds Count on TCM4 down direction.";
-      }
-      enum severelyErroredSecondsTCM5-down {
-        value 112;
-        description
-          "severely Errored Seconds Count on TCM5 down direction.";
-      }
-      enum severelyErroredSecondsTCM6-down {
-        value 113;
-        description
-          "severely Errored Seconds Count on TCM6 down direction.";
-      }
-      enum unavailableSecondsTCM1-down {
-        value 114;
-        description
-          "unavailable Seconds Count on TCM1 down direction.";
-      }
-      enum unavailableSecondsTCM2-down {
-        value 115;
-        description
-          "unavailable Seconds Count on TCM2 down direction.";
-      }
-      enum unavailableSecondsTCM3-down {
-        value 116;
-        description
-          "unavailable Seconds Count on TCM3 down direction.";
-      }
-      enum unavailableSecondsTCM4-down {
-        value 117;
-        description
-          "unavailable Seconds Count on TCM4 down direction.";
-      }
-      enum unavailableSecondsTCM5-down {
-        value 118;
-        description
-          "unavailable Seconds Count on TCM5 down direction.";
-      }
-      enum unavailableSecondsTCM6-down {
-        value 119;
-        description
-          "unavailable Seconds Count on TCM6 down direction.";
-      }
-      enum fecCorrectedCodewords {
-        value 120;
-        description
-          "FEC Corrected Codewords Counter";
-      }
-      enum fecUncorrectedCodewords {
-        value 121;
-        description
-          "FEC Uncorrected Codewords Counter";
-      }
-      enum fecSymbolErrors {
-        value 122;
-        description
-          "FEC Symbol Error Counter";
-      }
-      enum localFaultSeconds {
-        value 123;
-        description
-          "Local Fault Seconds";
-      }
-      enum remoteFaultSeconds {
-        value 124;
-        description
-          "Remote Fault Seconds";
-      }
-    }
-  }
-
-  grouping pm-measurement {
-    description
-      "Set of parameters related to a PM Measurement";
-    leaf pmParameterValue {
-      type pm-data-type;
-      config false;
-      mandatory true;
-    }
-    leaf pmParameterUnit {
-      type string;
-      mandatory false;
-      description
-        "Unit PM parameter has been measured - frames, packets, u, etc";
-    }
-    leaf validity {
-      type validity;
-      mandatory false;
-    }
-  }
-
-  grouping pm-names {
-    description
-      "Name of PM parameter. Consists of a set list of parameters,
-       plus an extension field to support addition parameters.";
-    leaf type {
-      type pm-names-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      description
-        "name of parameter, when enum value set to vendorExtension because
-         name not found in pm-names-enum";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-pm@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-pm@2016-10-14.yang
deleted file mode 100644 (file)
index 05cc35e..0000000
+++ /dev/null
@@ -1,192 +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;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-layerRate {
-    prefix org-openroadm-layerRate;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-pm-types {
-    prefix org-openroadm-pm-types;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/common/src/main/yang/org-openroadm-pm@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-pm@2018-10-19.yang
deleted file mode 100644 (file)
index 6254d9a..0000000
+++ /dev/null
@@ -1,299 +0,0 @@
-module org-openroadm-pm {
-  namespace "http://org/openroadm/pm";
-  prefix org-openroadm-pm;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-pm-types {
-    prefix org-openroadm-pm-types;
-    revision-date 2017-12-15;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping current-pm-group {
-    description
-      "PM Data with current values - both realtime (granularity=notApplicable)
-       and binned (granularity=15 minute, 24h))";
-    leaf pm-resource-instance {
-      type instance-identifier;
-      config false;
-      mandatory true;
-      description
-        "Retrieves all PM associate with the resource instance";
-    }
-    leaf pm-resource-type {
-      type org-openroadm-resource-types:resource-type-enum;
-      config false;
-      mandatory true;
-      description
-        "The supported pm-resource-type associated with the given resource instance.";
-    }
-    leaf pm-resource-type-extension {
-      type string;
-      config false;
-      description
-        "The resource type extension when the type is not defined in the resource-type-enum.";
-    }
-    leaf retrieval-time {
-      type yang:date-and-time;
-      config false;
-      mandatory true;
-      description
-        "Represents the time when the data is being read, not the bin start or end time.";
-    }
-    list current-pm {
-      key "type extension location direction";
-      config false;
-      uses current-pm-val-group;
-    }
-  }
-
-  grouping current-pm-val-group {
-    uses org-openroadm-pm-types:pm-names;
-    leaf location {
-      type org-openroadm-common-types:location;
-    }
-    leaf direction {
-      type org-openroadm-common-types:direction;
-    }
-    list measurement {
-      key "granularity";
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-      }
-      uses org-openroadm-pm-types:pm-measurement;
-    }
-  }
-
-  grouping historical-pm-group {
-    description
-      "PM Data with historical values - binned (granularity=15 minute, 24h))";
-    leaf pm-resource-instance {
-      type instance-identifier;
-      config false;
-      mandatory true;
-      description
-        "Retrieves all PM associate with the resource instance";
-    }
-    leaf pm-resource-type {
-      type org-openroadm-resource-types:resource-type-enum;
-      config false;
-      mandatory true;
-    }
-    leaf pm-resource-type-extension {
-      type string;
-      config false;
-      description
-        "The resource type extension when the type is not defined in the resource-type-enum.";
-    }
-    list historical-pm {
-      key "type extension location direction";
-      uses historical-pm-val-group;
-    }
-  }
-
-  grouping historical-pm-val-group {
-    description
-      "PM Data with historical values";
-    uses org-openroadm-pm-types:pm-names;
-    leaf location {
-      type org-openroadm-common-types:location;
-    }
-    leaf direction {
-      type org-openroadm-common-types:direction;
-    }
-    list measurement {
-      key "granularity bin-number";
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-        mandatory true;
-      }
-      leaf bin-number {
-        type uint16 {
-          range "1..max";
-        }
-        config false;
-        mandatory true;
-      }
-      uses org-openroadm-pm-types:pm-measurement;
-      leaf completion-time {
-        type yang:date-and-time;
-        config false;
-        mandatory true;
-        description
-          "The time at the end of the period; For example if bin starts at
-           01:15:00 and ends at 01:29:59, the completion-time is 01:29:59";
-      }
-    }
-  }
-
-  grouping collect-history-pm-group {
-    leaf pm-filename {
-      type string {
-        length "10..255";
-      }
-      description
-        "The file name to write the historical PM data.
-         The controller should be able to use this name to retrieve the file via ftp/sftp.
-         The file name should be unique for each RPC request since a new RPC request
-         could be initiated while the file transfer of the previous file is still in progress.
-
-         The file content should be written in xml format based on the historical-pm-list
-         yang definition and the file should be gzip compressed.";
-    }
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-
-  rpc clear-pm {
-    description
-      "Command to initialize PM data";
-    input {
-      uses org-openroadm-resource:resource;
-      leaf pm-type {
-        type enumeration {
-          enum "current" {
-            value 1;
-          }
-          enum "all" {
-            value 2;
-          }
-        }
-        default "current";
-      }
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-        default "15min";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc collect-historical-pm-file {
-    description
-      "Command to query historical PM data.
-       The device should be able to process an rpc request for 15min data
-       and a separate request for 24hour data in parallel.";
-    input {
-      leaf from-bin-number {
-        type uint16 {
-          range "1..max";
-        }
-        default "1";
-        description
-          "The start bin-number of the range";
-      }
-      leaf to-bin-number {
-        type uint16 {
-          range "1..max";
-        }
-        default "1";
-        description
-          "The end bin-number of the range";
-      }
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-        default "15min";
-        description
-          "The granularity of the retrieve, default to 15 minitues PM";
-      }
-    }
-    output {
-      uses collect-history-pm-group;
-    }
-  }
-  notification historical-pm-collect-result {
-    description
-      "This Notification is sent when the pm collection is succesful or failed.";
-    uses collect-history-pm-group;
-  }
-  container current-pm-list {
-    config false;
-    description
-      "List of current PMs.";
-    list current-pm-entry {
-      key "pm-resource-type pm-resource-type-extension pm-resource-instance";
-      uses current-pm-group;
-    }
-  }
-  container historical-pm-list {
-    config false;
-    description
-      "List of historical PM";
-    list historical-pm-entry {
-      key "pm-resource-type pm-resource-type-extension pm-resource-instance";
-      uses historical-pm-group;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-pm@2020-05-29.yang b/ordmodels/common/src/main/yang/org-openroadm-pm@2020-05-29.yang
deleted file mode 100644 (file)
index 44b9328..0000000
+++ /dev/null
@@ -1,361 +0,0 @@
-module org-openroadm-pm {
-  namespace "http://org/openroadm/pm";
-  prefix org-openroadm-pm;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-common-alarm-pm-types {
-    prefix org-openroadm-common-alarm-pm-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-pm-types {
-    prefix org-openroadm-pm-types;
-    revision-date 2020-03-27;
-  }
-
-  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,
-      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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  feature historical-pm-retrieval {
-    description
-      "The device supports the ability to directly retrieve the historical
-       PM data from the YANG model.";
-  }
-
-  grouping current-pm-group {
-    description
-      "PM Data with current values - both realtime (granularity=notApplicable)
-       and binned (granularity=15 minute, 24h))";
-    leaf pm-resource-instance {
-      type instance-identifier;
-      config false;
-      mandatory true;
-      description
-        "Retrieves all PM associate with the resource instance";
-    }
-    leaf pm-resource-type {
-      type org-openroadm-resource-types:resource-type-enum;
-      config false;
-      mandatory true;
-      description
-        "The supported pm-resource-type associated with the given resource instance.";
-    }
-    leaf pm-resource-type-extension {
-      type string;
-      config false;
-      description
-        "The resource type extension when the type is not defined in the resource-type-enum.";
-    }
-    leaf start-time {
-      type yang:date-and-time;
-      config false;
-      mandatory true;
-      description
-        "Represents the start time of the bin (15m, 24h granularity) or the start of data collection (notApplicable/untimed granularity).";
-    }
-    leaf retrieval-time {
-      type yang:date-and-time;
-      config false;
-      mandatory true;
-      description
-        "Represents the time when the data is being read, not the bin start or end time.";
-    }
-    list current-pm {
-      key "type extension location direction";
-      config false;
-      uses current-pm-val-group;
-    }
-  }
-
-  grouping current-pm-val-group {
-    uses org-openroadm-pm-types:pm-names;
-    leaf location {
-      type org-openroadm-common-alarm-pm-types:location;
-    }
-    leaf direction {
-      type org-openroadm-common-alarm-pm-types:direction;
-    }
-    list measurement {
-      key "granularity";
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-      }
-      uses org-openroadm-pm-types:pm-measurement;
-    }
-  }
-
-  grouping historical-pm-group {
-    description
-      "PM Data with historical values - binned (granularity=15 minute, 24h))";
-    leaf pm-resource-instance {
-      type instance-identifier;
-      config false;
-      mandatory true;
-      description
-        "Retrieves all PM associate with the resource instance";
-    }
-    leaf pm-resource-type {
-      type org-openroadm-resource-types:resource-type-enum;
-      config false;
-      mandatory true;
-    }
-    leaf pm-resource-type-extension {
-      type string;
-      config false;
-      description
-        "The resource type extension when the type is not defined in the resource-type-enum.";
-    }
-    list historical-pm {
-      key "type extension location direction";
-      uses historical-pm-val-group;
-    }
-  }
-
-  grouping historical-pm-val-group {
-    description
-      "PM Data with historical values";
-    uses org-openroadm-pm-types:pm-names;
-    leaf location {
-      type org-openroadm-common-alarm-pm-types:location;
-    }
-    leaf direction {
-      type org-openroadm-common-alarm-pm-types:direction;
-    }
-    list measurement {
-      key "granularity bin-number";
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-        mandatory true;
-      }
-      leaf bin-number {
-        type uint16 {
-          range "1..max";
-        }
-        config false;
-        mandatory true;
-      }
-      uses org-openroadm-pm-types:pm-measurement;
-      leaf completion-time {
-        type yang:date-and-time;
-        config false;
-        mandatory true;
-        description
-          "The time at the end of the period; For example if bin starts at
-           01:15:00 and ends at 01:29:59, the completion-time is 01:29:59";
-      }
-    }
-  }
-
-  grouping collect-history-pm-group {
-    leaf pm-filename {
-      type string {
-        length "10..255";
-      }
-      mandatory true;
-      description
-        "The file name to write the historical PM data.
-         The controller should be able to use this name to retrieve the file via ftp/sftp.
-         The file name should be unique for each RPC request since a new RPC request
-         could be initiated while the file transfer of the previous file is still in progress.
-
-         The file content should be written in xml format based on the historical-pm-list
-         yang definition and the file should be gzip compressed.";
-    }
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-
-  rpc clear-pm {
-    description
-      "Command to initialize PM data";
-    input {
-      uses org-openroadm-resource:resource;
-      leaf pm-type {
-        type enumeration {
-          enum current {
-            value 1;
-          }
-          enum all {
-            value 2;
-          }
-        }
-        default "current";
-      }
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-        default "15min";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  rpc collect-historical-pm-file {
-    description
-      "Command to query historical PM data.
-       The device should be able to process an rpc request for 15min data
-       and a separate request for 24hour data in parallel.";
-    input {
-      leaf from-bin-number {
-        type uint16 {
-          range "1..max";
-        }
-        default "1";
-        description
-          "The start bin-number of the range";
-      }
-      leaf to-bin-number {
-        type uint16 {
-          range "1..max";
-        }
-        default "1";
-        description
-          "The end bin-number of the range";
-      }
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-        default "15min";
-        description
-          "The granularity of the retrieve, default to 15 minutes PM";
-      }
-    }
-    output {
-      uses collect-history-pm-group;
-    }
-  }
-
-  notification historical-pm-collect-result {
-    description
-      "This Notification is sent when the pm collection is successful or failed.";
-    uses collect-history-pm-group;
-  }
-
-  container current-pm-list {
-    config false;
-    description
-      "List of current PMs.";
-    list current-pm-entry {
-      key "pm-resource-type pm-resource-type-extension pm-resource-instance";
-      description
-        "List of current PM entries";
-      uses current-pm-group;
-    }
-  }
-  container historical-pm-list {
-    if-feature "historical-pm-retrieval";
-    config false;
-    description
-      "List of historical PM";
-    list historical-pm-entry {
-      key "pm-resource-type pm-resource-type-extension pm-resource-instance";
-      description
-        "List of historical PM entries";
-      uses historical-pm-group;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-port-types@2017-09-29.yang b/ordmodels/common/src/main/yang/org-openroadm-port-types@2017-09-29.yang
deleted file mode 100644 (file)
index 9154f4d..0000000
+++ /dev/null
@@ -1,181 +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;
-    revision-date 2016-10-14;
-  }
-
-  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 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 if-1GE {
-    base supported-if-capability;
-  }
-
-  identity if-10GE {
-    base supported-if-capability;
-  }
-
-  identity if-40GE {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2E-ODU2E {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU4-ODU4 {
-    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 or ROADM SRG add drop";
-      }
-      enum "multi-wavelength" {
-        value 2;
-        description
-          "External port connecting to other 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.";
-    }
-  }
-
-  grouping roadm-port {
-    uses common-port;
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-port-types@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-port-types@2018-10-19.yang
deleted file mode 100644 (file)
index 2319877..0000000
+++ /dev/null
@@ -1,225 +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;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 if-1GE {
-    base supported-if-capability;
-  }
-
-  identity if-10GE {
-    base supported-if-capability;
-  }
-
-  identity if-40GE {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2E-ODU2E {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2e-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-1GE-ODU0 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-40GE-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-100GE-ODU4 {
-    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 or ROADM SRG add drop";
-      }
-      enum "multi-wavelength" {
-        value 2;
-        description
-          "External port connecting to other 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.";
-    }
-  }
-
-  grouping roadm-port {
-    uses common-port;
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-port-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-port-types@2018-11-30.yang
deleted file mode 100644 (file)
index 3f7ce71..0000000
+++ /dev/null
@@ -1,294 +0,0 @@
-module org-openroadm-port-types {
-  namespace "http://org/openroadm/port/types";
-  prefix org-openroadm-port-types;
-
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2018-11-30;
-  }
-
-  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,
-     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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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-OTS-OMS-MC-NMC {
-    base supported-if-capability;
-  }
-
-  identity if-NMC {
-    base supported-if-capability;
-  }
-
-  identity if-OCH {
-    base supported-if-capability;
-  }
-
-  identity if-1GE {
-    base supported-if-capability;
-  }
-
-  identity if-10GE {
-    base supported-if-capability;
-  }
-
-  identity if-40GE {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2E-ODU2E {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTUCn-ODUCn {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-flexo-flexogroup {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-otucn-oducn {
-    base supported-if-capability;
-  }
-
-  identity if-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2e-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-1GE-ODU0 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-25GE-oduflexcbr {
-    base supported-if-capability;
-  }
-
-  identity if-40GE-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-40GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-100GE-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-100GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-200GE-oduflexcbr {
-    base supported-if-capability;
-  }
-
-  identity if-400GE-odufleximp {
-    base supported-if-capability;
-  }
-
-  identity if-400GE-oduflexcbr {
-    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 or ROADM SRG add drop";
-      }
-      enum "multi-wavelength" {
-        value 2;
-        description
-          "External port connecting to other roadm.";
-      }
-    }
-    description
-      "Port types.";
-  }
-
-  typedef port-module-types {
-    type enumeration {
-      enum "100GBASE-LR4" {
-        value 1;
-      }
-      enum "CWDM-4" {
-        value 2;
-      }
-    }
-    description
-      "Pluggable modue types.";
-  }
-
-  grouping common-port {
-    leaf port-power-capability-min-rx {
-      type org-openroadm-common-link-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-link-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-link-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-link-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.";
-    }
-  }
-
-  grouping roadm-port {
-    uses common-port;
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-port-types@2020-03-27.yang b/ordmodels/common/src/main/yang/org-openroadm-port-types@2020-03-27.yang
deleted file mode 100644 (file)
index 357d2dd..0000000
+++ /dev/null
@@ -1,454 +0,0 @@
-module org-openroadm-port-types {
-  namespace "http://org/openroadm/port/types";
-  prefix org-openroadm-port-types;
-
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This is a modified version of an Open ROADM MSA official YANG model.
-     It contains an unofficial and additional regen identity 'if-OTUCn-ODUCn-regen'
-     found in some non-compliant devices.
-     Though this identity should have been advertised through a YANG deviation,
-     this does not raise any compatibility problem with compliant devices.
-     This file is an ideally temporary work-around until a compliant solution is found.
-     cf https://jira.opendaylight.org/browse/TRNSPRTPCE-532
-
-     Original YANG model description below:
-     YANG definitions for port types.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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-200GE {
-    base supported-if-capability;
-  }
-
-  identity if-400GE {
-    base supported-if-capability;
-  }
-
-  identity if-OMS {
-    base supported-if-capability;
-  }
-
-  identity if-OTS {
-    base supported-if-capability;
-  }
-
-  identity if-OTS-OMS-MC-NMC {
-    base supported-if-capability;
-  }
-
-  identity if-NMC {
-    base supported-if-capability;
-  }
-
-  identity if-OCH {
-    base supported-if-capability;
-  }
-
-  identity if-1GE {
-    base supported-if-capability;
-  }
-
-  identity if-10GE {
-    base supported-if-capability;
-  }
-
-  identity if-40GE {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2E-ODU2E {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTUCn-ODUCn {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-flexo-flexogroup {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-otsigroup {
-    base supported-if-capability;
-  }
-
-  identity if-n-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-otucn-oducn {
-    base supported-if-capability;
-    status obsolete;
-  }
-
-  identity if-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2e-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-1GE-ODU0 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-25GE-oduflexcbr {
-    base supported-if-capability;
-  }
-
-  identity if-40GE-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-40GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-100GE-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-100GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-200GE-oduflexcbr {
-    base supported-if-capability;
-  }
-
-  identity if-400GE-odufleximp {
-    base supported-if-capability;
-  }
-
-  identity if-400GE-oduflexcbr {
-    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;
-  }
-
-  identity pluggable-identifiers-identity {
-    description
-      "Pluggable identifiers type";
-  }
-
-  identity SFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-plus {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP28 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity DWDM-SFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity DWDM-SFP-plus {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP-plus {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP28 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP28-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity micro-QSFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity OSFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP2 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP4 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP8 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP2-ACO {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP2-DCO {
-    base pluggable-identifiers-identity;
-  }
-
-  identity XFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP56 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP56 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP56-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-other {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-unspecified {
-    base pluggable-identifiers-identity;
-  }
-
-  identity pluggable-type-other {
-    base pluggable-identifiers-identity;
-  }
-
-  identity pluggable-type-unspecified {
-    base pluggable-identifiers-identity;
-  }
-  // The following identity is not present in the original Open ROADM MSA YANG model.
-  identity if-OTUCn-ODUCn-regen {
-    base supported-if-capability;
-  }
-
-
-  typedef port-wavelength-types {
-    type enumeration {
-      enum wavelength {
-        value 1;
-        description
-          "Port on a transponder or ROADM SRG add drop";
-      }
-      enum multi-wavelength {
-        value 2;
-        description
-          "External port connecting to other roadm.";
-      }
-    }
-    description
-      "Port types.";
-  }
-
-  typedef port-module-types {
-    type enumeration {
-      enum 100GBASE-LR4 {
-        value 1;
-      }
-      enum CWDM-4 {
-        value 2;
-      }
-    }
-    description
-      "Pluggable modue types.";
-  }
-
-  grouping common-port {
-    leaf port-power-capability-min-rx {
-      type org-openroadm-common-link-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-link-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-link-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-link-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.";
-    }
-  }
-
-  grouping roadm-port {
-    uses common-port;
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-port-types@2020-12-11.yang b/ordmodels/common/src/main/yang/org-openroadm-port-types@2020-12-11.yang
deleted file mode 100644 (file)
index 2d862f0..0000000
+++ /dev/null
@@ -1,461 +0,0 @@
-module org-openroadm-port-types {
-  namespace "http://org/openroadm/port/types";
-  prefix org-openroadm-port-types;
-
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-     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 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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-200GE {
-    base supported-if-capability;
-  }
-
-  identity if-400GE {
-    base supported-if-capability;
-  }
-
-  identity if-OMS {
-    base supported-if-capability;
-  }
-
-  identity if-OTS {
-    base supported-if-capability;
-  }
-
-  identity if-OTS-OMS-MC-NMC {
-    base supported-if-capability;
-  }
-
-  identity if-NMC {
-    base supported-if-capability;
-  }
-
-  identity if-OCH {
-    base supported-if-capability;
-  }
-
-  identity if-1GE {
-    base supported-if-capability;
-  }
-
-  identity if-10GE {
-    base supported-if-capability;
-  }
-
-  identity if-40GE {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU2E-ODU2E {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU4-ODU4-regen {
-    base supported-if-capability;
-  }
-
-  identity if-OCH-OTU4-ODU4-uniregen {
-    base supported-if-capability;
-  }
-
-  identity if-OTUCn-ODUCn {
-    base supported-if-capability;
-  }
-
-  identity if-OTUCn-ODUCn-regen {
-    base supported-if-capability;
-  }
-
-  identity if-OTUCn-ODUCn-uniregen {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-flexo-flexogroup {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-otsigroup {
-    base supported-if-capability;
-  }
-
-  identity if-n-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-otsi-otucn-oducn {
-    base supported-if-capability;
-    status obsolete;
-  }
-
-  identity if-OTU4-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU1-ODU1 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-OTU2e-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-OTU3-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-1GE-ODU0 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2 {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-ODU2e {
-    base supported-if-capability;
-  }
-
-  identity if-10GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-25GE-oduflexcbr {
-    base supported-if-capability;
-  }
-
-  identity if-40GE-ODU3 {
-    base supported-if-capability;
-  }
-
-  identity if-40GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-100GE-ODU4 {
-    base supported-if-capability;
-  }
-
-  identity if-100GE-oduflexgfp {
-    base supported-if-capability;
-  }
-
-  identity if-200GE-oduflexcbr {
-    base supported-if-capability;
-  }
-
-  identity if-400GE-odufleximp {
-    base supported-if-capability;
-  }
-
-  identity if-400GE-oduflexcbr {
-    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;
-  }
-
-  identity pluggable-identifiers-identity {
-    description
-      "Pluggable identifiers type";
-  }
-
-  identity SFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-plus {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP28 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity DWDM-SFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity DWDM-SFP-plus {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP-plus {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP28 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP28-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity micro-QSFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity OSFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP2 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP4 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP8 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP2-ACO {
-    base pluggable-identifiers-identity;
-  }
-
-  identity CFP2-DCO {
-    base pluggable-identifiers-identity;
-  }
-
-  identity XFP {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP56 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP56 {
-    base pluggable-identifiers-identity;
-  }
-
-  identity QSFP56-DD {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-other {
-    base pluggable-identifiers-identity;
-  }
-
-  identity SFP-unspecified {
-    base pluggable-identifiers-identity;
-  }
-
-  identity pluggable-type-other {
-    base pluggable-identifiers-identity;
-  }
-
-  identity pluggable-type-unspecified {
-    base pluggable-identifiers-identity;
-  }
-
-  typedef port-wavelength-types {
-    type enumeration {
-      enum wavelength {
-        value 1;
-        description
-          "Port on a transponder or ROADM SRG add drop";
-      }
-      enum multi-wavelength {
-        value 2;
-        description
-          "External port connecting to other roadm.";
-      }
-    }
-    description
-      "Port types.";
-  }
-
-  typedef port-module-types {
-    type enumeration {
-      enum 100GBASE-LR4 {
-        value 1;
-      }
-      enum CWDM-4 {
-        value 2;
-      }
-    }
-    description
-      "Pluggable modue types.";
-  }
-
-  grouping common-port {
-    leaf port-power-capability-min-rx {
-      type org-openroadm-common-link-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-link-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-link-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-link-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.";
-    }
-  }
-
-  grouping roadm-port {
-    uses common-port;
-  }
-
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-probable-cause@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-probable-cause@2016-10-14.yang
deleted file mode 100644 (file)
index 642c256..0000000
+++ /dev/null
@@ -1,523 +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;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/common/src/main/yang/org-openroadm-probable-cause@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-probable-cause@2018-10-19.yang
deleted file mode 100644 (file)
index 030c93c..0000000
+++ /dev/null
@@ -1,767 +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;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  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 "lockedDefect" {
-        value 10;
-        description
-          "Locked defect (LCK)";
-        reference "G.798";
-      }
-      enum "trailTraceIdentifierMismatch" {
-        value 11;
-        description
-          "Trail trace Identifier Mismatch (TIM)";
-        reference "G.798";
-      }
-      enum "degradedDefect" {
-        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 "portLossOfLight" {
-        value 17;
-      }
-      enum "reflectionTooHigh" {
-        value 18;
-      }
-      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 "databaseVersionMismatch" {
-        value 44;
-      }
-      enum "firmwareVersionMismatch" {
-        value 46;
-      }
-      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 "lossOfFrame" {
-        value 63;
-      }
-      enum "lossOfMultiframe" {
-        value 64;
-      }
-      enum "backwardIncomingAlignmentError" {
-        value 65;
-      }
-      enum "incomingAlignmentError" {
-        value 66;
-      }
-      enum "payloadMismatch" {
-        value 67;
-      }
-      enum "clientSignalFailDefect" {
-        value 68;
-      }
-      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 "certificateNotInstalled" {
-        value 134;
-      }
-      enum "lockoutOfProtection" {
-        value 135;
-      }
-      enum "forcedSwitchAwayFromWorking" {
-        value 136;
-      }
-      enum "forcedSwitchAwayFromProtect" {
-        value 137;
-      }
-      enum "automaticSwitchAwayFromWorkingDueToSF" {
-        value 138;
-      }
-      enum "automaticSwitchAwayFromProtectDueToSF" {
-        value 139;
-      }
-      enum "automaticSwitchDueToWTR" {
-        value 140;
-      }
-      enum "manualSwitchAwayFromWork" {
-        value 141;
-      }
-      enum "manualSwitchAwayFromProtect" {
-        value 142;
-      }
-      enum "automaticPowerReduction" {
-        value 143;
-      }
-      enum "lossOfSignalOSC" {
-        value 144;
-      }
-      enum "softwareValidateInProgress" {
-        value 145;
-      }
-      enum "databaseRollbackTimerInProgress" {
-        value 146;
-      }
-      enum "otdrScanInProgress" {
-        value 147;
-      }
-      enum "lldpFail" {
-        value 148;
-      }
-      enum "omsPowerOutOfSpecificationHigh" {
-        value 149;
-      }
-      enum "omsPowerOutOfSpecificationLow" {
-        value 150;
-      }
-      enum "automaticSwitchAwayFromWorkingDueToSD" {
-        value 151;
-      }
-      enum "automaticSwitchAwayFromProtectDueToSD" {
-        value 152;
-      }
-      enum "backwardIncomingAlignmentErrorTCM1-up" {
-        value 153;
-      }
-      enum "backwardIncomingAlignmentErrorTCM2-up" {
-        value 154;
-      }
-      enum "backwardIncomingAlignmentErrorTCM3-up" {
-        value 155;
-      }
-      enum "backwardIncomingAlignmentErrorTCM4-up" {
-        value 156;
-      }
-      enum "backwardIncomingAlignmentErrorTCM5-up" {
-        value 157;
-      }
-      enum "backwardIncomingAlignmentErrorTCM6-up" {
-        value 158;
-      }
-      enum "incomingAlignmentErrorTCM1-up" {
-        value 159;
-      }
-      enum "incomingAlignmentErrorTCM2-up" {
-        value 160;
-      }
-      enum "incomingAlignmentErrorTCM3-up" {
-        value 161;
-      }
-      enum "incomingAlignmentErrorTCM4-up" {
-        value 162;
-      }
-      enum "incomingAlignmentErrorTCM5-up" {
-        value 163;
-      }
-      enum "incomingAlignmentErrorTCM6-up" {
-        value 164;
-      }
-      enum "backwardsDefectIndicationTCM1-up" {
-        value 165;
-      }
-      enum "backwardsDefectIndicationTCM2-up" {
-        value 166;
-      }
-      enum "backwardsDefectIndicationTCM3-up" {
-        value 167;
-      }
-      enum "backwardsDefectIndicationTCM4-up" {
-        value 168;
-      }
-      enum "backwardsDefectIndicationTCM5-up" {
-        value 169;
-      }
-      enum "backwardsDefectIndicationTCM6-up" {
-        value 170;
-      }
-      enum "degradedDefectTCM1-up" {
-        value 171;
-      }
-      enum "degradedDefectTCM2-up" {
-        value 172;
-      }
-      enum "degradedDefectTCM3-up" {
-        value 173;
-      }
-      enum "degradedDefectTCM4-up" {
-        value 174;
-      }
-      enum "degradedDefectTCM5-up" {
-        value 175;
-      }
-      enum "degradedDefectTCM6-up" {
-        value 176;
-      }
-      enum "trailTraceIdentifierMisMatchTCM1-up" {
-        value 177;
-      }
-      enum "trailTraceIdentifierMisMatchTCM2-up" {
-        value 178;
-      }
-      enum "trailTraceIdentifierMisMatchTCM3-up" {
-        value 179;
-      }
-      enum "trailTraceIdentifierMisMatchTCM4-up" {
-        value 180;
-      }
-      enum "trailTraceIdentifierMisMatchTCM5-up" {
-        value 181;
-      }
-      enum "trailTraceIdentifierMisMatchTCM6-up" {
-        value 182;
-      }
-      enum "alarmIndicationSignalTCM1-up" {
-        value 183;
-      }
-      enum "alarmIndicationSignalTCM2-up" {
-        value 184;
-      }
-      enum "alarmIndicationSignalTCM3-up" {
-        value 185;
-      }
-      enum "alarmIndicationSignalTCM4-up" {
-        value 186;
-      }
-      enum "alarmIndicationSignalTCM5-up" {
-        value 187;
-      }
-      enum "alarmIndicationSignalTCM6-up" {
-        value 188;
-      }
-      enum "openConnectionIndicationTCM1-up" {
-        value 189;
-      }
-      enum "openConnectionIndicationTCM2-up" {
-        value 190;
-      }
-      enum "openConnectionIndicationTCM3-up" {
-        value 191;
-      }
-      enum "openConnectionIndicationTCM4-up" {
-        value 192;
-      }
-      enum "openConnectionIndicationTCM5-up" {
-        value 193;
-      }
-      enum "openConnectionIndicationTCM6-up" {
-        value 194;
-      }
-      enum "lockedDefectTCM1-up" {
-        value 195;
-      }
-      enum "lockedDefectTCM2-up" {
-        value 196;
-      }
-      enum "lockedDefectTCM3-up" {
-        value 197;
-      }
-      enum "lockedDefectTCM4-up" {
-        value 198;
-      }
-      enum "lockedDefectTCM5-up" {
-        value 199;
-      }
-      enum "lockedDefectTCM6-up" {
-        value 200;
-      }
-      enum "lossofTandemConnectionTCM1-up" {
-        value 201;
-      }
-      enum "lossofTandemConnectionTCM2-up" {
-        value 202;
-      }
-      enum "lossofTandemConnectionTCM3-up" {
-        value 203;
-      }
-      enum "lossofTandemConnectionTCM4-up" {
-        value 204;
-      }
-      enum "lossofTandemConnectionTCM5-up" {
-        value 205;
-      }
-      enum "lossofTandemConnectionTCM6-up" {
-        value 206;
-      }
-      enum "backwardIncomingAlignmentErrorTCM1-down" {
-        value 207;
-      }
-      enum "backwardIncomingAlignmentErrorTCM2-down" {
-        value 208;
-      }
-      enum "backwardIncomingAlignmentErrorTCM3-down" {
-        value 209;
-      }
-      enum "backwardIncomingAlignmentErrorTCM4-down" {
-        value 210;
-      }
-      enum "backwardIncomingAlignmentErrorTCM5-down" {
-        value 211;
-      }
-      enum "backwardIncomingAlignmentErrorTCM6-down" {
-        value 212;
-      }
-      enum "incomingAlignmentErrorTCM1-down" {
-        value 213;
-      }
-      enum "incomingAlignmentErrorTCM2-down" {
-        value 214;
-      }
-      enum "incomingAlignmentErrorTCM3-down" {
-        value 215;
-      }
-      enum "incomingAlignmentErrorTCM4-down" {
-        value 216;
-      }
-      enum "incomingAlignmentErrorTCM5-down" {
-        value 217;
-      }
-      enum "incomingAlignmentErrorTCM6-down" {
-        value 218;
-      }
-      enum "backwardsDefectIndicationTCM1-down" {
-        value 219;
-      }
-      enum "backwardsDefectIndicationTCM2-down" {
-        value 220;
-      }
-      enum "backwardsDefectIndicationTCM3-down" {
-        value 221;
-      }
-      enum "backwardsDefectIndicationTCM4-down" {
-        value 222;
-      }
-      enum "backwardsDefectIndicationTCM5-down" {
-        value 223;
-      }
-      enum "backwardsDefectIndicationTCM6-down" {
-        value 224;
-      }
-      enum "degradedDefectTCM1-down" {
-        value 225;
-      }
-      enum "degradedDefectTCM2-down" {
-        value 226;
-      }
-      enum "degradedDefectTCM3-down" {
-        value 227;
-      }
-      enum "degradedDefectTCM4-down" {
-        value 228;
-      }
-      enum "degradedDefectTCM5-down" {
-        value 229;
-      }
-      enum "degradedDefectTCM6-down" {
-        value 230;
-      }
-      enum "trailTraceIdentifierMisMatchTCM1-down" {
-        value 231;
-      }
-      enum "trailTraceIdentifierMisMatchTCM2-down" {
-        value 232;
-      }
-      enum "trailTraceIdentifierMisMatchTCM3-down" {
-        value 233;
-      }
-      enum "trailTraceIdentifierMisMatchTCM4-down" {
-        value 234;
-      }
-      enum "trailTraceIdentifierMisMatchTCM5-down" {
-        value 235;
-      }
-      enum "trailTraceIdentifierMisMatchTCM6-down" {
-        value 236;
-      }
-      enum "alarmIndicationSignalTCM1-down" {
-        value 237;
-      }
-      enum "alarmIndicationSignalTCM2-down" {
-        value 238;
-      }
-      enum "alarmIndicationSignalTCM3-down" {
-        value 239;
-      }
-      enum "alarmIndicationSignalTCM4-down" {
-        value 240;
-      }
-      enum "alarmIndicationSignalTCM5-down" {
-        value 241;
-      }
-      enum "alarmIndicationSignalTCM6-down" {
-        value 242;
-      }
-      enum "openConnectionIndicationTCM1-down" {
-        value 243;
-      }
-      enum "openConnectionIndicationTCM2-down" {
-        value 244;
-      }
-      enum "openConnectionIndicationTCM3-down" {
-        value 245;
-      }
-      enum "openConnectionIndicationTCM4-down" {
-        value 246;
-      }
-      enum "openConnectionIndicationTCM5-down" {
-        value 247;
-      }
-      enum "openConnectionIndicationTCM6-down" {
-        value 248;
-      }
-      enum "lockedDefectTCM1-down" {
-        value 249;
-      }
-      enum "lockedDefectTCM2-down" {
-        value 250;
-      }
-      enum "lockedDefectTCM3-down" {
-        value 251;
-      }
-      enum "lockedDefectTCM4-down" {
-        value 252;
-      }
-      enum "lockedDefectTCM5-down" {
-        value 253;
-      }
-      enum "lockedDefectTCM6-down" {
-        value 254;
-      }
-      enum "lossofTandemConnectionTCM1-down" {
-        value 255;
-      }
-      enum "lossofTandemConnectionTCM2-down" {
-        value 256;
-      }
-      enum "lossofTandemConnectionTCM3-down" {
-        value 257;
-      }
-      enum "lossofTandemConnectionTCM4-down" {
-        value 258;
-      }
-      enum "lossofTandemConnectionTCM5-down" {
-        value 259;
-      }
-      enum "lossofTandemConnectionTCM6-down" {
-        value 260;
-      }
-      enum "multiplexStructureIdentifierMismatch" {
-        value 261;
-        description
-          "G798 : 6.2.9 (dMSIM)";
-      }
-      enum "lossOfOmfIndication" {
-        value 262;
-        description
-          "G798 : 14.3.10.2 Figure 14-73 (dLOOMFI)";
-      }
-      enum "lossOfFrameAndLossOfMultiframe" {
-        value 263;
-        description
-          "G798 : 6.2.5.3 (dLOFLOM)";
-      }
-      enum "lossOfDatabaseRedundancy" {
-        value 264;
-        description
-          "loss of database redundancy";
-      }
-      enum "databaseLocked" {
-        value 265;
-        description
-          "Database locked";
-      }
-      enum "createTechInfoInProgress" {
-        value 266;
-        description
-          "create-tech-info in progress";
-      }
-      enum "circuitPackActivateFailed" {
-        value 267;
-        description
-          "circuit-pack activation failed";
-      }
-      enum "softwareSubsystemFailed" {
-        value 268;
-        description
-          "Software subsystem failed";
-      }
-      enum "diskFull" {
-        value 269;
-        description
-          "Disk full";
-      }
-    }
-  }
-
-  grouping probable-cause {
-    leaf cause {
-      type probable-cause-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-    leaf direction {
-      type org-openroadm-common-types:direction;
-      mandatory true;
-      description
-        "Direction indication of the alarm.";
-    }
-    leaf location {
-      type org-openroadm-common-types:location;
-      mandatory true;
-      description
-        "location indication of the alarm.";
-    }
-    leaf type {
-      type enumeration {
-        enum "communication" {
-          value 1;
-        }
-        enum "qualityOfService" {
-          value 2;
-        }
-        enum "processingError" {
-          value 3;
-        }
-        enum "equipment" {
-          value 4;
-        }
-        enum "environmental" {
-          value 5;
-        }
-      }
-      mandatory false;
-      description
-        "Type of alarm. Based on X.733 event Type.";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-probable-cause@2020-05-29.yang b/ordmodels/common/src/main/yang/org-openroadm-probable-cause@2020-05-29.yang
deleted file mode 100644 (file)
index b327742..0000000
+++ /dev/null
@@ -1,890 +0,0 @@
-module org-openroadm-probable-cause {
-  namespace "http://org/openroadm/probableCause";
-  prefix org-openroadm-probable-cause;
-
-  import org-openroadm-common-alarm-pm-types {
-    prefix org-openroadm-common-alarm-pm-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-      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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  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 Power Degraded";
-      }
-      enum automaticLaserShutdown {
-        value 7;
-        description
-          "Automatic Laser Shutdown";
-      }
-      enum serverSignalFail {
-        value 8;
-        description
-          "Server Signal Fail (SSF)";
-        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 degradedDefect {
-        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 portLossOfLight {
-        value 17;
-      }
-      enum reflectionTooHigh {
-        value 18;
-      }
-      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 databaseVersionMismatch {
-        value 44;
-      }
-      enum firmwareVersionMismatch {
-        value 46;
-      }
-      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 lossOfFrame {
-        value 63;
-      }
-      enum lossOfMultiframe {
-        value 64;
-      }
-      enum backwardIncomingAlignmentError {
-        value 65;
-      }
-      enum incomingAlignmentError {
-        value 66;
-      }
-      enum payloadMismatch {
-        value 67;
-      }
-      enum clientSignalFailDefect {
-        value 68;
-      }
-      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 certificateNotInstalled {
-        value 134;
-      }
-      enum lockoutOfProtection {
-        value 135;
-      }
-      enum forcedSwitchAwayFromWorking {
-        value 136;
-      }
-      enum forcedSwitchAwayFromProtect {
-        value 137;
-      }
-      enum automaticSwitchAwayFromWorkingDueToSF {
-        value 138;
-      }
-      enum automaticSwitchAwayFromProtectDueToSF {
-        value 139;
-      }
-      enum automaticSwitchDueToWTR {
-        value 140;
-      }
-      enum manualSwitchAwayFromWork {
-        value 141;
-      }
-      enum manualSwitchAwayFromProtect {
-        value 142;
-      }
-      enum automaticPowerReduction {
-        value 143;
-      }
-      enum lossOfSignalOSC {
-        value 144;
-      }
-      enum softwareValidateInProgress {
-        value 145;
-      }
-      enum databaseRollbackTimerInProgress {
-        value 146;
-      }
-      enum otdrScanInProgress {
-        value 147;
-      }
-      enum lldpFail {
-        value 148;
-      }
-      enum omsPowerOutOfSpecificationHigh {
-        value 149;
-      }
-      enum omsPowerOutOfSpecificationLow {
-        value 150;
-      }
-      enum automaticSwitchAwayFromWorkingDueToSD {
-        value 151;
-      }
-      enum automaticSwitchAwayFromProtectDueToSD {
-        value 152;
-      }
-      enum backwardIncomingAlignmentErrorTCM1-up {
-        value 153;
-      }
-      enum backwardIncomingAlignmentErrorTCM2-up {
-        value 154;
-      }
-      enum backwardIncomingAlignmentErrorTCM3-up {
-        value 155;
-      }
-      enum backwardIncomingAlignmentErrorTCM4-up {
-        value 156;
-      }
-      enum backwardIncomingAlignmentErrorTCM5-up {
-        value 157;
-      }
-      enum backwardIncomingAlignmentErrorTCM6-up {
-        value 158;
-      }
-      enum incomingAlignmentErrorTCM1-up {
-        value 159;
-      }
-      enum incomingAlignmentErrorTCM2-up {
-        value 160;
-      }
-      enum incomingAlignmentErrorTCM3-up {
-        value 161;
-      }
-      enum incomingAlignmentErrorTCM4-up {
-        value 162;
-      }
-      enum incomingAlignmentErrorTCM5-up {
-        value 163;
-      }
-      enum incomingAlignmentErrorTCM6-up {
-        value 164;
-      }
-      enum backwardsDefectIndicationTCM1-up {
-        value 165;
-      }
-      enum backwardsDefectIndicationTCM2-up {
-        value 166;
-      }
-      enum backwardsDefectIndicationTCM3-up {
-        value 167;
-      }
-      enum backwardsDefectIndicationTCM4-up {
-        value 168;
-      }
-      enum backwardsDefectIndicationTCM5-up {
-        value 169;
-      }
-      enum backwardsDefectIndicationTCM6-up {
-        value 170;
-      }
-      enum degradedDefectTCM1-up {
-        value 171;
-      }
-      enum degradedDefectTCM2-up {
-        value 172;
-      }
-      enum degradedDefectTCM3-up {
-        value 173;
-      }
-      enum degradedDefectTCM4-up {
-        value 174;
-      }
-      enum degradedDefectTCM5-up {
-        value 175;
-      }
-      enum degradedDefectTCM6-up {
-        value 176;
-      }
-      enum trailTraceIdentifierMisMatchTCM1-up {
-        value 177;
-      }
-      enum trailTraceIdentifierMisMatchTCM2-up {
-        value 178;
-      }
-      enum trailTraceIdentifierMisMatchTCM3-up {
-        value 179;
-      }
-      enum trailTraceIdentifierMisMatchTCM4-up {
-        value 180;
-      }
-      enum trailTraceIdentifierMisMatchTCM5-up {
-        value 181;
-      }
-      enum trailTraceIdentifierMisMatchTCM6-up {
-        value 182;
-      }
-      enum alarmIndicationSignalTCM1-up {
-        value 183;
-      }
-      enum alarmIndicationSignalTCM2-up {
-        value 184;
-      }
-      enum alarmIndicationSignalTCM3-up {
-        value 185;
-      }
-      enum alarmIndicationSignalTCM4-up {
-        value 186;
-      }
-      enum alarmIndicationSignalTCM5-up {
-        value 187;
-      }
-      enum alarmIndicationSignalTCM6-up {
-        value 188;
-      }
-      enum openConnectionIndicationTCM1-up {
-        value 189;
-      }
-      enum openConnectionIndicationTCM2-up {
-        value 190;
-      }
-      enum openConnectionIndicationTCM3-up {
-        value 191;
-      }
-      enum openConnectionIndicationTCM4-up {
-        value 192;
-      }
-      enum openConnectionIndicationTCM5-up {
-        value 193;
-      }
-      enum openConnectionIndicationTCM6-up {
-        value 194;
-      }
-      enum lockedDefectTCM1-up {
-        value 195;
-      }
-      enum lockedDefectTCM2-up {
-        value 196;
-      }
-      enum lockedDefectTCM3-up {
-        value 197;
-      }
-      enum lockedDefectTCM4-up {
-        value 198;
-      }
-      enum lockedDefectTCM5-up {
-        value 199;
-      }
-      enum lockedDefectTCM6-up {
-        value 200;
-      }
-      enum lossofTandemConnectionTCM1-up {
-        value 201;
-      }
-      enum lossofTandemConnectionTCM2-up {
-        value 202;
-      }
-      enum lossofTandemConnectionTCM3-up {
-        value 203;
-      }
-      enum lossofTandemConnectionTCM4-up {
-        value 204;
-      }
-      enum lossofTandemConnectionTCM5-up {
-        value 205;
-      }
-      enum lossofTandemConnectionTCM6-up {
-        value 206;
-      }
-      enum backwardIncomingAlignmentErrorTCM1-down {
-        value 207;
-      }
-      enum backwardIncomingAlignmentErrorTCM2-down {
-        value 208;
-      }
-      enum backwardIncomingAlignmentErrorTCM3-down {
-        value 209;
-      }
-      enum backwardIncomingAlignmentErrorTCM4-down {
-        value 210;
-      }
-      enum backwardIncomingAlignmentErrorTCM5-down {
-        value 211;
-      }
-      enum backwardIncomingAlignmentErrorTCM6-down {
-        value 212;
-      }
-      enum incomingAlignmentErrorTCM1-down {
-        value 213;
-      }
-      enum incomingAlignmentErrorTCM2-down {
-        value 214;
-      }
-      enum incomingAlignmentErrorTCM3-down {
-        value 215;
-      }
-      enum incomingAlignmentErrorTCM4-down {
-        value 216;
-      }
-      enum incomingAlignmentErrorTCM5-down {
-        value 217;
-      }
-      enum incomingAlignmentErrorTCM6-down {
-        value 218;
-      }
-      enum backwardsDefectIndicationTCM1-down {
-        value 219;
-      }
-      enum backwardsDefectIndicationTCM2-down {
-        value 220;
-      }
-      enum backwardsDefectIndicationTCM3-down {
-        value 221;
-      }
-      enum backwardsDefectIndicationTCM4-down {
-        value 222;
-      }
-      enum backwardsDefectIndicationTCM5-down {
-        value 223;
-      }
-      enum backwardsDefectIndicationTCM6-down {
-        value 224;
-      }
-      enum degradedDefectTCM1-down {
-        value 225;
-      }
-      enum degradedDefectTCM2-down {
-        value 226;
-      }
-      enum degradedDefectTCM3-down {
-        value 227;
-      }
-      enum degradedDefectTCM4-down {
-        value 228;
-      }
-      enum degradedDefectTCM5-down {
-        value 229;
-      }
-      enum degradedDefectTCM6-down {
-        value 230;
-      }
-      enum trailTraceIdentifierMisMatchTCM1-down {
-        value 231;
-      }
-      enum trailTraceIdentifierMisMatchTCM2-down {
-        value 232;
-      }
-      enum trailTraceIdentifierMisMatchTCM3-down {
-        value 233;
-      }
-      enum trailTraceIdentifierMisMatchTCM4-down {
-        value 234;
-      }
-      enum trailTraceIdentifierMisMatchTCM5-down {
-        value 235;
-      }
-      enum trailTraceIdentifierMisMatchTCM6-down {
-        value 236;
-      }
-      enum alarmIndicationSignalTCM1-down {
-        value 237;
-      }
-      enum alarmIndicationSignalTCM2-down {
-        value 238;
-      }
-      enum alarmIndicationSignalTCM3-down {
-        value 239;
-      }
-      enum alarmIndicationSignalTCM4-down {
-        value 240;
-      }
-      enum alarmIndicationSignalTCM5-down {
-        value 241;
-      }
-      enum alarmIndicationSignalTCM6-down {
-        value 242;
-      }
-      enum openConnectionIndicationTCM1-down {
-        value 243;
-      }
-      enum openConnectionIndicationTCM2-down {
-        value 244;
-      }
-      enum openConnectionIndicationTCM3-down {
-        value 245;
-      }
-      enum openConnectionIndicationTCM4-down {
-        value 246;
-      }
-      enum openConnectionIndicationTCM5-down {
-        value 247;
-      }
-      enum openConnectionIndicationTCM6-down {
-        value 248;
-      }
-      enum lockedDefectTCM1-down {
-        value 249;
-      }
-      enum lockedDefectTCM2-down {
-        value 250;
-      }
-      enum lockedDefectTCM3-down {
-        value 251;
-      }
-      enum lockedDefectTCM4-down {
-        value 252;
-      }
-      enum lockedDefectTCM5-down {
-        value 253;
-      }
-      enum lockedDefectTCM6-down {
-        value 254;
-      }
-      enum lossofTandemConnectionTCM1-down {
-        value 255;
-      }
-      enum lossofTandemConnectionTCM2-down {
-        value 256;
-      }
-      enum lossofTandemConnectionTCM3-down {
-        value 257;
-      }
-      enum lossofTandemConnectionTCM4-down {
-        value 258;
-      }
-      enum lossofTandemConnectionTCM5-down {
-        value 259;
-      }
-      enum lossofTandemConnectionTCM6-down {
-        value 260;
-      }
-      enum multiplexStructureIdentifierMismatch {
-        value 261;
-        description
-          "G798 : 6.2.9 (dMSIM)";
-      }
-      enum lossOfOmfIndication {
-        value 262;
-        description
-          "G798 : 14.3.10.2 Figure 14-73 (dLOOMFI)";
-      }
-      enum lossOfFrameAndLossOfMultiframe {
-        value 263;
-        description
-          "G798 : 6.2.5.3 (dLOFLOM)";
-      }
-      enum lossOfDatabaseRedundancy {
-        value 264;
-        description
-          "loss of database redundancy";
-      }
-      enum databaseLocked {
-        value 265;
-        description
-          "Database locked";
-      }
-      enum createTechInfoInProgress {
-        value 266;
-        description
-          "create-tech-info in progress";
-      }
-      enum circuitPackActivateFailed {
-        value 267;
-        description
-          "circuit-pack activation failed";
-      }
-      enum softwareSubsystemFailed {
-        value 268;
-        description
-          "Software subsystem failed";
-      }
-      enum diskFull {
-        value 269;
-        description
-          "Disk full";
-      }
-      enum lossOfSignalPayload {
-        value 270;
-        description
-          "Loss Of Signal Payload";
-        reference
-          "G.798 6.2.1.2 dLOS-P, 16.8.2 OTSi/FlexO_A_Sk";
-      }
-      enum lossOfLaneAlignment {
-        value 271;
-        description
-          "Loss Of Lane Alignment";
-        reference
-          "G.798 15.3.1.2 FlexO-n/OTUCn_A_Sk that dLOL if the alignment process is in OLA state;
-           16.7.2 (OTSi/FlexO-1-SC_A_Sk) (G.709.3) & 16.8.2 (OTSiG/FlexO_A_Sk) (G.709.1)
-           that dLOL based on the FEC alignment state diagram";
-      }
-      enum groupIdMismatch {
-        value 272;
-        description
-          "Group Id Mismatch";
-        reference
-          "G.798 dGIDM in Annex B.1.1.2.1; G.798 15.3.1.2 FlexO-n/OTUCn_A_Sk";
-      }
-      enum flexoMapMismatch {
-        value 273;
-        description
-          "FlexO Map Mismatch";
-        reference
-          "G.798 dFMM in Annex B.1.1.2.2; G.798 15.3.1.2 FlexO-n/OTUCn_A_Sk";
-      }
-      enum powerOutOfSpecificationLow {
-        value 274;
-      }
-      enum gfpLossOfFrameDelineation {
-        value 275;
-        description
-          "GFP loss of frame delineation (dLFD G.806:6.2.5.2) is raised when the frame delineation process (clause 6.3.1 of [ITU-T G.7041]) is not in the 'SYNC' state";
-      }
-      enum cmfLossOfSignal {
-        value 276;
-        description
-          "GFP client signal fail (dCSF G.806:6.2.6.4.1) is raised when a GFP frame with correct tHEC, with aPTI = '100' and a valid UPI code 0x01(G.7041: Table 6-4) is received";
-      }
-      enum cmfLossOfSync {
-        value 277;
-        description
-          "GFP client signal fail (dCSF G.806:6.2.6.4.1) is raised when a GFP frame with correct tHEC, with aPTI = '100' and a valid UPI code 0x02(G.7041: Table 6-4) is received";
-      }
-      enum cmfForwardDefectIndication {
-        value 278;
-        description
-          "GFP client signal fail (dCSF G.806:6.2.6.4.1) is raised when a GFP frame with correct tHEC, with aPTI = '100' and a valid UPI code 0x04(G.7041: Table 6-4) is received";
-      }
-      enum cmfReverseDefectIndication {
-        value 279;
-        description
-          "GFP client signal fail (dCSF G.806:6.2.6.4.1) is raised when a GFP frame with correct tHEC, with aPTI = '100' and a valid UPI code 0x05(G.7041: Table 6-4) is received";
-      }
-      enum localDegradedSER {
-        value 280;
-        description
-          "Local Degraded SER";
-        reference
-          "IEEE 802.3-2018  Section 45.2.3.60.1,  IEEE 802.3-2018  Section 119";
-      }
-      enum remoteDegradedSER {
-        value 281;
-        description
-          "Remote Degraded SER";
-        reference
-          "IEEE 802.3-2018  Section 45.2.3.60.2,  IEEE 802.3-2018  Section 119";
-      }
-      enum fecDegradedSER {
-        value 282;
-        description
-          "PCS FEC Degrade SER";
-        reference
-          "IEEE 802.3-2018  Section 119";
-      }
-      enum farEndFaultIndication {
-        value 283;
-        description
-          "Far End Fault Indication";
-        reference
-          "IEEE 802.3-2018 Section 24.3.2.1";
-      }
-    }
-    description
-      "probable cause group";
-  }
-
-  grouping probable-cause {
-    leaf cause {
-      type probable-cause-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-    leaf direction {
-      type org-openroadm-common-alarm-pm-types:direction;
-      mandatory true;
-      description
-        "Direction indication of the alarm.";
-    }
-    leaf location {
-      type org-openroadm-common-alarm-pm-types:location;
-      mandatory true;
-      description
-        "location indication of the alarm.";
-    }
-    leaf type {
-      type enumeration {
-        enum communication {
-          value 1;
-        }
-        enum qualityOfService {
-          value 2;
-        }
-        enum processingError {
-          value 3;
-        }
-        enum equipment {
-          value 4;
-        }
-        enum environmental {
-          value 5;
-        }
-      }
-      mandatory false;
-      description
-        "Type of alarm. Based on X.733 event Type.";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource-types@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-resource-types@2016-10-14.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/ordmodels/common/src/main/yang/org-openroadm-resource-types@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-resource-types@2018-10-19.yang
deleted file mode 100644 (file)
index 765c380..0000000
+++ /dev/null
@@ -1,362 +0,0 @@
-module org-openroadm-resource-types {
-  namespace "http://org/openroadm/resource/types";
-  prefix org-openroadm-resource-types;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  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 - this is used by roadm-connection and odu-connection
-           since they are mutually exclusive in the model";
-      }
-      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";
-      }
-      enum "odu-sncp-pg" {
-        value 14;
-        description
-          "odu-sncp-pg";
-      }
-      enum "line-amplifier" {
-        value 15;
-        description
-          "line-amplifier";
-      }
-      enum "xponder" {
-        value 16;
-        description
-          "xponder";
-      }
-      enum "versioned-service" {
-        value 17;
-        description
-          "versioned-service";
-      }
-      enum "temp-service" {
-        value 18;
-        description
-          "temp-service";
-      }
-    }
-  }
-
-  typedef resource-notification-type {
-    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.";
-      }
-    }
-    description
-      "Type of notification about a resource";
-  }
-
-  grouping resource-type {
-    leaf type {
-      type resource-type-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-  }
-
-  grouping device-id {
-    description
-      "Device identifier. Unique within the Controller.";
-    leaf node-id {
-      type org-openroadm-common-types:node-id-type;
-      description
-        "Node Id is a globally unique identifier for a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      type string;
-      mandatory true;
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      type string;
-      description
-        "Port identifier. Unique within the context of a circuit-pack.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping physical-link-name {
-    leaf physical-link-name {
-      type string;
-      mandatory true;
-      description
-        "Physical Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping internal-link-name {
-    leaf internal-link-name {
-      type string;
-      mandatory true;
-      description
-        "Internal Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping connection-name {
-    leaf connection-name {
-      type string;
-      description
-        "Connection name. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      type uint16;
-      description
-        "Degree identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      type uint16;
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping shelf-name {
-    leaf shelf-name {
-      type string;
-      mandatory true;
-      description
-        "Shelf-id identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping service-name {
-    leaf service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping versioned-service-name {
-    leaf versioned-service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-    leaf version-number {
-      type uint64;
-      mandatory true;
-      description
-        "version-number of the service";
-    }
-  }
-
-  grouping temp-service-name {
-    leaf common-id {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping interface-name {
-    leaf interface-name {
-      type string;
-      mandatory true;
-      description
-        "Interface identifier.";
-    }
-  }
-
-  grouping other-resource-id {
-    leaf other-resource-id {
-      type string;
-      mandatory true;
-      description
-        "resource-id for other.";
-    }
-  }
-
-  grouping odu-sncp-pg-name {
-    leaf odu-sncp-pg-name {
-      type string;
-      mandatory true;
-      description
-        "name of the odu-snc-pg";
-    }
-  }
-
-  grouping amp-number {
-    leaf amp-number {
-      type uint8;
-      mandatory true;
-      description
-        "number of the line-amplifier";
-    }
-  }
-
-  grouping xpdr-number {
-    leaf xpdr-number {
-      type uint16;
-      mandatory true;
-      description
-        "number of the xponder";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-resource-types@2018-11-30.yang
deleted file mode 100644 (file)
index 1dd89df..0000000
+++ /dev/null
@@ -1,370 +0,0 @@
-module org-openroadm-resource-types {
-  namespace "http://org/openroadm/resource/types";
-  prefix org-openroadm-resource-types;
-
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2018-11-30;
-  }
-
-  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,
-      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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  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 - this is used by roadm-connection and odu-connection
-           since they are mutually exclusive in the model";
-      }
-      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";
-      }
-      enum "odu-sncp-pg" {
-        value 14;
-        description
-          "odu-sncp-pg";
-      }
-      enum "line-amplifier" {
-        value 15;
-        description
-          "line-amplifier";
-      }
-      enum "xponder" {
-        value 16;
-        description
-          "xponder";
-      }
-      enum "versioned-service" {
-        value 17;
-        description
-          "versioned-service";
-      }
-      enum "temp-service" {
-        value 18;
-        description
-          "temp-service";
-      }
-    }
-  }
-
-  typedef resource-notification-type {
-    type enumeration {
-      enum "resourceCreation" {
-        value 1;
-        description
-          "A new instance of a resource has been created.";
-      }
-      enum "resourceModification" {
-        value 2;
-        description
-          "An existing 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 highly volatile. ";
-      }
-      enum "resourceDeletion" {
-        value 3;
-        description
-          "An existing instance of a resource has been removed.";
-      }
-    }
-    description
-      "Type of notification about a resource";
-  }
-
-  grouping resource-type {
-    leaf type {
-      type resource-type-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-  }
-
-  grouping device-id {
-    description
-      "Device identifier. Unique within the Controller.";
-    leaf node-id {
-      type org-openroadm-common-node-types:node-id-type;
-      description
-        "Node Id is a globally unique identifier for a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      type string;
-      mandatory true;
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      type string;
-      description
-        "Port identifier. Unique within the context of a circuit-pack.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping physical-link-name {
-    leaf physical-link-name {
-      type string;
-      mandatory true;
-      description
-        "Physical Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping internal-link-name {
-    leaf internal-link-name {
-      type string;
-      mandatory true;
-      description
-        "Internal Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping connection-name {
-    leaf connection-name {
-      type string;
-      description
-        "Connection name. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      type uint16;
-      description
-        "Degree identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      type uint16;
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping shelf-name {
-    leaf shelf-name {
-      type string;
-      mandatory true;
-      description
-        "Shelf-id identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping service-name {
-    leaf service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping versioned-service-name {
-    leaf versioned-service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-    leaf version-number {
-      type uint64;
-      mandatory true;
-      description
-        "version-number of the service";
-    }
-  }
-
-  grouping temp-service-name {
-    leaf common-id {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping interface-name {
-    leaf interface-name {
-      type string;
-      mandatory true;
-      description
-        "Interface identifier.";
-    }
-  }
-
-  grouping other-resource-id {
-    leaf other-resource-id {
-      type string;
-      mandatory true;
-      description
-        "resource-id for other.";
-    }
-  }
-
-  grouping odu-sncp-pg-name {
-    leaf odu-sncp-pg-name {
-      type string;
-      mandatory true;
-      description
-        "name of the odu-snc-pg";
-    }
-  }
-
-  grouping amp-number {
-    leaf amp-number {
-      type uint8;
-      mandatory true;
-      description
-        "number of the line-amplifier";
-    }
-  }
-
-  grouping xpdr-number {
-    leaf xpdr-number {
-      type uint16;
-      mandatory true;
-      description
-        "number of the xponder";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-resource-types@2019-11-29.yang
deleted file mode 100644 (file)
index 1a5bd66..0000000
+++ /dev/null
@@ -1,374 +0,0 @@
-module org-openroadm-resource-types {
-  namespace "http://org/openroadm/resource/types";
-  prefix org-openroadm-resource-types;
-
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  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 - this is used by roadm-connection and odu-connection
-           since they are mutually exclusive in the model";
-      }
-      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";
-      }
-      enum odu-sncp-pg {
-        value 14;
-        description
-          "odu-sncp-pg";
-      }
-      enum line-amplifier {
-        value 15;
-        description
-          "line-amplifier";
-      }
-      enum xponder {
-        value 16;
-        description
-          "xponder";
-      }
-      enum versioned-service {
-        value 17;
-        description
-          "versioned-service";
-      }
-      enum temp-service {
-        value 18;
-        description
-          "temp-service";
-      }
-    }
-  }
-
-  typedef resource-notification-type {
-    type enumeration {
-      enum resourceCreation {
-        value 1;
-        description
-          "A new instance of a resource has been created.";
-      }
-      enum resourceModification {
-        value 2;
-        description
-          "An existing 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 highly volatile. ";
-      }
-      enum resourceDeletion {
-        value 3;
-        description
-          "An existing instance of a resource has been removed.";
-      }
-    }
-    description
-      "Type of notification about a resource";
-  }
-
-  grouping resource-type {
-    leaf type {
-      type resource-type-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-  }
-
-  grouping device-id {
-    description
-      "Device identifier. Unique within the Controller.";
-    leaf node-id {
-      type org-openroadm-common-node-types:node-id-type;
-      description
-        "Node Id is a globally unique identifier for a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      type string;
-      mandatory true;
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      type string;
-      description
-        "Port identifier. Unique within the context of a circuit-pack.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping physical-link-name {
-    leaf physical-link-name {
-      type string;
-      mandatory true;
-      description
-        "Physical Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping internal-link-name {
-    leaf internal-link-name {
-      type string;
-      mandatory true;
-      description
-        "Internal Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping connection-name {
-    leaf connection-name {
-      type string;
-      description
-        "Connection name. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      type uint16;
-      description
-        "Degree identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      type uint16;
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping shelf-name {
-    leaf shelf-name {
-      type string;
-      mandatory true;
-      description
-        "Shelf-id identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping service-name {
-    leaf service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping versioned-service-name {
-    leaf versioned-service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-    leaf version-number {
-      type uint64;
-      mandatory true;
-      description
-        "version-number of the service";
-    }
-  }
-
-  grouping temp-service-name {
-    leaf common-id {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping interface-name {
-    leaf interface-name {
-      type string;
-      mandatory true;
-      description
-        "Interface identifier.";
-    }
-  }
-
-  grouping other-resource-id {
-    leaf other-resource-id {
-      type string;
-      mandatory true;
-      description
-        "resource-id for other.";
-    }
-  }
-
-  grouping odu-sncp-pg-name {
-    leaf odu-sncp-pg-name {
-      type string;
-      mandatory true;
-      description
-        "name of the odu-snc-pg";
-    }
-  }
-
-  grouping amp-number {
-    leaf amp-number {
-      type uint8;
-      mandatory true;
-      description
-        "number of the line-amplifier";
-    }
-  }
-
-  grouping xpdr-number {
-    leaf xpdr-number {
-      type uint16;
-      mandatory true;
-      description
-        "number of the xponder";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource-types@2021-09-24.yang b/ordmodels/common/src/main/yang/org-openroadm-resource-types@2021-09-24.yang
deleted file mode 100644 (file)
index 6af5d37..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-module org-openroadm-resource-types {
-  namespace "http://org/openroadm/resource/types";
-  prefix org-openroadm-resource-types;
-
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2021-05-28;
-  }
-
-  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,
-      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 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  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 - this is used by roadm-connection and odu-connection
-           since they are mutually exclusive in the model";
-      }
-      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";
-      }
-      enum odu-sncp-pg {
-        value 14;
-        description
-          "odu-sncp-pg";
-      }
-      enum line-amplifier {
-        value 15;
-        description
-          "line-amplifier";
-      }
-      enum xponder {
-        value 16;
-        description
-          "xponder";
-      }
-      enum versioned-service {
-        value 17;
-        description
-          "versioned-service";
-      }
-      enum temp-service {
-        value 18;
-        description
-          "temp-service";
-      }
-      enum client-sncp-pg {
-        value 19;
-        description
-          "client-sncp-pg";
-      }
-    }
-  }
-
-  typedef resource-notification-type {
-    type enumeration {
-      enum resourceCreation {
-        value 1;
-        description
-          "A new instance of a resource has been created.";
-      }
-      enum resourceModification {
-        value 2;
-        description
-          "An existing 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 highly volatile. ";
-      }
-      enum resourceDeletion {
-        value 3;
-        description
-          "An existing instance of a resource has been removed.";
-      }
-    }
-    description
-      "Type of notification about a resource";
-  }
-
-  grouping resource-type {
-    leaf type {
-      type resource-type-enum;
-      mandatory true;
-    }
-    leaf extension {
-      type string;
-      mandatory false;
-    }
-  }
-
-  grouping device-id {
-    description
-      "Device identifier. Unique within the Controller.";
-    leaf node-id {
-      type org-openroadm-common-node-types:node-id-type;
-      description
-        "Node Id is a globally unique identifier for a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      type string;
-      mandatory true;
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      type string;
-      description
-        "Port identifier. Unique within the context of a circuit-pack.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping physical-link-name {
-    leaf physical-link-name {
-      type string;
-      mandatory true;
-      description
-        "Physical Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping internal-link-name {
-    leaf internal-link-name {
-      type string;
-      mandatory true;
-      description
-        "Internal Link identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping connection-name {
-    leaf connection-name {
-      type string;
-      description
-        "Connection name. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      type uint16;
-      description
-        "Degree identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      type uint16;
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping shelf-name {
-    leaf shelf-name {
-      type string;
-      mandatory true;
-      description
-        "Shelf-id identifier. Unique within the context of a device.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping service-name {
-    leaf service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping versioned-service-name {
-    leaf versioned-service-name {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-    leaf version-number {
-      type uint64;
-      mandatory true;
-      description
-        "version-number of the service";
-    }
-  }
-
-  grouping temp-service-name {
-    leaf common-id {
-      type string;
-      mandatory true;
-      description
-        "Service identifier. Unique within the context of a network.
-         Same as leafref value in model, if applicable.";
-    }
-  }
-
-  grouping interface-name {
-    leaf interface-name {
-      type string;
-      mandatory true;
-      description
-        "Interface identifier.";
-    }
-  }
-
-  grouping other-resource-id {
-    leaf other-resource-id {
-      type string;
-      mandatory true;
-      description
-        "resource-id for other.";
-    }
-  }
-
-  grouping odu-sncp-pg-name {
-    leaf odu-sncp-pg-name {
-      type string;
-      mandatory true;
-      description
-        "name of the odu-snc-pg";
-    }
-  }
-
-  grouping client-sncp-pg-name {
-    leaf client-sncp-pg-name {
-      type string;
-      mandatory true;
-      description
-        "name of the client-snc-pg";
-    }
-  }
-
-  grouping amp-number {
-    leaf amp-number {
-      type uint8;
-      mandatory true;
-      description
-        "number of the line-amplifier";
-    }
-  }
-
-  grouping xpdr-number {
-    leaf xpdr-number {
-      type uint16;
-      mandatory true;
-      description
-        "number of the xponder";
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-resource@2016-10-14.yang
deleted file mode 100644 (file)
index 6e409e8..0000000
+++ /dev/null
@@ -1,110 +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;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/common/src/main/yang/org-openroadm-resource@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-resource@2018-10-19.yang
deleted file mode 100644 (file)
index 7baff87..0000000
+++ /dev/null
@@ -1,156 +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;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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-name {
-            refine "connection-name" {
-              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;
-        }
-        case odu-sncp-pg {
-          uses org-openroadm-resource-types:odu-sncp-pg-name;
-        }
-        case other {
-          uses org-openroadm-resource-types:other-resource-id;
-        }
-        case device {
-          uses org-openroadm-resource-types:device-id {
-            refine "node-id" {
-              mandatory true;
-            }
-          }
-        }
-        case line-amplifier {
-          uses org-openroadm-resource-types:amp-number;
-        }
-        case xponder {
-          uses org-openroadm-resource-types:xpdr-number;
-        }
-        case versioned-service {
-          uses org-openroadm-resource-types:versioned-service-name;
-        }
-        case temp-service {
-          uses org-openroadm-resource-types:temp-service-name;
-        }
-      }
-    }
-    container resourceType {
-      uses org-openroadm-resource-types:resource-type;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource@2019-05-31.yang b/ordmodels/common/src/main/yang/org-openroadm-resource@2019-05-31.yang
deleted file mode 100644 (file)
index 9bbac77..0000000
+++ /dev/null
@@ -1,350 +0,0 @@
-module org-openroadm-resource {
-  namespace "http://org/openroadm/resource";
-  prefix org-openroadm-resource;
-
-  import org-openroadm-interfaces {
-    prefix org-openroadm-interfaces;
-    revision-date 2019-05-31;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2018-11-30;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2019-03-29;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2018-11-30;
-  }
-
-  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,
-      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 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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. ";
-    }
-  }
-
-  grouping mc-ttp-attributes {
-    description
-      "Media channel termination point. Models bandwidth allocation in physical media. Network media channels may be provisioned in the spectrum characterized by the frequency limits.";
-    leaf min-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Minimum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-    leaf max-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Maximum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-  }
-
-  grouping nmc-ctp-attributes {
-    description
-      "Network Media Channel attributes";
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Center Frequency in THz.  This is not constrained by mc-capabilities.  It must fit (when combined with width) inside any containing media channel.";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config true;
-      description
-        "Frequency width in GHz.  This is not constrained by mc-capabilities.  It must fit (when combined with frequency) inside any containing media channel.";
-    }
-  }
-
-  grouping och-attributes {
-    description
-      "Optical Channel attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:och-rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "Center Frequency in THz.";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config false;
-      description
-        "Frequency width in GHz.";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-optical-channel-types:modulation-format;
-      description
-        "Modulation format";
-    }
-  }
-
-  grouping odu-attributes {
-    description
-      "ODU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "rate identity of the ODU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    container parent-odu-allocation {
-      description
-        "parent odu allocation";
-      leaf trib-port-number {
-        type uint16 {
-          range "1 .. 80";
-        }
-        description
-          "Assigned tributary port number in parent OPU";
-      }
-      leaf-list trib-slots {
-        type uint16 {
-          range "1 .. 80";
-        }
-        min-elements 1;
-        max-elements "80";
-        description
-          "Assigned trib slots occupied in parent OPU MSI";
-      }
-    }
-  }
-
-  grouping otu-attributes {
-    description
-      "OTU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:otu-rate-identity;
-      }
-      description
-        "rate identity of the OTU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-  }
-
-  grouping resource-reporting {
-    leaf type {
-      type identityref {
-        base org-openroadm-interfaces:interface-type;
-      }
-      mandatory true;
-      description
-        "The type of the interface.";
-    }
-    container ethernet {
-      when "../type = 'ethernetCsmacd'";
-      description
-        "Ethernet Interfaces";
-      uses eth-attributes;
-    }
-    container mc-ttp {
-      when "../type = 'mediaChannelTrailTerminationPoint'";
-      description
-        "Media Channel Trail Termination Point (MC-TTP)";
-      uses mc-ttp-attributes;
-    }
-    container nmc-ctp {
-      when "../type = 'networkMediaChannelConnectionTerminationPoint'";
-      description
-        "Network Media Channel Connection Termination Point (NMC-CTP)";
-      uses nmc-ctp-attributes;
-    }
-    container och {
-      when "../type = 'opticalChannel'";
-      description
-        "Optical Channel (OCh):
-         Models the optical channel interfaces for an Optical White Box.";
-      uses och-attributes;
-    }
-    container odu {
-      when "../type = 'otnOdu'";
-      presence "Attribute Nodes for Optical Data Unit (ODU)";
-      description
-        "Optical Channel Data Unit (ODU)";
-      uses odu-attributes;
-    }
-    container otu {
-      when "../type = 'otnOtu'";
-      description
-        "Optical Channel Transport Unit (OTU)";
-      uses otu-attributes;
-    }
-  }
-
-  grouping resource {
-    description
-      "This resource identifier is intended to provide a generic identifier
-       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-name {
-            refine "connection-name" {
-              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;
-        }
-        case odu-sncp-pg {
-          uses org-openroadm-resource-types:odu-sncp-pg-name;
-        }
-        case other {
-          uses org-openroadm-resource-types:other-resource-id;
-        }
-        case device {
-          uses org-openroadm-resource-types:device-id {
-            refine "node-id" {
-              mandatory true;
-            }
-          }
-        }
-        case line-amplifier {
-          uses org-openroadm-resource-types:amp-number;
-        }
-        case xponder {
-          uses org-openroadm-resource-types:xpdr-number;
-        }
-        case versioned-service {
-          uses org-openroadm-resource-types:versioned-service-name;
-        }
-        case temp-service {
-          uses org-openroadm-resource-types:temp-service-name;
-        }
-      }
-    }
-    container resourceType {
-      uses org-openroadm-resource-types:resource-type;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource@2020-05-29.yang b/ordmodels/common/src/main/yang/org-openroadm-resource@2020-05-29.yang
deleted file mode 100644 (file)
index d8c2b42..0000000
+++ /dev/null
@@ -1,366 +0,0 @@
-module org-openroadm-resource {
-  namespace "http://org/openroadm/resource";
-  prefix org-openroadm-resource;
-
-  import org-openroadm-interfaces {
-    prefix org-openroadm-interfaces;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-      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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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. ";
-    }
-  }
-
-  grouping mc-ttp-attributes {
-    description
-      "Media channel termination point. Models bandwidth allocation in physical media. Network media channels may be provisioned in the spectrum characterized by the frequency limits.";
-    leaf min-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Minimum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-    leaf max-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Maximum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-  }
-
-  grouping nmc-ctp-attributes {
-    description
-      "Network Media Channel attributes";
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Center Frequency in THz.  This is not constrained by mc-capabilities.  It must fit (when combined with width) inside any containing media channel.";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config true;
-      description
-        "Frequency width in GHz.  This is not constrained by mc-capabilities.  It must fit (when combined with frequency) inside any containing media channel.";
-    }
-  }
-
-  grouping och-attributes {
-    description
-      "Optical Channel attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:och-rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "Center Frequency in THz.";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config false;
-      description
-        "Frequency width in GHz.";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-optical-channel-types:modulation-format;
-      description
-        "Modulation format";
-    }
-  }
-
-  grouping odu-attributes {
-    description
-      "ODU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "rate identity of the ODU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    container parent-odu-allocation {
-      description
-        "parent odu allocation";
-      leaf trib-port-number {
-        type uint16 {
-          range "1 .. 80";
-        }
-        description
-          "Assigned tributary port number in parent OPU";
-      }
-      leaf-list trib-slots {
-        type uint16 {
-          range "1 .. 80";
-        }
-        min-elements 1;
-        max-elements 80;
-        description
-          "Assigned trib slots occupied in parent OPU MSI";
-      }
-    }
-  }
-
-  grouping otu-attributes {
-    description
-      "OTU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:otu-rate-identity;
-      }
-      description
-        "rate identity of the OTU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-  }
-
-  grouping resource-reporting {
-    leaf type {
-      type identityref {
-        base org-openroadm-interfaces:interface-type;
-      }
-      mandatory true;
-      description
-        "The type of the interface.";
-    }
-    container ethernet {
-      when "../type = 'ethernetCsmacd'";
-      description
-        "Ethernet Interfaces";
-      uses eth-attributes;
-    }
-    container mc-ttp {
-      when "../type = 'mediaChannelTrailTerminationPoint'";
-      description
-        "Media Channel Trail Termination Point (MC-TTP)";
-      uses mc-ttp-attributes;
-    }
-    container nmc-ctp {
-      when "../type = 'networkMediaChannelConnectionTerminationPoint'";
-      description
-        "Network Media Channel Connection Termination Point (NMC-CTP)";
-      uses nmc-ctp-attributes;
-    }
-    container och {
-      when "../type = 'opticalChannel'";
-      description
-        "Optical Channel (OCh):
-         Models the optical channel interfaces for an Optical White Box.";
-      uses och-attributes;
-    }
-    container odu {
-      when "../type = 'otnOdu'";
-      presence "Attribute Nodes for Optical Data Unit (ODU)";
-      description
-        "Optical Channel Data Unit (ODU)";
-      uses odu-attributes;
-    }
-    container otu {
-      when "../type = 'otnOtu'";
-      description
-        "Optical Channel Transport Unit (OTU)";
-      uses otu-attributes;
-    }
-  }
-
-  grouping resource {
-    description
-      "This resource identifier is intended to provide a generic identifier
-       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-name {
-            refine "connection-name" {
-              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;
-        }
-        case odu-sncp-pg {
-          uses org-openroadm-resource-types:odu-sncp-pg-name;
-        }
-        case other {
-          uses org-openroadm-resource-types:other-resource-id;
-        }
-        case device {
-          uses org-openroadm-resource-types:device-id {
-            refine "node-id" {
-              mandatory true;
-            }
-          }
-        }
-        case line-amplifier {
-          uses org-openroadm-resource-types:amp-number;
-        }
-        case xponder {
-          uses org-openroadm-resource-types:xpdr-number;
-        }
-        case versioned-service {
-          uses org-openroadm-resource-types:versioned-service-name;
-        }
-        case temp-service {
-          uses org-openroadm-resource-types:temp-service-name;
-        }
-      }
-    }
-    container resourceType {
-      uses org-openroadm-resource-types:resource-type;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource@2021-12-10.yang b/ordmodels/common/src/main/yang/org-openroadm-resource@2021-12-10.yang
deleted file mode 100644 (file)
index 173f4b4..0000000
+++ /dev/null
@@ -1,551 +0,0 @@
-module org-openroadm-resource {
-  namespace "http://org/openroadm/resource";
-  prefix org-openroadm-resource;
-
-  import org-openroadm-interfaces {
-    prefix org-openroadm-interfaces;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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. ";
-    }
-  }
-
-  grouping mc-ttp-attributes {
-    description
-      "Media channel termination point. Models bandwidth allocation in physical media. Network media channels may be provisioned in the spectrum characterized by the frequency limits.";
-    leaf min-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Minimum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-    leaf max-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Maximum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-  }
-
-  grouping nmc-ctp-attributes {
-    description
-      "Network Media Channel attributes";
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Center Frequency in THz.  This is not constrained by mc-capabilities.  It must fit (when combined with width) inside any containing media channel.";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config true;
-      description
-        "Frequency width in GHz.  This is not constrained by mc-capabilities.  It must fit (when combined with frequency) inside any containing media channel.";
-    }
-  }
-
-  grouping common-och-otsi-attributes {
-    description
-      "Optical Channel and otsi common attributes";
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "Center Frequency in THz.";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      description
-        "Frequency width in GHz.";
-    }
-    leaf optical-operational-mode {
-      type string;
-      description
-        "The path was calculated according to the supported operational modes.
-         Selected mode can be either a specific or an openROADM operational-mode";
-    }
-  }
-  
-  grouping path-computation-outputs {
-       description
-         "Parameters resulting of path computation";
-    leaf rx-estimated-osnr {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "estimated OSNR for the path";
-    }
-    leaf rx-estimated-gsnr {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "estimated Generalized SNR (including non linear impairments) for the path";
-    }
-    leaf max-output-power {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "maximum output-power";
-    }
-    leaf min-output-power {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "minimum output-power";
-    }
-  }
-
-  grouping och-attributes {
-    description
-      "Optical Channel attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:och-rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-optical-channel-types:modulation-format;
-      description
-        "Modulation format";
-    }
-    uses common-och-otsi-attributes;
-  }
-
-  grouping odu-attributes {
-    description
-      "ODU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "rate identity of the ODU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    leaf oducn-n-rate {
-      when "../rate = 'org-openroadm-otn-common-types:ODUCn'";
-      type uint16;
-      description
-        "ODUCn rate";
-    }
-    leaf oduflex-cbr-service {
-      type identityref {
-        base org-openroadm-otn-common-types:ODUflex-cbr-identity;
-      }
-      description
-        "ODUflex for CBR client signals (G.709)";
-    }
-    leaf oduflex-gfp-num-ts {
-      type uint16;
-      description
-        "For ODUflex GFP-F mapped client signals (G.709), the number of
-         tributary slot as per G.709 Table 7-8";
-    }
-    leaf oduflex-gfp-ts-bandwidth {
-      type uint16;
-      description
-        "The tributary slot minimum bit rates in the approximated value [Mbps]
-         given ODUflex (GFP) 100 ppm (G.709 Table 7-8) :
-           1249 Mbps [1 249 052.312 277 kbps] (n = 1 to 8) (ODU2.ts)
-           1254 Mbps [1 254 344.906 9646 kbps] (n = 9 to 32) ODU3.ts)
-           1301 Mbps [1 301 336.986 2867 kbps] (n = 33 to 80) (ODU4.ts)";
-    }
-    leaf oduflex-imp-s {
-      type uint16;
-      description
-        "For ODUflex IMP (Idle insertion Mapping Procedure) mapped client signals,
-         s = 2, 8, n x 5 with N >= 1 (G.709 12.2.6 & Table 7-3)";
-    }
-    leaf oduflex-flexe-n {
-      type uint16;
-      description
-        "For ODUflex for FlexE-aware client signals, n in the range of 1 to 20*254
-         (G.709 17.12)";
-    }
-    container parent-odu-allocation {
-      description
-        "parent odu allocation";
-      leaf trib-port-number {
-        type uint16 {
-          range "1 .. 80";
-        }
-        description
-          "Assigned tributary port number in parent OPU";
-      }
-      choice trib-slots-choice {
-        description
-          "trib slot selection";
-        case opu {
-          leaf-list trib-slots {
-            type uint16 {
-              range "1 .. 80";
-            }
-            min-elements 1;
-            max-elements 80;
-            description
-              "Assigned trib slots occupied in parent OPU MSI";
-          }
-        }
-        case opucn {
-          leaf-list opucn-trib-slots {
-            type org-openroadm-otn-common-types:opucn-trib-slot-def;
-            description
-              "Specify the list of OPUCn 5G tributary slots in the form of
-               TS #A.B (G.709 Figure 20-9) in the case of provisioning the low
-                order ODUk to the parent server ODUCn";
-          }
-        }
-      }
-    }
-  }
-
-  grouping otu-attributes {
-    description
-      "OTU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:otu-rate-identity;
-      }
-      description
-        "rate identity of the OTU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    leaf otu4-member-id {
-      when "../rate = 'org-openroadm-otn-common-types:OTU4'";
-      type uint16;
-      description
-        "To uniquely identify each member of an OTSi group and the order of each member in the group.
-         Similar to FlexO PHY-ID in the FlexO Group (PID in G.709.1/3)";
-    }
-    leaf otucn-n-rate {
-      when "../rate = 'org-openroadm-otn-common-types:OTUCn'";
-      type uint16;
-      description
-        "Specify the N associated with OTUCn, e.g. N = 2,3,4 for 200G/300G/400G respectively";
-    }
-    leaf otucn-M-subrate {
-      when "../rate = 'org-openroadm-otn-common-types:OTUCn'";
-      type uint16;
-      description
-        "OTUCn subrate (OTUCn-M), value of M specifies the number of active
-         5 Gbit/s OPUCn tributary slots (G.709 Annex H)";
-    }
-  }
-
-  grouping otsi-attributes {
-    description
-      "Optical Channel attributes";
-    leaf otsi-rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:otsi-rate-identity;
-      }
-      description
-        "OTSi rate";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-optical-channel-types:modulation-format;
-      description
-        "Modulation format";
-    }
-    uses common-och-otsi-attributes;
-  }
-
-  grouping otsi-group-attributes {
-    description
-      "Optical Channel attributes";
-    leaf group-rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:otsi-rate-identity;
-      }
-      description
-        "Supported group rate";
-    }
-    leaf group-id {
-      type uint32;
-      description
-        "Mandatory for FlexO B100G.  Not required for Non-FlexO B100G.";
-    }
-  }
-
-  grouping resource-reporting {
-    leaf type {
-      type identityref {
-        base org-openroadm-interfaces:interface-type;
-      }
-      mandatory true;
-      description
-        "The type of the interface.";
-    }
-    container ethernet {
-      when "../type = 'ethernetCsmacd'";
-      description
-        "Ethernet Interfaces";
-      uses eth-attributes;
-    }
-    container mc-ttp {
-      when "../type = 'mediaChannelTrailTerminationPoint'";
-      description
-        "Media Channel Trail Termination Point (MC-TTP)";
-      uses mc-ttp-attributes;
-    }
-    container nmc-ctp {
-      when "../type = 'networkMediaChannelConnectionTerminationPoint'";
-      description
-        "Network Media Channel Connection Termination Point (NMC-CTP)";
-      uses nmc-ctp-attributes;
-    }
-    container och {
-      when "../type = 'opticalChannel'";
-      description
-        "Optical Channel (OCh):
-         Models the optical channel interfaces for an Optical White Box.";
-      uses och-attributes;
-    }
-    container odu {
-      when "../type = 'otnOdu'";
-      presence "Attribute Nodes for Optical Data Unit (ODU)";
-      description
-        "Optical Channel Data Unit (ODU)";
-      uses odu-attributes;
-    }
-    container otu {
-      when "../type = 'otnOtu'";
-      description
-        "Optical Channel Transport Unit (OTU)";
-      uses otu-attributes;
-    }
-    container otsi {
-      when "../type = 'otsi'";
-      description
-        "OTSI";
-      uses otsi-attributes;
-    }
-    container otsi-group {
-      when "../type = 'otsi-group'";
-      description
-        "OTSI-Group";
-      uses otsi-group-attributes;
-    }
-  }
-
-  grouping resource {
-    description
-      "This resource identifier is intended to provide a generic identifier
-       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-name {
-            refine "connection-name" {
-              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;
-        }
-        case odu-sncp-pg {
-          uses org-openroadm-resource-types:odu-sncp-pg-name;
-        }
-        case client-sncp-pg {
-          uses org-openroadm-resource-types:client-sncp-pg-name;
-        }
-        case other {
-          uses org-openroadm-resource-types:other-resource-id;
-        }
-        case device {
-          uses org-openroadm-resource-types:device-id {
-            refine "node-id" {
-              mandatory true;
-            }
-          }
-        }
-        case line-amplifier {
-          uses org-openroadm-resource-types:amp-number;
-        }
-        case xponder {
-          uses org-openroadm-resource-types:xpdr-number;
-        }
-        case versioned-service {
-          uses org-openroadm-resource-types:versioned-service-name;
-        }
-        case temp-service {
-          uses org-openroadm-resource-types:temp-service-name;
-        }
-      }
-    }
-    container resourceType {
-      uses org-openroadm-resource-types:resource-type;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-service-format@2019-05-31.yang b/ordmodels/common/src/main/yang/org-openroadm-service-format@2019-05-31.yang
deleted file mode 100644 (file)
index 32bff7d..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-module org-openroadm-service-format {
-  namespace "http://org/openroadm/service-format";
-  prefix org-openroadm-service-format;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of service format.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-
-  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;
-      }
-      enum "other" {
-        value 8;
-        description
-          "Used in bookending use case when service-format is not standardized by the Open ROADM MSA.
-           When set to other, the specific service format/rate is specified by other-service-format-and-rate";
-      }
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-service-format@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-service-format@2019-11-29.yang
deleted file mode 100644 (file)
index a2dedcb..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-module org-openroadm-service-format {
-  namespace "http://org/openroadm/service-format";
-  prefix org-openroadm-service-format;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of service format.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-
-  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;
-      }
-      enum other {
-        value 8;
-        description
-          "Used in bookending use case when service-format is not standardized by the Open ROADM MSA.
-           When set to other, the specific service format/rate is specified by other-service-format-and-rate";
-      }
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2017-12-15.yang b/ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2017-12-15.yang
deleted file mode 100644 (file)
index 10cff01..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-module org-openroadm-switching-pool-types {
-  namespace "http://org/openroadm/switching-pool-types";
-  prefix org-openroadm-switching-pool-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,
-      * 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-12-15 {
-    description
-      "Version 2.2";
-  }
-
-  typedef switching-pool-types {
-    type enumeration {
-      enum "non-blocking" {
-        value 1;
-        description
-          "Single non-blocking element";
-      }
-      enum "blocking" {
-        value 2;
-        description
-          "Multiple connected non-blocking lists";
-      }
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2018-11-30.yang b/ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2018-11-30.yang
deleted file mode 100644 (file)
index 0817cee..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-module org-openroadm-switching-pool-types {
-  namespace "http://org/openroadm/switching-pool-types";
-  prefix org-openroadm-switching-pool-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,
-      All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      * 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 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-
-  typedef switching-pool-types {
-    type enumeration {
-      enum "non-blocking" {
-        value 1;
-        description
-          "Single non-blocking element";
-      }
-      enum "blocking" {
-        value 2;
-        description
-          "Multiple connected non-blocking lists";
-      }
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-switching-pool-types@2019-11-29.yang
deleted file mode 100644 (file)
index a698a3f..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-module org-openroadm-switching-pool-types {
-  namespace "http://org/openroadm/switching-pool-types";
-  prefix org-openroadm-switching-pool-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,
-      All other rights reserved.
-
-      Redistribution and use in source and binary forms, with or without modification,
-      * 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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-
-  typedef switching-pool-types {
-    type enumeration {
-      enum non-blocking {
-        value 1;
-        description
-          "Single non-blocking element";
-      }
-      enum blocking {
-        value 2;
-        description
-          "Multiple connected non-blocking lists";
-      }
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-tca@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-tca@2016-10-14.yang
deleted file mode 100644 (file)
index 791c349..0000000
+++ /dev/null
@@ -1,123 +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;
-    revision-date 2016-10-14;
-  }
-  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/ordmodels/common/src/main/yang/org-openroadm-tca@2018-10-19.yang b/ordmodels/common/src/main/yang/org-openroadm-tca@2018-10-19.yang
deleted file mode 100644 (file)
index 969a666..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-module org-openroadm-tca {
-  namespace "http://org/openroadm/tca";
-  prefix org-openroadm-tca;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-pm-types {
-    prefix org-openroadm-pm-types;
-    revision-date 2017-12-15;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-08-28 {
-    description
-      "Version 2.0.2 - added back the missing pmParameterName container";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping tca {
-    leaf id {
-      type string;
-      mandatory true;
-    }
-    container resource {
-      uses org-openroadm-resource:resource;
-    }
-    container pmParameterName {
-      uses org-openroadm-pm-types:pm-names;
-    }
-    leaf granularity {
-      type org-openroadm-pm-types:pm-granularity;
-      mandatory true;
-    }
-    leaf location {
-      type org-openroadm-common-types:location;
-      mandatory true;
-    }
-    leaf direction {
-      type org-openroadm-common-types:direction;
-      mandatory true;
-    }
-  }
-
-  grouping potential-tca {
-    uses tca;
-    leaf lowThresholdValue {
-      type org-openroadm-pm-types:pm-data-type;
-    }
-    leaf highThresholdValue {
-      type org-openroadm-pm-types:pm-data-type;
-    }
-  }
-
-  notification tca-notification {
-    uses tca;
-    leaf thresholdValue {
-      type org-openroadm-pm-types:pm-data-type;
-      mandatory true;
-    }
-    leaf thresholdType {
-      type enumeration {
-        enum "high" {
-          value 1;
-        }
-        enum "low" {
-          value 2;
-        }
-      }
-      mandatory true;
-      description
-        "Threshold Crossed";
-    }
-    leaf pmParameterValue {
-      type org-openroadm-pm-types:pm-data-type;
-      mandatory true;
-    }
-    leaf raiseTime {
-      type yang:date-and-time;
-      mandatory true;
-    }
-  }
-  container potential-tca-list {
-    description
-      "This is the set of threshold crossing alerts monitored on the device. Alerts are
-       enabled/disabled by adding/deleting the high/low threshold values from the list.";
-    list tca {
-      key "id";
-      uses potential-tca;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-tca@2020-03-27.yang b/ordmodels/common/src/main/yang/org-openroadm-tca@2020-03-27.yang
deleted file mode 100644 (file)
index 9e6c853..0000000
+++ /dev/null
@@ -1,284 +0,0 @@
-module org-openroadm-tca {
-  namespace "http://org/openroadm/tca";
-  prefix org-openroadm-tca;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-alarm-pm-types {
-    prefix org-openroadm-common-alarm-pm-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-pm-types {
-    prefix org-openroadm-pm-types;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-      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 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-08-28 {
-    description
-      "Version 2.0.2 - added back the missing pmParameterName container";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef threshold-enum {
-    type enumeration {
-      enum high {
-        value 1;
-        description
-          "enum value for high";
-      }
-      enum low {
-        value 2;
-        description
-          "enum value for low";
-      }
-    }
-    description
-      "typedef for threshold enum";
-  }
-
-  grouping tca-resource-grp {
-    description
-      "group for TCA resources";
-    leaf tca-resource-instance {
-      type instance-identifier;
-      mandatory true;
-      description
-        "Retrieves all TCA assciated with the resource instance";
-    }
-    leaf tca-resource-type {
-      type org-openroadm-resource-types:resource-type-enum;
-      mandatory true;
-      description
-        "The supported tca-resource type associated with the given resource instance.";
-    }
-    leaf tca-resource-type-extension {
-      type string;
-      mandatory true;
-      description
-        "The resource type extension when the type is not defined in the resource-type-enum.";
-    }
-  }
-
-  grouping current-tca-group {
-    description
-      "TCA Data with current values";
-    uses tca-resource-grp;
-    leaf enabled {
-      type boolean;
-      mandatory true;
-      description
-        "Enable for the TCA entry";
-    }
-    list pm-entry {
-      key "type extension location direction";
-      description
-        "List of PM entries";
-      uses current-tca-pm-val-group;
-    }
-  }
-
-  grouping current-tca-pm-val-group {
-    description
-      "Grouping for the TCA PM";
-    uses org-openroadm-pm-types:pm-names;
-    leaf location {
-      type org-openroadm-common-alarm-pm-types:location;
-      description
-        "Location PM type";
-    }
-    leaf direction {
-      type org-openroadm-common-alarm-pm-types:direction;
-      description
-        "Direction PM type";
-    }
-    list measurement {
-      key "granularity threshold-type";
-      description
-        "List for PM measurement";
-      leaf granularity {
-        type org-openroadm-pm-types:pm-granularity;
-        description
-          "Granularity for the PM entry";
-      }
-      leaf threshold-type {
-        type threshold-enum;
-        description
-          "Threshold enum type";
-      }
-      leaf enabled {
-        type boolean;
-        description
-          "Measurement enabled";
-      }
-      leaf threshold-value {
-        type org-openroadm-pm-types:pm-data-type;
-        mandatory true;
-        description
-          "Threshold value";
-      }
-      leaf threshold-default {
-        type org-openroadm-pm-types:pm-data-type;
-        config false;
-        description
-          "Threshold default value";
-      }
-    }
-  }
-
-  notification tca-notification {
-    description
-      "TCA notification";
-    uses tca-resource-grp;
-    leaf pm-type {
-      type org-openroadm-pm-types:pm-names-enum;
-      mandatory true;
-      description
-        "PM type";
-    }
-    leaf pm-extension {
-      type string;
-      mandatory true;
-      description
-        "PM extension";
-    }
-    leaf pm-location {
-      type org-openroadm-common-alarm-pm-types:location;
-      mandatory true;
-      description
-        "PM location";
-    }
-    leaf pm-direction {
-      type org-openroadm-common-alarm-pm-types:direction;
-      mandatory true;
-      description
-        "PM direction";
-    }
-    leaf pm-granularity {
-      type org-openroadm-pm-types:pm-granularity;
-      mandatory true;
-      description
-        "PM granularity";
-    }
-    leaf threshold-value {
-      type org-openroadm-pm-types:pm-data-type;
-      mandatory true;
-      description
-        "threshold value";
-    }
-    leaf threshold-type {
-      type threshold-enum;
-      mandatory true;
-      description
-        "Threshold Crossed";
-    }
-    leaf pm-value {
-      type org-openroadm-pm-types:pm-data-type;
-      mandatory true;
-      description
-        "PM Value";
-    }
-    leaf raise-time {
-      type yang:date-and-time;
-      mandatory true;
-      description
-        "PM raise time";
-    }
-  }
-
-  container potential-tca-list {
-    description
-      "List of current TCAs.";
-    list tca-entry {
-      key "tca-resource-type tca-resource-type-extension tca-resource-instance";
-      description
-        "List of current TCA entries";
-      uses current-tca-group;
-    }
-  }
-}
diff --git a/ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2016-10-14.yang b/ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2016-10-14.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/ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2017-12-15.yang b/ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2017-12-15.yang
deleted file mode 100644 (file)
index cf55c1b..0000000
+++ /dev/null
@@ -1,153 +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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef username-type {
-    type string {
-      length "3..32";
-      pattern "[a-z][a-z0-9]{2,31}" {
-        error-message
-          "A username must begin with a lowercase letter, The remainder
-           of the string may contain lowercase letters, or numbers 0 through 9.";
-      }
-    }
-    description
-      "The user name string identifying this entry.";
-  }
-
-  typedef password-type {
-    type string {
-      length "8..128";
-      pattern "[a-zA-Z0-9!$%\\^()\\[\\]_\\-~{}.+]*" {
-        error-message "Password content does not meet the requirements";
-      }
-    }
-    description
-      "The password for this entry. This shouldn't be in clear text
-       The Password must contain at least 2 characters from
-       each of the following groups:
-       a) Lower case alphabetic (a-z)
-       b) Upper case alphabetic (A-Z)
-       c) Numeric 0-9
-       d) Special characters Allowed !$%^()[]_-~{}.+
-       Password must not contain Username.";
-  }
-
-  grouping user-profile {
-    list user {
-      key "name";
-      description
-        "The list of local users configured on this device.";
-      leaf name {
-        type username-type;
-        description
-          "The user name string identifying this entry.";
-      }
-      leaf password {
-        type password-type;
-        description
-          "The password for this entry.";
-      }
-      leaf group {
-        type enumeration {
-          enum "sudo";
-        }
-        description
-          "The group to which the user is associated to.";
-      }
-    }
-  }
-
-  rpc chg-password {
-    input {
-      leaf currentPassword {
-        type password-type;
-        mandatory true;
-        description
-          "provide the current password";
-      }
-      leaf newPassword {
-        type password-type;
-        mandatory true;
-        description
-          "provide a new password";
-      }
-      leaf newPasswordConfirm {
-        type password-type;
-        mandatory true;
-        description
-          "re-enter the new password ";
-      }
-    }
-    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/ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2019-11-29.yang b/ordmodels/common/src/main/yang/org-openroadm-user-mgmt@2019-11-29.yang
deleted file mode 100644 (file)
index 846250f..0000000
+++ /dev/null
@@ -1,161 +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,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  typedef username-type {
-    type string {
-      length "3..32";
-      pattern '[a-z][a-z0-9]{2,31}' {
-        error-message
-          "A username must begin with a lowercase letter, The remainder
-           of the string may contain lowercase letters, or numbers 0 through 9.";
-      }
-    }
-    description
-      "The user name string identifying this entry.";
-  }
-
-  typedef password-type {
-    type string {
-      length "8..128";
-      pattern '[a-zA-Z0-9!$%\^()\[\]_\-~{}.+]*' {
-        error-message "Password content does not meet the requirements";
-      }
-    }
-    description
-      "The password for this entry. This shouldn't be in clear text
-       The Password must contain at least 2 characters from
-       each of the following groups:
-       a) Lower case alphabetic (a-z)
-       b) Upper case alphabetic (A-Z)
-       c) Numeric 0-9
-       d) Special characters Allowed !$%^()[]_-~{}.+
-       Password must not contain Username.";
-  }
-
-  grouping user-profile {
-    list user {
-      key "name";
-      description
-        "The list of local users configured on this device.";
-      leaf name {
-        type username-type;
-        description
-          "The user name string identifying this entry.";
-      }
-      leaf password {
-        type password-type;
-        description
-          "The password for this entry.";
-      }
-      leaf group {
-        type enumeration {
-          enum sudo;
-        }
-        description
-          "The group to which the user is associated to.";
-      }
-    }
-  }
-
-  rpc chg-password {
-    input {
-      leaf currentPassword {
-        type password-type;
-        mandatory true;
-        description
-          "provide the current password";
-      }
-      leaf newPassword {
-        type password-type;
-        mandatory true;
-        description
-          "provide a new password";
-      }
-      leaf newPasswordConfirm {
-        type password-type;
-        mandatory true;
-        description
-          "re-enter the new password ";
-      }
-    }
-    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/ordmodels/device/pom.xml b/ordmodels/device/pom.xml
deleted file mode 100644 (file)
index 8a385da..0000000
+++ /dev/null
@@ -1,90 +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>10.0.2</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce.ordmodels</groupId>
-  <artifactId>transportpce-ordmodels-device</artifactId>
-  <version>6.0.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.opendaylight.netconf</groupId>
-        <artifactId>netconf-artifacts</artifactId>
-        <version>4.0.2</version>
-        <scope>import</scope>
-        <type>pom</type>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.opendaylight.transportpce.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.yangtools</groupId>
-      <artifactId>yang-common</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc6991-ietf-inet-types</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc6991-ietf-yang-types</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.netconf.model</groupId>
-      <artifactId>rfc6241</artifactId>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <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.http.org.openroadm.device.rev170206.internal.link,
-              org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.internal.links,*
-            </_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>
-</project>
diff --git a/ordmodels/device/src/main/resources/NOTICE b/ordmodels/device/src/main/resources/NOTICE
deleted file mode 100644 (file)
index 4c95811..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-This work includes YANG models developed by the OpenConfig working group
-and originally published under the Apache License Version 2.
-A copy of the original license can be found in the file openconfig.LICENSE
-
-More details at the http://www.openconfig.net/ web site.
-
-OpenConfig models license is usually not mentioned in their YANG description
-field. Exceptions include models derived from the IETF works and originally
-published under the IETF license.
diff --git a/ordmodels/device/src/main/resources/openconfig.LICENSE b/ordmodels/device/src/main/resources/openconfig.LICENSE
deleted file mode 100644 (file)
index 8f71f43..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "{}"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright {yyyy} {name of copyright owner}
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
diff --git a/ordmodels/device/src/main/yang/iana-afn-safi@2013-07-04.yang b/ordmodels/device/src/main/yang/iana-afn-safi@2013-07-04.yang
deleted file mode 100644 (file)
index c076260..0000000
+++ /dev/null
@@ -1,526 +0,0 @@
-module iana-afn-safi {
-  namespace "urn:ietf:params:xml:ns:yang:iana-afn-safi";
-  prefix "ianaaf";
-
-  organization
-    "IANA";
-  contact
-    "        Internet Assigned Numbers Authority
-
-     Postal: ICANN
-             4676 Admiralty Way, Suite 330
-             Marina del Rey, CA 90292
-
-     Tel:    +1 310 823 9358
-     E-Mail: iana&iana.org";
-  description
-    "This YANG module provides two typedefs containing YANG
-     definitions for the following IANA-registered enumerations:
-
-     - Address Family Numbers (AFN)
-
-     - Subsequent Address Family Identifiers (SAFI)
-
-     The latest revision of this YANG module can be obtained from the
-     IANA web site.
-
-     Copyright (c) 2012 IETF Trust and the persons identified as
-     authors of the code. All rights reserved.
-
-     Redistribution and use in source and binary forms, with or
-     without modification, is permitted pursuant to, and subject to
-     the license terms contained in, the Simplified BSD License set
-     forth in Section 4.c of the IETF Trust's Legal Provisions
-     Relating to IETF Documents
-     (http://trustee.ietf.org/license-info).
-
-     This version of this YANG module is part of RFC XXXX; see the
-     RFC itself for full legal notices.";
-  // RFC Ed.: replace XXXX with actual RFC number and remove this
-  // note.
-
-  // RFC Ed.: update the date below with the date of RFC publication
-  // and remove this note.
-  revision 2013-07-04 {
-    description
-      "Initial revision.";
-    reference
-      "RFC XXXX: IANA Address Family Numbers and
-                 Subsequent Address Family Identifiers YANG Module";
-  }
-
-  typedef address-family {
-    type enumeration {
-      // value 0 is reserved by IANA
-      enum ipV4 {
-        value "1";
-        description
-          "IP version 4";
-      }
-      enum ipV6 {
-        value "2";
-        description
-          "IP version 6";
-      }
-      enum nsap {
-        value "3";
-        description
-          "NSAP";
-      }
-      enum hdlc {
-        value "4";
-        description
-          "HDLC (8-bit multidrop)";
-      }
-      enum bbn1822 {
-        value "5";
-        description
-          "BBN 1822";
-      }
-      enum all802 {
-        value "6";
-        description
-          "802 (includes all 802 media plus Ethernet 'canonical
-           format')";
-      }
-      enum e163 {
-        value "7";
-        description
-          "E.163";
-      }
-      enum e164 {
-        value "8";
-        description
-          "E.164 (SMDS, FrameRelay, ATM)";
-      }
-      enum f69 {
-        value "9";
-        description
-          "F.69 (Telex)";
-      }
-      enum x121 {
-        value "10";
-        description
-          "X.121 (X.25, Frame Relay)";
-      }
-      enum ipx {
-        value "11";
-        description
-          "IPX (Internetwork Packet Exchange)";
-      }
-      enum appletalk {
-        value "12";
-        description
-          "Appletalk";
-      }
-      enum decnetIV {
-        value "13";
-        description
-          "DECnet IV";
-      }
-      enum banyanVines {
-        value "14";
-        description
-          "Banyan Vines";
-      }
-      enum e164withNsap {
-        value "15";
-        description
-          "E.164 with NSAP format subaddress";
-        reference
-          "ATM Forum UNI 3.1";
-      }
-      enum dns {
-        value "16";
-        description
-          "DNS (Domain Name System)";
-      }
-      enum distinguishedName {
-        value "17";
-        description
-          "Distinguished Name (per X.500)";
-      }
-      enum asNumber {
-        value "18";
-        description
-          "Autonomous System Number";
-      }
-      enum xtpOverIpv4 {
-        value "19";
-        description
-          "XTP over IP version 4";
-      }
-      enum xtpOverIpv6 {
-        value "20";
-        description
-          "XTP over IP version 6";
-      }
-      enum xtpNativeModeXTP {
-        value "21";
-        description
-          "XTP native mode XTP";
-      }
-      enum fibreChannelWWPN {
-        value "22";
-        description
-          "Fibre Channel World-Wide Port Name";
-      }
-      enum fibreChannelWWNN {
-        value "23";
-        description
-          "Fibre Channel World-Wide Node Name";
-      }
-      enum gwid {
-        value "24";
-        description
-          "Gateway Identifier";
-      }
-      // FIXME: This one is actually called "afi" in the MIB, but
-      // that must be a mistake.
-      enum l2vpn {
-        value "25";
-        description
-          "AFI for L2VPN information";
-        reference
-          "RFC 4761: Virtual Private LAN Service (VPLS): Using BGP
-           for Auto-Discovery and Signaling
-
-           RFC 6074: Provisioning, Auto-Discovery, and Signaling in
-           Layer 2 Virtual Private Networks (L2VPNs)";
-      }
-      enum mplsTpSectionEndpointIdentifier {
-        value "26";
-        description
-          "MPLS-TP Section Endpoint Identifier";
-        reference
-          "draft-ietf-mpls-gach-adv";
-      }
-      enum mplsTpLspEndpointIdentifier {
-        value "27";
-        description
-          "MPLS-TP LSP Endpoint Identifier";
-        reference
-          "draft-ietf-mpls-gach-adv";
-      }
-      enum mplsTpPseudowireEndpointIdentifier {
-        value "28";
-        description
-          "MPLS-TP Pseudowire Endpoint Identifier";
-        reference
-          "draft-ietf-mpls-gach-adv";
-      }
-      enum eigrpCommonServiceFamily {
-        value "16384";
-        description
-          "EIGRP Common Service Family";
-      }
-      enum eigrpIpv4ServiceFamily {
-        value "16385";
-        description
-          "EIGRP IPv4 Service Family";
-      }
-      enum eigrpIpv6ServiceFamily {
-        value "16386";
-        description
-          "EIGRP IPv6 Service Family";
-      }
-      enum lispCanonicalAddressFormat {
-        value "16387";
-        description
-          "LISP Canonical Address Format (LCAF)";
-      }
-      enum bgpLs {
-        value "16388";
-        description
-          "BGP-LS";
-        reference
-          "draft-ietf-idr-ls-distribution";
-      }
-      enum 48BitMac {
-        value "16389";
-        description
-          "48-bit MAC";
-        reference
-          "draft-eastlake-rfc5342bis";
-      }
-      enum 64BitMac {
-        value "16390";
-        description
-          "64-bit MAC";
-        reference
-          "draft-eastlake-rfc5342bis";
-      }
-      // value 65535 is reserved by IANA
-    }
-    description
-      "This typedef is a YANG enumeration of IANA-registered address
-       family numbers (AFN).";
-    reference
-      "IANA Address Family Numbers registry.
-       <http://www.iana.org/assignments/address-family-numbers>";
-  }
-
-  typedef subsequent-address-family {
-    type enumeration {
-      // value 0 is reserved by IANA
-      enum nlriUnicast {
-        value "1";
-        description
-          "Network Layer Reachability Information used for unicast
-           forwarding";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum nlriMulticast {
-        value "2";
-        description
-          "Network Layer Reachability Information used for multicast
-           forwarding";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      // value 3 is reserved by IANA
-      enum nlriMpls {
-        value "4";
-        description
-          "Network Layer Reachability Information (NLRI) with MPLS
-           Labels";
-        reference
-          "RFC 3107: Carrying Label Information in BGP-4";
-      }
-      enum mcastVpn {
-        value "5";
-        description
-          "MCAST-VPN";
-        reference
-          "RFC 6514: BGP Encodings and Procedures for Multicast in
-           MPLS/BGP IP VPNs";
-      }
-      enum nlriDynamicMsPw {
-        value "6";
-        status "obsolete";
-        description
-          "Network Layer Reachability Information used for Dynamic
-           Placement of Multi-Segment Pseudowires (TEMPORARY -
-           Expires 2008-08-23)";
-        reference
-          "draft-ietf-pwe3-dynamic-ms-pw: Dynamic Placement of Multi
-           Segment Pseudowires";
-      }
-      enum encapsulation {
-        value "7";
-        description
-          "Encapsulation SAFI";
-        reference
-          "RFC 5512: The BGP Encapsulation Subsequent Address Family
-           Identifier (SAFI) and the BGP Tunnel Encapsulation
-           Attribute";
-      }
-      enum tunnel {
-        value "64";
-        status "obsolete";
-        description
-          "Tunnel SAFI";
-        reference
-          "draft-nalawade-kapoor-tunnel-safi: BGP Tunnel SAFI";
-      }
-      enum vpls {
-        value "65";
-        description
-          "Virtual Private LAN Service (VPLS)";
-        reference
-          "RFC 4761: Virtual Private LAN Service (VPLS): Using BGP
-           for Auto-Discovery and Signaling
-
-           RFC 6074: Provisioning, Auto-Discovery, and Signaling in
-           Layer 2 Virtual Private Networks (L2VPNs)";
-      }
-      enum bgpMdt {
-        value "66";
-        description
-          "BGP MDT SAFI";
-        reference
-          "RFC 6037: Cisco Systems' Solution for Multicast in
-           BGP/MPLS IP VPNs";
-      }
-      enum bgp4over6 {
-        value "67";
-        description
-          "BGP 4over6 SAFI";
-        reference
-          "RFC 5747: 4over6 Transit Solution Using IP Encapsulation
-           and MP-BGP Extensions";
-      }
-      enum bgp6over4 {
-        value "68";
-        description
-          "BGP 6over4 SAFI";
-      }
-      enum l1VpnAutoDiscovery {
-        value "69";
-        description
-          "Layer-1 VPN auto-discovery information";
-        reference
-          "RFC 5195: BGP-Based Auto-Discovery for Layer-1 VPNs";
-      }
-      enum mplsVpn {
-        value "128";
-        description
-          "MPLS-labeled VPN address";
-        reference
-          "RFC 4364: BGP/MPLS IP Virtual Private Networks (VPNs)";
-      }
-      enum multicastBgpMplsVpn {
-        value "129";
-        description
-          "Multicast for BGP/MPLS IP Virtual Private Networks
-           (VPNs)";
-        reference
-          "RFC 6513: Multicast in MPLS/BGP IP VPNs
-
-           RFC 6514: BGP Encodings and Procedures for Multicast in
-           MPLS/BGP IP VPNs";
-      }
-      // values 130-131 are reserved by IANA
-      enum routeTargetConstraints {
-        value "132";
-        description
-          "Route Target constraints";
-        reference
-          "RFC 4684: Constrained Route Distribution for Border
-           Gateway Protocol/MultiProtocol Label Switching (BGP/MPLS)
-           Internet Protocol (IP) Virtual Private Networks (VPNs)";
-      }
-      enum ipv4DissFlow {
-        value "133";
-        description
-          "IPv4 dissemination of flow specification rules";
-        reference
-          "RFC 5575: Dissemination of Flow Specification Rules";
-      }
-      enum vpnv4DissFlow {
-        value "134";
-        description
-          "VPNv4 dissemination of flow specification rules";
-        reference
-          "RFC 5575: Dissemination of Flow Specification Rules";
-      }
-      // values 135-139 are reserved by IANA
-      enum vpnAutoDiscovery {
-        value "140";
-        status "obsolete";
-        description
-          "VPN auto-discovery";
-        reference
-          "draft-ietf-l3vpn-bgpvpn-auto: Using BGP as an
-           Auto-Discovery Mechanism for VR-based Layer-3 VPNs";
-      }
-      // values 141-240 are reserved by IANA
-      enum private241 {
-        value "241";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private242 {
-        value "242";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private243 {
-        value "243";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private244 {
-        value "244";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private245 {
-        value "245";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private246 {
-        value "246";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private247 {
-        value "247";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private248 {
-        value "248";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private249 {
-        value "249";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private250 {
-        value "250";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private251 {
-        value "251";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private252 {
-        value "252";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private253 {
-        value "253";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      enum private254 {
-        value "254";
-        description
-          "Reserved for Private Use";
-        reference
-          "RFC 4760: Multiprotocol Extensions for BGP-4";
-      }
-      // value 255 is reserved by IANA
-    }
-    description
-      "This typedef is a YANG enumeration of IANA-registered
-       subsequent address family identifiers (SAFI).";
-    reference
-      "IANA SAFI Values registry.
-       <http://www.iana.org/assignments/safi-namespace>";
-  }
-}
diff --git a/ordmodels/device/src/main/yang/openconfig-extensions@2017-04-11.yang b/ordmodels/device/src/main/yang/openconfig-extensions@2017-04-11.yang
deleted file mode 100644 (file)
index fb1b11f..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-module openconfig-extensions {
-  yang-version 1;
-  namespace "http://openconfig.net/yang/openconfig-ext";
-  prefix oc-ext;
-
-  organization
-    "OpenConfig working group";
-  contact
-    "OpenConfig working group
-     www.openconfig.net";
-  description
-    "This module provides extensions to the YANG language to allow
-     OpenConfig specific functionality and meta-data to be defined.";
-
-  revision 2017-04-11 {
-    description
-      "rename password type to 'hashed' and clarify description";
-    reference
-      "0.3.0";
-  }
-  revision 2017-01-29 {
-    description
-      "Added extension for annotating encrypted values.";
-    reference
-      "0.2.0";
-  }
-  revision 2015-10-09 {
-    description
-      "Initial OpenConfig public release";
-    reference
-      "0.1.0";
-  }
-
-  extension openconfig-version {
-    argument semver {
-      yin-element false;
-    }
-    description
-      "The OpenConfig version number for the module. This is
-       expressed as a semantic version number of the form:
-        x.y.z
-       where:
-        * x corresponds to the major version,
-        * y corresponds to a minor version,
-        * z corresponds to a patch version.
-       This version corresponds to the model file within which it is
-       defined, and does not cover the whole set of OpenConfig models.
-       Where several modules are used to build up a single block of
-       functionality, the same module version is specified across each
-       file that makes up the module.
-
-       A major version number of 0 indicates that this model is still
-       in development (whether within OpenConfig or with industry
-       partners), and is potentially subject to change.
-
-       Following a release of major version 1, all modules will
-       increment major revision number where backwards incompatible
-       changes to the model are made.
-
-       The minor version is changed when features are added to the
-       model that do not impact current clients use of the model.
-
-       The patch-level version is incremented when non-feature changes
-       (such as bugfixes or clarifications to human-readable
-       descriptions that do not impact model functionality) are made
-       that maintain backwards compatibility.
-
-       The version number is stored in the module meta-data.";
-  }
-
-  extension openconfig-hashed-value {
-    description
-      "This extension provides an annotation on schema nodes to
-       indicate that the corresponding value should be stored and
-       reported in hashed form.
-
-       Hash algorithms are by definition not reversible. Clients
-       reading the configuration or applied configuration for the node
-       should expect to receive only the hashed value. Values written
-       in cleartext will be hashed. This annotation may be used on
-       nodes such as secure passwords in which the device never reports
-       a cleartext value, even if the input is provided as cleartext.";
-  }
-}
diff --git a/ordmodels/device/src/main/yang/openconfig-telemetry-types@2017-08-24.yang b/ordmodels/device/src/main/yang/openconfig-telemetry-types@2017-08-24.yang
deleted file mode 100644 (file)
index 989f383..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-module openconfig-telemetry-types {
-  yang-version 1;
-  namespace "http://openconfig.net/yang/telemetry-types";
-  prefix oc-telemetry-types;
-
-  import openconfig-extensions {
-    prefix oc-ext;
-  }
-
-  organization
-    "OpenConfig working group";
-  contact
-    "OpenConfig working group
-     www.openconfig.net";
-  description
-    "This module defines type and identities used by the OpenConfig
-     telemetry model.";
-
-  revision 2017-08-24 {
-    description
-      "Minor formatting fixes";
-    reference
-      "0.4.1";
-  }
-  revision 2017-02-20 {
-    description
-      "Fixes for YANG 1.0 compliance, add types module";
-    reference
-      "0.4.0";
-  }
-  revision 2016-04-05 {
-    description
-      "OpenConfig public release";
-    reference
-      "0.2.0";
-  }
-
-  identity DATA_ENCODING_METHOD {
-    description
-      "Base identity for supported encoding for configuration and
-       operational state data";
-  }
-
-  identity ENC_XML {
-    base DATA_ENCODING_METHOD;
-    description
-      "XML encoding";
-  }
-
-  identity ENC_JSON_IETF {
-    base DATA_ENCODING_METHOD;
-    description
-      "JSON encoded based on IETF draft standard";
-    reference
-      "draft-ietf-netmod-yang-json";
-  }
-
-  identity ENC_PROTO3 {
-    base DATA_ENCODING_METHOD;
-    description
-      "Protocol buffers v3";
-    reference
-      "https://developers.google.com/protocol-buffers/docs/overview";
-  }
-
-  identity STREAM_PROTOCOL {
-    description
-      "Base identity for a telemetry stream protocol";
-  }
-
-  identity STREAM_SSH {
-    base STREAM_PROTOCOL;
-    description
-      "Telemetry stream is carried over a SSH connection";
-  }
-
-  identity STREAM_GRPC {
-    base STREAM_PROTOCOL;
-    description
-      "Telemetry stream is carried over via the gRPC framework";
-  }
-
-  identity STREAM_JSON_RPC {
-    base STREAM_PROTOCOL;
-    description
-      "Telemetry stream is carried via the JSON-RPC framework";
-  }
-
-  identity STREAM_THRIFT_RPC {
-    base STREAM_PROTOCOL;
-    description
-      "Telemetry stream is carried via the Apache Thrift framework";
-  }
-
-  identity STREAM_WEBSOCKET_RPC {
-    base STREAM_PROTOCOL;
-    description
-      "Telemetry stream is carried by the WebSocket framework";
-  }
-
-  oc-ext:openconfig-version "0.4.1";
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-database@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-database@2016-10-14.yang
deleted file mode 100644 (file)
index d87acee..0000000
+++ /dev/null
@@ -1,120 +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;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-database@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-database@2018-10-19.yang
deleted file mode 100755 (executable)
index 26ee766..0000000
+++ /dev/null
@@ -1,159 +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;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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;
-    }
-  }
-  notification db-backup-notification {
-    description
-      "notification for db-backup operation events.";
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-  notification db-restore-notification {
-    description
-      "notification for db-restore operation events.";
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-  notification db-activate-notification {
-    description
-      "notification for database activation events.";
-    leaf db-active-notification-type {
-      type org-openroadm-common-types:activate-notification-type;
-    }
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-database@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-database@2020-05-29.yang
deleted file mode 100644 (file)
index a58dbf0..0000000
+++ /dev/null
@@ -1,198 +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;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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;
-    }
-  }
-
-  notification db-backup-notification {
-    description
-      "notification for db-backup operation events.";
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-
-  notification db-restore-notification {
-    description
-      "notification for db-restore operation events.";
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-
-  notification db-activate-notification {
-    description
-      "notification for database activation events.";
-    leaf db-active-notification-type {
-      type org-openroadm-common-types:activate-notification-type;
-    }
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-de-operations@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-de-operations@2016-10-14.yang
deleted file mode 100644 (file)
index 0a4d118..0000000
+++ /dev/null
@@ -1,79 +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;
-    revision-date 2016-10-14;
-  }
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-de-operations@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-de-operations@2018-10-19.yang
deleted file mode 100755 (executable)
index aa3331c..0000000
+++ /dev/null
@@ -1,99 +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;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 provided, 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/ordmodels/device/src/main/yang/org-openroadm-de-operations@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-de-operations@2020-05-29.yang
deleted file mode 100644 (file)
index a295ab0..0000000
+++ /dev/null
@@ -1,132 +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;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 provided, 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 equivalent if the restart was triggered another way.";
-    uses org-openroadm-resource:resource;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-device-resource-types@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-device-resource-types@2016-10-14.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/ordmodels/device/src/main/yang/org-openroadm-device-types@2019-11-29.yang b/ordmodels/device/src/main/yang/org-openroadm-device-types@2019-11-29.yang
deleted file mode 100644 (file)
index 89087d9..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-module org-openroadm-device-types {
-  namespace "http://org/openroadm/device-types";
-  prefix org-openroadm-device-types;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of device types.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  typedef node-types {
-    type enumeration {
-      enum rdm {
-        value 1;
-      }
-      enum xpdr {
-        value 2;
-      }
-      enum ila {
-        value 3;
-      }
-      enum extplug {
-        value 4;
-      }
-    }
-    description
-      "Identifier for node type
-       1. rdm for ROADM
-       2. xpdr for Transponder, Regen
-       3. ila for in-line amplifier
-       4. extplug for external pluggable";
-  }
-
-  typedef xpdr-node-types {
-    type enumeration {
-      enum tpdr {
-        value 1;
-      }
-      enum mpdr {
-        value 2;
-      }
-      enum switch {
-        value 3;
-      }
-      enum regen {
-        value 4;
-      }
-      enum regen-uni {
-        value 5;
-      }
-    }
-    description
-      "Identifier for Xponder node type
-       1. Transponder
-       2. Muxponder
-       3. OTN switchponder
-       4. Regenerator
-       5. Regenerator based on unidirectional model";
-  }
-
-  typedef 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;
-      }
-      enum switch-network {
-        value 6;
-      }
-      enum switch-client {
-        value 7;
-      }
-      enum ila-external {
-        value 8;
-      }
-      enum ila-internal {
-        value 9;
-      }
-    }
-  }
-
-  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;
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-device@2017-02-06.yang b/ordmodels/device/src/main/yang/org-openroadm-device@2017-02-06.yang
deleted file mode 100644 (file)
index 800634a..0000000
+++ /dev/null
@@ -1,1230 +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;
-    revision-date 2016-10-14;
-
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2016-10-14;
-
-  }
-  import org-openroadm-wavelength-map {
-    prefix org-openroadm-wavelength-map;
-    revision-date 2016-10-14;
-
-  }
-  import org-openroadm-physical-types {
-    prefix org-openroadm-physical-types;
-    revision-date 2016-10-14;
-
-  }
-  import org-openroadm-user-mgmt {
-    prefix org-openroadm-user-mgmt;
-    revision-date 2016-10-14;
-
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2017-09-29;
-
-  }
-  import org-openroadm-interfaces {
-    prefix org-openroadm-interfaces;
-    revision-date 2016-10-14;
-
-  }
-  import org-openroadm-swdl {
-    prefix org-openroadm-swdl;
-    revision-date 2016-10-14;
-
-  }
-  import org-openroadm-equipment-states-types {
-    prefix org-openroadm-equipment-states-types;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-device@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-device@2018-10-19.yang
deleted file mode 100755 (executable)
index 32700cc..0000000
+++ /dev/null
@@ -1,1848 +0,0 @@
-module org-openroadm-device {
-  namespace "http://org/openroadm/device";
-  prefix org-openroadm-device;
-
-  import ietf-yang-types {
-    prefix ietf-yang-types;
-    revision-date 2013-07-15;
-  }
-  import ietf-inet-types {
-    prefix ietf-inet-types;
-    revision-date 2013-07-15;
-  }
-  import ietf-netconf {
-    prefix ietf-nc;
-    revision-date 2011-06-01;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-physical-types {
-    prefix org-openroadm-physical-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-user-mgmt {
-    prefix org-openroadm-user-mgmt;
-    revision-date 2017-12-15;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix org-openroadm-interfaces;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-swdl {
-    prefix org-openroadm-swdl;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-equipment-states-types {
-    prefix org-openroadm-equipment-states-types;
-    revision-date 2017-12-15;
-  }
-  import org-openroadm-switching-pool-types {
-    prefix org-openroadm-switching-pool-types;
-    revision-date 2017-12-15;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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";
-  }
-
-  grouping create-tech-info-group {
-    leaf shelf-id {
-      type leafref {
-        path "/org-openroadm-device/shelves/shelf-name";
-      }
-      description
-        "shelf ID";
-    }
-    leaf log-file-name {
-      type string;
-      description
-        "The log file name a vendor can specify for a given log collection operation";
-    }
-  }
-
-  grouping device-common {
-    leaf node-id {
-      type org-openroadm-common-types:node-id-type;
-      default "openroadm";
-      description
-        "Globally unique identifier for a device.";
-    }
-    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;
-      config true;
-      mandatory true;
-      description
-        "Identifier for node-type e.g Roadm, xponder.
-         Once the node-type is configured, it should not be modified.";
-    }
-    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;
-      config false;
-      description
-        "MAC Address of device";
-    }
-    leaf softwareVersion {
-      type string;
-      config false;
-      description
-        "Software version";
-    }
-    leaf openroadm-version {
-      type org-openroadm-common-types:openroadm-version-type;
-      config false;
-      description
-        "openroadm version used on the device";
-    }
-    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 holder status is empty-not-prov, or installed-not-prov";
-    }
-    leaf slot-status {
-      type enumeration {
-        enum "empty-not-prov" {
-          value 1;
-          description
-            "Slot is empty and not provisioned";
-        }
-        enum "empty-prov-match" {
-          value 2;
-          description
-            "Slot is empty and expected type is provisioned";
-        }
-        enum "empty-prov-mismatch" {
-          value 3;
-          description
-            "Slot is empty and an unsupported type is provisioned";
-        }
-        enum "installed-not-prov" {
-          value 4;
-          description
-            "Slot is occupied but not provisioned";
-        }
-        enum "installed-prov-match" {
-          value 5;
-          description
-            "Slot is occupied with matching provisioned type";
-        }
-        enum "installed-prov-mismatch" {
-          value 6;
-          description
-            "Slot is occupied with mismatched provisioned type";
-        }
-      }
-    }
-  }
-
-  grouping shelves {
-    list shelves {
-      key "shelf-name";
-      uses shelf;
-    }
-  }
-
-  grouping shelf {
-    leaf shelf-name {
-      type string;
-      description
-        "Unique identifier for this shelf within a device";
-    }
-    leaf shelf-type {
-      type string;
-      mandatory true;
-      description
-        "The shelf type: describe the shelf with a unique string.";
-    }
-    leaf rack {
-      type string;
-      description
-        "Reflect the shelf physical location data including floor, aisle, bay values.";
-    }
-    leaf shelf-position {
-      type string;
-      description
-        "Reflect the shelf vertical position within an equipment bay.";
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-      description
-        "Admin State of the shelf";
-    }
-    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 {
-      key "slot-name";
-      config false;
-      description
-        "List of slots on this shelf. To be populated by NE during retrieval.";
-      uses slot-info;
-    }
-  }
-
-  grouping circuit-packs {
-    list circuit-packs {
-      key "circuit-pack-name";
-      description
-        "List of circuit packs. This includes common equipment, like fans, power supplies, etc.";
-      leaf circuit-pack-type {
-        type string;
-        mandatory true;
-        description
-          "Type of circuit-pack";
-      }
-      leaf circuit-pack-product-code {
-        type string;
-        description
-          "Product Code for the circuit-pack";
-      }
-      uses circuit-pack;
-    }
-  }
-
-  grouping circuit-pack-features {
-    leaf software-load-version {
-      type string;
-      config false;
-      description
-        "Software version running on the circuit pack.";
-    }
-    list circuit-pack-features {
-      config false;
-      container feature {
-        description
-          "List of features supported by the installed load and indications on whether the features have been applied or not.";
-        leaf description {
-          type string;
-          description
-            "Feature description.";
-        }
-        leaf activated {
-          type boolean;
-          description
-            "Indicator if the feature has been activated.";
-        }
-      }
-    }
-    list circuit-pack-components {
-      config false;
-      container component {
-        description
-          "Optional list of components on the circuit-pack and the load information applicable to those components.  If a load is not up to date and will upgrade when a cold restart occurs, the version that will be applied should also be listed.  If there is no misalignment, this does not need to be reported.";
-        leaf name {
-          type string;
-          description
-            "Name of a component on the circuit-pack that can have a load applied to it.";
-        }
-        leaf current-version {
-          type string;
-          description
-            "Name of the load version currently running on the component.";
-        }
-        leaf version-to-apply {
-          type string;
-          description
-            "Name of the load version for the component that will be applied when cold restart occurs on the circuit-pack.";
-        }
-      }
-    }
-  }
-
-  grouping circuit-pack {
-    leaf circuit-pack-name {
-      type string;
-      description
-        "Unique identifier for this circuit-pack within a device";
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-      description
-        "Administrative state of circuit-pack";
-    }
-    uses org-openroadm-physical-types:common-info;
-    container circuit-pack-category {
-      config false;
-      description
-        "General type of circuit-pack";
-      uses org-openroadm-common-types:equipment-type;
-    }
-    leaf equipment-state {
-      type org-openroadm-equipment-states-types:states;
-      description
-        "Equipment state, which complements operational state.";
-    }
-    leaf circuit-pack-mode {
-      type string;
-      default "NORMAL";
-      description
-        "Circuit-pack mode allowed. e.g. NORMAL or REGEN";
-    }
-    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 is-pluggable-optics {
-      type boolean;
-      config false;
-      mandatory true;
-      description
-        "True if circuitpack is pluggable optics";
-    }
-    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 {
-      key "slot-name";
-      config false;
-      description
-        "List of circuit-pack slots on this circuit-pack. To be populated by NE during retrieval.";
-      uses slot-info;
-      leaf slot-type {
-        type enumeration {
-          enum "pluggable-optics-holder" {
-            value 1;
-            description
-              "slot accepts dedicated pluggable port circuit-pack";
-          }
-          enum "other" {
-            value 2;
-            description
-              "slot accepts parent circuit-pack";
-          }
-        }
-      }
-    }
-    uses circuit-pack-features;
-    list ports {
-      key "port-name";
-      description
-        "List of ports on this circuit-pack. Note that pluggables are considered independent circuit-packs.  All ports that are physically present on a pluggable, need to be modeled as a port against that pluggable circuit-pack, and not against the parent circuit-pack.";
-      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' or ../port-qual='switch-network' or ../port-qual='switch-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;
-          units "m";
-          default "30";
-        }
-        leaf port-direction {
-          type org-openroadm-common-types:direction;
-        }
-      }
-      container ila-port {
-        when "../port-qual='ila-external'";
-        uses org-openroadm-port-types:common-port;
-      }
-    }
-  }
-
-  grouping odu-connection {
-    description
-      "Grouping used to define odu-connections.";
-    leaf connection-name {
-      type string;
-      description
-        "roadm-connection and odu-connection share the same resource-type and resource definition (e.g. connection)";
-    }
-    leaf direction {
-      type enumeration {
-        enum "unidirectional" {
-          value 1;
-        }
-        enum "bidirectional" {
-          value 2;
-        }
-      }
-      default "bidirectional";
-      description
-        "Directionality of connection. If bidirectional, both directions are created.";
-    }
-    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 connection {
-    description
-      "Grouping used to define connections.";
-    leaf connection-name {
-      type string;
-    }
-    leaf opticalControlMode {
-      type org-openroadm-common-types:optical-control-mode;
-      default "off";
-      description
-        "Whether connection is currently in power or gain/loss mode";
-      reference "openroadm.org: Open ROADM MSA Specification.";
-    }
-    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;
-      config false;
-      mandatory true;
-      description
-        "maximum number of wavelengths";
-    }
-    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 {
-      key "index";
-      description
-        "Port associated with degree: One if bi-directional; two if uni-directional";
-      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;
-    }
-    uses mc-capabilities-g;
-  }
-
-  grouping amplifier {
-    leaf amp-number {
-      type uint8 {
-        range "1..128";
-      }
-      description
-        "Unique identifier/number for the amplifier entry which corresponds to a logical amplifier";
-    }
-    leaf amp-type {
-      type org-openroadm-common-types:amplifier-types;
-      config false;
-      mandatory true;
-      description
-        "Amplifier type";
-    }
-    leaf control-mode {
-      type org-openroadm-common-types:line-amplifier-control-mode;
-      default "off";
-      description
-        "Whether the line amplifier is currently in off or gainLoss mode. control-mode can only be set to gainLoss when target-gain, target-tilt and egress-average-channel-power are set and the OMS interfaces are provisioned. The amplifier will be turned off when the control-mode is set to off";
-    }
-    leaf amp-gain-range {
-      type org-openroadm-common-types:amplifier-gain-range;
-      default "gain-range-1";
-      config false;
-      description
-        "Amplifier gain-range (gain-range 1 to 4 for switched gain amplifiers)
-         gain-range-1 (default value) for standard amplifiers";
-    }
-    leaf target-gain {
-      type org-openroadm-common-types:ratio-dB;
-      config true;
-      description
-        "Target overall Amplifier Signal gain, excluding ASE, including VOA attenuation.
-         Defined as optional for ODL support, but shall be considered as mandatory and provided
-         by the controller when the control-mode is set to gainLoss for amplifier setting";
-    }
-    leaf target-tilt {
-      type org-openroadm-common-types:ratio-dB;
-      config true;
-      description
-        "Target tilt configured in case of smart EDFA.
-         Tilt value provided as specified in Open-ROADM-MSA-specifications spreadsheet
-         Defined as optional for ODL support, but shall be considered as mandatory and provided
-         by the controller when the control-mode is set to gainLoss for amplifier setting";
-    }
-    leaf egress-average-channel-power {
-      type org-openroadm-common-types:power-dBm;
-      config true;
-      description
-        "Based upon the total max power across the 4.8 THz passband.
-         Defined as optional for ODL support, but shall be considered as mandatory and provided
-         by the controller when the control-mode is set to gainLoss for amplifier setting";
-    }
-    leaf out-voa-att {
-      type org-openroadm-common-types:ratio-dB;
-      config false;
-      description
-        "Used to provide the value output VOA attenuation, optional";
-    }
-    leaf partner-amp {
-      type leafref {
-        path "../amp-number";
-      }
-      config false;
-      description
-        "amp-number of amp module that is functionally associated to the amplifier  
-         in the opposite direction";
-    }
-    leaf ila-direction-label {
-      type string;
-      description
-        "Amplifier direction. Each operators may have its own naming convention.
-         Shall be consistent with tx-instance-port-direction-label and rx-instance-port-direction-label.";
-    }
-  }
-
-  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 manually.";
-    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.
-       - physical links (fiber, cables,etc.) between ports within a node. ";
-    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;
-      description
-        "The max number of ports available for a given srg";
-    }
-    leaf current-provisioned-add-drop-ports {
-      type uint16;
-      config false;
-      mandatory true;
-      description
-        "The number of ports currently provisioned for a given srg.";
-    }
-    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 wavelength-duplication {
-      type org-openroadm-common-types:wavelength-duplication-type;
-      config false;
-      mandatory true;
-      description
-        "Whether the SRG can handle duplicate wavelengths and if so to what extent.";
-    }
-    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;
-        }
-      }
-    }
-    uses mc-capabilities-g;
-  }
-
-  grouping xponder {
-    leaf xpdr-number {
-      type uint16;
-      must "current() > 0" {
-        error-message "Xponder not supported by device ";
-        description
-          "Validating if the Xponder is supported by device";
-      }
-    }
-    leaf xpdr-type {
-      type org-openroadm-common-types:xpdr-node-types;
-      mandatory true;
-      description
-        "Identifier for xponder-type e.g Transponder, Muxponder";
-    }
-    leaf recolor {
-      type boolean;
-      config false;
-      description
-        "Indication if recolor is supported";
-    }
-    list xpdr-port {
-      key "index";
-      description
-        "Network Ports with in a Xponder";
-      leaf index {
-        type uint32;
-      }
-      uses port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-      leaf eqpt-srg-id {
-        type uint32;
-        description
-          "Shared Risk Group identifier. All ports in a circuit-pack will have same srg-id";
-      }
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      type leafref {
-        path "/org-openroadm-device/degree/degree-number";
-      }
-      description
-        "Degree identifier. Unique within the context of a device.";
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-      }
-      description
-        "Port identifier. Unique within the context of a circuit-pack.";
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      type leafref {
-        path "/org-openroadm-device/shared-risk-group/srg-number";
-      }
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.";
-    }
-  }
-
-  grouping supporting-port-name {
-    leaf supporting-circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-      description
-        "Identifier of the supporting circuit-pack.";
-    }
-    leaf supporting-port {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../supporting-circuit-pack-name]/ports/port-name";
-      }
-      description
-        "Identifier of the supporting port.";
-    }
-  }
-
-  grouping interface-name {
-    leaf interface-name {
-      type leafref {
-        path "/org-openroadm-device/interface/name";
-      }
-      config false;
-      description
-        "Name of an interface. Unique within the context of a device.";
-    }
-  }
-
-  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 protection-groups {
-    description
-      "OpenROADM facility protection configuration parameters.";
-    container protection-grps {
-      description
-        "The list of configured protection groups on the device.";
-    }
-  }
-
-  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 org-openroadm-common-types:port-qual;
-    }
-    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;
-      default "outOfService";
-      description
-        "Administrative state of port. The value of this field independent 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 administratively disabling this port will impact the operational state of those items unless they are using some form of port-protection schema.";
-    }
-    leaf operational-state {
-      type org-openroadm-common-types:state;
-      config false;
-      mandatory true;
-      description
-        "Operational state of a port";
-    }
-    leaf-list supported-interface-capability {
-      type identityref {
-        base org-openroadm-port-types:supported-if-capability;
-      }
-      config false;
-      description
-        "Interface types supported on this port";
-    }
-    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;
-    }
-  }
-
-  grouping org-openroadm-device-container {
-    container org-openroadm-device {
-      container info {
-        uses device-common;
-        leaf max-degrees {
-          type uint16;
-          config false;
-          description
-            "Max. number of degrees supported by device";
-        }
-        leaf max-srgs {
-          type uint16;
-          config false;
-          description
-            "Max. number of SRGs in an add/drop group";
-        }
-        leaf max-num-bin-15min-historical-pm {
-          type uint16;
-          config false;
-          description
-            "Max. number of bin the NE support for 15min historical PM";
-        }
-        leaf max-num-bin-24hour-historical-pm {
-          type uint16;
-          config false;
-          description
-            "Max. number of bin the NE support for 24hour historical PM";
-        }
-      }
-      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;
-      uses protection-groups;
-      container protocols {
-        description
-          "Contains the supported protocols";
-      }
-      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 line-amplifier {
-        when "/org-openroadm-device/info/node-type='ila'";
-        key "amp-number";
-        description
-          "lists amplifiers in different directions";
-        uses amplifier;
-        list circuit-pack {
-          key "index";
-          description
-            "list for Cards associated with an amplifier";
-          leaf index {
-            type uint32;
-          }
-          uses circuit-pack-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-          }
-        }
-        list line-port {
-          key "port-direction";
-          description
-            "Port associated with an amplifier which face the line (ila-external): traffic port.";
-          leaf port-direction {
-            type org-openroadm-common-types:direction;
-            config true;
-            mandatory true;
-            description
-              "partly allows identifying ports associated with logical amp :TX for egress, RX for ingress
-               TXRX in case of bidirectional port";
-          }
-          leaf tx-instance-port-direction-label {
-            type string;
-            config true;
-            description
-              "Complements ports identification. Used notably in case of bidirectional ports, 
-               and/or in multi-degree amplifier nodes. Allows associating one of the directions
-               specified in ila-direction-label. Shall be consistent with ila-direction-label";
-          }
-          leaf rx-instance-port-direction-label {
-            type string;
-            config true;
-            description
-              "Complements ports identification. Used notably in case of bidirectional ports, 
-               and/or in multi-degree amplifier nodes. Allows associating one of the directions
-               specified in ila-direction-label. Shall be consistent with ila-direction-label";
-          }
-          uses port-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-            refine "port-name" {
-              mandatory true;
-            }
-          }
-        }
-        list osc-port {
-          key "port-direction";
-          description
-            "Ports associated with OSC";
-          leaf port-direction {
-            type org-openroadm-common-types:direction;
-            config true;
-            mandatory true;
-            description
-              "allows identifying ports associated with logical amp : 
-               TX for OSC circuit-pack IN RX for OSC circuit-pack OUT";
-          }
-          uses port-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-            refine "port-name" {
-              mandatory true;
-            }
-          }
-        }
-        list otdr-port {
-          key "otdr-direction";
-          description
-            "otdr ports associated with an ILA";
-          leaf otdr-direction {
-            type string;
-            config true;
-            description
-              "allows identifying associated logical amp port in which OTDR is launched: 
-               corresponds to rx-instance-port-direction-label of corresponding amplifier line-port";
-          }
-          uses port-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-            refine "port-name" {
-              mandatory true;
-            }
-          }
-        }
-      }
-      list xponder {
-        when "/org-openroadm-device/info/node-type='xpdr'";
-        key "xpdr-number";
-        uses xponder;
-      }
-      list roadm-connections {
-        when "/org-openroadm-device/info/node-type='rdm'";
-        key "connection-name";
-        uses connection;
-      }
-      list odu-connection {
-        when "/org-openroadm-device/info/node-type='xpdr'";
-        key "connection-name";
-        uses odu-connection;
-      }
-      list connection-map {
-        key "connection-map-number";
-        config false;
-        leaf connection-map-number {
-          type uint32;
-          description
-            "Unique identifier for this connection-map entry";
-        }
-        container source {
-          leaf circuit-pack-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-            }
-            mandatory true;
-          }
-          leaf port-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-            }
-            mandatory true;
-            description
-              "Port identifier. Unique within the context of a circuit-pack.";
-          }
-        }
-        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 {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-            }
-            mandatory true;
-            description
-              "Port identifier. Unique within the context of a circuit-pack.";
-          }
-        }
-      }
-      list odu-switching-pools {
-        when "/org-openroadm-device/info/node-type='xpdr'";
-        key "switching-pool-number";
-        config false;
-        leaf switching-pool-number {
-          type uint16;
-          description
-            "Unique identifier for this odu-switching-pool";
-        }
-        leaf switching-pool-type {
-          type org-openroadm-switching-pool-types:switching-pool-types;
-        }
-        list non-blocking-list {
-          key "nbl-number";
-          config false;
-          description
-            "List of ports in a non-blocking switch element";
-          leaf nbl-number {
-            type uint16;
-            description
-              "Identifier for this non-blocking-list. Unique within odu-switching-pool";
-          }
-          leaf interconnect-bandwidth-unit {
-            type uint32;
-            config false;
-            description
-              "Switch fabric interconnect bandwidth unit rate in bits per second. 
-               Represents granularity of switch fabric";
-          }
-          leaf interconnect-bandwidth {
-            type uint32;
-            config false;
-            description
-              "Total interconnect bandwidth for a non-blocking element expressed as 
-               number of inter-connect-bandwidth units";
-          }
-          list port-list {
-            key "circuit-pack-name port-name";
-            leaf circuit-pack-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-              }
-              config false;
-            }
-            leaf port-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/ports/port-name";
-              }
-              config false;
-              description
-                "Port name. Unique within device";
-            }
-          }
-          list pluggable-optics-holder-list {
-            key "circuit-pack-name slot-name";
-            leaf circuit-pack-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-              }
-              config false;
-              description
-                "Name of parent circuit-pack";
-            }
-            leaf slot-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/cp-slots/slot-name";
-              }
-              config false;
-              description
-                "Name of pluggable-optics-holder";
-            }
-          }
-        }
-      }
-    }
-  }
-
-  grouping mc-capabilities-g {
-    container mc-capabilities {
-      config false;
-      description
-        "Capabilities of the media channel on a degree or SRG.  This is used to validate mc-ttp provisioning on degrees and SRGs.";
-      leaf slot-width-granularity {
-        type org-openroadm-common-types:frequency-GHz;
-        default "50";
-        config false;
-        description
-          "Width of a slot measured in GHz.";
-      }
-      leaf center-freq-granularity {
-        type org-openroadm-common-types:frequency-GHz;
-        default "50";
-        config false;
-        description
-          "Granularity of allowed center frequencies.  The base frequency for this computation is 193.1 THz (G.694.1)";
-      }
-      leaf min-slots {
-        type uint32;
-        default "1";
-        config false;
-        description
-          "Minimum number of slots permitted to be joined together to form a media channel.  Must be less than or equal to the max-slots";
-      }
-      leaf max-slots {
-        type uint32;
-        default "1";
-        config false;
-        description
-          "Maximum number of slots permitted to be joined together to form a media channel.  Must be greater than or equal to the min-slots";
-      }
-    }
-  }
-
-  grouping common-session-parms {
-    description
-      "Common session parameters to identify a
-       management session.";
-    leaf username {
-      type org-openroadm-user-mgmt:username-type;
-      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;
-        }
-      }
-    }
-  }
-
-  rpc led-control {
-    description
-      "This command is used to allow user to find an entity on the NE,
-       The specified entity will have LED blinking.
-       The equipmentLedOn alarm will be raised and cleared for the indication";
-    input {
-      choice equipment-entity {
-        mandatory true;
-        case shelf {
-          leaf shelf-name {
-            type leafref {
-              path "/org-openroadm-device/shelves/shelf-name";
-            }
-            mandatory true;
-            description
-              "shelf-name for the operation";
-          }
-        }
-        case circuit-pack {
-          leaf circuit-pack-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-            }
-            mandatory true;
-            description
-              "circuit-pack-name for the operation";
-          }
-        }
-      }
-      leaf enabled {
-        type boolean;
-        mandatory true;
-        description
-          "led-control enabled flag.
-           when enabled=true,  equipmentLedOn alarm will be raised
-           when enabled=false, equipmentLedOn alarm will be cleared";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc create-tech-info {
-    description
-      "Collects all log data for debugging and place it in a location accessible via ftp/sftp.
-       This model assumes ASYNC operation, i.e. the command will return after the device accepts the command,
-       A create-tech-info-notification will be send out later for the result of the operation.
-       The log-file is cleared at the start of every create-tech-info operation in order to ensure 
-       the up-to-date logs are collected. If a vendor does not support concurrent log collection, the second 
-       create-tech-info command will be rejected.";
-    input {
-      leaf shelf-id {
-        type leafref {
-          path "/org-openroadm-device/shelves/shelf-name";
-        }
-        description
-          "This optional field is used to specify the shelf for log collection. 
-           When this filed is not provided, it is expected to collect logs for the whole node.
-           Vendor should reject the command if the whole node log collection is not supported.";
-      }
-      leaf log-option {
-        type string;
-        description
-          "The log type a vendor can specify. Maybe used in future";
-      }
-    }
-    output {
-      uses create-tech-info-group;
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc get-connection-port-trail {
-    input {
-      leaf connection-name {
-        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 {
-      choice degree-or-amp {
-        mandatory true;
-        description
-          "The choice describes the option to specify the entity for the disable-automatic-shutoff RPC. It can be degree-number for rdm and amp-number for ila";
-        case degree {
-          leaf degree-number {
-            type leafref {
-              path "/org-openroadm-device/degree/degree-number";
-            }
-            mandatory true;
-            description
-              "The degree-number defined in degree";
-          }
-        }
-        case amp {
-          leaf amp-number {
-            type leafref {
-              path "/org-openroadm-device/line-amplifier/amp-number";
-            }
-            mandatory true;
-            description
-              "The amp-number defined in line-amplifier";
-          }
-        }
-      }
-      leaf support-timer {
-        type uint16 {
-          range "1..600";
-        }
-        default "20";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  rpc start-scan {
-    input {
-      choice degree-or-amp {
-        mandatory true;
-        description
-          "The choice describes the option to specify the entity for the start-scan RPC. It can be degree-number for rdm and amp-number for ila";
-        case degree {
-          leaf degree-number {
-            type leafref {
-              path "/org-openroadm-device/degree/degree-number";
-            }
-            mandatory true;
-            description
-              "The degree-number defined in degree";
-          }
-        }
-        case amp {
-          leaf amp-number {
-            type leafref {
-              path "/org-openroadm-device/line-amplifier/amp-number";
-            }
-            mandatory true;
-            description
-              "The amp-number defined in line-amplifier";
-          }
-        }
-      }
-      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;
-    }
-  }
-  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;
-    }
-  }
-  notification create-tech-info-notification {
-    description
-      "This Notification is sent when the create-tech-info is complete or failed.";
-    uses create-tech-info-group;
-    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;
-    }
-  }
-  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 {
-      type ietf-yang-types:date-and-time;
-      description
-        "The time the change occurs.";
-    }
-    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
-          "Top most node associated with the configuration or operational 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.";
-      }
-    }
-  }
-  uses org-openroadm-device-container;
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-device@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-device@2020-05-29.yang
deleted file mode 100644 (file)
index 5e690f5..0000000
+++ /dev/null
@@ -1,2608 +0,0 @@
-module org-openroadm-device {
-  namespace "http://org/openroadm/device";
-  prefix org-openroadm-device;
-
-  import ietf-yang-types {
-    prefix ietf-yang-types;
-    revision-date 2013-07-15;
-  }
-  import ietf-inet-types {
-    prefix ietf-inet-types;
-    revision-date 2013-07-15;
-  }
-  import ietf-netconf {
-    prefix ietf-nc;
-    revision-date 2011-06-01;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-common-alarm-pm-types {
-    prefix org-openroadm-common-alarm-pm-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-equipment-types {
-    prefix org-openroadm-common-equipment-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-state-types {
-    prefix org-openroadm-common-state-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-amplifier-types {
-    prefix org-openroadm-common-amplifier-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-device-types {
-    prefix org-openroadm-device-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-physical-types {
-    prefix org-openroadm-physical-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-user-mgmt {
-    prefix org-openroadm-user-mgmt;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-interfaces {
-    prefix org-openroadm-interfaces;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-swdl {
-    prefix org-openroadm-swdl;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-equipment-states-types {
-    prefix org-openroadm-equipment-states-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-switching-pool-types {
-    prefix org-openroadm-switching-pool-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-optical-operational-interfaces {
-    prefix org-openroadm-optical-operational-interfaces;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2020-03-27;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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";
-  }
-
-  identity connection-direction-identity {
-    description
-      "Bidrectional capable, or Bi and Unidirectional capable";
-  }
-
-  identity connection-direction_bi {
-    base connection-direction-identity;
-    description
-      "Bidrectional capable";
-  }
-
-  identity connection-direction_bi_and_uni {
-    base connection-direction-identity;
-    description
-      "Bi and Unidirectional capable";
-  }
-
-  typedef interface-ref {
-    type leafref {
-      path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-    }
-    description
-      "This type is used by data models that need to reference
-       configured interfaces.";
-  }
-
-  grouping create-tech-info-group {
-    leaf shelf-id {
-      type leafref {
-        path "/org-openroadm-device/shelves/shelf-name";
-      }
-      description
-        "shelf ID";
-    }
-    leaf log-file-name {
-      type string;
-      description
-        "The log file name a vendor can specify for a given log collection operation";
-    }
-  }
-
-  grouping device-common {
-    leaf node-id {
-      type org-openroadm-common-node-types:node-id-type;
-      default "openroadm";
-      description
-        "Globally unique identifier for a device.";
-    }
-    leaf node-number {
-      type uint32;
-      description
-        "Number assigned to a ROADM node at a
-         given office";
-    }
-    leaf node-type {
-      type org-openroadm-device-types:node-types;
-      config true;
-      mandatory true;
-      description
-        "Identifier for node-type e.g Roadm, xponder.
-         Once the node-type is configured, it should not be modified.";
-    }
-    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;
-      config false;
-      description
-        "MAC Address of device";
-    }
-    leaf softwareVersion {
-      type string;
-      config false;
-      description
-        "Software version";
-    }
-    leaf software-build {
-      type string;
-      config false;
-      description
-        "Software build version";
-    }
-    leaf openroadm-version {
-      type org-openroadm-common-types:openroadm-version-type;
-      config false;
-      description
-        "openroadm version used on the device";
-    }
-    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+ ";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of the device node. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    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 holder status is empty-not-prov, or installed-not-prov";
-    }
-    leaf slot-status {
-      type enumeration {
-        enum empty-not-prov {
-          value 1;
-          description
-            "Slot is empty and not provisioned";
-        }
-        enum empty-prov-match {
-          value 2;
-          status obsolete;
-          description
-            "(Deprecated) Slot is empty and expected type is provisioned";
-        }
-        enum empty-prov-mismatch {
-          value 3;
-          status obsolete;
-          description
-            "(Deprecated) Slot is empty and an unsupported type is provisioned";
-        }
-        enum installed-not-prov {
-          value 4;
-          description
-            "Slot is occupied but not provisioned";
-        }
-        enum installed-prov-match {
-          value 5;
-          description
-            "Slot is occupied with matching provisioned type";
-        }
-        enum installed-prov-mismatch {
-          value 6;
-          description
-            "Slot is occupied with mismatched provisioned type";
-        }
-        enum empty-prov {
-          value 7;
-          description
-            "Slot is empty and provisioned";
-        }
-      }
-    }
-  }
-
-  grouping shelves {
-    list shelves {
-      key "shelf-name";
-      uses shelf;
-    }
-  }
-
-  grouping user-description-grp {
-    description
-      "user description group";
-    leaf user-description {
-      type string;
-      description
-        "user provided description";
-    }
-  }
-
-  grouping shelf {
-    leaf shelf-name {
-      type string;
-      description
-        "Unique identifier for this shelf within a device";
-    }
-    leaf shelf-type {
-      type string;
-      mandatory true;
-      description
-        "The shelf type: describe the shelf with a unique string.";
-    }
-    leaf rack {
-      type string;
-      description
-        "Reflect the shelf physical location data including floor, aisle, bay values.";
-    }
-    leaf shelf-position {
-      type string;
-      description
-        "Reflect the shelf vertical position within an equipment bay.";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of shelf. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-      mandatory true;
-      description
-        "Admin State of the shelf";
-    }
-    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 is-physical {
-      type boolean;
-      config false;
-      mandatory true;
-      description
-        "is the entity physical or logical";
-    }
-    leaf is-passive {
-      type boolean;
-      config false;
-      mandatory true;
-      description
-        "is the entity passive and not actively managed by the device;
-         e.g., no physical inventory or plug-in notification supported";
-    }
-    leaf faceplate-label {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "label on the faceplace silk screening";
-    }
-    uses user-description-grp;
-    leaf due-date {
-      type ietf-yang-types:date-and-time;
-      description
-        "due date for the shelf.";
-    }
-    list slots {
-      key "slot-name";
-      config false;
-      description
-        "List of slots on this shelf. To be populated by NE during retrieval.";
-      uses slot-info;
-    }
-  }
-
-  grouping circuit-packs {
-    list circuit-packs {
-      key "circuit-pack-name";
-      description
-        "List of circuit packs. This includes common equipment, like fans, power supplies, etc.";
-      leaf circuit-pack-type {
-        type string;
-        mandatory true;
-        description
-          "Type of circuit-pack";
-      }
-      leaf circuit-pack-product-code {
-        type string;
-        description
-          "Product Code for the circuit-pack";
-      }
-      uses circuit-pack;
-    }
-  }
-
-  grouping circuit-pack-features {
-    leaf software-load-version {
-      type string;
-      config false;
-      description
-        "Software version running on the circuit pack.";
-    }
-    list circuit-pack-features {
-      config false;
-      container feature {
-        description
-          "List of features supported by the installed load and indications on whether the features have been applied or not.";
-        leaf description {
-          type string;
-          description
-            "Feature description.";
-        }
-        leaf boot {
-          type boolean;
-          description
-            "Flag to indicate boot loader or unprotected firmware update required";
-        }
-        leaf activated {
-          type boolean;
-          description
-            "Indicator if the feature has been activated.";
-        }
-      }
-    }
-    list circuit-pack-components {
-      config false;
-      container component {
-        description
-          "Optional list of components on the circuit-pack and the load information applicable to those components.  If a load is not up to date and will upgrade when a cold restart occurs, the version that will be applied should also be listed.  If there is no misalignment, this does not need to be reported.";
-        leaf name {
-          type string;
-          description
-            "Name of a component on the circuit-pack that can have a load applied to it.";
-        }
-        leaf boot {
-          type boolean;
-          description
-            "Flag to indicate boot loader or unprotected firmware update required";
-        }
-        leaf current-version {
-          type string;
-          description
-            "Name of the load version currently running on the component.";
-        }
-        leaf version-to-apply {
-          type string;
-          description
-            "Name of the load version for the component that will be applied when cold restart occurs on the circuit-pack.";
-        }
-      }
-    }
-  }
-
-  grouping circuit-pack {
-    leaf circuit-pack-name {
-      type string;
-      description
-        "Unique identifier for this circuit-pack within a device";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of circuit-pack. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-      mandatory true;
-      description
-        "Administrative state of circuit-pack";
-    }
-    uses org-openroadm-physical-types:common-info;
-    container circuit-pack-category {
-      config false;
-      description
-        "General type of circuit-pack";
-      uses org-openroadm-common-equipment-types:equipment-type;
-    }
-    leaf equipment-state {
-      type org-openroadm-equipment-states-types:states;
-      description
-        "Equipment state, which complements operational state.";
-    }
-    leaf circuit-pack-mode {
-      type string;
-      default "NORMAL";
-      description
-        "Circuit-pack mode allowed. e.g. NORMAL or REGEN";
-    }
-    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 is-pluggable-optics {
-      type boolean;
-      config false;
-      mandatory true;
-      description
-        "True if circuitpack is pluggable optics";
-    }
-    leaf is-physical {
-      type boolean;
-      config false;
-      mandatory true;
-      description
-        "is the entity physical or logical";
-    }
-    leaf is-passive {
-      type boolean;
-      config false;
-      mandatory true;
-      description
-        "is the entity passive and not actively managed by the device;
-         e.g., no physical inventory or plug-in notification supported";
-    }
-    leaf faceplate-label {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "label on the faceplace silk screening";
-    }
-    uses user-description-grp;
-    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 {
-      key "slot-name";
-      config false;
-      description
-        "List of circuit-pack slots on this circuit-pack. To be populated by NE during retrieval.";
-      uses slot-info;
-      leaf slot-type {
-        type enumeration {
-          enum pluggable-optics-holder {
-            value 1;
-            description
-              "slot accepts dedicated pluggable port circuit-pack";
-          }
-          enum other {
-            value 2;
-            description
-              "slot accepts parent circuit-pack";
-          }
-        }
-      }
-    }
-    uses circuit-pack-features;
-    list ports {
-      key "port-name";
-      description
-        "List of ports on this circuit-pack. Note that pluggables are considered independent circuit-packs.  All ports that are physically present on a pluggable, need to be modeled as a port against that pluggable circuit-pack, and not against the parent circuit-pack.";
-      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' or ../port-qual='switch-network' or ../port-qual='switch-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;
-          units "m";
-          default "30";
-        }
-        leaf port-direction {
-          type org-openroadm-common-alarm-pm-types:direction;
-        }
-      }
-      container ila-port {
-        when "../port-qual='ila-external'";
-        uses org-openroadm-port-types:common-port;
-      }
-    }
-  }
-
-  grouping odu-connection {
-    description
-      "Grouping used to define odu-connections.";
-    leaf connection-name {
-      type string;
-      description
-        "roadm-connection and odu-connection share the same resource-type and resource definition (e.g. connection)";
-    }
-    leaf direction {
-      type enumeration {
-        enum unidirectional {
-          value 1;
-        }
-        enum bidirectional {
-          value 2;
-        }
-      }
-      default "bidirectional";
-      description
-        "Directionality of connection. If bidirectional, both directions are created.";
-    }
-    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 connection {
-    description
-      "Grouping used to define connections.";
-    leaf connection-name {
-      type string;
-    }
-    leaf opticalControlMode {
-      type org-openroadm-common-link-types:optical-control-mode;
-      default "off";
-      description
-        "Whether connection is currently in power or gain/loss mode";
-      reference
-        "openroadm.org: Open ROADM MSA Specification.";
-    }
-    leaf target-output-power {
-      type org-openroadm-common-link-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 mc-capabilities-grp {
-    description
-      "Media channel capabilities grouping";
-    leaf-list mc-capability-profile-name {
-      type leafref {
-        path "/org-openroadm-device/mc-capability-profile/profile-name";
-      }
-      config false;
-      description
-        "Media channel capabilities";
-    }
-  }
-
-  grouping degree {
-    leaf degree-number {
-      type uint16;
-      description
-        "Degree number should be greater than zero and not greater than max-degrees";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of degree. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf max-wavelengths {
-      type uint16;
-      config false;
-      mandatory true;
-      description
-        "maximum number of wavelengths";
-    }
-    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 {
-      key "index";
-      description
-        "Port associated with degree: One if bi-directional; two if uni-directional";
-      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;
-    }
-    uses mc-capabilities-grp;
-  }
-
-  grouping amplifier {
-    leaf amp-number {
-      type uint8 {
-        range "1..128";
-      }
-      description
-        "Unique identifier/number for the amplifier entry which corresponds to a logical amplifier";
-    }
-    leaf amp-type {
-      type org-openroadm-common-amplifier-types:amplifier-types;
-      config false;
-      mandatory true;
-      description
-        "Amplifier type";
-    }
-    leaf control-mode {
-      type org-openroadm-common-amplifier-types:line-amplifier-control-mode;
-      default "off";
-      description
-        "Whether the line amplifier is currently in off or gainLoss mode. control-mode can only be set to gainLoss when target-gain, target-tilt and egress-average-channel-power are set and the OMS interfaces are provisioned. The amplifier will be turned off when the control-mode is set to off";
-    }
-    leaf amp-gain-range {
-      type org-openroadm-common-amplifier-types:amplifier-gain-range;
-      default "gain-range-1";
-      config false;
-      description
-        "Amplifier gain-range (gain-range 1 to 4 for switched gain amplifiers)
-         gain-range-1 (default value) for standard amplifiers";
-    }
-    leaf target-gain {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "Target overall Amplifier Signal gain, excluding ASE, including VOA attenuation.
-         Defined as optional for ODL support, but shall be considered as mandatory and provided
-         by the controller when the control-mode is set to gainLoss for amplifier setting";
-    }
-    leaf target-tilt {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "Target tilt configured in case of smart EDFA.
-         Tilt value provided as specified in Open-ROADM-MSA-specifications spreadsheet
-         Defined as optional for ODL support, but shall be considered as mandatory and provided
-         by the controller when the control-mode is set to gainLoss for amplifier setting";
-    }
-    leaf egress-average-channel-power {
-      type org-openroadm-common-link-types:power-dBm;
-      config true;
-      description
-        "Based upon the total max power across the 4.8 THz passband.
-         Defined as optional for ODL support, but shall be considered as mandatory and provided
-         by the controller when the control-mode is set to gainLoss for amplifier setting";
-    }
-    leaf out-voa-att {
-      type org-openroadm-common-link-types:ratio-dB;
-      config false;
-      description
-        "Used to provide the value output VOA attenuation, optional";
-    }
-    leaf partner-amp {
-      type leafref {
-        path "/org-openroadm-device/line-amplifier/amp-number";
-      }
-      config false;
-      description
-        "amp-number of amp module that is functionally associated to the amplifier
-         in the opposite direction";
-    }
-    leaf ila-direction-label {
-      type string;
-      description
-        "Amplifier direction. Each operators may have its own naming convention.
-         Shall be consistent with tx-instance-port-direction-label and rx-instance-port-direction-label.";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of the amplifier. Whether it is planned, deployed, in maintenance, etc.";
-    }
-  }
-
-  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 manually.";
-    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.
-       - physical links (fiber, cables,etc.) between ports within a node. ";
-    list physical-link {
-      key "physical-link-name";
-      uses physical-link;
-    }
-  }
-
-  grouping physical-link {
-    leaf physical-link-name {
-      type string;
-    }
-    leaf is-physical {
-      type boolean;
-      description
-        "is the entity physical or logical";
-    }
-    uses user-description-grp;
-    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;
-        }
-      }
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of the physical link. Whether it is planned, deployed, in maintenance, etc.";
-    }
-  }
-
-  grouping srg {
-    leaf max-add-drop-ports {
-      type uint16;
-      config false;
-      mandatory true;
-      description
-        "The max number of ports available for a given srg";
-    }
-    leaf current-provisioned-add-drop-ports {
-      type uint16;
-      config false;
-      mandatory true;
-      description
-        "The number of ports currently provisioned for a given srg.";
-    }
-    leaf srg-number {
-      type uint16;
-      description
-        "Srg number should be greater than zero and not greater than max-srgs";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of shared-risk-group. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf wavelength-duplication {
-      type org-openroadm-common-optical-channel-types:wavelength-duplication-type;
-      config false;
-      mandatory true;
-      description
-        "Whether the SRG can handle duplicate wavelengths and if so to what extent.";
-    }
-    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;
-        }
-      }
-    }
-    uses mc-capabilities-grp;
-  }
-
-  grouping xponder {
-    leaf xpdr-number {
-      type uint16;
-      must 'current() > 0' {
-        error-message "Xponder not supported by device ";
-        description
-          "Validating if the Xponder is supported by device";
-      }
-    }
-    leaf xpdr-type {
-      type org-openroadm-device-types:xpdr-node-types;
-      mandatory true;
-      description
-        "Identifier for xponder-type e.g Transponder, Muxponder";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of xponder. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf recolor {
-      type boolean;
-      config false;
-      description
-        "Indication if recolor is supported";
-    }
-    list xpdr-port {
-      key "index";
-      description
-        "Network Ports with in a Xponder";
-      leaf index {
-        type uint32;
-      }
-      uses port-name {
-        refine "circuit-pack-name" {
-          mandatory true;
-        }
-        refine "port-name" {
-          mandatory true;
-        }
-      }
-      leaf eqpt-srg-id {
-        type uint32;
-        description
-          "Shared Risk Group identifier. All ports in a circuit-pack will have same srg-id";
-      }
-    }
-  }
-
-  grouping degree-number {
-    leaf degree-number {
-      type leafref {
-        path "/org-openroadm-device/degree/degree-number";
-      }
-      description
-        "Degree identifier. Unique within the context of a device.";
-    }
-  }
-
-  grouping circuit-pack-name {
-    leaf circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-    }
-  }
-
-  grouping port-name {
-    uses circuit-pack-name;
-    leaf port-name {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-      }
-      description
-        "Port identifier. Unique within the context of a circuit-pack.";
-    }
-  }
-
-  grouping srg-number {
-    leaf srg-number {
-      type leafref {
-        path "/org-openroadm-device/shared-risk-group/srg-number";
-      }
-      description
-        "Shared Risk Group identifier. Unique within the context of a device.";
-    }
-  }
-
-  grouping supporting-port-name {
-    leaf supporting-circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-      }
-      description
-        "Identifier of the supporting circuit-pack.";
-    }
-    leaf supporting-port {
-      type leafref {
-        path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../supporting-circuit-pack-name]/ports/port-name";
-      }
-      description
-        "Identifier of the supporting port.";
-    }
-  }
-
-  grouping supporting-circuit-pack-list-grp {
-    description
-      "supporting circuit pack list grouping";
-    list supporting-port-list {
-      key "index";
-      description
-        "supporting port list";
-      leaf index {
-        type uint8;
-        description
-          "supporting circuit pack index";
-      }
-      leaf circuit-pack-name {
-        type leafref {
-          path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-        }
-        mandatory true;
-        description
-          "The supported circuit-pack.";
-      }
-      leaf-list port-list {
-        type leafref {
-          path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-        }
-        description
-          "port list";
-      }
-    }
-  }
-
-  grouping interface-name {
-    description
-      "interface name grouping";
-    leaf interface-name {
-      type leafref {
-        path "/org-openroadm-device/interface/name";
-      }
-      config false;
-      description
-        "Name of an interface. Unique within the context of a device.";
-    }
-  }
-
-  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 lifecycle-state {
-        type org-openroadm-common-state-types:lifecycle-state;
-        description
-          "Lifecycle State of interface. Whether it is planned, deployed, in maintenance, etc.";
-      }
-      leaf administrative-state {
-        type org-openroadm-equipment-states-types:admin-states;
-        mandatory true;
-      }
-      leaf operational-state {
-        type org-openroadm-common-state-types:state;
-        config false;
-        mandatory true;
-      }
-      leaf circuit-id {
-        type string {
-          length "0..45";
-        }
-        description
-          "circuit identifier/user label,
-           can be used in alarm correlation and/or connection management ";
-      }
-      uses supporting-port-name;
-      leaf-list supporting-interface-list {
-        type leafref {
-          path "/org-openroadm-device/interface/name";
-        }
-        description
-          "supporting interface list";
-      }
-    }
-  }
-
-  grouping protection-groups {
-    description
-      "OpenROADM facility protection configuration parameters.";
-    container protection-grps {
-      description
-        "The list of configured protection groups on the device.";
-    }
-  }
-
-  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";
-    }
-    uses supporting-circuit-pack-list-grp;
-    leaf port-type {
-      type string;
-      description
-        "Type of the pluggable or fixed port.";
-    }
-    leaf port-qual {
-      type org-openroadm-device-types:port-qual;
-    }
-    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-alarm-pm-types:direction;
-      config false;
-      mandatory true;
-      description
-        "Whether port is uni (tx/rx) or bi-directional and";
-    }
-    leaf is-physical {
-      type boolean;
-      config false;
-      mandatory true;
-      description
-        "is the entity physical or logical";
-    }
-    leaf faceplate-label {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "label on the faceplace silk screening";
-    }
-    uses user-description-grp;
-    leaf circuit-id {
-      type string {
-        length "0..45";
-      }
-      description
-        "circuit identifier/user label,
-         can be used in alarm correlation and/or connection management ";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of port. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-      default "outOfService";
-      description
-        "Administrative state of port. The value of this field independent 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 administratively disabling this port will impact the operational state of those items unless they are using some form of port-protection schema.";
-    }
-    leaf operational-state {
-      type org-openroadm-common-state-types:state;
-      config false;
-      mandatory true;
-      description
-        "Operational state of a port";
-    }
-    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.  Implementations must provide the list of interfaces for port that has interfaces provisioned on that port.";
-      uses interface-name;
-    }
-    uses mc-capabilities-grp;
-  }
-
-  grouping odu-mux-hierarchy-grp {
-    description
-      "ODU mux hierarchy group";
-    list mux-capability {
-      key "stage-number ho-odu-type ho-odu-payload-type";
-      description
-        "low order ODU TCM direction capability";
-      leaf stage-number {
-        type uint8 {
-          range "1 .. 2";
-        }
-        description
-          "stage number";
-      }
-      leaf ho-odu-type {
-        type identityref {
-          base org-openroadm-otn-common-types:odu-rate-identity;
-        }
-        description
-          "High order ODU type";
-      }
-      leaf ho-odu-payload-type {
-        type org-openroadm-otn-common-types:payload-type-def;
-        description
-          "High order ODU payload type";
-      }
-      leaf-list supported-lo-odu-type {
-        type identityref {
-          base org-openroadm-otn-common-types:odu-rate-identity;
-        }
-        description
-          "Supported low order ODU type";
-      }
-      leaf lo-odu-proactive-DMp {
-        type boolean;
-        description
-          "low order ODU PM delay measurement (DMp) (G.709 06-2016 15.8.2.1.6)";
-      }
-      leaf lo-odu-tcm-capable {
-        type boolean;
-        description
-          "only when lo-odu-tcm-capable=true, the following two are applicable (ie, lo-odu-proactive-DMt, lo-odu-tcm-direction";
-      }
-      leaf lo-odu-proactive-DMt {
-        when "../lo-odu-tcm-capable= 'true'";
-        type boolean;
-        description
-          "low order ODU TCM delay measurement (DMt) (G.709 06-2016 15.8.2.2.8)";
-      }
-      leaf lo-odu-tcm-direction-capability {
-        when "../lo-odu-tcm-capable= 'true'";
-        type org-openroadm-common-types:tcm-direction-capability-type;
-        description
-          "Supported tcm direction capability for low order ODU associated with the port.";
-      }
-    }
-  }
-
-  identity flexo-modulation-format-identity {
-    description
-      "Flexo modulation format identification";
-  }
-
-  grouping flexo-grp {
-    description
-      "Flexo group";
-    leaf circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:circuit-pack-name";
-      }
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-    }
-    leaf port-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:ports/org-openroadm-device:port-name";
-      }
-      description
-        "Port index identifier. Unique within the context of a circuit-pack.";
-    }
-
-    uses org-openroadm-common-types:fec-grouping {
-      status deprecated;
-      description
-        "Flexo FEC / Forward Error Correction";
-    }
-
-    leaf otsi-rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:otsi-rate-identity;
-      }
-      mandatory true;
-      description
-        "Flexo rate";
-    }
-    leaf otsi-modulation-format {
-      type identityref {
-        base flexo-modulation-format-identity;
-      }
-      description
-        "Flexo modulation format";
-    }
-    leaf otsi-width {
-      type uint16;
-      description
-        "OTSI width";
-    }
-    leaf operational-mode-id {
-      type string;
-      mandatory true;
-      description
-        "Optical profile operational mode identifier";
-    }
-  }
-
-  grouping otsigroup-capability-grp {
-    description
-      "Otsigroup group capability";
-    leaf if-cap-type {
-      type identityref {
-        base org-openroadm-port-types:supported-if-capability;
-      }
-      description
-        "Interface type/hierarchy/rate supported on this Otsi port. For example, if-n-otu4-n-odu4 and if-otucn-oducn";
-    }
-    choice otu-rate {
-      description
-        "To specify the supported rate in the case of OTUCn or NxOTU4";
-      case otucn {
-        leaf otucn-n-rate {
-          type uint16;
-          description
-            "Specify the N associated with OTUCn, e.g. N = 2,3,4 for 200G/300G/400G respectively";
-        }
-      }
-      case nxotu4 {
-        leaf supported-n-otu4 {
-          type uint16;
-          description
-            "Specify the number of N in the case of N x OTU4";
-        }
-      }
-    }
-    leaf-list foic-type {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:foic-identity;
-      }
-      description
-        "FlexO interface type ";
-    }
-    leaf otn-capability-profile-name {
-      type leafref {
-        path "/org-openroadm-device/otn-capability-profile/profile-name";
-      }
-      description
-        "OTN capabilities";
-    }
-    leaf otn-odu-mux-hierarchy-profile-name {
-      type leafref {
-        path "/org-openroadm-device/otn-odu-mux-hierarchy-profile/profile-name";
-      }
-      description
-        "OTN ODU Mux hierarchy capabilities";
-    }
-  }
-
-  grouping split-lambda-capability-grp {
-    description
-      "Split lambda capability group";
-    container logical-port {
-      leaf circuit-pack-name {
-        type string;
-        description
-          "The circuit pack supporting the logical port";
-      }
-      leaf port-name {
-        type string;
-        description
-          "Port name for logical-port";
-      }
-      description
-        "Logical port container";
-    }
-    list otsi {
-      key "circuit-pack-name port-name";
-      description
-        "OTSI list for split lambda";
-      leaf circuit-pack-name {
-        type string;
-        description
-          "OTSI circuit pack name";
-      }
-      leaf port-name {
-        type string;
-        description
-          "OTSI port name";
-      }
-      leaf otsi-rate {
-         type identityref {
-           base org-openroadm-common-optical-channel-types:otsi-rate-identity;
-         }
-         description
-           "OTSI rate";
-      }
-      leaf-list optical-operational-mode {
-        type leafref {
-          path "/org-openroadm-device/optical-operational-mode-profile/profile-name";
-        }
-        description
-          "Optical operational mode leaf list";
-      }
-    }
-    leaf-list otsigroup-capability-profile-name {
-      type leafref {
-        path "/org-openroadm-device/otsigroup-capability-profile/profile-name";
-      }
-      description
-        "OTSI group capability mode";
-    }
-  }
-
-  grouping otn-capability-grp {
-    description
-      "OTN capability group";
-    leaf-list if-protection-capability {
-      type identityref {
-        base org-openroadm-common-types:otn-protection-type;
-      }
-      description
-        "supported protection types if protection is supported on this port";
-    }
-    leaf proactive-DMp {
-      type boolean;
-      description
-        "ODU PM delay measurement (DMp) (G.709 06-2016 15.8.2.1.6)";
-    }
-    leaf tcm-capable {
-      type boolean;
-      description
-        "only when tcm-capable=true, the following two are applicable (ie, proactive-DMt, tcm-direction";
-    }
-    leaf proactive-DMt {
-      when "../tcm-capable= 'true'";
-      type boolean;
-      description
-        "ODU TCM delay measurement (DMt) (G.709 06-2016 15.8.2.2.8)";
-    }
-    leaf tcm-direction-capability {
-      when "../tcm-capable= 'true'";
-      type org-openroadm-common-types:tcm-direction-capability-type;
-      description
-        "Supported tcm direction capability on the ODUk associated with the port.";
-    }
-    leaf-list opu-payload-type-mapping {
-      type org-openroadm-otn-common-types:payload-type-def;
-      description
-        "OPU payload-type mapping OPU.";
-    }
-  }
-
-  grouping otn-odu-mux-hierarchy-grp {
-    description
-      "ODU mux hierarchy base group";
-     list mux-capability {
-       key "stage-number ho-odu-type ho-odu-payload-type";
-       description
-         "low order ODU TCM direction capability";
-       leaf stage-number {
-         type uint8 {
-           range "1 .. 2";
-         }
-         description
-           "stage number";
-       }
-       leaf ho-odu-type {
-         type identityref {
-           base org-openroadm-otn-common-types:odu-rate-identity;
-         }
-         description
-           "High order ODU type";
-       }
-       leaf ho-odu-payload-type {
-         type org-openroadm-otn-common-types:payload-type-def;
-         description
-           "High order ODU payload type";
-       }
-       leaf-list supported-lo-odu-type {
-         type identityref {
-           base org-openroadm-otn-common-types:odu-rate-identity;
-         }
-         description
-           "Supported low order ODU type";
-       }
-       leaf lo-odu-proactive-DMp {
-         type boolean;
-         description
-           "low order ODU PM delay measurement (DMp) (G.709 06-2016 15.8.2.1.6)";
-       }
-       leaf lo-odu-tcm-capable {
-         type boolean;
-         description
-           "only when lo-odu-tcm-capable=true, the following two are applicable (ie, lo-odu-proactive-DMt, lo-odu-tcm-direction";
-       }
-       leaf lo-odu-proactive-DMt {
-         when "../lo-odu-tcm-capable= 'true'";
-         type boolean;
-         description
-           "low order ODU TCM delay measurement (DMt) (G.709 06-2016 15.8.2.2.8)";
-       }
-       leaf lo-odu-tcm-direction-capability {
-         when "../lo-odu-tcm-capable= 'true'";
-         type org-openroadm-common-types:tcm-direction-capability-type;
-         description
-           "Supported tcm direction capability for low order ODU associated with the port.";
-       }
-    }
-  }
-
-  grouping mux-grp {
-    leaf odtu-type {
-      type identityref {
-        base org-openroadm-otn-common-types:odtu-type-identity;
-      }
-      mandatory true;
-      description
-        "ODTU type, part of the MSI (Multiplex Structure Identifier)";
-    }
-    leaf network-odu-rate {
-       type identityref {
-       base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      mandatory true;
-      description
-        "Network ODU rate";
-    }
-    leaf network-oducn-n-rate {
-      type uint16;
-      description
-        "Network ODUCn rate, eg, network-oducn-n-rate=4 for ODUC4";
-    }
-    leaf network-ho-odu-trib-port-number {
-      type uint16 {
-        range "1 .. 80";
-      }
-      mandatory true;
-      description
-        "Tributary port number";
-    }
-    leaf-list network-ho-odu-trib-slots {
-      type uint16 {
-        range "1 .. 80";
-      }
-      min-elements 1;
-      max-elements 80;
-      description
-        "Network high order ODU trib slots";
-    }
-    leaf-list network-ho-odu-opucn-trib-slots {
-      type org-openroadm-otn-common-types:opucn-trib-slot-def;
-      description
-        "Network high order ODU OPU tributary slots";
-    }
-    description
-      "Mux group grouping";
-  }
-
-  grouping org-openroadm-device-container {
-    container org-openroadm-device {
-      container info {
-        uses device-common;
-        leaf max-degrees {
-          type uint16;
-          config false;
-          description
-            "Max. number of degrees supported by device";
-        }
-        leaf max-srgs {
-          type uint16;
-          config false;
-          description
-            "Max. number of SRGs in an add/drop group";
-        }
-        leaf max-num-bin-15min-historical-pm {
-          type uint16;
-          config false;
-          description
-            "Max. number of bin the NE support for 15min historical PM";
-        }
-        leaf max-num-bin-24hour-historical-pm {
-          type uint16;
-          config false;
-          description
-            "Max. number of bin the NE support for 24hour historical PM";
-        }
-      }
-      container users {
-        description
-          "Stores a list of users";
-        uses org-openroadm-user-mgmt:user-profile;
-      }
-      container pending-sw {
-        config false;
-        description
-          "pending software information";
-        uses org-openroadm-swdl:sw-bank;
-      }
-      container database-info {
-        config false;
-        description
-          "database restore information";
-        uses org-openroadm-swdl:database-info-group;
-      }
-      uses shelves;
-      uses circuit-packs;
-      uses interfaces-grp;
-      uses protection-groups;
-      container protocols {
-        description
-          "Contains the supported protocols";
-        leaf lifecycle-state {
-          type org-openroadm-common-state-types:lifecycle-state;
-          description
-            "Lifecycle State of the protocols. Whether it is planned or deployed, etc.";
-        }
-      }
-      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 line-amplifier {
-        when "/org-openroadm-device/info/node-type='ila'";
-        key "amp-number";
-        description
-          "lists amplifiers in different directions";
-        uses amplifier;
-        list circuit-pack {
-          key "index";
-          description
-            "list for Cards associated with an amplifier";
-          leaf index {
-            type uint32;
-          }
-          uses circuit-pack-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-          }
-        }
-        list line-port {
-          key "port-direction";
-          description
-            "Port associated with an amplifier which face the line (ila-external): traffic port.";
-          leaf port-direction {
-            type org-openroadm-common-alarm-pm-types:direction;
-            config true;
-            mandatory true;
-            description
-              "partly allows identifying ports associated with logical amp :TX for egress, RX for ingress
-               TXRX in case of bidirectional port";
-          }
-          leaf tx-instance-port-direction-label {
-            type string;
-            config true;
-            description
-              "Complements ports identification. Used notably in case of bidirectional ports,
-               and/or in multi-degree amplifier nodes. Allows associating one of the directions
-               specified in ila-direction-label. Shall be consistent with ila-direction-label";
-          }
-          leaf rx-instance-port-direction-label {
-            type string;
-            config true;
-            description
-              "Complements ports identification. Used notably in case of bidirectional ports,
-               and/or in multi-degree amplifier nodes. Allows associating one of the directions
-               specified in ila-direction-label. Shall be consistent with ila-direction-label";
-          }
-          uses port-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-            refine "port-name" {
-              mandatory true;
-            }
-          }
-        }
-        list osc-port {
-          key "port-direction";
-          description
-            "Ports associated with OSC";
-          leaf port-direction {
-            type org-openroadm-common-alarm-pm-types:direction;
-            config true;
-            mandatory true;
-            description
-              "allows identifying ports associated with logical amp :
-               TX for OSC circuit-pack IN RX for OSC circuit-pack OUT";
-          }
-          uses port-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-            refine "port-name" {
-              mandatory true;
-            }
-          }
-        }
-        list otdr-port {
-          key "otdr-direction";
-          description
-            "otdr ports associated with an ILA";
-          leaf otdr-direction {
-            type string;
-            config true;
-            description
-              "allows identifying associated logical amp port in which OTDR is launched:
-               corresponds to rx-instance-port-direction-label of corresponding amplifier line-port";
-          }
-          uses port-name {
-            refine "circuit-pack-name" {
-              mandatory true;
-            }
-            refine "port-name" {
-              mandatory true;
-            }
-          }
-        }
-      }
-      list xponder {
-        when "/org-openroadm-device/info/node-type='xpdr'";
-        key "xpdr-number";
-        uses xponder;
-      }
-      list roadm-connections {
-        when "/org-openroadm-device/info/node-type='rdm'";
-        key "connection-name";
-        uses connection;
-      }
-      list odu-connection {
-        when "/org-openroadm-device/info/node-type='xpdr'";
-        key "connection-name";
-        uses odu-connection;
-      }
-      list connection-map {
-        key "connection-map-number";
-        config false;
-        leaf connection-map-number {
-          type uint32;
-          description
-            "Unique identifier for this connection-map entry";
-        }
-        container source {
-          leaf circuit-pack-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-            }
-            mandatory true;
-          }
-          leaf port-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-            }
-            mandatory true;
-            description
-              "Port identifier. Unique within the context of a circuit-pack.";
-          }
-        }
-        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 {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs[circuit-pack-name=current()/../circuit-pack-name]/ports/port-name";
-            }
-            mandatory true;
-            description
-              "Port identifier. Unique within the context of a circuit-pack.";
-          }
-        }
-      }
-      list odu-switching-pools {
-        when "/org-openroadm-device/info/node-type='xpdr'";
-        key "switching-pool-number";
-        config false;
-        leaf switching-pool-number {
-          type uint16;
-          description
-            "Unique identifier for this odu-switching-pool";
-        }
-        leaf switching-pool-type {
-          type org-openroadm-switching-pool-types:switching-pool-types;
-          description
-            "Blocking/Non-Blocking";
-        }
-        leaf odu-connection-direction-capabilities {
-          type identityref {
-            base connection-direction-identity;
-          }
-          description
-            "Bidrectional capable, or Bi and Unidirectional capable";
-        }
-        list non-blocking-list {
-          key "nbl-number";
-          config false;
-          description
-            "List of ports in a non-blocking switch element";
-          leaf nbl-number {
-            type uint16;
-            description
-              "Identifier for this non-blocking-list. Unique within odu-switching-pool";
-          }
-          leaf interconnect-bandwidth-unit {
-            type uint32;
-            config false;
-            description
-              "Switch fabric interconnect bandwidth unit rate in bits per second.
-               Represents granularity of switch fabric";
-          }
-          leaf interconnect-bandwidth {
-            type uint32;
-            config false;
-            description
-              "Total interconnect bandwidth for a non-blocking element expressed as
-               number of inter-connect-bandwidth units";
-          }
-          list port-list {
-            key "circuit-pack-name port-name";
-            leaf circuit-pack-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-              }
-              config false;
-            }
-            leaf port-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/ports/port-name";
-              }
-              config false;
-              description
-                "Port name. Unique within device";
-            }
-          }
-          list pluggable-optics-holder-list {
-            key "circuit-pack-name slot-name";
-            leaf circuit-pack-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-              }
-              config false;
-              description
-                "Name of parent circuit-pack";
-            }
-            leaf slot-name {
-              type leafref {
-                path "/org-openroadm-device/circuit-packs/cp-slots/slot-name";
-              }
-              config false;
-              description
-                "Name of pluggable-optics-holder";
-            }
-          }
-        }
-      }
-      list otsigroup-capability-profile {
-        key "profile-name";
-        config false;
-        description
-          "OTSI group operational profile";
-        leaf profile-name {
-          type string;
-          description
-            "OTSI group profile name";
-        }
-        uses otsigroup-capability-grp;
-      }
-      list mc-capability-profile {
-        key "profile-name";
-        config false;
-        description
-          "Media channel capability profile list";
-        leaf profile-name {
-          type string;
-          description
-            "Media channel profile name";
-        }
-        leaf center-freq-granularity {
-          type org-openroadm-common-optical-channel-types:frequency-GHz;
-          default "50";
-          config false;
-          description
-            "Granularity of allowed center frequencies.  The base frequency for this computation is 193.1 THz (G.694.1)";
-        }
-        leaf min-edge-freq {
-          type org-openroadm-common-optical-channel-types:frequency-THz;
-          config false;
-          description
-            "Minimum edge frequency";
-        }
-        leaf max-edge-freq {
-          type org-openroadm-common-optical-channel-types:frequency-THz;
-          config false;
-          description
-            "Maximum edge frequency";
-        }
-        leaf slot-width-granularity {
-          type org-openroadm-common-optical-channel-types:frequency-GHz;
-          default "50";
-          config false;
-          description
-            "Width of a slot measured in GHz.";
-        }
-        leaf min-slots {
-          type uint32;
-          default "1";
-          config false;
-          description
-            "Minimum number of slots permitted to be joined together to form a media channel.  Must be less than or equal to the max-slots";
-        }
-        leaf max-slots {
-          type uint32;
-          default "1";
-          config false;
-          description
-            "Maximum number of slots permitted to be joined together to form a media channel.  Must be greater than or equal to the min-slots";
-        }
-      }
-      list split-lambda-profile {
-        key "profile-name";
-        config false;
-        description
-          "OTN capability profile";
-        leaf profile-name {
-          type string;
-          description
-            "Split lambda profile name";
-        }
-        uses split-lambda-capability-grp;
-      }
-      list otn-odu-mux-hierarchy-profile {
-        key "profile-name";
-        config false;
-        description
-          "OTN ODU mux hierarchy profile list";
-        leaf profile-name {
-          type string;
-          description
-            "OTN ODU mux hierarchy profile name";
-        }
-        uses otn-odu-mux-hierarchy-grp;
-      }
-      list optical-operational-mode-profile {
-        key "profile-name";
-        config false;
-        description
-          "Optical operational profile";
-        leaf profile-name {
-          type string;
-          description
-            "Optical operational profile name";
-        }
-        uses org-openroadm-optical-operational-interfaces:optical-operational-modes-grp-attr;
-      }
-      list otn-capability-profile {
-        key "profile-name";
-        config false;
-        description
-          "OTN capability profile";
-        leaf profile-name {
-          type string;
-          description
-            "OTN capability profile name";
-        }
-        uses otn-capability-grp;
-      }
-      list muxp-profile {
-        key "profile-name";
-        config false;
-        description
-          "Muxp profile list";
-        leaf profile-name {
-          type string;
-          description
-            "Mux profile name";
-        }
-        uses mux-grp;
-      }
-    }
-  }
-
-  grouping common-session-parms {
-    description
-      "Common session parameters to identify a
-       management session.";
-    leaf username {
-      type org-openroadm-user-mgmt:username-type;
-      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;
-        }
-      }
-    }
-  }
-
-  rpc led-control {
-    description
-      "This command is used to allow user to find an entity on the NE,
-       The specified entity will have LED blinking.
-       The equipmentLedOn alarm will be raised and cleared for the indication";
-    input {
-      choice equipment-entity {
-        mandatory true;
-        case shelf {
-          leaf shelf-name {
-            type leafref {
-              path "/org-openroadm-device/shelves/shelf-name";
-            }
-            mandatory true;
-            description
-              "shelf-name for the operation";
-          }
-        }
-        case circuit-pack {
-          leaf circuit-pack-name {
-            type leafref {
-              path "/org-openroadm-device/circuit-packs/circuit-pack-name";
-            }
-            mandatory true;
-            description
-              "circuit-pack-name for the operation";
-          }
-        }
-      }
-      leaf enabled {
-        type boolean;
-        mandatory true;
-        description
-          "led-control enabled flag.
-           when enabled=true,  equipmentLedOn alarm will be raised
-           when enabled=false, equipmentLedOn alarm will be cleared";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  rpc create-tech-info {
-    description
-      "Collects all log data for debugging and place it in a location accessible via ftp/sftp.
-       This model assumes ASYNC operation, i.e. the command will return after the device accepts the command,
-       A create-tech-info-notification will be send out later for the result of the operation.
-       The log-file is cleared at the start of every create-tech-info operation in order to ensure
-       the up-to-date logs are collected. If a vendor does not support concurrent log collection, the second
-       create-tech-info command will be rejected.";
-    input {
-      leaf shelf-id {
-        type leafref {
-          path "/org-openroadm-device/shelves/shelf-name";
-        }
-        description
-          "This optional field is used to specify the shelf for log collection.
-           When this filed is not provided, it is expected to collect logs for the whole node.
-           Vendor should reject the command if the whole node log collection is not supported.";
-      }
-      leaf log-option {
-        type string;
-        description
-          "The log type a vendor can specify. Maybe used in future";
-      }
-    }
-    output {
-      uses create-tech-info-group;
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  rpc get-connection-port-trail {
-    input {
-      leaf connection-name {
-        type string;
-        mandatory true;
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-      list ports {
-        uses org-openroadm-device-types:physical-location;
-        uses port-name {
-          refine "circuit-pack-name" {
-            mandatory true;
-          }
-          refine "port-name" {
-            mandatory true;
-          }
-        }
-      }
-    }
-  }
-
-  rpc disable-automatic-shutoff {
-    input {
-      choice degree-or-amp {
-        mandatory true;
-        description
-          "The choice describes the option to specify the entity for the disable-automatic-shutoff RPC. It can be degree-number for rdm and amp-number for ila";
-        case degree {
-          leaf degree-number {
-            type leafref {
-              path "/org-openroadm-device/degree/degree-number";
-            }
-            mandatory true;
-            description
-              "The degree-number defined in degree";
-          }
-        }
-        case amp {
-          leaf amp-number {
-            type leafref {
-              path "/org-openroadm-device/line-amplifier/amp-number";
-            }
-            mandatory true;
-            description
-              "The amp-number defined in line-amplifier";
-          }
-        }
-      }
-      leaf support-timer {
-        type uint16 {
-          range "1..600";
-        }
-        default "20";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  rpc start-scan {
-    input {
-      choice degree-or-amp {
-        mandatory true;
-        description
-          "The choice describes the option to specify the entity for the start-scan RPC. It can be degree-number for rdm and amp-number for ila";
-        case degree {
-          leaf degree-number {
-            type leafref {
-              path "/org-openroadm-device/degree/degree-number";
-            }
-            mandatory true;
-            description
-              "The degree-number defined in degree";
-          }
-        }
-        case amp {
-          leaf amp-number {
-            type leafref {
-              path "/org-openroadm-device/line-amplifier/amp-number";
-            }
-            mandatory true;
-            description
-              "The amp-number defined in line-amplifier";
-          }
-        }
-      }
-      leaf port-direction {
-        type org-openroadm-common-alarm-pm-types:direction;
-      }
-      leaf distance {
-        type uint32;
-      }
-      leaf resolution {
-        type uint32;
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  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;
-    }
-  }
-
-  notification create-tech-info-notification {
-    description
-      "This Notification is sent when the create-tech-info is complete or failed.";
-    uses create-tech-info-group;
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-
-  notification otdr-scan-result {
-    description
-      "This Notification is sent when the otdr-scan-result is complete or failed.";
-    uses org-openroadm-common-types:rpc-response-status;
-    leaf result-file {
-      type string;
-    }
-  }
-
-  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 {
-      type ietf-yang-types:date-and-time;
-      description
-        "The time the change occurs.";
-    }
-    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
-          "Top most node associated with the configuration or operational 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.";
-      }
-    }
-  }
-
-  uses org-openroadm-device-container;
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-dhcp@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-dhcp@2020-05-29.yang
deleted file mode 100644 (file)
index 9562d12..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-module org-openroadm-dhcp {
-  namespace "http://org/openroadm/dhcp";
-  prefix org-openroadm-dhcp;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import ietf-inet-types {
-    prefix ietf-inet-types;
-    revision-date 2013-07-15;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for dhcp protocol.
-
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2017-03-16 {
-    description
-      "Version 3.0";
-  }
-
-  grouping dhcp-relay {
-    container ipv4-dhcp-relay {
-      list ipv4-server-group {
-        key "server-group-name";
-        description
-          "DHCP server group configuration that DHCP relays to";
-        leaf server-group-name {
-          type string;
-          description
-            "Name of the server-group";
-        }
-        leaf-list interface-name {
-          type leafref {
-            path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-          }
-          description
-            "Name of the interface";
-        }
-        leaf-list server-address {
-          type ietf-inet-types:ipv4-address;
-          description
-            "List of IPv4 server addresses";
-        }
-      }
-    }
-    container ipv6-dhcp-relay {
-      list ipv6-server-group {
-        key "server-group-name";
-        description
-          "DHCP server group configuration that DHCP relays to";
-        leaf server-group-name {
-          type string;
-          description
-            "Name of the server-group";
-        }
-        leaf-list interface-name {
-          type leafref {
-            path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-          }
-          description
-            "Name of the interface";
-        }
-        leaf-list server-address {
-          type ietf-inet-types:ipv6-address;
-          description
-            "List of IPv6 server addresses";
-        }
-      }
-    }
-  }
-
-  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='xpdr'";
-    uses dhcp-relay;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2016-10-14.yang
deleted file mode 100644 (file)
index d9c19d4..0000000
+++ /dev/null
@@ -1,147 +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;
-    revision-date 2017-02-06;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2018-10-19.yang
deleted file mode 100755 (executable)
index 494f4ce..0000000
+++ /dev/null
@@ -1,165 +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;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2017-06-26;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  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 {
-      type string;
-      config false;
-      description
-        "speed (UNKNOWN/AUTO/10/100/1000/10000) corresponding to the interface";
-    }
-    leaf curr-duplex {
-      type string;
-      config false;
-      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/ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-ethernet-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 6b56b92..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-module org-openroadm-ethernet-interfaces {
-  yang-version 1.1;
-  namespace "http://org/openroadm/ethernet-interfaces";
-  prefix org-openroadm-eth-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-maintenance-testsignal {
-    prefix org-openroadm-maint-testsignal;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-maintenance-loopback {
-    prefix org-openroadm-maint-loopback;
-    revision-date 2019-11-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  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.
-         Applies to both management and transport Ethernet.
-         Optional, must be specified for transport Ethernet or when auto-negotiation is disabled.";
-    }
-
-    uses org-openroadm-common-types:fec-grouping {
-      description
-        "Forward Error Correction Choices.
-         Applies to transport Ethernet. Mandatory for transport Ethernet.";
-    }
-
-    leaf duplex {
-      type enumeration {
-        enum half {
-          value 0;
-          description
-            "half duplex";
-        }
-        enum full {
-          value 1;
-          description
-            "full duplex";
-        }
-      }
-      default "full";
-      description
-        "Set duplex selections.
-         Applies to both management and transport Ethernet.
-         Optional, default “full”. Transport Ethernet only supports full.";
-    }
-    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.
-         Applies to both management and transport Ethernet.
-         Optional, default “enabled”. Transport Ethernet only supports enabled.";
-    }
-    leaf curr-speed {
-      type string;
-      config false;
-      description
-        "Speed (UNKNOWN/AUTO/10/100/1000/10000) corresponding to the interface.
-         Applies to both management and transport Ethernet.";
-    }
-    leaf curr-duplex {
-      type string;
-      config false;
-      description
-        "Duplex (HALF/FULL) corresponding to the interface.
-         Applies to both management and transport Ethernet.";
-    }
-    leaf max-frame-size {
-      type uint32;
-      config false;
-      description
-        "Maximum Frame Size.  Applies to management Ethernet.";
-    }
-    container subrate-eth-sla {
-      presence "Explicit assignment of subrate ethernet allocation";
-      description
-        "SLA (Service Level Agreement) for subrate Ethernet.
-         Applies to transport Ethernet.";
-      uses org-openroadm-common-types:eth-rate-and-burst-size;
-    }
-    description
-      "Ethernet attributes grouping";
-  }
-
-  grouping ethernet-container {
-    container ethernet {
-      description
-        "Ethernet Interfaces.
-         Maintenance test signal and loopback provisioning is supported for transport Ethernet.";
-      uses eth-attributes;
-      uses org-openroadm-maint-testsignal:maint-testsignal;
-      uses org-openroadm-maint-loopback:maint-loopback;
-    }
-    description
-      "Ethernet container grouping";
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:ethernetCsmacd'";
-    uses ethernet-container;
-    description
-      "Augment for interface";
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-file-transfer@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-file-transfer@2016-10-14.yang
deleted file mode 100644 (file)
index 243fb81..0000000
+++ /dev/null
@@ -1,146 +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;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-file-transfer@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-file-transfer@2018-10-19.yang
deleted file mode 100755 (executable)
index 7f622d0..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-module org-openroadm-file-transfer {
-  namespace "http://org/openroadm/file-transfer";
-  prefix org-openroadm-file-txr;
-
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc transfer {
-    description
-      "File transfer using FTP/SFTP";
-    input {
-      leaf action {
-        type enumeration {
-          enum "upload" {
-            description
-              "Specify the upload action. The NE (SFTP/FTP client) sends
-               the file identified by the local-file-path
-               to the remote-file-path.";
-          }
-          enum "download" {
-            description
-              "Specify the download action. The NE (SFTP/FTP client) retrieves
-               the file identified by the remote-file-path
-               to the local-file-path.";
-          }
-        }
-        mandatory true;
-        description
-          "Type of action - download/upload.";
-      }
-      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";
-        }
-        default "*";
-        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;
-    }
-  }
-  notification transfer-notification {
-    description
-      "notification for transfer operation events.";
-    leaf local-file-path {
-      type string;
-      description
-        "Local file path used in transfer RPC.";
-    }
-    uses org-openroadm-common-types:extended-rpc-response-status;
-    container progress {
-      when "current()/../status = 'In-progress'";
-      description
-        "progress status when response is in-progress";
-      leaf bytes-transferred {
-        type uint64;
-        description
-          "bytes transferred.";
-      }
-      leaf percentage-complete {
-        type uint8;
-        description
-          "percentage completed.";
-      }
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-file-transfer@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-file-transfer@2020-05-29.yang
deleted file mode 100644 (file)
index acb8a99..0000000
+++ /dev/null
@@ -1,247 +0,0 @@
-module org-openroadm-file-transfer {
-  namespace "http://org/openroadm/file-transfer";
-  prefix org-openroadm-file-txr;
-
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-  import ietf-yang-types {
-    prefix ietf-yang-types;
-    revision-date 2013-07-15;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  rpc transfer {
-    description
-      "File transfer using FTP/SFTP";
-    input {
-      leaf action {
-        type enumeration {
-          enum upload {
-            description
-              "Specify the upload action. The NE (SFTP/FTP client) sends
-               the file identified by the local-file-path
-               to the remote-file-path.";
-          }
-          enum download {
-            description
-              "Specify the download action. The NE (SFTP/FTP client) retrieves
-               the file identified by the remote-file-path
-               to the local-file-path.";
-          }
-        }
-        mandatory true;
-        description
-          "Type of action - download/upload.";
-      }
-      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";
-        }
-        default "*";
-        description
-          "Specify file(s) to be listed (* is allowed as wild-card). ";
-      }
-    }
-    output {
-      leaf status {
-        type org-openroadm-common-types:rpc-status;
-        mandatory true;
-        description
-          "RPC status";
-      }
-      leaf status-message {
-        type string;
-        description
-          "status message";
-      }
-      list file {
-        key "filename";
-        description
-          "output file list";
-        leaf filename {
-          type string;
-          description
-            "output filename";
-        }
-        leaf file-size {
-          type uint64;
-          mandatory true;
-          description
-            "output file size";
-        }
-        leaf modified-date {
-          type ietf-yang-types:date-and-time;
-          mandatory true;
-          description
-            "output modified date";
-        }
-      }
-    }
-  }
-
-  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;
-    }
-  }
-
-  notification transfer-notification {
-    description
-      "notification for transfer operation events.";
-    leaf local-file-path {
-      type string;
-      description
-        "Local file path used in transfer RPC.";
-    }
-    uses org-openroadm-common-types:extended-rpc-response-status;
-    container progress {
-      when "current()/../status = 'In-progress'";
-      description
-        "progress status when response is in-progress";
-      leaf bytes-transferred {
-        type uint64;
-        description
-          "bytes transferred.";
-      }
-      leaf percentage-complete {
-        type uint8;
-        description
-          "percentage completed.";
-      }
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-fwdl@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-fwdl@2016-10-14.yang
deleted file mode 100644 (file)
index 86b7926..0000000
+++ /dev/null
@@ -1,60 +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;
-    revision-date 2016-10-14;
-  }
-  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/ordmodels/device/src/main/yang/org-openroadm-fwdl@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-fwdl@2018-10-19.yang
deleted file mode 100755 (executable)
index 0e2a964..0000000
+++ /dev/null
@@ -1,78 +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;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  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/ordmodels/device/src/main/yang/org-openroadm-fwdl@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-fwdl@2020-05-29.yang
deleted file mode 100644 (file)
index b9b300f..0000000
+++ /dev/null
@@ -1,116 +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;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  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";
-      }
-      leaf boot {
-        type boolean;
-        default "false";
-        description
-          "Flag to update boot loader or unprotected firmware";
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-gcc-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-gcc-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 99a7420..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-module org-openroadm-gcc-interfaces {
-  namespace "http://org/openroadm/gcc-interfaces";
-  prefix org-openroadm-gcc-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility gcc interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 reprgccce 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 prgcccts 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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0";
-  }
-
-  grouping gcc-interfaces {
-    container gcc {
-      description
-        "GCC Channel on OTN interface.";
-      leaf gcc-channel-type {
-        type enumeration {
-          enum gcc0 {
-            value 1;
-            description
-              "OTU GCC0 channel";
-          }
-          enum gcc1 {
-            value 2;
-            description
-              "ODU GCC1 channel";
-          }
-          enum gcc2 {
-            value 3;
-            description
-              "ODU GCC2 channel";
-          }
-          enum gcc1-gcc2 {
-            value 4;
-            description
-              "Combined ODU GCC channel";
-          }
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:gcc'";
-    uses gcc-interfaces;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-gnmi@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-gnmi@2020-05-29.yang
deleted file mode 100644 (file)
index 874cfab..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-module org-openroadm-gnmi {
-  yang-version 1.1;
-  namespace "http://org/openroadm/gnmi";
-  prefix org-openroadm-gnmi;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-security {
-    prefix org-openroadm-security;
-    revision-date 2020-05-29;
-  }
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for gnmi protocol.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Initial revision.";
-  }
-
-  grouping gnmi_container {
-    description
-      "Grouping for setting of GNMI attributes ";
-    container gnmi {
-      description
-        "gRPC Network Management Interface related configurations";
-      leaf enabled {
-        type boolean;
-        must "(current()='true' and ../certificate-id) or current()='false'" {
-          error-message "certificate-id should be configured to enable gNMI.";
-        }
-        default "false";
-        description
-          "Enable/Disable gNMI.";
-      }
-      leaf certificate-id {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-security:security/org-openroadm-security:certificate/org-openroadm-security:certificate-id";
-        }
-        description
-          "ID of the certificate from security table";
-      }
-      leaf port {
-        type inet:port-number;
-        default "6030";
-        description
-          "gNMI port to listen on";
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:protocols" {
-    description
-      "Creation of GNMI container under device protols ";
-    uses gnmi_container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-interfaces@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-interfaces@2016-10-14.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/ordmodels/device/src/main/yang/org-openroadm-interfaces@2017-06-26.yang b/ordmodels/device/src/main/yang/org-openroadm-interfaces@2017-06-26.yang
deleted file mode 100644 (file)
index 03f1da1..0000000
+++ /dev/null
@@ -1,125 +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 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 mediaChannelTrailTerminationPoint {
-    base interface-type;
-    description
-      "Media Channel Trail Termination Point";
-  }
-
-  identity networkMediaChannelConnectionTerminationPoint {
-    base interface-type;
-    description
-      "Network Media Channel Connection Termination Point";
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-ip@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-ip@2020-05-29.yang
deleted file mode 100644 (file)
index 96ee2e7..0000000
+++ /dev/null
@@ -1,347 +0,0 @@
-module org-openroadm-ip {
-  namespace "http://org/openroadm/ip";
-  prefix org-openroadm-ip;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This model defines Yang model for IP (IPv4 and IPv6) interfaces.
-
-     This model reuses data items defined in the IETF YANG model for
-     interfaces described by RFC 7277.
-
-     Some attributes which are not required in Open ROADM MSA are removed.
-     Yang file included are changed to fit into Open ROADM MSA yang structure.
-
-     IETF code is subject to the following copyright and license:
-     Copyright (c) IETF Trust and the persons identified as authors of
-     the code.
-     All rights reserved.
-
-     Redistribution and use in source and binary forms, with or without
-     modification, is permitted pursuant to, and subject to the license
-     terms contained in, the Simplified BSD License set forth in
-     Section 4.c of the IETF Trust's Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info).";
-
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2014-06-16 {
-    description
-      "Initial revision.";
-    reference
-      "RFC 7277: A YANG Data Model for IP Management";
-  }
-
-  feature ipv4-non-contiguous-netmasks {
-    description
-      "Indicates support for configuring non-contiguous
-       subnet masks.";
-  }
-
-  feature ipv6-privacy-autoconf {
-    description
-      "Indicates support for Privacy Extensions for Stateless Address
-       Autoconfiguration in IPv6.";
-    reference
-      "RFC 4941: Privacy Extensions for Stateless Address
-                 Autoconfiguration in IPv6";
-  }
-
-  typedef ip-address-origin {
-    type enumeration {
-      enum other {
-        description
-          "None of the following.";
-      }
-      enum static {
-        description
-          "Indicates that the address has been statically
-           configured - for example, using NETCONF or a Command Line
-           Interface.";
-      }
-      enum dhcp {
-        description
-          "Indicates an address that has been assigned to this
-           system by a DHCP server.";
-      }
-      enum link-layer {
-        description
-          "Indicates an address created by IPv6 stateless
-           autoconfiguration that embeds a link-layer address in its
-           interface identifier.";
-      }
-      enum random {
-        description
-          "Indicates an address chosen by the system at
-
-           random, e.g., an IPv4 address within 169.254/16, an
-           RFC 4941 temporary address, or an RFC 7217 semantically
-           opaque address.";
-        reference
-          "RFC 4941: Privacy Extensions for Stateless Address
-                     Autoconfiguration in IPv6
-           RFC 7217: A Method for Generating Semantically Opaque
-                     Interface Identifiers with IPv6 Stateless
-                     Address Autoconfiguration (SLAAC)";
-      }
-    }
-    description
-      "The origin of an address.";
-  }
-
-  typedef neighbor-origin {
-    type enumeration {
-      enum other {
-        description
-          "None of the following.";
-      }
-      enum static {
-        description
-          "Indicates that the mapping has been statically
-           configured - for example, using NETCONF or a Command Line
-           Interface.";
-      }
-      enum dynamic {
-        description
-          "Indicates that the mapping has been dynamically resolved
-           using, e.g., IPv4 ARP or the IPv6 Neighbor Discovery
-           protocol.";
-      }
-    }
-    description
-      "The origin of a neighbor entry.";
-  }
-
-  grouping ip-grp {
-    container ipv4 {
-      presence "Enables IPv4 unless the 'enabled' leaf
-                (which defaults to 'true') is set to 'false'";
-      description
-        "Parameters for the IPv4 address family.";
-      leaf enabled {
-        type boolean;
-        default "false";
-        description
-          "Controls whether IPv4 is enabled or disabled on this
-           interface.  When IPv4 is enabled, this interface is
-           connected to an IPv4 stack, and the interface can send
-           and receive IPv4 packets.";
-      }
-      leaf forwarding {
-        type boolean;
-        default "false";
-        description
-          "Controls IPv4 packet forwarding of datagrams received by,
-           but not addressed to, this interface.  IPv4 routers
-           forward datagrams.  IPv4 hosts do not (except those
-           source-routed via the host).";
-      }
-      leaf mtu {
-        type uint16 {
-          range "68..max";
-        }
-        units "octets";
-        default "1500";
-        description
-          "The size, in octets, of the largest IPv4 packet that the
-           interface will send and receive.
-
-           The server may restrict the allowed values for this leaf,
-           depending on the interface's type.
-
-           If this leaf is not configured, the operationally used MTU
-           depends on the interface's type.
-
-           The max value supported must be at least 9000.";
-        reference
-          "RFC 791: Internet Protocol";
-      }
-      leaf address-src {
-        when "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface[org-openroadm-device:name='UNNUMBERED']";
-        type enumeration {
-          enum NEM {
-            value 1;
-          }
-        }
-        description
-          "The source of the shared IP address for unnumbered IP interface.";
-      }
-      leaf address-force {
-        when "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface[org-openroadm-device:name='UNNUMBERED']";
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-ip:ipv4/org-openroadm-ip:address/org-openroadm-ip:ip";
-        }
-        must "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface[org-openroadm-device:name='NEM']/org-openroadm-ip:ipv4/org-openroadm-ip:address[org-openroadm-ip:ip=current()]/org-openroadm-ip:ip = current()" {
-          error-message "IP address shall be sourced from the NEM interface only";
-        }
-        must 'not (../address-src)' {
-          error-message "Both address-src & address-force cannot be configured at the same time";
-        }
-        description
-          "The IP address to use for the unnumbered interface";
-      }
-      list address {
-        key "ip";
-        description
-          "The list of configured IPv4 addresses on the interface.";
-        leaf ip {
-          type inet:ipv4-address-no-zone;
-          description
-            "The IPv4 address on the interface.";
-        }
-        leaf preferred {
-          when "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface[org-openroadm-device:name='NEM']";
-          type enumeration {
-            enum true {
-              value 1;
-            }
-            enum false {
-              value 0;
-            }
-          }
-          default "false";
-          description
-            "Mark address availability for unnumbered interface use.";
-        }
-        choice subnet {
-          mandatory true;
-          description
-            "The subnet can be specified as a prefix-length, or,
-             if the server supports non-contiguous netmasks, as
-             a netmask.";
-          leaf prefix-length {
-            type uint8 {
-              range "0..32";
-            }
-            description
-              "The length of the subnet prefix.";
-          }
-          leaf netmask {
-            if-feature "ipv4-non-contiguous-netmasks";
-            type yang:dotted-quad;
-            description
-              "The subnet specified as a netmask.";
-          }
-        }
-      }
-    }
-    container ipv6 {
-      presence "Enables IPv6 unless the 'enabled' leaf
-                (which defaults to 'true') is set to 'false'";
-      description
-        "Parameters for the IPv6 address family.";
-      leaf enabled {
-        type boolean;
-        default "false";
-        description
-          "Controls whether IPv6 is enabled or disabled on this
-           interface.  When IPv6 is enabled, this interface is
-           connected to an IPv6 stack, and the interface can send
-           and receive IPv6 packets.";
-      }
-      leaf forwarding {
-        type boolean;
-        default "false";
-        description
-          "Controls IPv6 packet forwarding of datagrams received by,
-           but not addressed to, this interface.  IPv6 routers
-           forward datagrams.  IPv6 hosts do not (except those
-           source-routed via the host).";
-        reference
-          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
-                     Section 6.2.1, IsRouter";
-      }
-      leaf mtu {
-        type uint32 {
-          range "1280..1500";
-        }
-        units "octets";
-        default "1500";
-        description
-          "The size, in octets, of the largest IPv6 packet that the
-           interface will send and receive.
-
-           The server may restrict the allowed values for this leaf,
-           depending on the interface's type.
-
-           If this leaf is not configured, the operationally used MTU
-           depends on the interface's type.";
-        reference
-          "RFC 2460: Internet Protocol, Version 6 (IPv6) Specification
-                     Section 5";
-      }
-      list address {
-        key "ip";
-        description
-          "The list of configured IPv6 addresses on the interface.";
-        leaf ip {
-          type inet:ipv6-address-no-zone;
-          description
-            "The IPv6 address on the interface.";
-        }
-        leaf prefix-length {
-          type uint8 {
-            range "0..128";
-          }
-          mandatory true;
-          description
-            "The length of the subnet prefix.";
-        }
-      }
-    }
-    description
-     "Grouping for ip";
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:ip'";
-    description
-      "Parameters for configuring IP on interfaces.
-
-       If an interface is not capable of running IP, the server
-       must not allow the client to configure these parameters.";
-    uses ip-grp;
-    }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-ipv4-unicast-routing@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-ipv4-unicast-routing@2020-05-29.yang
deleted file mode 100644 (file)
index 48e3064..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-module org-openroadm-ipv4-unicast-routing {
-  namespace "http://org/openroadm/ipv4-unicast-routing";
-  prefix org-openroadm-ipv4-unicast-routing;
-
-  import org-openroadm-routing {
-    prefix org-openroadm-routing;
-    revision-date 2020-05-29;
-  }
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This model defines Yang model for IPv4 unicast routing.
-
-     This model reuses data items defined in the IETF YANG model for
-     interfaces described by RFC 8022.
-
-     Some attributes which are not required in Open ROADM MSA are removed.
-     Yang file included are changed to fit into Open ROADM MSA yang structure.
-
-     IETF code is subject to the following copyright and license:
-     Copyright (c) IETF Trust and the persons identified as authors of
-     the code.
-     All rights reserved.
-
-     Redistribution and use in source and binary forms, with or without
-     modification, is permitted pursuant to, and subject to the license
-     terms contained in, the Simplified BSD License set forth in
-     Section 4.c of the IETF Trust's Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info).";
-
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2015-05-25 {
-    description
-      "Initial revision.";
-    reference
-      "RFC XXXX: A YANG Data Model for Routing Management";
-  }
-
-  identity ipv4-unicast {
-    base org-openroadm-routing:ipv4;
-    description
-      "This identity represents the IPv4 unicast address family.";
-  }
-
-  grouping ipv4-uni-grp {
-    container ipv4 {
-      description
-        "Configuration of a 'static' pseudo-protocol instance
-         consists of a list of routes.";
-      list route {
-        key "destination-prefix";
-        max-elements 32;
-        ordered-by user;
-        description
-          "A user-ordered list of static routes.";
-        leaf destination-prefix {
-          type inet:ipv4-prefix;
-          mandatory true;
-          description
-            "IPv4 destination prefix.";
-        }
-        leaf description {
-          type string;
-          description
-            "Textual description of the route.";
-        }
-        container next-hop {
-          description
-            "Configuration of next-hop.";
-          uses org-openroadm-routing:next-hop-content {
-            augment "next-hop-options" {
-              description
-                "Add next-hop address case.";
-              leaf next-hop-address {
-                type inet:ipv4-address;
-                description
-                  "IPv4 address of the next-hop.";
-              }
-            }
-          }
-        }
-      }
-    }
-    description
-     "Grouping for IPv4";
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-routing:routing/org-openroadm-routing:routing-instance/org-openroadm-routing:routing-protocols/org-openroadm-routing:routing-protocol/org-openroadm-routing:static-routes" {
-    description
-      "This augment defines the configuration of the 'static'
-       pseudo-protocol with data specific to IPv4 unicast.";
-    uses ipv4-uni-grp;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-ipv6-unicast-routing@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-ipv6-unicast-routing@2020-05-29.yang
deleted file mode 100644 (file)
index 992f1cb..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-module org-openroadm-ipv6-unicast-routing {
-  namespace "http://org/openroadm/ipv6-unicast-routing";
-  prefix org-openroadm-ipv6-unicast-routing;
-
-  import org-openroadm-routing {
-    prefix org-openroadm-routing;
-    revision-date 2020-05-29;
-  }
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This model defines Yang model for IPv6 unicast routing.
-
-     This model reuses data items defined in the IETF YANG model for
-     interfaces described by RFC 8022.
-
-     Some attributes which are not required in Open ROADM MSA are removed.
-     Yang file included are changed to fit into Open ROADM MSA yang structure.
-
-     IETF code is subject to the following copyright and license:
-     Copyright (c) IETF Trust and the persons identified as authors of
-     the code.
-     All rights reserved.
-
-     Redistribution and use in source and binary forms, with or without
-     modification, is permitted pursuant to, and subject to the license
-     terms contained in, the Simplified BSD License set forth in
-     Section 4.c of the IETF Trust's Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info).";
-
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2015-05-25 {
-    description
-      "Initial revision.";
-    reference
-      "RFC XXXX: A YANG Data Model for Routing Management";
-  }
-
-  identity ipv6-unicast {
-    base org-openroadm-routing:ipv6;
-    description
-      "This identity represents the IPv6 unicast address family.";
-  }
-
-  grouping ipv6-uni-grp {
-    container ipv6 {
-      description
-        "Configuration of a 'static' pseudo-protocol instance
-         consists of a list of routes.";
-      list route {
-        key "destination-prefix";
-        ordered-by user;
-        description
-          "A user-ordered list of static routes.";
-        leaf destination-prefix {
-          type inet:ipv6-prefix;
-          mandatory true;
-          description
-            "IPv6 destination prefix.";
-        }
-        leaf description {
-          type string;
-          description
-            "Textual description of the route.";
-        }
-        container next-hop {
-          description
-            "Configuration of next-hop.";
-          uses org-openroadm-routing:next-hop-content {
-            augment "next-hop-options" {
-              description
-                "Add next-hop address case.";
-              leaf next-hop-address {
-                type inet:ipv6-address;
-                description
-                  "IPv6 address of the next-hop.";
-              }
-            }
-          }
-        }
-      }
-    }
-    description
-      "Grouping for IPv6";
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-routing:routing/org-openroadm-routing:routing-instance/org-openroadm-routing:routing-protocols/org-openroadm-routing:routing-protocol/org-openroadm-routing:static-routes" {
-    description
-      "This augment defines the configuration of the 'static'
-       pseudo-protocol with data specific to IPv6 unicast.";
-    uses ipv6-uni-grp;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-key-chain@2019-11-29.yang b/ordmodels/device/src/main/yang/org-openroadm-key-chain@2019-11-29.yang
deleted file mode 100644 (file)
index 69d8d8c..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-module org-openroadm-key-chain {
-  namespace "http://org/openroadm/key-chain";
-  prefix org-openroadm-key-chain;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This model defines the Yang model for key chain.
-
-     This model reuses data items defined in the IETF YANG model for
-     key-chain as described by RFC 8177.
-
-     Some attributes which are not required in Open ROADM MSA are removed.
-     Yang file included are changed to fit into Open ROADM MSA yang structure.
-
-     IETF code is subject to the following copyright and license:
-     Copyright (c) IETF Trust and the persons identified as authors of
-     the code.
-     All rights reserved.
-
-     Redistribution and use in source and binary forms, with or without
-     modification, is permitted pursuant to, and subject to the license
-     terms contained in, the Simplified BSD License set forth in
-     Section 4.c of the IETF Trust's Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info).";
-
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Initial revision.";
-  }
-
-  feature hex-key-string {
-    description
-      "Support hexadecimal key string.";
-  }
-
-  feature independent-send-accept-lifetime {
-    description
-      "Support for independent send and accept key lifetimes.";
-  }
-
-  feature crypto-hmac-sha-1-12 {
-    description
-      "Support for TCP HMAC-SHA-1 12 byte digest hack.";
-  }
-
-  typedef key-chain-ref {
-    type leafref {
-      path "/org-openroadm-key-chain:key-chains/key-chain-list/org-openroadm-key-chain:name";
-    }
-    description
-      "This type is used by data models that need to reference
-       configured key-chains.";
-  }
-
-  grouping lifetime {
-    description
-      "Key lifetime specification.";
-    choice lifetime {
-      default "always";
-      description
-        "Options for specifying key accept or send lifetimes";
-      case always {
-        leaf always {
-          type empty;
-          description
-            "Indicates key lifetime is always valid.";
-        }
-      }
-      case start-end-time {
-        leaf start-date-time {
-          type yang:date-and-time;
-          description
-            "Start time.";
-        }
-        choice end-time {
-          default "infinite";
-          description
-            "End-time setting.";
-          case infinite {
-            leaf no-end-time {
-              type empty;
-              description
-                "Indicates key lifetime end-time in infinite.";
-            }
-          }
-          case duration {
-            leaf duration {
-              type uint32 {
-                range "1..2147483646";
-              }
-              units "seconds";
-              description
-                "Key lifetime duration, in seconds";
-            }
-          }
-          case end-date-time {
-            leaf end-date-time {
-              type yang:date-and-time;
-              description
-                "End time.";
-            }
-          }
-        }
-      }
-    }
-  }
-
-  grouping crypto-algorithm-types {
-    description
-      "Cryptographic algorithm types.";
-    choice algorithm {
-      description
-        "Options for crytographic algorithm specification.";
-      case md5 {
-        leaf md5 {
-          type empty;
-          description
-            "The MD5 algorithm.";
-        }
-      }
-    }
-  }
-
-  grouping key-chain {
-    description
-      "key-chain specification grouping.";
-    leaf name {
-      type string;
-      description
-        "Name of the key-chain.";
-    }
-    list key-chain-entry {
-      key "key-id";
-      description
-        "One key.";
-      leaf key-id {
-        type uint64 {
-          range "1..255" {
-            error-message "Configured value is out of range";
-          }
-        }
-        description
-          "Key id.";
-      }
-      container key-string {
-        description
-          "The key string.";
-        choice key-string-style {
-          description
-            "Key string styles";
-          case keystring {
-            leaf keystring {
-              type string {
-                length "1..16" {
-                  error-message "Configured string exceeds the maximum length";
-                }
-              }
-              description
-                "Key string in ASCII format.";
-            }
-          }
-          case hexadecimal {
-            if-feature "hex-key-string";
-          }
-        }
-      }
-      container crypto-algorithm {
-        description
-          "Cryptographic algorithm associated with key.";
-        uses crypto-algorithm-types;
-      }
-    }
-  }
-
-  container key-chains {
-    description
-      "All configured key-chains for the device.";
-    list key-chain-list {
-      key "name";
-      description
-        "List of key-chains.";
-      uses key-chain;
-    }
-  }
-  container key-chains-state {
-    config false;
-    description
-      "All configured key-chains state.";
-    list key-chain-list-state {
-      description
-        "One key-chain state.";
-      leaf name-state {
-        type string;
-        description
-          "Configured name of the key-chain.";
-      }
-      list key-chain-entry {
-        key "key-id";
-        description
-          "One key.";
-        leaf key-id {
-          type uint64;
-          description
-            "Configurd key id.";
-        }
-        container crypto-algorithm-state {
-          description
-            "Configured cryptographic algorithm.";
-          uses crypto-algorithm-types;
-        }
-      }
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-lldp@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-lldp@2016-10-14.yang
deleted file mode 100644 (file)
index 08b2a16..0000000
+++ /dev/null
@@ -1,304 +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;
-    revision-date 2017-02-06;
-  }
-  import iana-afn-safi {
-    prefix ianaaf;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2016-10-14;
-  }
-  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/ordmodels/device/src/main/yang/org-openroadm-lldp@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-lldp@2018-10-19.yang
deleted file mode 100755 (executable)
index 0b85ce1..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-module org-openroadm-lldp {
-  namespace "http://org/openroadm/lldp";
-  prefix org-openroadm-lldp;
-
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import iana-afn-safi {
-    prefix ianaaf;
-    revision-date 2013-07-04;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2018-10-19;
-  }
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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";
-            }
-          }
-          default "enable";
-          description
-            "LLDP feature Enable/Disable per NE";
-        }
-        leaf msgTxInterval {
-          type uint16 {
-            range "5..32768";
-          }
-          default "30";
-          description
-            "LLDP frame Retransmit Interval in seconds";
-        }
-        leaf msgTxHoldMultiplier {
-          type uint8 {
-            range "2..10";
-          }
-          default "4";
-          description
-            "TTL value for the TLVs transmitter over wire in seconds";
-        }
-      }
-      list port-config {
-        key "ifName";
-        description
-          "LLDP port configurations";
-        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";
-            }
-          }
-          default "txandrx";
-          description
-            "LLDP enable per port basis";
-        }
-      }
-      container nbr-list {
-        config false;
-        description
-          "LLDP Oper data - Neighbour List information";
-        list if-name {
-          key "ifName";
-          leaf ifName {
-            type string;
-            description
-              "Ethernet interface name where LLDP runs";
-          }
-          uses nbr-info-grp;
-        }
-      }
-    }
-  }
-
-  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;
-    }
-  }
-  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' or /org-openroadm-device:org-openroadm-device/org-openroadm-device:info/org-openroadm-device:node-type='ila'";
-    uses lldp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-lldp@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-lldp@2020-05-29.yang
deleted file mode 100644 (file)
index a541eac..0000000
+++ /dev/null
@@ -1,365 +0,0 @@
-module org-openroadm-lldp {
-  namespace "http://org/openroadm/lldp";
-  prefix org-openroadm-lldp;
-
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import iana-afn-safi {
-    prefix ianaaf;
-    revision-date 2013-07-04;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2019-11-29;
-  }
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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";
-            }
-          }
-          default "enable";
-          description
-            "LLDP feature Enable/Disable per NE";
-        }
-        leaf msgTxInterval {
-          type uint16 {
-            range "5..32768";
-          }
-          default "30";
-          description
-            "LLDP frame Retransmit Interval in seconds";
-        }
-        leaf msgTxHoldMultiplier {
-          type uint8 {
-            range "2..10";
-          }
-          default "4";
-          description
-            "TTL value for the TLVs transmitter over wire in seconds";
-        }
-      }
-      list port-config {
-        key "ifName";
-        description
-          "LLDP port configurations";
-        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";
-            }
-          }
-          default "txandrx";
-          description
-            "LLDP enable per port basis";
-        }
-      }
-      container nbr-list {
-        config false;
-        description
-          "LLDP Oper data - Neighbour List information";
-        list if-name {
-          key "ifName";
-          leaf ifName {
-            type string;
-            description
-              "Ethernet interface name where LLDP runs";
-          }
-          uses nbr-info-grp;
-        }
-      }
-    }
-  }
-
-  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;
-    }
-  }
-
-  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' or /org-openroadm-device:org-openroadm-device/org-openroadm-device:info/org-openroadm-device:node-type='ila'";
-    uses lldp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2016-10-14.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/ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2017-12-15.yang b/ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2017-12-15.yang
deleted file mode 100755 (executable)
index da8f5cd..0000000
+++ /dev/null
@@ -1,80 +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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  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/ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2019-11-29.yang b/ordmodels/device/src/main/yang/org-openroadm-maintenance-loopback@2019-11-29.yang
deleted file mode 100644 (file)
index ed46bb9..0000000
+++ /dev/null
@@ -1,88 +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,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  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/ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2016-10-14.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/ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2017-12-15.yang b/ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2017-12-15.yang
deleted file mode 100755 (executable)
index 9816505..0000000
+++ /dev/null
@@ -1,139 +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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  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/ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-maintenance-testsignal@2020-05-29.yang
deleted file mode 100644 (file)
index ce1b486..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-module org-openroadm-maintenance-testsignal {
-  yang-version 1.1;
-  namespace "http://org/openroadm/maintenance-testsignal";
-  prefix org-openroadm-maint-testsignal;
-
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping maint-testsignal {
-    description
-      "Maintenance testsignal grouping";
-    container maint-testsignal {
-      description
-        "Maintenance testsignal container";
-      typedef testsig-type {
-        type enumeration {
-          enum fac {
-            value 0;
-            description
-              "test signal in the facility direction";
-          }
-          enum term {
-            value 1;
-            description
-              "test signal in the terminal direction";
-          }
-        }
-        description
-          "Testsignal enum typedef";
-      }
-
-      action clear-diagnostics {
-        description
-          "Perform maintenance and diagnostic counter clear.";
-        input {
-          leaf type {
-            type testsig-type;
-            description
-              "Maintenance and Diagnostic counter to be cleared.  If the type is not specified then it will reset the counter for the enabled type(s)";
-          }
-        }
-        output {
-          leaf status {
-            type org-openroadm-common-types:rpc-status;
-            mandatory true;
-            description
-              "RPC status";
-          }
-          leaf status-message {
-            type string;
-            description
-              "status message";
-          }
-        }
-      }
-      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-31 at 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";
-          }
-        }
-        mandatory true;
-        description
-          "Set test signal pattern";
-      }
-      leaf type {
-        when "../enabled = 'true'";
-        type testsig-type;
-        default "fac";
-        description
-          "Set test signal type (or direction).";
-      }
-      leaf inSync {
-        type boolean;
-        config false;
-        description
-          "sync status of the received test signal";
-      }
-      leaf seconds {
-        when "../enabled = 'true' and ../inSync = 'true'";
-        type uint32;
-        config false;
-        mandatory true;
-        description
-          "number of seconds the received test signal is in sync.";
-      }
-      leaf bitErrors {
-        when "../enabled = 'true'";
-        type uint32 {
-          range "0..4294967295";
-        }
-        config false;
-        description
-          "bit errors for test signal.";
-      }
-      leaf bitErrorRate {
-        type decimal64 {
-          fraction-digits 17;
-        }
-        config false;
-        description
-          "bit error rate of the received test signal";
-      }
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-media-channel-interfaces@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-media-channel-interfaces@2018-10-19.yang
deleted file mode 100755 (executable)
index 4693a21..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-module org-openroadm-media-channel-interfaces {
-  namespace "http://org/openroadm/media-channel-interfaces";
-  prefix org-openroadm-media-channel-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  grouping mc-ttp-attributes {
-    description
-      "Media channel termination point. Models bandwidth allocation in physical media. Network media channels may be provisioned in the spectrum characterized by the frequency limits.";
-    leaf min-freq {
-      type org-openroadm-common-types:frequency-THz;
-      config true;
-      description
-        "Minimum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-    leaf max-freq {
-      type org-openroadm-common-types:frequency-THz;
-      config true;
-      description
-        "Maximum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-    leaf center-freq {
-      type org-openroadm-common-types:frequency-THz;
-      config false;
-      description
-        "Center Frequency in THz. Granularity is hardware dependent, based on center-freq-granularity.";
-    }
-    leaf slot-width {
-      type org-openroadm-common-types:frequency-GHz;
-      config false;
-      description
-        "Width of the slot.  Granularity is hardware dependent, based on slot-width-granularity";
-    }
-  }
-
-  grouping mc-ttp-container {
-    container mc-ttp {
-      description
-        "Media Channel Trail Termination Point (MC-TTP)";
-      uses mc-ttp-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:mediaChannelTrailTerminationPoint'";
-    uses mc-ttp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-media-channel-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-media-channel-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 7b1e03a..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-module org-openroadm-media-channel-interfaces {
-  namespace "http://org/openroadm/media-channel-interfaces";
-  prefix org-openroadm-media-channel-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  grouping mc-ttp-attributes {
-    description
-      "Media channel termination point. Models bandwidth allocation in physical media. Network media channels may be provisioned in the spectrum characterized by the frequency limits.";
-    leaf min-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Minimum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-    leaf max-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Maximum Frequency in THz. Granularity is hardware dependent, based on pixel resolution. eg. ITU 12.5GHz frequency slots. Range covers C+L";
-    }
-    leaf center-freq {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config false;
-      description
-        "Center Frequency in THz. Granularity is hardware dependent, based on center-freq-granularity.";
-    }
-    leaf slot-width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config false;
-      description
-        "Width of the slot.  Granularity is hardware dependent, based on slot-width-granularity";
-    }
-  }
-
-  grouping mc-ttp-container {
-    container mc-ttp {
-      description
-        "Media Channel Trail Termination Point (MC-TTP)";
-      uses mc-ttp-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:mediaChannelTrailTerminationPoint'";
-    uses mc-ttp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-network-media-channel-interfaces@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-network-media-channel-interfaces@2018-10-19.yang
deleted file mode 100755 (executable)
index 3eded06..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-module org-openroadm-network-media-channel-interfaces {
-  namespace "http://org/openroadm/network-media-channel-interfaces";
-  prefix org-openroadm-network-media-channel-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  grouping nmc-ctp-attributes {
-    description
-      "Network Media Channel attributes";
-    leaf frequency {
-      type org-openroadm-common-types:frequency-THz;
-      config true;
-      description
-        "Center Frequency in THz.  This is not constrained by mc-capabilities.  It must fit (when combined with width) inside any containing media channel.";
-    }
-    leaf width {
-      type org-openroadm-common-types:frequency-GHz;
-      config true;
-      description
-        "Frequency width in GHz.  This is not constrained by mc-capabilities.  It must fit (when combined with frequency) inside any containing media channel.";
-    }
-  }
-
-  grouping nmc-ctp-container {
-    container nmc-ctp {
-      description
-        "Network Media Channel Connection Termination Point (NMC-CTP)";
-      uses nmc-ctp-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:networkMediaChannelConnectionTerminationPoint'";
-    uses nmc-ctp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-network-media-channel-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-network-media-channel-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 08d9f1b..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-module org-openroadm-network-media-channel-interfaces {
-  namespace "http://org/openroadm/network-media-channel-interfaces";
-  prefix org-openroadm-network-media-channel-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  grouping nmc-ctp-attributes {
-    description
-      "Network Media Channel attributes";
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Center Frequency in THz.  This is not constrained by mc-capabilities.  It must fit (when combined with width) inside any containing media channel.";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config true;
-      description
-        "Frequency width in GHz.  This is not constrained by mc-capabilities.  It must fit (when combined with frequency) inside any containing media channel.";
-    }
-  }
-
-  grouping nmc-ctp-container {
-    container nmc-ctp {
-      description
-        "Network Media Channel Connection Termination Point (NMC-CTP)";
-      uses nmc-ctp-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:networkMediaChannelConnectionTerminationPoint'";
-    uses nmc-ctp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2016-10-14.yang
deleted file mode 100644 (file)
index 67dcc0d..0000000
+++ /dev/null
@@ -1,187 +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;
-    revision-date 2017-02-06;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2018-10-19.yang
deleted file mode 100755 (executable)
index 6020d8e..0000000
+++ /dev/null
@@ -1,135 +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;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping och-attributes {
-    description
-      "Optical Channel attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-common-types:och-rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf frequency {
-      type org-openroadm-common-types:frequency-THz;
-      config true;
-      description
-        "Center Frequency in THz.";
-    }
-    leaf width {
-      type org-openroadm-common-types:frequency-GHz;
-      config false;
-      description
-        "Frequency width in GHz.";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-types: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/ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-channel-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 357fcdd..0000000
+++ /dev/null
@@ -1,202 +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;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-optical-operational-interfaces {
-    prefix org-openroadm-optical-operational-interfaces;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping och-attributes {
-    description
-      "Optical Channel attributes";
-    leaf provision-mode {
-      type org-openroadm-common-optical-channel-types:provision-mode-type;
-      default "explicit";
-      description
-        "The provision-mode specified by the controller. Default to 'explicit' (ie, the set of optical parameter specified in MSA Optical Spec).
-         The 'profile' provision-mode is introduced in MSA 5.0 to support the bookended xponder application";
-    }
-    leaf rate {
-      when "../provision-mode = 'explicit'";
-      type identityref {
-        base org-openroadm-common-optical-channel-types:och-rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "Center Frequency in THz.";
-    }
-    leaf width {
-      when "../provision-mode = 'explicit'";
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config false;
-      description
-        "Frequency width in GHz.";
-    }
-    leaf modulation-format {
-      when "../provision-mode = 'explicit'";
-      type org-openroadm-common-optical-channel-types:modulation-format;
-      description
-        "Modulation format";
-    }
-    leaf transmit-power {
-      type org-openroadm-common-link-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";
-    }
-    leaf optical-operational-mode {
-      type string;
-      description
-        "Optical-operational-mode sets the xponder settings based on one of the operational mode capabilities as published by the device.  This attribute is mandatory when the provision-mode is set to profile.";
-    }
-    container operational-mode-params {
-      when "../provision-mode = 'profile'";
-      config false;
-      description
-        "The container containing the optical parameters for the specified operational mode.";
-      uses org-openroadm-optical-operational-interfaces:optical-operational-modes-grp-attr;
-    }
-  }
-
-  grouping och-container {
-    description
-      "OCH container group";
-    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'";
-    description
-      "augment for optical channel container";
-    uses och-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-optical-multiplex-interfaces@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-multiplex-interfaces@2016-10-14.yang
deleted file mode 100644 (file)
index 3fddeda..0000000
+++ /dev/null
@@ -1,67 +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;
-    revision-date 2017-02-06;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-optical-operational-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-operational-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index bcaff15..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-module org-openroadm-optical-operational-interfaces {
-  namespace "http://org/openroadm/optical-operational-interfaces";
-  prefix org-openroadm-optical-operational-interfaces;
-
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device flexible optical transport network group interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2018,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-
-  grouping optical-operational-modes-grp-attr {
-    description
-      "optical operational modes attribute grouping";
-    leaf spectral-width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      units "GHz";
-      description
-        "The required minimum signal spectral width of signal at -22 dbm.";
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2016-10-14.yang
deleted file mode 100644 (file)
index 16f1700..0000000
+++ /dev/null
@@ -1,147 +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;
-    revision-date 2017-02-06;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2018-10-19.yang
deleted file mode 100755 (executable)
index 1476de2..0000000
+++ /dev/null
@@ -1,187 +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;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 {
-      type org-openroadm-common-types:ratio-dB;
-      description
-        "Span loss on the receiver side. Set by the controller and used by device to set AMP gain.";
-    }
-    leaf span-loss-transmit {
-      type org-openroadm-common-types:ratio-dB;
-      description
-        "Span loss on the transmitter side. Set by the controller and used by device to configure MSA compliant channel launch power";
-    }
-    leaf ingress-span-loss-aging-margin {
-      type org-openroadm-common-types:ratio-dB;
-      default "0";
-      config true;
-      description
-        "Span-loss margin used to set optical amplifier gain and output-voa.
-         Day one attenuation of the link, at initial commissioning may increase across wdm link life.
-         span-loss-aging-margin defines the maximum additional loss the wdm link may experience in addition
-         to initial loss without requiring a new design (new amplifier settings). ";
-    }
-    leaf eol-max-load-pIn {
-      type org-openroadm-common-types:power-dBm;
-      config true;
-      description
-        "End Of Life Total input power at maximum load used for amplifier control.
-         Calculated during the design, this value shall be used by the amplifier device
-         for the setting so that the reasonable margin is kept to reach this value
-         at the end of life of the wdm link, considering span-loss aging margins are reached ";
-    }
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-transport-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index dd173a0..0000000
+++ /dev/null
@@ -1,219 +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;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "Span loss on the receiver side. Set by the controller and used by device to set AMP gain.";
-    }
-    leaf span-loss-transmit {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "Span loss on the transmitter side. Set by the controller and used by device to configure MSA compliant channel launch power";
-    }
-    leaf ingress-span-loss-aging-margin {
-      type org-openroadm-common-link-types:ratio-dB;
-      default "0";
-      config true;
-      description
-        "Span-loss margin used to set optical amplifier gain and output-voa.
-         Day one attenuation of the link, at initial commissioning may increase across wdm link life.
-         span-loss-aging-margin defines the maximum additional loss the wdm link may experience in addition
-         to initial loss without requiring a new design (new amplifier settings). ";
-    }
-    leaf eol-max-load-pIn {
-      type org-openroadm-common-link-types:power-dBm;
-      config true;
-      description
-        "End Of Life Total input power at maximum load used for amplifier control.
-         Calculated during the design, this value shall be used by the amplifier device
-         for the setting so that the reasonable margin is kept to reach this value
-         at the end of life of the wdm link, considering span-loss aging margins are reached ";
-    }
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-optical-tributary-signal-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-optical-tributary-signal-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 514e7b7..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-module org-openroadm-optical-tributary-signal-interfaces {
-  namespace "http://org/openroadm/optical-channel-tributary-signal-interfaces";
-  prefix org-openroadm-optical-tributary-signal-interfaces;
-
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-optical-operational-interfaces {
-    prefix org-openroadm-optical-operational-interfaces;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device optical tributary signal interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2018,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  grouping otsi-attributes {
-    description
-      "OTSi attributes group";
-    leaf provision-mode {
-      type org-openroadm-common-optical-channel-types:provision-mode-type;
-      default "explicit";
-      description
-        "The provision-mode specified by the controller. Default to 'explicit' (ie, the set of optical parameter specified in MSA Optical Spec).
-         The 'profile' provision-mode is introduced in MSA 5.0 to support the bookended xponder application";
-    }
-    leaf otsi-rate {
-      when "../provision-mode = 'explicit'";
-      type identityref {
-        base org-openroadm-common-optical-channel-types:otsi-rate-identity;
-      }
-      description
-        "OTSi rate";
-    }
-    leaf otsi-member-id {
-      type uint16;
-      description
-        "The member ID to uniquely identify each member in an OTSi group and the order of each member in the group.  For each group, system shall support non-consecutive member IDs.  User shall not set up two members with the same member ID.  Similar to FlexO PHY-ID in the FlexO Group (PID in G.709.1/3)";
-    }
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "Center Frequency in THz.";
-    }
-    leaf width {
-      when "../provision-mode = 'explicit'";
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config false;
-      description
-        "Frequency width in GHz.";
-    }
-    leaf modulation-format {
-      when "../provision-mode = 'explicit'";
-      type org-openroadm-common-optical-channel-types:modulation-format;
-      description
-        "Modulation format";
-    }
-    leaf transmit-power {
-      type org-openroadm-common-link-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";
-    }
-
-    uses org-openroadm-common-types:fec-grouping {
-      when "provision-mode = 'explicit'";
-      description
-        "OTSi FEC / Forward Error Correction";
-    }
-    leaf optical-operational-mode {
-      when "../provision-mode = 'profile'";
-      type string;
-      description
-        "Optical-operational-mode sets the xponder settings based on one of the operational mode capabilities as published by the device.  This attribute is mandatory when the provision-mode is set to profile.";
-    }
-    container operational-mode-params {
-      when "../provision-mode = 'profile'";
-      config false;
-      description
-        "The container containing the optical parameters for the specified operational mode";
-      uses org-openroadm-optical-operational-interfaces:optical-operational-modes-grp-attr;
-    }
-    leaf supported-group-if {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-      }
-      config false;
-      description
-        "OTSiG or FlexO-group interface name.";
-    }
-    container flexo {
-      presence "Explicit assigment for flexo container";
-      description
-        "Flexo presence container";
-      leaf foic-type {
-        type identityref {
-          base org-openroadm-common-optical-channel-types:foic-identity;
-        }
-        mandatory true;
-        description
-          "Assigned flexo instance type";
-      }
-      leaf-list iid {
-        type uint8;
-        min-elements 1;
-        ordered-by user;
-        description
-          "A list of FlexO instance identification (G.709.1 clause 9.2.3)";
-      }
-      leaf-list accepted-group-id {
-        type uint32;
-        description
-          "AcGID[1]..AcGID[n] on a per FlexO instance basis (G.798 2019-12, Figure 15-10 FlexO-n/OTUCn_A_Sk processes)";
-      }
-      leaf-list accepted-iid {
-        type uint8;
-        description
-          "AcIID[1]..AcIID[n] on a per FlexO instance basis (G.798 2019-12, Figure 15-10 FlexO-n/OTUCn_A_Sk processes)";
-      }
-    }
-  }
-
-  grouping otsi-container {
-    description
-      "OTSI container group";
-    container otsi {
-      description
-        "OTSi container";
-      uses org-openroadm-optical-tributary-signal-interfaces:otsi-attributes;
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:otsi'";
-    description
-      "augment for otsi";
-    uses org-openroadm-optical-tributary-signal-interfaces:otsi-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-otn-common@2017-06-26.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-common@2017-06-26.yang
deleted file mode 100644 (file)
index 3270a5e..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-module org-openroadm-otn-common {
-  namespace "http://org/openroadm/otn-common";
-  prefix org-openroadm-otn-common;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for common OTN interface atrtributes and 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.
-     
-     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 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  grouping trail-trace {
-    leaf tx-sapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned 15 character transmit trace SAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
-    }
-    leaf tx-dapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned 15 character transmit trace DAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
-    }
-    leaf tx-operator {
-      type string {
-        length "0 .. 32";
-      }
-      description
-        "The provisioned 32 character Operator Specific field";
-    }
-    leaf accepted-sapi {
-      type string;
-      config false;
-      description
-        "The accepted SAPI recovered from the recieved multi-frame TTI field.
-         Received SAPI contains the receive data, minus the sapi[0] and any 0x00 padding at the end";
-    }
-    leaf accepted-dapi {
-      type string;
-      config false;
-      description
-        "The accepted DAPI recovered from the recieved multi-frame TTI field
-         Received DAPI contains the receive data, minus the dapi[0] and any 0x00 padding at the end";
-    }
-    leaf accepted-operator {
-      type string;
-      config false;
-      description
-        "The accepted Operator Specific field recovered from the recieved multi-frame TTI field";
-    }
-    leaf expected-sapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned expected SAPI, to be compared with accepted TTI";
-    }
-    leaf expected-dapi {
-      type string {
-        length "0 .. 15";
-      }
-      description
-        "The provisioned expected DAPI, to be compared with accepted TTI";
-    }
-    leaf tim-act-enabled {
-      type boolean;
-      default "false";
-      description
-        "Enables TTI Mismatch consequent actions.";
-    }
-    leaf tim-detect-mode {
-      type enumeration {
-        enum "Disabled" {
-          description
-            "TTI is ignored";
-        }
-        enum "SAPI" {
-          description
-            "Expected SAPI is compared to the Accpeted TTI. Other TTI fields are ignored";
-        }
-        enum "DAPI" {
-          description
-            "Expected DAPI is compared to the Accpeted TTI. Other TTI fields are ignored";
-        }
-        enum "SAPI-and-DAPI" {
-          description
-            "Expected SAPI and Expected DAPI are compared to the Accpeted TTI. Operator specific TTI field is ignored";
-        }
-      }
-      default "Disabled";
-    }
-  }
-
-  grouping deg-threshold {
-    leaf degm-intervals {
-      type uint8 {
-        range "2 .. 10";
-      }
-      default "2";
-      description
-        "G.806 - Consecutive bad intervals required for declare dDEG";
-    }
-    leaf degthr-percentage {
-      type uint16 {
-        range "1 .. 10000";
-      }
-      default "100";
-      description
-        "Percentage of errored blocks required to declare an interval bad, in units of 0.01%";
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-otn-common@2020-03-27.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-common@2020-03-27.yang
deleted file mode 100644 (file)
index 21f1bb3..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-module org-openroadm-otn-common {
-  namespace "http://org/openroadm/otn-common";
-  prefix org-openroadm-otn-common;
-
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-common-attributes {
-    prefix org-openroadm-common-attributes;
-    revision-date 2020-03-27;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for common OTN interface attributes and types.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  typedef otn-interface-enum {
-    type enumeration {
-      enum otu {
-        value 1;
-        description
-          "OTU enumeration";
-      }
-      enum odu-path {
-        value 2;
-        description
-          "ODU Path enumeration";
-      }
-      enum odu-tcm {
-        value 3;
-        description
-          "ODU TCM enumeration";
-      }
-    }
-    description
-      "Enumeration type for otn interface";
-  }
-
-  grouping trail-trace-state {
-    description
-      "Trail trace state grouping";
-    leaf accepted-sapi {
-      type string;
-      config false;
-      description
-        "The accepted SAPI recovered from the received multi-frame TTI field.
-         Received SAPI contains the receive data, minus the sapi[0] and any 0x00 padding at the end";
-    }
-    leaf accepted-dapi {
-      type string;
-      config false;
-      description
-        "The accepted DAPI recovered from the received multi-frame TTI field
-         Received DAPI contains the receive data, minus the dapi[0] and any 0x00 padding at the end";
-    }
-    leaf accepted-operator {
-      type string;
-      config false;
-      description
-        "The accepted Operator Specific field recovered from the received multi-frame TTI field";
-    }
-  }
-
-  grouping trail-trace {
-    description
-      "Trail trace grouping";
-    uses org-openroadm-common-attributes:trail-trace-tx;
-    uses trail-trace-state;
-    uses org-openroadm-common-attributes:trail-trace-other;
-  }
-
-  notification otn-tti-info-change {
-    description
-      "Notification for OTN TTI";
-    leaf resource-type {
-      type org-openroadm-resource-types:resource-type-enum;
-      mandatory true;
-      description
-        "Resource type for OTN TTI";
-    }
-    leaf resource {
-      type string;
-      mandatory true;
-      description
-        "Resource for OTN TTI";
-    }
-    leaf otn-interface-type {
-      type otn-interface-enum;
-      mandatory true;
-      description
-        "OTN interface type for TTI";
-    }
-    leaf otn-interface-tcm-layer {
-      when "../otn-interface-type='odu-tcm'";
-      type uint8;
-      description
-        "TCM layer for OTN TTI";
-    }
-    leaf otn-interface-tcm-direction {
-      when "../otn-interface-type='odu-tcm'";
-      type org-openroadm-otn-common-types:tcm-direction-enum;
-      description
-        "TCM direction for OTN TTI";
-    }
-    container tti-info {
-      description
-        "Container for TTI info";
-      leaf accepted-sapi {
-        type string;
-        description
-          "Accepted SAPI for TTI";
-      }
-      leaf accepted-dapi {
-        type string;
-        description
-          "Accepted DAPI for TTI";
-      }
-      leaf accepted-operator {
-        type string;
-        description
-          "Accepted operator for TTI";
-      }
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2016-10-14.yang
deleted file mode 100644 (file)
index 5efbf08..0000000
+++ /dev/null
@@ -1,391 +0,0 @@
-module org-openroadm-otn-odu-interfaces {
-  yang-version 1.1;
-  namespace "http://org/openroadm/otn-odu-interfaces";
-  prefix org-openroadm-otn-odu-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2017-02-06;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-maintenance-testsignal {
-    prefix org-openroadm-maint-testsignal;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2018-10-19.yang
deleted file mode 100755 (executable)
index 261c92c..0000000
+++ /dev/null
@@ -1,345 +0,0 @@
-module org-openroadm-otn-odu-interfaces {
-  yang-version 1.1;
-  namespace "http://org/openroadm/otn-odu-interfaces";
-  prefix org-openroadm-otn-odu-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-maintenance-testsignal {
-    prefix org-openroadm-maint-testsignal;
-    revision-date 2017-12-15;
-  }
-  import org-openroadm-otn-common {
-    prefix org-openroadm-otn-common;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2017-12-15;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping msi-entry {
-    leaf trib-slot {
-      type uint16;
-      description
-        "tributary slot (TS)";
-    }
-    leaf odtu-type {
-      type identityref {
-        base org-openroadm-otn-common-types:odtu-type-identity;
-      }
-      description
-        "ODTU type, part of the MSI (Multiplex Structure Identifier)";
-    }
-    leaf trib-port {
-      type uint16;
-      description
-        "Tributary 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 org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "rate identity of the ODU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    leaf odu-function {
-      type identityref {
-        base org-openroadm-otn-common-types:odu-function-identity;
-      }
-      description
-        "function of the ODU interface";
-    }
-    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 no-oam-function {
-      type empty;
-      description
-        "No OAM functionality exists for this ODU interface, the entity exists in software only. This entity does not report alarms or PM and does not support TCM, TTI, delay measurement, loopbacks, test signal and other hardware-based functions. This is an optional parameter, only needs to be present when no-oam-function supported for this interface.";
-    }
-    leaf proactive-delay-measurement-enabled {
-      type boolean;
-      description
-        "enable/disable proactive Delay Measurement";
-    }
-    uses parent-odu-allocation;
-    uses org-openroadm-otn-common:trail-trace;
-    uses org-openroadm-otn-common:deg-threshold;
-    list tcm {
-      key "layer tcm-direction";
-      max-elements "6";
-      description
-        "Tandem Connection Management";
-      uses tcm-attributes;
-    }
-    uses opu;
-  }
-
-  grouping parent-odu-allocation {
-    container parent-odu-allocation {
-      when "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface[org-openroadm-device:name = current()/../../org-openroadm-device:supporting-interface]/org-openroadm-device:type = 'openROADM-if:otnOdu'";
-      presence "Explicit assignment of parent ODU trib-slot and trib-port allocation. ";
-      leaf trib-port-number {
-        type uint16 {
-          range "1 .. 80";
-        }
-        mandatory true;
-        description
-          "Assigned tributary port number in parent OPU";
-      }
-      leaf-list trib-slots {
-        type uint16 {
-          range "1 .. 80";
-        }
-        min-elements 1;
-        max-elements "80";
-        description
-          "Assigned trib slots occupied in parent OPU MSI";
-      }
-    }
-  }
-
-  grouping opu {
-    container opu {
-      when "../monitoring-mode = 'terminated' or ../monitoring-mode = 'monitored'";
-      description
-        "Optical Channel Payload Unit (OPU)";
-      leaf payload-type {
-        type org-openroadm-otn-common-types:payload-type-def;
-        description
-          "Payload Type";
-      }
-      leaf rx-payload-type {
-        type org-openroadm-otn-common-types:payload-type-def;
-        description
-          "Received Payload Type";
-      }
-      leaf exp-payload-type {
-        type org-openroadm-otn-common-types:payload-type-def;
-        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";
-          description
-            "Transmit MSI";
-          uses msi-entry;
-        }
-        list rx-msi {
-          key "trib-slot";
-          description
-            "Receive MSI";
-          uses msi-entry;
-        }
-        list exp-msi {
-          key "trib-slot";
-          description
-            "Expected MSI";
-          uses msi-entry;
-        }
-      }
-    }
-  }
-
-  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 for TCM";
-    }
-    leaf tcm-direction {
-      type enumeration {
-        enum "up-tcm" {
-          description
-            "TCM termination direction faces the switch fabric.";
-        }
-        enum "down-tcm" {
-          description
-            "TCM termination direction faces the facility";
-        }
-      }
-      description
-        "Direction of TCM.";
-    }
-    uses org-openroadm-otn-common:trail-trace;
-    uses org-openroadm-otn-common:deg-threshold;
-  }
-
-  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;
-        }
-        refine "no-oam-function" {
-          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/ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-odu-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 72ad065..0000000
+++ /dev/null
@@ -1,442 +0,0 @@
-module org-openroadm-otn-odu-interfaces {
-  yang-version 1.1;
-  namespace "http://org/openroadm/otn-odu-interfaces";
-  prefix org-openroadm-otn-odu-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-maintenance-testsignal {
-    prefix org-openroadm-maint-testsignal;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-otn-common {
-    prefix org-openroadm-otn-common;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-common-attributes {
-    prefix org-openroadm-common-attributes;
-    revision-date 2020-03-27;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping msi-entry {
-    description
-      "OPU Multiplex Structure Identifier (G.709 clause 19.4.1)";
-    leaf trib-slot {
-      type uint16;
-      description
-        "tributary slot (TS)";
-    }
-    leaf odtu-type {
-      type identityref {
-        base org-openroadm-otn-common-types:odtu-type-identity;
-      }
-      description
-        "ODTU type, part of the MSI (Multiplex Structure Identifier)";
-    }
-    leaf trib-port {
-      type uint16;
-      description
-        "Tributary Port Number (0-based), part of the MSI";
-    }
-  }
-
-  grouping opucn-msi-entry {
-    description
-      "OPUCn Multiplex Structure Identifier (G.709 clause 20.4.1)";
-    leaf opucn-trib-slot {
-      type org-openroadm-otn-common-types:opucn-trib-slot-def;
-      description
-        "OPUCn tributary slot (TS)";
-    }
-    leaf availability {
-      type boolean;
-      description
-        "available";
-    }
-    leaf occupation {
-      type boolean;
-      description
-        "occupied";
-    }
-    leaf trib-port {
-      type uint16;
-      description
-        "OPUCn Tributary Port Number (0-based), part of the MSI";
-    }
-  }
-
-  grouping odu-attributes {
-    description
-      "ODU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "rate identity of the ODU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    leaf oducn-n-rate {
-      type uint16;
-      description
-        "ODUCn rate";
-    }
-    leaf oduflex-cbr-service {
-      type identityref {
-        base org-openroadm-otn-common-types:ODUflex-cbr-identity;
-      }
-      description
-        "ODUflex for CBR client signals (G.709)";
-    }
-    leaf oduflex-gfp-num-ts {
-      type uint16;
-      description
-        "For ODUflex GFP-F mapped client signals (G.709), the number of
-         tributary slot as per G.709 Table 7-8";
-    }
-    leaf oduflex-gfp-ts-bandwidth {
-      type uint16;
-      description
-        "The tributary slot minimum bit rates in the approximated value [Mbps]
-         given ODUflex (GFP) 100 ppm (G.709 Table 7-8) :
-           1249 Mbps [1 249 052.312 277 kbps] (n = 1 to 8) (ODU2.ts)
-           1254 Mbps [1 254 344.906 9646 kbps] (n = 9 to 32) ODU3.ts)
-           1301 Mbps [1 301 336.986 2867 kbps] (n = 33 to 80) (ODU4.ts)";
-    }
-    leaf oduflex-imp-s {
-      type uint16;
-      description
-        "For ODUflex IMP (Idle insertion Mapping Procedure) mapped client signals,
-         s = 2, 8, n x 5 with N >= 1 (G.709 12.2.6 & Table 7-3)";
-    }
-    leaf oduflex-flexe-n {
-      type uint16;
-      description
-        "For ODUflex for FlexE-aware client signals, n in the range of 1 to 20*254
-         (G.709 17.12)";
-    }
-    leaf odu-function {
-      type identityref {
-        base org-openroadm-otn-common-types:odu-function-identity;
-      }
-      description
-        "function of the ODU interface";
-    }
-    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 no-oam-function {
-      type empty;
-      description
-        "No OAM functionality exists for this ODU interface, the entity exists in software only. This entity does not report alarms or PM and does not support TCM, TTI, delay measurement, loopbacks, test signal and other hardware-based functions. This is an optional parameter, only needs to be present when no-oam-function supported for this interface.";
-    }
-    leaf proactive-delay-measurement-enabled {
-      type boolean;
-      description
-        "enable/disable proactive Delay Measurement";
-    }
-    uses org-openroadm-common-attributes:parent-odu-allocation;
-    uses org-openroadm-otn-common:trail-trace;
-    uses org-openroadm-common-attributes:deg-threshold;
-    list tcm {
-      key "layer tcm-direction";
-      max-elements 12;
-      description
-        "Tandem Connection Management";
-      uses tcm-attributes;
-    }
-    uses opu;
-  }
-
-  grouping opu {
-    description
-      "OPU group";
-    container opu {
-      when "../monitoring-mode = 'terminated' or ../monitoring-mode = 'monitored'";
-      description
-        "Optical Channel Payload Unit (OPU)";
-      leaf payload-type {
-        type org-openroadm-otn-common-types:payload-type-def;
-        description
-          "Payload Type";
-      }
-      leaf rx-payload-type {
-        type org-openroadm-otn-common-types:payload-type-def;
-        description
-          "Received Payload Type";
-      }
-      leaf exp-payload-type {
-        type org-openroadm-otn-common-types:payload-type-def;
-        description
-          "Expected Payload Type";
-      }
-      container msi {
-        when "../payload-type = '20' or ../payload-type = '21'";
-        description
-          "Multiple Structure Identifier";
-        list tx-msi {
-          key "trib-slot";
-          description
-            "Transmit MSI";
-          uses msi-entry;
-        }
-        list rx-msi {
-          key "trib-slot";
-          description
-            "Received MSI";
-          uses msi-entry;
-        }
-        list exp-msi {
-          key "trib-slot";
-          description
-            "Expected MSI";
-          uses msi-entry;
-        }
-      }
-      container opucn-msi {
-        when "../payload-type = '22'";
-        description
-          "OPUCn Mutiplex Structure Identifier (G.709 clause 20.4.1)";
-        list tx-msi {
-          key "opucn-trib-slot";
-          description
-            "Transmit MSI";
-          uses opucn-msi-entry;
-        }
-        list rx-msi {
-          key "opucn-trib-slot";
-          description
-            "Received MSI";
-          uses opucn-msi-entry;
-        }
-        list exp-msi {
-          key "opucn-trib-slot";
-          description
-            "Expected MSI";
-          uses opucn-msi-entry;
-        }
-      }
-    }
-  }
-
-  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 for TCM";
-    }
-    leaf tcm-direction {
-      type org-openroadm-otn-common-types:tcm-direction-enum;
-      description
-        "Direction of TCM.";
-    }
-    uses org-openroadm-otn-common:trail-trace;
-    uses org-openroadm-common-attributes:deg-threshold;
-  }
-
-  grouping odu-container {
-    description
-      "ODU container group";
-    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;
-        }
-        refine "opu/opucn-msi" {
-          config false;
-        }
-        refine "no-oam-function" {
-          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'";
-    description
-      "augment for ODU container";
-    uses odu-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2016-10-14.yang
deleted file mode 100644 (file)
index b16e07b..0000000
+++ /dev/null
@@ -1,188 +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;
-    revision-date 2017-02-06;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2016-10-14;
-  }
-  import org-openroadm-maintenance-loopback {
-    prefix org-openroadm-maint-loopback;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2018-10-19.yang
deleted file mode 100755 (executable)
index 76f0833..0000000
+++ /dev/null
@@ -1,172 +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;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-maintenance-loopback {
-    prefix org-openroadm-maint-loopback;
-    revision-date 2017-12-15;
-  }
-  import org-openroadm-otn-common {
-    prefix org-openroadm-otn-common;
-    revision-date 2017-06-26;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2017-12-15;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping otu-attributes {
-    description
-      "OTU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types: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";
-    }
-    uses org-openroadm-otn-common:trail-trace;
-    uses org-openroadm-otn-common:deg-threshold;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-otn-otu-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 590d97e..0000000
+++ /dev/null
@@ -1,193 +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;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-maintenance-loopback {
-    prefix org-openroadm-maint-loopback;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-otn-common {
-    prefix org-openroadm-otn-common;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-common-attributes {
-    prefix org-openroadm-common-attributes;
-    revision-date 2020-03-27;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping otu-attributes {
-    description
-      "OTU attributes";
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:otu-rate-identity;
-      }
-      description
-        "rate identity of the OTU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    leaf otu4-member-id {
-      when "../rate = 'org-openroadm-otn-common-types:OTU4'";
-      type uint16;
-      description
-        "To uniquely identify each member of an OTSi group and the order of each member in the group.
-         Similar to FlexO PHY-ID in the FlexO Group (PID in G.709.1/3)";
-    }
-    leaf otucn-n-rate {
-      type uint16;
-      description
-        "Specify the N associated with OTUCn, e.g. N = 2,3,4 for 200G/300G/400G respectively";
-    }
-    leaf otucn-M-subrate {
-      type uint16;
-      description
-        "OTUCn subrate (OTUCn-M), value of M specifies the number of active
-         5 Gbit/s OPUCn tributary slots (G.709 Annex H)";
-    }
-
-    uses org-openroadm-common-types:fec-grouping {
-      description
-        "OTU FEC / Forward Error Correction";
-    }
-    uses org-openroadm-otn-common:trail-trace;
-    uses org-openroadm-common-attributes:deg-threshold;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-otsi-group-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-otsi-group-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index 56c558c..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-module org-openroadm-otsi-group-interfaces {
-  namespace "http://org/openroadm/otsi-group-interfaces";
-  prefix org-openroadm-otsi-group-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2020-05-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device flexible optical transport network group interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2018,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-
-  grouping otsi-group-container {
-    description
-      "OTSI group container group";
-    container otsi-group {
-      description
-        "OTSI group container";
-      leaf group-rate {
-        type identityref {
-          base org-openroadm-common-optical-channel-types:otsi-rate-identity;
-        }
-        description
-          "Supported group rate";
-      }
-      leaf group-id {
-        type uint32;
-        description
-          "Mandatory for FlexO B100G.  Not required for Non-FlexO B100G.";
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:otsi-group'";
-    description
-      "augment for otsi group";
-    uses org-openroadm-otsi-group-interfaces:otsi-group-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-physical-types@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-physical-types@2016-10-14.yang
deleted file mode 100644 (file)
index 2c314e1..0000000
+++ /dev/null
@@ -1,118 +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;
-    revision-date 2016-10-14;
-  }
-  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/ordmodels/device/src/main/yang/org-openroadm-physical-types@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-physical-types@2018-10-19.yang
deleted file mode 100755 (executable)
index 1bf1903..0000000
+++ /dev/null
@@ -1,140 +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;
-    revision-date 2018-10-19;
-  }
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping node-info {
-    description
-      "Physical inventory data used by the node";
-    leaf vendor {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "Vendor of the equipment";
-    }
-    leaf model {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "Physical resource model information.";
-    }
-    leaf serial-id {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "Product Code for this physical resource";
-    }
-  }
-
-  grouping common-info {
-    description
-      "Physical inventory data used by all other entities";
-    uses node-info;
-    leaf type {
-      type string;
-      config false;
-      description
-        "The specific type of this physical resource - ie the type of
-         shelf, type of circuit-pack, etc.";
-    }
-    leaf product-code {
-      type string;
-      config false;
-      description
-        "Product Code for this physical resource";
-    }
-    leaf manufacture-date {
-      type yang:date-and-time;
-      config false;
-      description
-        "Manufacture date of physical resource";
-    }
-    leaf clei {
-      type string;
-      config false;
-      description
-        "CLEI for this physical resource";
-    }
-    leaf hardware-version {
-      type string;
-      config false;
-      description
-        "The version of the hardware.";
-    }
-    leaf operational-state {
-      type org-openroadm-common-types:state;
-      config false;
-      description
-        "Operational state of the physical resource";
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-physical-types@2019-11-29.yang b/ordmodels/device/src/main/yang/org-openroadm-physical-types@2019-11-29.yang
deleted file mode 100644 (file)
index 2360937..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-module org-openroadm-physical-types {
-  namespace "http://org/openroadm/physical/types";
-  prefix org-openroadm-physical-types;
-
-  import org-openroadm-common-state-types {
-    prefix org-openroadm-common-state-types;
-    revision-date 2019-11-29;
-  }
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-
-  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,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping node-info {
-    description
-      "Physical inventory data used by the node";
-    leaf vendor {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "Vendor of the equipment";
-    }
-    leaf model {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "Physical resource model information.";
-    }
-    leaf serial-id {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "Product Code for this physical resource";
-    }
-  }
-
-  grouping common-info {
-    description
-      "Physical inventory data used by all other entities";
-    uses node-info;
-    leaf type {
-      type string;
-      config false;
-      description
-        "The specific type of this physical resource - ie the type of
-         shelf, type of circuit-pack, etc.";
-    }
-    leaf product-code {
-      type string;
-      config false;
-      description
-        "Product Code for this physical resource";
-    }
-    leaf manufacture-date {
-      type yang:date-and-time;
-      config false;
-      description
-        "Manufacture date of physical resource";
-    }
-    leaf clei {
-      type string;
-      config false;
-      description
-        "CLEI for this physical resource";
-    }
-    leaf hardware-version {
-      type string;
-      config false;
-      description
-        "The version of the hardware.";
-    }
-    leaf operational-state {
-      type org-openroadm-common-state-types:state;
-      config false;
-      mandatory true;
-      description
-        "Operational state of the physical resource";
-    }
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-pluggable-optics-holder-capability@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-pluggable-optics-holder-capability@2018-10-19.yang
deleted file mode 100755 (executable)
index 6a7203a..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-module org-openroadm-pluggable-optics-holder-capability {
-  namespace "http://org/openroadm/pluggable-optics-holder-capability";
-  prefix org-openroadm-pluggable-optics-holder-capability;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-port-capability {
-    prefix org-openroadm-port-capability;
-    revision-date 2018-10-19;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for pluggable optics holder capability.
-     
-     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) 2017 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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-
-  grouping pluggable-optics-holder-capability {
-    description
-      "Pluggable optics holder capability parameters.";
-    container pluggable-optics-holder-capability {
-      config false;
-      list supported-circuit-pack-types {
-        key "supported-circuit-pack-type";
-        leaf supported-circuit-pack-type {
-          type string;
-          mandatory true;
-          description
-            "Type of pluggable circuit-pack supported";
-        }
-        list ports {
-          key "port-name";
-          description
-            "Port reference on supported pluggable circuit-pack";
-          leaf port-name {
-            type string;
-            description
-              "Port name";
-          }
-          uses org-openroadm-port-capability:port-capability-grp;
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:cp-slots" {
-    when "org-openroadm-device:slot-type='pluggable-optics-holder'";
-    uses pluggable-optics-holder-capability;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-pluggable-optics-holder-capability@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-pluggable-optics-holder-capability@2020-05-29.yang
deleted file mode 100644 (file)
index 2acb4aa..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-module org-openroadm-pluggable-optics-holder-capability {
-  namespace "http://org/openroadm/pluggable-optics-holder-capability";
-  prefix org-openroadm-pluggable-optics-holder-capability;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-port-capability {
-    prefix org-openroadm-port-capability;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2020-03-27;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for pluggable optics holder capability.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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) 2017 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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-
-  grouping pluggable-optics-holder-capability {
-    description
-      "Pluggable optics holder capability parameters.";
-    container pluggable-optics-holder-capability {
-      config false;
-      description
-        "Container for pluggable optics holder capability";
-      list supported-circuit-pack {
-        key "supported-circuit-pack-type supported-pluggable-id-type";
-        description
-          "List for supported circuit pack";
-        leaf supported-circuit-pack-type {
-          type string;
-          mandatory true;
-          description
-            "Type of pluggable circuit-pack supported";
-        }
-        leaf supported-pluggable-id-type {
-          type identityref {
-            base org-openroadm-port-types:pluggable-identifiers-identity;
-          }
-          description
-            "Supported pluggable id type";
-        }
-        list ports {
-          key "port-name";
-          description
-            "Port reference on supported pluggable circuit-pack";
-          leaf port-name {
-            type string;
-            description
-              "Port name";
-          }
-          uses org-openroadm-port-capability:port-capability-grp;
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:cp-slots" {
-    when "org-openroadm-device:slot-type='pluggable-optics-holder'";
-    uses pluggable-optics-holder-capability;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-port-capability@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-port-capability@2018-10-19.yang
deleted file mode 100755 (executable)
index cd85c52..0000000
+++ /dev/null
@@ -1,336 +0,0 @@
-module org-openroadm-port-capability {
-  namespace "http://org/openroadm/port-capability";
-  prefix org-openroadm-port-capability;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-prot-otn-linear-aps {
-    prefix org-openroadm-prot-otn-linear-aps;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2017-12-15;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility OTN linear APS protection groups.
-     
-     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) 2017 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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  typedef tcm-direction-capability-type {
-    type enumeration {
-      enum "up-tcm" {
-        description
-          "Port supports up TCM termination, e.g., direction facing the switch fabric";
-      }
-      enum "down-tcm" {
-        description
-          "Port supports down TCM termination, e.g., direction facing out of the equipment ";
-      }
-      enum "up-down-tcm" {
-        description
-          "Port supports both up and down TCM terminations";
-      }
-    }
-    description
-      "TCM direction capability for the port";
-  }
-
-  grouping port-id-grp {
-    leaf circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:circuit-pack-name";
-      }
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-    }
-    leaf port-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:ports/org-openroadm-device:port-name";
-      }
-      description
-        "Port index identifier. Unique within the context of a circuit-pack.";
-    }
-  }
-
-  grouping slot-id-grp {
-    leaf circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:circuit-pack-name";
-      }
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-    }
-    leaf slot-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:cp-slots/org-openroadm-device:slot-name";
-      }
-      description
-        "cp-slot name. Unique within the context of a circuit-pack.";
-    }
-  }
-
-  grouping port-capability-grp {
-    description
-      "OpenROADM port capability parameters.";
-    container port-capabilities {
-      config false;
-      list supported-interface-capability {
-        key "if-cap-type";
-        description
-          "Supported interface capability on the port.";
-        leaf if-cap-type {
-          type identityref {
-            base org-openroadm-port-types:supported-if-capability;
-          }
-          description
-            "Interface type/hierarchy/rate supported on this port";
-        }
-        container otn-capability {
-          leaf-list if-protection-capability {
-            type identityref {
-              base org-openroadm-prot-otn-linear-aps:otn-protection-type;
-            }
-            description
-              "supported protection types if protection is supported on this port";
-          }
-          leaf proactive-DMp {
-            type boolean;
-            description
-              "ODU PM delay measurement (DMp) (G.709 06-2016 15.8.2.1.6)";
-          }
-          leaf tcm-capable {
-            type boolean;
-            description
-              "only when tcm-capable=true, the following two are applicable (ie, proactive-DMt, tcm-direction";
-          }
-          leaf proactive-DMt {
-            when "../tcm-capable= 'true'";
-            type boolean;
-            description
-              "ODU TCM delay measurement (DMt) (G.709 06-2016 15.8.2.2.8)";
-          }
-          leaf tcm-direction-capability {
-            when "../tcm-capable= 'true'";
-            type tcm-direction-capability-type;
-            description
-              "Supported tcm direction capability on the ODUk associated with the port.";
-          }
-          leaf-list opu-payload-type-mapping {
-            type org-openroadm-otn-common-types:payload-type-def;
-            description
-              "OPU payload-type mapping OPU.";
-          }
-          container mpdr-client-restriction {
-            description
-              "Restriction rules for how LO ODUs are multiplexed into HO ODU
-               and the relation with mapped client ports.";
-            leaf network-ho-odu-circuit-pack-name {
-              type string;
-              mandatory true;
-              description
-                "Circuit-Pack identifier. Unique within the context of a device.";
-            }
-            leaf network-ho-odu-port-name {
-              type string;
-              mandatory true;
-              description
-                "port identifier.";
-            }
-            leaf odtu-type {
-              type identityref {
-                base org-openroadm-otn-common-types:odtu-type-identity;
-              }
-              mandatory true;
-              description
-                "ODTU type, part of the MSI (Multiplex Structure Identifier)";
-            }
-            leaf network-ho-odu-trib-port-number {
-              type uint16 {
-                range "1 .. 80";
-              }
-              mandatory true;
-              description
-                "Tributary port number";
-            }
-            leaf-list network-ho-odu-trib-slots {
-              type uint16 {
-                range "1 .. 80";
-              }
-              min-elements 1;
-              max-elements "80";
-            }
-          }
-          container odu-mux-hierarchy {
-            presence "HO ODU supported hierarchy.";
-            list mux-capability {
-              key "stage-number ho-odu-type ho-odu-payload-type";
-              leaf stage-number {
-                type uint8 {
-                  range "1 .. 2";
-                }
-              }
-              leaf ho-odu-type {
-                type identityref {
-                  base org-openroadm-otn-common-types:odu-rate-identity;
-                }
-              }
-              leaf ho-odu-payload-type {
-                type org-openroadm-otn-common-types:payload-type-def;
-                description
-                  "high order ODU payload type";
-              }
-              leaf-list supported-lo-odu-type {
-                type identityref {
-                  base org-openroadm-otn-common-types:odu-rate-identity;
-                }
-              }
-              leaf lo-odu-proactive-DMp {
-                type boolean;
-                description
-                  "lo order ODU PM delay measurement (DMp) (G.709 06-2016 15.8.2.1.6)";
-              }
-              leaf lo-odu-tcm-capable {
-                type boolean;
-                description
-                  "only when lo-odu-tcm-capable=true, the following two are applicable (ie, lo-odu-proactive-DMt, lo-odu-tcm-direction";
-              }
-              leaf lo-odu-proactive-DMt {
-                when "../lo-odu-tcm-capable= 'true'";
-                type boolean;
-                description
-                  "lo order ODU TCM delay measurement (DMt) (G.709 06-2016 15.8.2.2.8)";
-              }
-              leaf lo-odu-tcm-direction-capability {
-                when "../lo-odu-tcm-capable= 'true'";
-                type tcm-direction-capability-type;
-                description
-                  "Supported tcm direction capability for low order ODU associated with the port.";
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-
-  grouping port-group-restriction-grp {
-    container port-group-restriction {
-      config false;
-      list port-bandwidth-sharing {
-        key "port-sharing-id";
-        leaf port-sharing-id {
-          type uint16;
-        }
-        list port-list {
-          key "circuit-pack-name port-name";
-          uses port-id-grp;
-        }
-        list pluggable-optics-holder-list {
-          key "circuit-pack-name slot-name";
-          uses slot-id-grp;
-        }
-        leaf shared-bandwidth {
-          type uint16;
-          units "Gbps";
-        }
-        list possible-port-config {
-          key "config-id";
-          leaf config-id {
-            type uint16;
-          }
-          list port-if-type-config {
-            key "circuit-pack-name port-name";
-            uses port-id-grp;
-            leaf-list port-if-type {
-              type identityref {
-                base org-openroadm-port-types:supported-if-capability;
-              }
-            }
-          }
-          list slot-if-type-config {
-            key "circuit-pack-name slot-name port-name";
-            uses slot-id-grp;
-            leaf port-name {
-              type string;
-            }
-            leaf-list port-if-type {
-              type identityref {
-                base org-openroadm-port-types:supported-if-capability;
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:ports" {
-    uses port-capability-grp;
-  }
-  augment "/org-openroadm-device:org-openroadm-device" {
-    uses port-group-restriction-grp;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-port-capability@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-port-capability@2020-05-29.yang
deleted file mode 100644 (file)
index 684b2f8..0000000
+++ /dev/null
@@ -1,342 +0,0 @@
-module org-openroadm-port-capability {
-  namespace "http://org/openroadm/port-capability";
-  prefix org-openroadm-port-capability;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2020-03-27;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for port capabilities.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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) 2017 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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  grouping port-id-grp {
-    leaf circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:circuit-pack-name";
-      }
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-    }
-    leaf port-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:ports/org-openroadm-device:port-name";
-      }
-      description
-        "Port index identifier. Unique within the context of a circuit-pack.";
-    }
-  }
-
-  grouping slot-id-grp {
-    leaf circuit-pack-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:circuit-pack-name";
-      }
-      description
-        "Circuit-Pack identifier. Unique within the context of a device.";
-    }
-    leaf slot-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:cp-slots/org-openroadm-device:slot-name";
-      }
-      description
-        "cp-slot name. Unique within the context of a circuit-pack.";
-    }
-  }
-
-  grouping optical-operational-modes-grp-for-capability {
-    leaf-list optical-operational-mode-profile-name {
-      type leafref {
-        path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:optical-operational-mode-profile/org-openroadm-device:profile-name";
-      }
-      config false;
-      description
-        "Optical operation capabilities leaf list";
-    }
-    description
-      "Optical operational modes grouping";
-  }
-
-  grouping port-capability-grp {
-    description
-      "OpenROADM port capability parameters.";
-    container port-capabilities {
-      config false;
-      list supported-interface-capability {
-        key "if-cap-type";
-        description
-          "Supported interface capability on the port.";
-        leaf if-cap-type {
-          type identityref {
-            base org-openroadm-port-types:supported-if-capability;
-          }
-          description
-            "Interface type/hierarchy/rate supported on this port";
-        }
-        leaf-list split-lambda-profile-name {
-          type leafref {
-            path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:split-lambda-profile/org-openroadm-device:profile-name";
-          }
-          description
-            "Split lambda mode capabilities";
-        }
-        leaf-list otsigroup-capability-profile-name {
-          type leafref {
-             path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:otsigroup-capability-profile/org-openroadm-device:profile-name";
-          }
-          description
-            "OTSI group capabilities";
-        }
-        uses optical-operational-modes-grp-for-capability;
-        container otn-capability {
-          description
-            "OTN capability";
-          leaf otn-capability-profile-name {
-            type leafref {
-              path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:otn-capability-profile/org-openroadm-device:profile-name";
-            }
-          }
-          list mpdr-client-restriction {
-            description
-              "Restriction rules for how LO ODUs are multiplexed into HO ODU
-               and the relation with mapped client ports.";
-            leaf network-ho-odu-circuit-pack-name {
-              type string;
-              mandatory true;
-              description
-                "Circuit-Pack identifier. Unique within the context of a device.";
-            }
-            leaf network-ho-odu-port-name {
-              type string;
-              mandatory true;
-              description
-                "port identifier.";
-            }
-            leaf-list muxp-profile-name {
-              type leafref {
-                path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:muxp-profile/org-openroadm-device:profile-name";
-              }
-            }
-          }
-          leaf otn-odu-mux-hierarchy-profile-name {
-            type leafref {
-              path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:otn-odu-mux-hierarchy-profile/org-openroadm-device:profile-name";
-            }
-            description
-              "OTN ODU Mux hierarchy capabilities";
-          }
-        }
-        container logical-port {
-          leaf circuit-pack-name {
-            type string;
-            description
-              "The circuit pack supporting the logical port";
-          }
-          leaf port-name {
-            type string;
-            description
-              "Port name for logical-port";
-          }
-          description
-            "Logical port container";
-        }
-      }
-    }
-  }
-
-  grouping port-group-restriction-grp {
-    container port-group-restriction {
-      config false;
-      list port-bandwidth-sharing {
-        key "port-sharing-id";
-        leaf port-sharing-id {
-          type uint16;
-        }
-        list port-list {
-          key "circuit-pack-name port-name";
-          uses port-id-grp;
-        }
-        list pluggable-optics-holder-list {
-          key "circuit-pack-name slot-name";
-          uses slot-id-grp;
-        }
-        leaf shared-bandwidth {
-          type uint16;
-          units "Gbps";
-        }
-        list possible-port-config {
-          key "config-id";
-          leaf config-id {
-            type uint16;
-          }
-          list port-if-type-config {
-            key "circuit-pack-name port-name";
-            uses port-id-grp;
-            leaf-list port-if-type {
-              type identityref {
-                base org-openroadm-port-types:supported-if-capability;
-              }
-            }
-            leaf otsi-rate {
-              type uint16;
-              units "Gbps";
-              description
-                "Optical Tributary Signal (OTSi) rate in Gbps";
-            }
-          }
-          list slot-if-type-config {
-            key "circuit-pack-name slot-name port-name";
-            uses slot-id-grp;
-            leaf port-name {
-              type string;
-            }
-            leaf-list port-if-type {
-              type identityref {
-                base org-openroadm-port-types:supported-if-capability;
-              }
-            }
-            leaf-list port-module-type {
-              type org-openroadm-port-types:port-module-types;
-            }
-            leaf otsi-rate {
-              type uint16;
-              units "Gbps";
-              description
-                "Optical Tributary Signal (OTSi) rate in Gbps";
-            }
-          }
-        }
-      }
-    }
-  }
-
-  grouping provisioned-port-grp {
-    container provisioned-port-grp {
-      list port-bandwidth-sharing {
-        key "port-sharing-id";
-        leaf port-sharing-id {
-          type uint16;
-        }
-        leaf provisioned-port-config {
-          type uint16;
-          default "1";
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:circuit-packs/org-openroadm-device:ports" {
-    description
-      "augment for port capability";
-    uses port-capability-grp;
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device" {
-    description
-      "augment for port group restriction";
-    uses port-group-restriction-grp;
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device" {
-    description
-      "augment for provisioned port group";
-    uses provisioned-port-grp;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-ppp-interfaces@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-ppp-interfaces@2020-05-29.yang
deleted file mode 100644 (file)
index b786cd0..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-module org-openroadm-ppp-interfaces {
-  namespace "http://org/openroadm/ppp-interfaces";
-  prefix org-openroadm-ppp-interfaces;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-interfaces {
-    prefix openROADM-if;
-    revision-date 2019-11-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility ppp link interfaces.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 reprpppce 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 prpppcts 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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0";
-  }
-
-  grouping ppp-interfaces {
-    container ppp {
-      description
-        "PPP attributes. LCP attributes and 16 bit FCS default as per RFC 1662 and RFC 1570";
-      leaf magicNumber {
-        type boolean;
-        default "false";
-        description
-          "Boolean to indicate if magicNumber negotiation to remote is supported or not";
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
-    when "org-openroadm-device:type = 'openROADM-if:ppp'";
-    uses ppp-interfaces;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-prot-otn-linear-aps@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-prot-otn-linear-aps@2018-10-19.yang
deleted file mode 100755 (executable)
index 33de13e..0000000
+++ /dev/null
@@ -1,345 +0,0 @@
-module org-openroadm-prot-otn-linear-aps {
-  namespace "http://org/openroadm/prot/otn-linear-aps";
-  prefix org-openroadm-prot-otn-linear-aps;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility OTN linear APS protection groups.
-     
-     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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  identity otn-protection-type {
-    description
-      "OTN base protection identity from which
-         specific protection types are derived.";
-  }
-
-  identity odu-one-plus-one {
-    base otn-protection-type;
-    description
-      "ODU Linear Protection 1+1 permanant bridge";
-  }
-
-  grouping odu-sncp-protection-grps {
-    list odu-sncp-pg {
-      key "name";
-      leaf name {
-        type string;
-        description
-          "The odu-sncp-protection-group name";
-      }
-      leaf level {
-        type enumeration {
-          enum "line" {
-            value 1;
-          }
-          enum "path" {
-            value 2;
-          }
-        }
-        mandatory true;
-        description
-          "Designates protection group as Line or Path";
-      }
-      leaf prot-type {
-        type identityref {
-          base otn-protection-type;
-        }
-        default "odu-one-plus-one";
-        description
-          "The type of the protection group.";
-      }
-      leaf switching-direction {
-        type enumeration {
-          enum "unidirectional-switching" {
-            value 1;
-          }
-          enum "bidirectional-switching" {
-            value 2;
-          }
-        }
-        default "unidirectional-switching";
-        description
-          "Bidirectional refers to APS signaling enabled (G.873.1 Table 7-1 Table 8-1).";
-      }
-      leaf revertive {
-        type boolean;
-        default "false";
-        description
-          "Sets reversion behavior.";
-      }
-      leaf mode {
-        type enumeration {
-          enum "SNC/Ne" {
-            value 1;
-            description
-              "applicable to line or path switching";
-          }
-          enum "SNC/Ns" {
-            value 2;
-            description
-              "applicable to line or path switching";
-          }
-          enum "SNC/S" {
-            value 3;
-            description
-              "applicable to line or path switching";
-          }
-          enum "SNC/I" {
-            value 4;
-            description
-              "applicable to line switching only";
-          }
-          enum "CL-SNCG/I" {
-            value 5;
-            description
-              "applicable to line switching only";
-          }
-        }
-        mandatory true;
-        description
-          "Sets the protection mode";
-      }
-      leaf protection-trigger-level {
-        type enumeration {
-          enum "OTUk/ODUkA-SSF-SSD" {
-            value 1;
-            description
-              "applicable to SNC/I";
-          }
-          enum "ODUkP/ODUjA-SSF-SSD" {
-            value 2;
-            description
-              "applicable to CL-SNCG/I";
-          }
-          enum "ODUP-SSF-SSD" {
-            value 3;
-            description
-              "applicable to SNC/Ne";
-          }
-          enum "ODUT1" {
-            value 4;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum "ODUT2" {
-            value 5;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum "ODUT3" {
-            value 6;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum "ODUT4" {
-            value 7;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum "ODUT5" {
-            value 8;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum "ODUT6" {
-            value 9;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-        }
-        description
-          "Indicates switch trigger.";
-      }
-      leaf wait-to-restore {
-        when "../revertive = 'true'";
-        type uint8 {
-          range "1..12";
-        }
-        units "minutes";
-        default "5";
-        description
-          "Wait to restore time in minutes";
-      }
-      container holdoff-timer {
-        leaf holdoff {
-          type uint8 {
-            range "0 | 20 | 100";
-          }
-          units "milliseconds";
-          default "0";
-          description
-            "switch hold-off time in milliseconds";
-        }
-        leaf holdoff-multiplier {
-          when "../holdoff= 100";
-          type uint8 {
-            range "1 .. 100";
-          }
-          default "1";
-          description
-            "switch holdoff time multiplier x100 milliseconds";
-        }
-      }
-      leaf working-if {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        mandatory true;
-        description
-          "Designated work interface";
-      }
-      leaf-list pg-interfaces {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        min-elements 1;
-        description
-          "List of interfaces in the PG";
-      }
-      leaf active-if {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        config false;
-        description
-          "Active interface in the PG";
-      }
-    }
-  }
-
-  rpc odu-sncp-protection-switch {
-    description
-      "ODU SNCP Protection Switch RPC with synchronous implementation";
-    input {
-      leaf protection-group {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:protection-grps/org-openroadm-prot-otn-linear-aps:odu-sncp-pg/org-openroadm-prot-otn-linear-aps:name";
-        }
-        mandatory true;
-        description
-          "Target protection group";
-      }
-      leaf pg-interface {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        mandatory true;
-        description
-          "Target protection group interface";
-      }
-      leaf switch-command {
-        type enumeration {
-          enum "Lock-Out-Protect" {
-            value 1;
-          }
-          enum "Force-Switch" {
-            value 2;
-          }
-          enum "Manual-Switch" {
-            value 3;
-          }
-          enum "Release" {
-            value 4;
-          }
-        }
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-  notification odu-sncp-pg-switch-event {
-    leaf switch-status {
-      type enumeration {
-        enum "switched-to-protect" {
-          value 1;
-        }
-        enum "switched-back-to-working" {
-          value 2;
-        }
-      }
-      description
-        "Completed protection switch";
-    }
-    leaf odu-sncp-pg-name {
-      type string;
-      description
-        "The odu-sncp-protection-group name";
-    }
-  }
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:protection-grps" {
-    uses odu-sncp-protection-grps;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-prot-otn-linear-aps@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-prot-otn-linear-aps@2020-05-29.yang
deleted file mode 100644 (file)
index e6dcd2d..0000000
+++ /dev/null
@@ -1,377 +0,0 @@
-module org-openroadm-prot-otn-linear-aps {
-  namespace "http://org/openroadm/prot/otn-linear-aps";
-  prefix org-openroadm-prot-otn-linear-aps;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for device facility OTN linear APS protection groups.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  identity odu-one-plus-one {
-    base org-openroadm-common-types:otn-protection-type;
-    description
-      "ODU Linear Protection 1+1 permanent bridge";
-  }
-
-  grouping odu-sncp-protection-grps {
-    list odu-sncp-pg {
-      key "name";
-      leaf name {
-        type string;
-        description
-          "The odu-sncp-protection-group name";
-      }
-      leaf level {
-        type enumeration {
-          enum line {
-            value 1;
-          }
-          enum path {
-            value 2;
-          }
-        }
-        mandatory true;
-        description
-          "Designates protection group as Line or Path";
-      }
-      leaf prot-type {
-        type identityref {
-          base org-openroadm-common-types:otn-protection-type;
-        }
-        default "odu-one-plus-one";
-        description
-          "The type of the protection group.";
-      }
-      leaf switching-direction {
-        type enumeration {
-          enum unidirectional-switching {
-            value 1;
-          }
-          enum bidirectional-switching {
-            value 2;
-          }
-        }
-        default "unidirectional-switching";
-        description
-          "Bidirectional refers to APS signaling enabled (G.873.1 Table 7-1 Table 8-1).";
-      }
-      leaf revertive {
-        type boolean;
-        default "false";
-        description
-          "Sets reversion behavior.";
-      }
-      leaf mode {
-        type enumeration {
-          enum SNC/Ne {
-            value 1;
-            description
-              "applicable to line or path switching";
-          }
-          enum SNC/Ns {
-            value 2;
-            description
-              "applicable to line or path switching";
-          }
-          enum SNC/S {
-            value 3;
-            description
-              "applicable to line or path switching";
-          }
-          enum SNC/I {
-            value 4;
-            description
-              "applicable to line switching only";
-          }
-          enum CL-SNCG/I {
-            value 5;
-            description
-              "applicable to line switching only";
-          }
-        }
-        mandatory true;
-        description
-          "Sets the protection mode";
-      }
-      leaf protection-trigger-level {
-        type enumeration {
-          enum OTUk/ODUkA-SSF-SSD {
-            value 1;
-            description
-              "applicable to SNC/I";
-          }
-          enum ODUkP/ODUjA-SSF-SSD {
-            value 2;
-            description
-              "applicable to CL-SNCG/I";
-          }
-          enum ODUP-SSF-SSD {
-            value 3;
-            description
-              "applicable to SNC/Ne";
-          }
-          enum ODUT1 {
-            value 4;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum ODUT2 {
-            value 5;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum ODUT3 {
-            value 6;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum ODUT4 {
-            value 7;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum ODUT5 {
-            value 8;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-          enum ODUT6 {
-            value 9;
-            description
-              "applicable to SNC/Ns or SNC/S";
-          }
-        }
-        description
-          "Indicates switch trigger.";
-      }
-      leaf wait-to-restore {
-        when "../revertive = 'true'";
-        type uint8 {
-          range "1..12";
-        }
-        units "minutes";
-        default "5";
-        description
-          "Wait to restore time in minutes";
-      }
-      container holdoff-timer {
-        leaf holdoff {
-          type uint8 {
-            range "0 | 20 | 100";
-          }
-          units "milliseconds";
-          default "0";
-          description
-            "switch hold-off time in milliseconds";
-        }
-        leaf holdoff-multiplier {
-          when '../holdoff= 100';
-          type uint8 {
-            range "1 .. 100";
-          }
-          default "1";
-          description
-            "switch holdoff time multiplier x100 milliseconds";
-        }
-      }
-      leaf working-if {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        mandatory true;
-        description
-          "Designated work interface";
-      }
-      leaf-list pg-interfaces {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        min-elements 1;
-        description
-          "List of interfaces in the PG";
-      }
-      leaf active-if {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        config false;
-        description
-          "Active interface in the PG";
-      }
-    }
-  }
-
-  rpc odu-sncp-protection-switch {
-    description
-      "ODU SNCP Protection Switch RPC with synchronous implementation";
-    input {
-      leaf protection-group {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:protection-grps/org-openroadm-prot-otn-linear-aps:odu-sncp-pg/org-openroadm-prot-otn-linear-aps:name";
-        }
-        mandatory true;
-        description
-          "Target protection group";
-      }
-      leaf pg-interface {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        mandatory true;
-        description
-          "Target protection group interface";
-      }
-      leaf switch-command {
-        type enumeration {
-          enum Lock-Out-Protect {
-            value 1;
-          }
-          enum Force-Switch {
-            value 2;
-          }
-          enum Manual-Switch {
-            value 3;
-          }
-          enum Release {
-            value 4;
-          }
-        }
-      }
-    }
-    output {
-      uses org-openroadm-common-types:rpc-response-status;
-    }
-  }
-
-  notification odu-sncp-pg-switch-event {
-    leaf switch-status {
-      type enumeration {
-        enum switched-to-protect {
-          value 1;
-        }
-        enum switched-back-to-working {
-          value 2;
-        }
-      }
-      description
-        "Completed protection switch";
-    }
-    leaf odu-sncp-pg-name {
-      type string;
-      description
-        "The odu-sncp-protection-group name";
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:protection-grps" {
-    uses odu-sncp-protection-grps;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-routing@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-routing@2020-05-29.yang
deleted file mode 100644 (file)
index ab1d930..0000000
+++ /dev/null
@@ -1,563 +0,0 @@
-module org-openroadm-routing {
-  namespace "http://org/openroadm/routing";
-  prefix org-openroadm-routing;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This model defines Yang model for routing.
-
-     This model reuses data items defined in the IETF YANG model for
-     interfaces described by RFC 8022.
-
-     Some attributes which are not required in Open ROADM MSA are removed.
-     Yang file included are changed to fit into Open ROADM MSA yang structure.
-
-     IETF code is subject to the following copyright and license:
-     Copyright (c) IETF Trust and the persons identified as authors of
-     the code.
-     All rights reserved.
-
-     Redistribution and use in source and binary forms, with or without
-     modification, is permitted pursuant to, and subject to the license
-     terms contained in, the Simplified BSD License set forth in
-     Section 4.c of the IETF Trust's Legal Provisions Relating
-     to IETF Documents (http://trustee.ietf.org/license-info).";
-
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2015-05-25 {
-    description
-      "Initial revision.";
-    reference
-      "RFC XXXX: A YANG Data Model for Routing Management";
-  }
-
-  feature multiple-ribs {
-    description
-      "This feature indicates that the server supports user-defined
-       RIBs.
-
-       Servers that do not advertise this feature SHOULD provide
-       exactly one system-controlled RIB per routing-instance and
-       supported address family and make them also the default RIBs.
-       These RIBs then appear as entries of the list
-       /routing-state/routing-instance/ribs/rib.";
-  }
-
-  feature router-id {
-    description
-      "This feature indicates that the server supports configuration
-       of an explicit 32-bit router ID that is used by some routing
-       protocols.
-
-       Servers that do not advertise this feature set a router ID
-       algorithmically, usually to one of configured IPv4 addresses.
-       However, this algorithm is implementation-specific.";
-  }
-
-  identity address-family {
-    description
-      "Base identity from which identities describing address
-       families are derived.";
-  }
-
-  identity ipv4 {
-    base address-family;
-    description
-      "This identity represents IPv4 address family.";
-  }
-
-  identity ipv6 {
-    base address-family;
-    description
-      "This identity represents IPv6 address family.";
-  }
-
-  identity routing-instance {
-    description
-      "Base identity from which identities describing routing
-       instance types are derived.";
-  }
-
-  identity default-routing-instance {
-    base routing-instance;
-    description
-      "This identity represents either a default routing instance, or
-       the only routing instance on systems that do not support
-       multiple instances.";
-  }
-
-  identity vrf-routing-instance {
-    base routing-instance;
-    description
-      "This identity represents a VRF routing instance. The type is
-       distinct from the default-routing-instance. There may be
-       multiple vrf-routing-interfaces.";
-  }
-
-  identity routing-protocol {
-    description
-      "Base identity from which routing protocol identities are
-       derived.";
-  }
-
-  identity direct {
-    base routing-protocol;
-    description
-      "Routing pseudo-protocol that provides routes to directly
-       connected networks.";
-  }
-
-  identity static {
-    base routing-protocol;
-    description
-      "Static routing pseudo-protocol.";
-  }
-
-  typedef routing-instance-ref {
-    type leafref {
-      path "/org-openroadm-device:org-openroadm-device/org-openroadm-routing:routing/org-openroadm-routing:routing-instance/org-openroadm-routing:name";
-    }
-    description
-      "This type is used for leafs that reference a routing instance
-       configuration.";
-  }
-
-  typedef routing-instance-state-ref {
-    type leafref {
-      path "/org-openroadm-device:org-openroadm-device/org-openroadm-routing:routing-state/org-openroadm-routing:routing-instance/org-openroadm-routing:name";
-    }
-    description
-      "This type is used for leafs that reference state data of a
-       routing instance.";
-  }
-
-  typedef route-preference {
-    type uint32;
-    description
-      "This type is used for route preferences.";
-  }
-
-  grouping address-family-group {
-    description
-      "This grouping provides a leaf identifying an address
-       family.";
-    leaf address-family {
-      type identityref {
-        base address-family;
-      }
-      mandatory true;
-      description
-        "Address family.";
-    }
-  }
-
-  grouping router-id {
-    description
-      "This grouping provides router ID.";
-    leaf router-id {
-      type yang:dotted-quad;
-      description
-        "A 32-bit number in the form of a dotted quad that is used by
-         some routing protocols identifying a router.";
-      reference
-        "RFC 2328: OSPF Version 2.";
-    }
-  }
-
-  grouping special-next-hop-group {
-    description
-      "This grouping provides a leaf with an enumeration of special
-       next-hops.";
-    leaf special-next-hop {
-      type enumeration {
-        enum blackhole {
-          description
-            "Silently discard the packet.";
-        }
-        enum unreachable {
-          description
-            "Discard the packet and notify the sender with an error
-             message indicating that the destination host is
-             unreachable.";
-        }
-        enum prohibit {
-          description
-            "Discard the packet and notify the sender with an error
-             message indicating that the communication is
-             administratively prohibited.";
-        }
-        enum receive {
-          description
-            "The packet will be received by the local system.";
-        }
-      }
-      description
-        "Special next-hop options.";
-    }
-  }
-
-  grouping next-hop-content {
-    description
-      "Generic parameters of next-hops in static routes.";
-    choice next-hop-options {
-      mandatory true;
-      description
-        "Options for next-hops in static routes.
-
-         It is expected that other cases will be added through
-         augments from other modules, e.g., for Equal-Cost Multipath
-         routing (ECMP).";
-      case simple-next-hop {
-        description
-          "Simple next-hop is specified as an outgoing interface,
-           next-hop address or both.
-
-           Address-family-specific modules are expected to provide
-           'next-hop-address' leaf via augmentation.";
-        leaf outgoing-interface {
-          type leafref {
-            path "/org-openroadm-device:org-openroadm-device/org-openroadm-routing:routing/org-openroadm-routing:routing-instance/org-openroadm-routing:interfaces/org-openroadm-routing:interface";
-          }
-          description
-            "Name of the outgoing interface.";
-        }
-      }
-      case special-next-hop {
-        uses special-next-hop-group;
-      }
-    }
-  }
-
-  grouping route-metadata {
-    description
-      "Common route metadata.";
-    leaf source-protocol {
-      type identityref {
-        base routing-protocol;
-      }
-      mandatory true;
-      description
-        "Type of the routing protocol from which the route
-         originated.";
-    }
-    leaf active {
-      type empty;
-      description
-        "Presence of this leaf indicates that the route is preferred
-         among all routes in the same RIB that have the same
-         destination prefix.";
-    }
-    leaf last-updated {
-      type yang:date-and-time;
-      description
-        "Time stamp of the last modification of the route. If the
-         route was never modified, it is the time when the route was
-         inserted into the RIB.";
-    }
-  }
-
-  grouping routing-grp {
-    container routing {
-      description
-        "Configuration parameters for the routing subsystem.";
-      list routing-instance {
-        key "name";
-        description
-          "Configuration of a routing instance.";
-        leaf name {
-          type string;
-          description
-            "The name of the routing instance.
-
-             For system-controlled entries, the value of this leaf must
-             be the same as the name of the corresponding entry in
-             state data.
-
-             For user-controlled entries, an arbitrary name can be
-             used.";
-        }
-        leaf type {
-          type identityref {
-            base routing-instance;
-          }
-          default "org-openroadm-routing:default-routing-instance";
-          description
-            "The type of the routing instance.";
-        }
-        leaf enabled {
-          type boolean;
-          default "true";
-          description
-            "Enable/disable the routing instance.
-
-             If this parameter is false, the parent routing instance is
-             disabled and does not appear in state data, despite any
-             other configuration that might be present.";
-        }
-        uses router-id {
-          if-feature "router-id";
-          description
-            "Configuration of the global router ID. Routing protocols
-             that use router ID can use this parameter or override it
-             with another value.";
-        }
-        leaf description {
-          type string;
-          description
-            "Textual description of the routing instance.";
-        }
-        container interfaces {
-          description
-            "Assignment of the routing instance's interfaces.";
-          leaf-list interface {
-            type org-openroadm-device:interface-ref;
-            description
-              "The name of a configured network layer interface to be
-               assigned to the routing-instance.";
-          }
-        }
-        container routing-protocols {
-          description
-            "Configuration of routing protocol instances.";
-          list routing-protocol {
-            key "type name";
-            description
-              "Each entry contains configuration of a routing protocol
-               instance.";
-            leaf type {
-              type identityref {
-                base routing-protocol;
-              }
-              description
-                "Type of the routing protocol - an identity derived
-                 from the 'routing-protocol' base identity.";
-            }
-            leaf name {
-              type string;
-              description
-                "An arbitrary name of the routing protocol instance.";
-            }
-            leaf description {
-              type string;
-              description
-                "Textual description of the routing protocol
-                 instance.";
-            }
-            container static-routes {
-              when "../type='org-openroadm-routing:static'" {
-                description
-                  "This container is only valid for the 'static'
-                   routing protocol.";
-              }
-              description
-                "Configuration of the 'static' pseudo-protocol.
-
-                 Address-family-specific modules augment this node with
-                 their lists of routes.";
-            }
-          }
-        }
-        container ribs {
-          description
-            "Configuration of RIBs.";
-          list rib {
-            key "name";
-            description
-              "Each entry contains configuration for a RIB identified
-               by the 'name' key.
-
-               Entries having the same key as a system-controlled entry
-               of the list /routing-state/routing-instance/ribs/rib are
-               used for configuring parameters of that entry. Other
-               entries define additional user-controlled RIBs.";
-            leaf name {
-              type string;
-              description
-                "The name of the RIB.
-
-                 For system-controlled entries, the value of this leaf
-                 must be the same as the name of the corresponding
-                 entry in state data.
-
-                 For user-controlled entries, an arbitrary name can be
-                 used.";
-            }
-            uses address-family-group {
-              description
-                "Address family of the RIB.
-
-                 It is mandatory for user-controlled RIBs. For
-                 system-controlled RIBs it can be omitted, otherwise it
-                 must match the address family of the corresponding
-                 state entry.";
-              refine "address-family" {
-                mandatory false;
-              }
-            }
-            leaf description {
-              type string;
-              description
-                "Textual description of the RIB.";
-            }
-          }
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device" {
-    uses routing-grp;
-  }
-
-  grouping routing-state-grp {
-    container routing-state {
-      config false;
-      description
-        "State data of the routing subsystem.";
-      list routing-instance {
-        key "name";
-        description
-          "Each list entry is a container for state data of a routing
-           instance.
-
-           An implementation MUST support routing instance(s) of the
-           type 'rt:default-routing-instance', and MAY support other
-           types. An implementation MAY restrict the number of routing
-           instances of each supported type.
-
-           An implementation SHOULD create at least one
-           system-controlled instance, and MAY allow the clients to
-           create user-controlled routing instances in
-           configuration.";
-        leaf name {
-          type string;
-          description
-            "The name of the routing instance.
-
-             For system-controlled instances the name is persistent,
-             i.e., it SHOULD NOT change across reboots.";
-        }
-        leaf type {
-          type identityref {
-            base routing-instance;
-          }
-          description
-            "The routing instance type.";
-        }
-        uses router-id {
-          description
-            "Global router ID.
-
-             It may be either configured or assigned algorithmically by
-             the implementation.";
-        }
-        container routing-protocols {
-          description
-            "Container for the list of routing protocol instances.";
-          list routing-protocol {
-            key "type name";
-            description
-              "State data of a routing protocol instance.
-
-               An implementation MUST provide exactly one
-               system-controlled instance of the type 'direct'. Other
-               instances MAY be created by configuration.";
-            leaf type {
-              type identityref {
-                base routing-protocol;
-              }
-              description
-                "Type of the routing protocol.";
-            }
-            leaf name {
-              type string;
-              description
-                "The name of the routing protocol instance.
-
-                 For system-controlled instances this name is
-                 persistent, i.e., it SHOULD NOT change across
-                 reboots.";
-            }
-          }
-        }
-        container ribs {
-          description
-            "Container for RIBs.";
-          list rib {
-            key "name";
-            min-elements 1;
-            description
-              "Each entry represents a RIB identified by the 'name'
-               key. All routes in a RIB MUST belong to the same address
-               family.
-
-               For each routing instance, an implementation SHOULD
-               provide one system-controlled default RIB for each
-               supported address family.";
-            leaf name {
-              type string;
-              description
-                "The name of the RIB.";
-            }
-            uses address-family-group;
-            leaf default-rib {
-              if-feature "multiple-ribs";
-              type boolean;
-              default "true";
-              description
-                "This flag has the value of 'true' if and only if the
-                 RIB is the default RIB for the given address family.
-
-                 A default RIB always receives direct routes. By
-                 default it also receives routes from all routing
-                 protocols.";
-            }
-            container routes {
-              description
-                "Current content of the RIB.";
-            }
-          }
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device" {
-    uses routing-state-grp;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-rstp@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-rstp@2016-10-14.yang
deleted file mode 100644 (file)
index 626ff92..0000000
+++ /dev/null
@@ -1,311 +0,0 @@
-module org-openroadm-rstp {
-  namespace "http://org/openroadm/rstp";
-  prefix org-openroadm-rstp;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2017-02-06;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-rstp@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-rstp@2018-10-19.yang
deleted file mode 100755 (executable)
index 04334fc..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-module org-openroadm-rstp {
-  namespace "http://org/openroadm/rstp";
-  prefix org-openroadm-rstp;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2018-10-19;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 {
-      type uint32 {
-        range "0..61440";
-      }
-      default "32768";
-      description
-        "Bridge Priority Value";
-    }
-    leaf shutdown {
-      type empty;
-      description
-        "Bridge admin state";
-    }
-    leaf hold-time {
-      type uint32 {
-        range "1..10";
-      }
-      default "2";
-      description
-        "The time interval during which no more than two
-            BPDUs transmitted by this node in seconds - not used in rstp mode (in seconds)";
-    }
-    leaf hello-time {
-      type uint32 {
-        range "1..2";
-      }
-      default "2";
-      description
-        "The time between the transmission of BPDU's by this node on any
-            port, when role is root (in seconds)";
-    }
-    leaf max-age {
-      type uint32 {
-        range "6..40";
-      }
-      default "20";
-      description
-        "The value that all bridges use for MaxAge when this bridge
-            is acting as the root";
-    }
-    leaf forward-delay {
-      type uint32 {
-        range "4..30";
-      }
-      default "15";
-      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)";
-    }
-    leaf transmit-hold-count {
-      type uint32 {
-        range "1..10";
-      }
-      default "2";
-      description
-        "Maximum BPDU transmission rate";
-    }
-  }
-
-  grouping rstp-root-bridge-attr {
-    leaf root-bridge-port {
-      type uint32;
-      description
-        "Port id of the root port";
-    }
-    leaf root-path-cost {
-      type uint32;
-      description
-        "The cost of the path to the root as
-               seen from this bridge";
-    }
-    leaf root-bridge-priority {
-      type uint32;
-      description
-        "Root Bridge Priority Value";
-    }
-    leaf root-bridge-id {
-      type bridge-id-type;
-      description
-        "Root Bridge identifier";
-    }
-    leaf root-hold-time {
-      type uint32;
-      description
-        "The time interval during which no more than two
-               BPDUs transmitted by this node in seconds at root node (in seconds)";
-    }
-    leaf root-hello-time {
-      type uint32;
-      description
-        "The time between the transmission of BPDU's used at root node (in seconds)";
-    }
-    leaf root-max-age {
-      type uint32;
-      description
-        "The value that all bridges use for MaxAge used at root node";
-    }
-    leaf root-forward-delay {
-      type uint32;
-      description
-        "The time in seconds spent on the listening state used at root node (in seconds)";
-    }
-  }
-
-  grouping rstp-bridge-port-state-attr {
-    list rstp-bridge-port-table {
-      key "ifname";
-      max-elements "15";
-      description
-        "This table contains port-specific information for rstp state attributes";
-      leaf ifname {
-        type string {
-          length "1..255";
-        }
-        description
-          "Interface name of the port";
-      }
-      leaf bridge-port-state {
-        type enumeration {
-          enum "discarding";
-          enum "blocked";
-          enum "learning";
-          enum "forwarding";
-          enum "unknown";
-        }
-        description
-          "The port's current state";
-      }
-      leaf bridge-port-role {
-        type enumeration {
-          enum "designated";
-          enum "root";
-          enum "alternate";
-          enum "disabled";
-          enum "backup";
-          enum "unknown";
-        }
-        description
-          "The role payed by this port in the bridge";
-      }
-      leaf bridge-port-id {
-        type uint32;
-        description
-          "Unique port id of this port";
-      }
-      leaf oper-edge-bridge-port {
-        type empty;
-        description
-          "The operational value of the Edge Port parameter";
-      }
-      leaf designated-bridge-port {
-        type uint32;
-        description
-          "Port id of the designated port";
-      }
-      leaf designated-bridgeid {
-        type bridge-id-type;
-        description
-          "The Bridge Identifier of the bridge that this port considers 
-           to be the Designated Bridge for this port's segment";
-      }
-    }
-  }
-
-  grouping rstp-bridge-port-attr {
-    list rstp-bridge-port-table {
-      key "ifname";
-      max-elements "15";
-      description
-        "Table contains port-specific information for rstp config";
-      leaf ifname {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        description
-          "Interface name of the port";
-      }
-      leaf cost {
-        type uint32 {
-          range "2000..200000";
-        }
-        default "20000";
-        description
-          "The contribution of this port to the path cost of
-                 paths towards the spanning tree root which include this port also";
-      }
-      leaf priority {
-        type uint32 {
-          range "0..240";
-        }
-        description
-          "The value of the priority field";
-      }
-    }
-  }
-
-  grouping rstp-container {
-    container rstp {
-      description
-        "Open ROADM RSTP top level";
-      list rstp-bridge-instance {
-        key "bridge-name";
-        max-elements "1";
-        description
-          "rstp bridge instance, max instance = 1";
-        leaf bridge-name {
-          type string {
-            length "1..255";
-          }
-          description
-            "unique name of the bridge";
-        }
-        container rstp-config {
-          description
-            "Collection of rstp configuration attributes";
-          uses rstp-common-bridge-config;
-          uses rstp-bridge-port-attr;
-        }
-        container rstp-state {
-          config false;
-          description
-            "Collection of rstp operational attributes";
-          container rstp-bridge-attr {
-            description
-              "Collection of operational rstp bridge attributes";
-            uses rstp-root-bridge-attr;
-            leaf bridge-id {
-              type bridge-id-type;
-              description
-                "Bridge identifier of the bridge";
-            }
-            leaf topo-change-count {
-              type uint32;
-              description
-                "The total number of topology changes";
-            }
-            leaf time-since-topo-change {
-              type uint32;
-              description
-                "Time since last topology changes occurred (in seconds)";
-            }
-          }
-          container rstp-bridge-port-attr {
-            description
-              "Collection of operational rstp port related attributes";
-            uses rstp-bridge-port-state-attr;
-          }
-        }
-      }
-    }
-  }
-
-  notification rstp-topology-change {
-    description
-      "RSTP: A topologyChange event is sent by a bridge when any of
-       its configured ports transitions from the Learning state
-       to the Forwarding state, or from the Forwarding state to
-       the Blocking state. The event is not sent if a rstp-new-root
-       event is sent for the same transition";
-    uses org-openroadm-resource-types:device-id;
-  }
-  notification rstp-new-root {
-    description
-      "RSTP:The rstp-new-root event indicates that the sending agent has
-       become the new root of the Spanning Tree ";
-    uses org-openroadm-resource-types:device-id;
-  }
-  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' or /org-openroadm-device:org-openroadm-device/org-openroadm-device:info/org-openroadm-device:node-type='ila'";
-    uses rstp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-rstp@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-rstp@2020-05-29.yang
deleted file mode 100644 (file)
index aa7a2e6..0000000
+++ /dev/null
@@ -1,394 +0,0 @@
-module org-openroadm-rstp {
-  namespace "http://org/openroadm/rstp";
-  prefix org-openroadm-rstp;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2019-11-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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 {
-      type uint32 {
-        range "0..61440";
-      }
-      default "32768";
-      description
-        "Bridge Priority Value";
-    }
-    leaf shutdown {
-      type empty;
-      description
-        "Bridge admin state";
-    }
-    leaf hold-time {
-      type uint32 {
-        range "1..10";
-      }
-      default "2";
-      description
-        "The time interval during which no more than two
-            BPDUs transmitted by this node in seconds - not used in rstp mode (in seconds)";
-    }
-    leaf hello-time {
-      type uint32 {
-        range "1..2";
-      }
-      default "2";
-      description
-        "The time between the transmission of BPDU's by this node on any
-            port, when role is root (in seconds)";
-    }
-    leaf max-age {
-      type uint32 {
-        range "6..40";
-      }
-      default "20";
-      description
-        "The value that all bridges use for MaxAge when this bridge
-            is acting as the root";
-    }
-    leaf forward-delay {
-      type uint32 {
-        range "4..30";
-      }
-      default "15";
-      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)";
-    }
-    leaf transmit-hold-count {
-      type uint32 {
-        range "1..10";
-      }
-      default "2";
-      description
-        "Maximum BPDU transmission rate";
-    }
-  }
-
-  grouping rstp-root-bridge-attr {
-    leaf root-bridge-port {
-      type uint32;
-      description
-        "Port id of the root port";
-    }
-    leaf root-path-cost {
-      type uint32;
-      description
-        "The cost of the path to the root as
-               seen from this bridge";
-    }
-    leaf root-bridge-priority {
-      type uint32;
-      description
-        "Root Bridge Priority Value";
-    }
-    leaf root-bridge-id {
-      type bridge-id-type;
-      description
-        "Root Bridge identifier";
-    }
-    leaf root-hold-time {
-      type uint32;
-      description
-        "The time interval during which no more than two
-               BPDUs transmitted by this node in seconds at root node (in seconds)";
-    }
-    leaf root-hello-time {
-      type uint32;
-      description
-        "The time between the transmission of BPDU's used at root node (in seconds)";
-    }
-    leaf root-max-age {
-      type uint32;
-      description
-        "The value that all bridges use for MaxAge used at root node";
-    }
-    leaf root-forward-delay {
-      type uint32;
-      description
-        "The time in seconds spent on the listening state used at root node (in seconds)";
-    }
-  }
-
-  grouping rstp-bridge-port-state-attr {
-    list rstp-bridge-port-table {
-      key "ifname";
-      max-elements 15;
-      description
-        "This table contains port-specific information for rstp state attributes";
-      leaf ifname {
-        type string {
-          length "1..255";
-        }
-        description
-          "Interface name of the port";
-      }
-      leaf bridge-port-state {
-        type enumeration {
-          enum discarding;
-          enum blocked;
-          enum learning;
-          enum forwarding;
-          enum unknown;
-        }
-        description
-          "The port's current state";
-      }
-      leaf bridge-port-role {
-        type enumeration {
-          enum designated;
-          enum root;
-          enum alternate;
-          enum disabled;
-          enum backup;
-          enum unknown;
-        }
-        description
-          "The role payed by this port in the bridge";
-      }
-      leaf bridge-port-id {
-        type uint32;
-        description
-          "Unique port id of this port";
-      }
-      leaf oper-edge-bridge-port {
-        type empty;
-        description
-          "The operational value of the Edge Port parameter";
-      }
-      leaf designated-bridge-port {
-        type uint32;
-        description
-          "Port id of the designated port";
-      }
-      leaf designated-bridgeid {
-        type bridge-id-type;
-        description
-          "The Bridge Identifier of the bridge that this port considers
-           to be the Designated Bridge for this port's segment";
-      }
-    }
-  }
-
-  grouping rstp-bridge-port-attr {
-    list rstp-bridge-port-table {
-      key "ifname";
-      max-elements 15;
-      description
-        "Table contains port-specific information for rstp config";
-      leaf ifname {
-        type leafref {
-          path "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface/org-openroadm-device:name";
-        }
-        description
-          "Interface name of the port";
-      }
-      leaf cost {
-        type uint32 {
-          range "2000..200000";
-        }
-        default "20000";
-        description
-          "The contribution of this port to the path cost of
-                 paths towards the spanning tree root which include this port also";
-      }
-      leaf priority {
-        type uint32 {
-          range "0..240";
-        }
-        description
-          "The value of the priority field";
-      }
-    }
-  }
-
-  grouping rstp-container {
-    container rstp {
-      description
-        "Open ROADM RSTP top level";
-      leaf max-bridge-instances {
-        type uint32;
-        config false;
-        description
-          "Number of bridge instances supported";
-      }
-      list rstp-bridge-instance {
-        key "bridge-name";
-        description
-          "rstp bridge instance";
-        leaf bridge-name {
-          type string {
-            length "1..255";
-          }
-          description
-            "unique name of the bridge";
-        }
-        container rstp-config {
-          description
-            "Collection of rstp configuration attributes";
-          uses rstp-common-bridge-config;
-          uses rstp-bridge-port-attr;
-        }
-        container rstp-state {
-          config false;
-          description
-            "Collection of rstp operational attributes";
-          container rstp-bridge-attr {
-            description
-              "Collection of operational rstp bridge attributes";
-            uses rstp-root-bridge-attr;
-            leaf bridge-id {
-              type bridge-id-type;
-              description
-                "Bridge identifier of the bridge";
-            }
-            leaf topo-change-count {
-              type uint32;
-              description
-                "The total number of topology changes";
-            }
-            leaf time-since-topo-change {
-              type uint32;
-              description
-                "Time since last topology changes occurred (in seconds)";
-            }
-          }
-          container rstp-bridge-port-attr {
-            description
-              "Collection of operational rstp port related attributes";
-            uses rstp-bridge-port-state-attr;
-          }
-        }
-      }
-    }
-  }
-
-  notification rstp-topology-change {
-    description
-      "RSTP: A topologyChange event is sent by a bridge when any of
-       its configured ports transitions from the Learning state
-       to the Forwarding state, or from the Forwarding state to
-       the Blocking state. The event is not sent if a rstp-new-root
-       event is sent for the same transition";
-    uses org-openroadm-resource-types:device-id;
-  }
-
-  notification rstp-new-root {
-    description
-      "RSTP:The rstp-new-root event indicates that the sending agent has
-       become the new root of the Spanning Tree ";
-    uses org-openroadm-resource-types:device-id;
-  }
-
-  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' or /org-openroadm-device:org-openroadm-device/org-openroadm-device:info/org-openroadm-device:node-type='ila'";
-    uses rstp-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-security@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-security@2020-05-29.yang
deleted file mode 100644 (file)
index 53bfec1..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-module org-openroadm-security {
-  yang-version 1.1;
-  namespace "http://org/openroadm/security";
-  prefix org-openroadm-security;
-
-  import org-openroadm-device {
-    prefix org-openroadm-device;
-    revision-date 2020-05-29;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This model defines the Yang model for openroadm security.
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Initial revision.";
-  }
-
-  typedef certificate-id-type {
-    type string {
-      length "3..250";
-      pattern '(([a-zA-Z]([a-zA-Z0-9_.-]*)([a-zA-Z0-9])))' {
-        error-message
-          "The certificate id must start with a letter and
-           end with a letter or digit. Interior characters are only
-           alphabets, digits, minus, underscore and dot.";
-      }
-    }
-    description
-      "The certificate id must starts with a letter and
-       end with a letter or digit. Interior characters are only
-       alphabets, digits, minus, underscore and dot.";
-  }
-
-  grouping security-container {
-    description
-      "Grouping for standalone security certificates";
-    container security {
-      description
-        "Security related Configurations";
-      list certificate {
-        key "certificate-id";
-        max-elements 10;
-        description
-          "A list of certificates for this system";
-        action install {
-          description
-            "Install certificate.";
-          input {
-            leaf filename {
-              type string;
-              description
-                "Name of the certificate file to be installed.";
-            }
-          }
-          output {
-            uses org-openroadm-common-types:rpc-response-status;
-          }
-        }
-        leaf certificate-id {
-          type certificate-id-type;
-          description
-            "Certificate identifier";
-        }
-        leaf information {
-          type string;
-          config false;
-          description
-            "Information about the certificate
-             (subject line in the certificate).";
-        }
-      }
-      list ca-certificate {
-        key "ca-certificate-id";
-        max-elements 10;
-        description
-          "A list of CA certificates for this system";
-        action install {
-          description
-            "Install certificate.";
-          input {
-            leaf filename {
-              type string;
-              description
-                "Name of the CA certificate file to be installed.";
-            }
-          }
-          output {
-            uses org-openroadm-common-types:rpc-response-status;
-          }
-        }
-        leaf ca-certificate-id {
-          type certificate-id-type;
-          description
-            "CA certificate identifier";
-        }
-        leaf information {
-          type string;
-          config false;
-          description
-            "Information about the CA certificate
-             (subject line in the certificate).";
-        }
-      }
-    }
-  }
-
-  augment "/org-openroadm-device:org-openroadm-device" {
-    description
-      "Augment for security container under device";
-    uses security-container;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-swdl@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-swdl@2016-10-14.yang
deleted file mode 100644 (file)
index a1edf86..0000000
+++ /dev/null
@@ -1,121 +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;
-    revision-date 2016-10-14;
-  }
-
-  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/ordmodels/device/src/main/yang/org-openroadm-swdl@2018-10-19.yang b/ordmodels/device/src/main/yang/org-openroadm-swdl@2018-10-19.yang
deleted file mode 100755 (executable)
index 39a649a..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-module org-openroadm-swdl {
-  namespace "http://org/openroadm/de/swdl";
-  prefix org-openroadm-swdl;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2018-10-19;
-  }
-
-  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 2018-10-19 {
-    description
-      "Version 2.2.1";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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;
-    }
-  }
-  notification sw-stage-notification {
-    description
-      "notification for sw-stage.";
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-  notification sw-activate-notification {
-    description
-      "notification for sw-activate events.";
-    leaf sw-active-notification-type {
-      type org-openroadm-common-types:activate-notification-type;
-    }
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-swdl@2020-05-29.yang b/ordmodels/device/src/main/yang/org-openroadm-swdl@2020-05-29.yang
deleted file mode 100644 (file)
index dfdc8b3..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-module org-openroadm-swdl {
-  namespace "http://org/openroadm/de/swdl";
-  prefix org-openroadm-swdl;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2020-05-29;
-  }
-
-  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,
-     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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping sw-bank {
-    description
-      "software bank group";
-    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";
-    }
-  }
-
-  grouping database-info-group {
-    description
-      "database info group";
-    leaf last-restored-time {
-      type yang:date-and-time;
-      description
-        "last restored time for the database, or the time that the database was created, whichever is later";
-    }
-    leaf rollback-timer {
-      type string {
-        pattern '(([0-1][0-9]|2[0-3])-([0-5][0-9])-([0-5][0-9]))';
-      }
-      description
-        "value of rollback 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;
-    }
-  }
-
-  notification sw-stage-notification {
-    description
-      "notification for sw-stage.";
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-
-  notification sw-activate-notification {
-    description
-      "notification for sw-activate events.";
-    leaf sw-active-notification-type {
-      type org-openroadm-common-types:activate-notification-type;
-    }
-    uses org-openroadm-common-types:rpc-response-status;
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-syslog@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-syslog@2016-10-14.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/ordmodels/device/src/main/yang/org-openroadm-syslog@2017-12-15.yang b/ordmodels/device/src/main/yang/org-openroadm-syslog@2017-12-15.yang
deleted file mode 100755 (executable)
index 54af614..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-module org-openroadm-syslog {
-  namespace "http://org/openroadm/syslog";
-  prefix org-openroadm-syslog;
-
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-
-  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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  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.";
-  }
-
-  identity syslog-facility {
-    description
-      "The base identity to represent syslog facilities";
-  }
-
-  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.";
-    leaf local-syslog-filename {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "The syslog file name. It should be a fully qualified name 
-         so that the user can get the file using transfer RPC.";
-    }
-    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/ordmodels/device/src/main/yang/org-openroadm-syslog@2019-11-29.yang b/ordmodels/device/src/main/yang/org-openroadm-syslog@2019-11-29.yang
deleted file mode 100644 (file)
index 10e4308..0000000
+++ /dev/null
@@ -1,363 +0,0 @@
-module org-openroadm-syslog {
-  namespace "http://org/openroadm/syslog";
-  prefix org-openroadm-syslog;
-
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-
-  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,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  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.";
-  }
-
-  identity syslog-facility {
-    description
-      "The base identity to represent syslog facilities";
-  }
-
-  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.";
-    leaf local-syslog-filename {
-      type string;
-      config false;
-      mandatory true;
-      description
-        "The syslog file name. It should be a fully qualified name
-         so that the user can get the file using transfer RPC.";
-    }
-    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/ordmodels/device/src/main/yang/org-openroadm-telemetry-types@2019-11-29.yang b/ordmodels/device/src/main/yang/org-openroadm-telemetry-types@2019-11-29.yang
deleted file mode 100644 (file)
index ba78942..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-module org-openroadm-telemetry-types {
-  yang-version 1;
-  namespace "http://org/openroadm/telemetry-types";
-  prefix org-openroadm-telemetry-types;
-
-  import openconfig-telemetry-types {
-    prefix openconfig-telemetry-types;
-    revision-date 2017-08-24;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "This model extends openconfig-telemetry-types.yang
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Initial revision.";
-  }
-
-  identity ENC_JSON {
-    base openconfig-telemetry-types:DATA_ENCODING_METHOD;
-    description
-      "JSON encoded based on RFC7159";
-  }
-}
diff --git a/ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2016-10-14.yang b/ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2016-10-14.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/ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2017-12-15.yang b/ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2017-12-15.yang
deleted file mode 100755 (executable)
index febbb0b..0000000
+++ /dev/null
@@ -1,76 +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 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping wavelength-map-g {
-    list wavelengths {
-      key "wavelength-number";
-      config false;
-      leaf wavelength-number {
-        type uint32;
-      }
-      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/ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2019-11-29.yang b/ordmodels/device/src/main/yang/org-openroadm-wavelength-map@2019-11-29.yang
deleted file mode 100644 (file)
index 80b2414..0000000
+++ /dev/null
@@ -1,84 +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,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping wavelength-map-g {
-    list wavelengths {
-      key "wavelength-number";
-      config false;
-      leaf wavelength-number {
-        type uint32;
-      }
-      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/ordmodels/network/pom.xml b/ordmodels/network/pom.xml
deleted file mode 100644 (file)
index 7763b08..0000000
+++ /dev/null
@@ -1,55 +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>10.0.2</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce.ordmodels</groupId>
-  <artifactId>transportpce-ordmodels-network</artifactId>
-  <version>6.0.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.opendaylight.transportpce.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.yangtools</groupId>
-      <artifactId>yang-common</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc6991-ietf-inet-types</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc6991-ietf-yang-types</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc8345-ietf-network-topology</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc8345-ietf-network</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-  </dependencies>
-</project>
diff --git a/ordmodels/network/src/main/yang/org-openroadm-amplifier@2021-09-24.yang b/ordmodels/network/src/main/yang/org-openroadm-amplifier@2021-09-24.yang
deleted file mode 100644 (file)
index c60940f..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-module org-openroadm-amplifier {
-  yang-version 1.1;
-  namespace "http://org/openroadm/amplifier";
-  prefix amp;
-
-  import org-openroadm-common-amplifier-types {
-    prefix org-openroadm-common-amplifier-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for an amplifier in Network Model
-
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
-     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 2021-09-24 {
-       description
-         "Version 10.0";
-  }  
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-17 {
-    description
-      "Version 2.0";
-  }
-
-  grouping amplifier-node-attributes {
-    description
-      "Defines the group of amplifier attributes";
-    leaf amp-type {
-      type org-openroadm-common-amplifier-types:amplifier-types;
-      config true;
-      mandatory true;
-      description
-        "Amplifier type";
-    }
-    leaf amp-gain-range {
-      type org-openroadm-common-amplifier-types:amplifier-gain-range;
-      config true;
-      description
-        "Amplifier gain-range (gain-range 1 to 4 for switched gain amplifiers)
-         gain-range-1 for standard amplifiers";
-    }
-    leaf ingress-span-loss-aging-margin {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "Span-loss margin used to set optical amplifier gain and output-voa
-         extracted from corresponding device OTS interface container, optional
-         since it concerns only line facing amp";
-    }
-    leaf gain {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      mandatory true;
-      description
-        "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation
-         retrieved from operational value (PM)";
-    }
-    leaf initially-planned-gain {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "Overall Amplifier Signal gain, excluding ASE, including VOA attenuation:
-         value coming from planning tool initial design";
-    }
-    leaf tilt {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "Tilt of smart EDFA retrieved from operational value (PM)";
-    }
-    leaf initially-planned-tilt {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "Tilt of smart EDFA:
-         value coming from planning tool initial design";
-    }
-    leaf out-voa-att {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "output VOA attenuation";
-    }
-    leaf initially-planned-out-voa-att {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "output VOA attenuation: value coming from planning tool initial design.
-         As in R2.0, output VOA can not be configured by controller, this parameter may be used by the controller
-         to check that value set by amplifiers is in the range of calculated value and take relevant decision if not";
-    }
-    leaf eol-max-load-pIn {
-      type org-openroadm-common-link-types:power-dBm;
-      config true;
-      description
-        "End Of Life Total input power at maximum load used for amplifier and VOA setting
-         extracted from corresponding device OTS interface container";
-    }
-    leaf egress-average-channel-power {
-      type org-openroadm-common-link-types:power-dBm;
-      config true;
-      description
-        "Based upon the total max power across the 4.8 THz passband.";
-    }
-    leaf-list supported-operational-modes {
-      type string;
-      config true;
-      description
-        "defines the supported openroadm specifications";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-clli-network@2019-11-29.yang b/ordmodels/network/src/main/yang/org-openroadm-clli-network@2019-11-29.yang
deleted file mode 100644 (file)
index be1c3c6..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-module org-openroadm-clli-network {
-  yang-version 1.1;
-  namespace "http://org/openroadm/clli/network";
-  prefix cn;
-
-  import ietf-network {
-    prefix nd;
-    revision-date 2018-02-26;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for a CLLI Network
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  augment "/nd:networks/nd:network/nd:network-types" {
-    description
-      "Introduce new network type for the Open ROADM optical network";
-    container clli-network {
-      presence "indicates optical network of Open ROADMs";
-      description
-        "The presence of the container node indicates Open ROADM
-         network";
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:node" {
-    when '../nd:network-types/cn:clli-network';
-    description
-      "Augment the generic network node with Open ROADM attributes.";
-    leaf clli {
-      type string;
-      description
-        "CLLI identifier";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-common-network@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-common-network@2021-12-10.yang
deleted file mode 100644 (file)
index 9d23a59..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-module org-openroadm-common-network {
-  yang-version 1.1;
-  namespace "http://org/openroadm/common/network";
-  prefix cnet;
-
-  import ietf-network {
-    prefix nd;
-    revision-date 2018-02-26;
-  }
-  import ietf-network-topology {
-    prefix nwt;
-    revision-date 2018-02-26;
-  }
-  import org-openroadm-network-types {
-    prefix org-openroadm-network-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-state-types {
-    prefix org-openroadm-common-state-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-equipment-states-types {
-    prefix org-openroadm-equipment-states-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2021-05-28;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "www.OpenROADM.org.";
-  description
-    "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  augment "/nd:networks/nd:network/nd:network-types" {
-    description
-      "Introduce new network type for the Open ROADM common network";
-    container openroadm-common-network {
-      presence "indicates common network of Open ROADMs";
-      description
-        "The presence of the container node indicates Open ROADM common network";
-    }
-  }
-
-  augment "/nd:networks/nd:network" {
-    description
-      "Introduce new network type for the Open ROADM common network";
-    uses org-openroadm-network-types:SRLG-list;
-  }  
-
-  augment "/nd:networks/nd:network/nd:node" {
-    when '../nd:network-types/cnet:openroadm-common-network';
-    description
-      "Augment the generic network node with Open ROADM common attributes.";
-    leaf node-type {
-      type org-openroadm-network-types:openroadm-node-type;
-      description
-        "A component of the network topology. Once the node-type is configured, it should not be modified.";
-    }
-    leaf node-subtype {
-      type org-openroadm-common-node-types:node-subtypes;
-      description
-        "An optional refinement of the node-type. Once the node-subtype is configured, it
-         should not be modified.";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of a node. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf operational-state {
-      type org-openroadm-common-state-types:state;
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:node/nwt:termination-point" {
-    when '../../nd:network-types/cnet:openroadm-common-network';
-    leaf tp-type {
-      type org-openroadm-network-types:openroadm-tp-type;
-      description
-        "The type of a termination point in the ROADM topology.";
-    }
-    leaf physical-tp {
-      type boolean;
-      mandatory false;
-      description
-        "Applies to Termination Points that map to physical ports or slots on circuit packs.
-          Set to True when the termination point maps to ports of an existing circuit-pack,
-          False, when mapped to a slot (pluggable optics Holder) --> virtual tp.
-          This attribute is not present for other Termination Points.";
-    }
-    leaf-list associated-connection-map-tp {
-      type leafref {
-        path "/nd:networks/nd:network/nd:node/nwt:termination-point/nwt:tp-id";
-      }
-      description
-        "Used to identify relationships between client and network ports in transponders and
-          uni-directional regens. Provides the list of tps the tp is connected to, as defined
-          in the device connection map.";
-    }
-    leaf eqpt-srg-id {
-      type uint32;
-      description
-        "Shared Risk Group identifier. All ports in a circuit-pack will have same srg-id";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of a termination point. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    leaf operational-state {
-      type org-openroadm-common-state-types:state;
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-    }
-  }
-
-  augment "/nd:networks/nd:network/nwt:link" {
-    when '../nd:network-types/cnet:openroadm-common-network';
-    description
-      "This augmentation defines common link attributes in the Open ROADM common network";
-    leaf link-type {
-      type org-openroadm-network-types:openroadm-link-type;
-    }
-    leaf clfi {
-      type string;
-    }
-    leaf opposite-link {
-      type leafref {
-        path "../../nwt:link/nwt:link-id";
-      }
-      description
-        "optional - pointer to reverse link in case of bidirectional link. Supersedes opposite-link
-         originally defined in OMS-attributes container, to apply to any kind of link in the topology";
-    }
-    leaf link-length {
-      type decimal64 {
-        fraction-digits 2;
-      }
-      units "km";
-    }
-    leaf link-latency {
-      type uint32;
-      units "microseconds";
-      description
-        "Latency of a link (microseconds)";
-    }
-    leaf TE-metric {
-      type uint32;
-      description
-        "defines a Traffic Engineering metric which could be used for any type of link.
-         Supersedes TE-metric originally defined in OMS-attributes grouping";
-    }
-    uses org-openroadm-network-types:link-concatenation;
-    uses org-openroadm-network-types:future-SRLGs {
-      augment "future-SRLGs" {
-        leaf-list SRLG-Id {
-          type leafref {
-            path "/nd:networks/nd:network/SRLG-list/SRLG-Id";
-          }
-        }  
-      }
-    }
-    leaf administrative-group {
-      type uint32;
-      description
-        "according to RFC 3630 definition";
-    }
-    leaf operational-state {
-      type org-openroadm-common-state-types:state;
-    }
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of a link. Whether it is planned, deployed, in maintenance, etc.";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-degree@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-degree@2021-12-10.yang
deleted file mode 100644 (file)
index fff0016..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-module org-openroadm-degree {
-  yang-version 1.1;
-  namespace "http://org/openroadm/degree";
-  prefix dgr;
-
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-network-types {
-    prefix org-openroadm-network-types;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for a Degree in Network Model
-
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-       description
-         "Version 10.0";
-  } 
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping degree-used-wavelengths {
-    description
-      "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
-       index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
-       will hold list of used spectra";
-    list used-wavelengths {
-      key "index";
-      uses org-openroadm-network-types:wavelengths;
-    }
-  }
-
-  grouping degree-node-attributes {
-    description
-      "Defines the group of degree attributes";
-    leaf degree-number {
-      type uint16;
-    }
-    leaf max-wavelengths {
-      type uint32;
-      description
-        "maximum # of wavelengths";
-    }
-    leaf ingress-span-loss-aging-margin {
-      type org-openroadm-common-link-types:ratio-dB;
-      config true;
-      description
-        "Span-loss margin extracted from corresponding device OTS interface container, optional";
-    }
-    leaf eol-max-load-pIn {
-      type org-openroadm-common-link-types:power-dBm;
-      config true;
-      description
-        "End Of Life Total input power at maximum load extracted from corresponding device OTS interface container";
-    }
-    leaf egress-average-channel-power {
-      type org-openroadm-common-link-types:power-dBm;
-      config true;
-      description
-        "Based upon the total max power across the 4.8 THz passband.";
-    }
-    leaf-list supported-operational-modes {
-      type string;
-      config true;
-      description
-        "defines the supported openroadm specifications";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-external-pluggable@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-external-pluggable@2021-12-10.yang
deleted file mode 100644 (file)
index 2b5fe47..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-module org-openroadm-external-pluggable {
-  yang-version 1.1;
-  namespace "http://org/openroadm/external/pluggable";
-  prefix plg;
-
-  import org-openroadm-common-equipment-types {
-    prefix org-openroadm-common-equipment-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-state-types {
-    prefix org-openroadm-common-state-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for External Pluggable
-
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-       description
-         "Version 10.0";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping pluggable-node-attributes {
-    leaf pluggable-id {
-      type string;
-      description
-        "Network-wide unique identifier for a pluggable";
-    }
-    leaf customer-code {
-      type string;
-      description
-        "Owner of the pluggable";
-    }
-    container tail {
-      leaf client-equipment {
-        type string;
-      }
-      leaf client-equipment-id {
-        type string;
-      }
-      leaf clfi {
-        type string;
-      }
-    }
-  }
-
-  grouping pluggable-tp-attributes {
-    leaf rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:och-rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-optical-channel-types:modulation-format;
-    }
-    leaf optic {
-      type org-openroadm-common-equipment-types:optic-types;
-    }
-    leaf state {
-      type org-openroadm-common-state-types:state;
-      description
-        "A xponder can be in one of the following
-               states";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-link@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-link@2021-12-10.yang
deleted file mode 100644 (file)
index 437483a..0000000
+++ /dev/null
@@ -1,279 +0,0 @@
-module org-openroadm-link {
-  yang-version 1.1;
-  namespace "http://org/openroadm/link";
-  prefix link;
-
-  import ietf-network {
-    prefix nd;
-    revision-date 2018-02-26;
-  }
-  import org-openroadm-equipment-states-types {
-    prefix org-openroadm-equipment-states-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2021-05-28;
-  }
-  import org-openroadm-amplifier {
-    prefix org-openroadm-amplifier;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-network-types {
-    prefix org-openroadm-network-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-network {
-    prefix cnet;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for an amplifier in Network Model
-
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2017,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-17 {
-    description
-      "Version 2.0";
-  }
-
-  grouping span-attributes {
-    leaf auto-spanloss {
-      type boolean;
-      default "true";
-      description
-        "Flag to enable/disable automatic spanloss measurement";
-    }
-    leaf spanloss-base {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "Baseline ROADM span loss measured and accepted during
-         degree turn-up. May be re-set to current value after a fiber repair or change.";
-    }
-    leaf spanloss-current {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "Current ROADM span loss measured and accepted during
-         degree turn-up. Updated periodically if auto-spanloss is enabled.";
-    }
-    leaf spanloss-last-measured {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "Last measured ROADM span loss, may or may not have been accepted and pushed to the NE.";
-    }
-    leaf engineered-spanloss {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "ROADM span loss provided by an external system";
-    }
-    uses org-openroadm-network-types:link-concatenation {
-      augment link-concatenation {
-        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)";
-            }
-          }
-        }
-        leaf pmd {
-          type org-openroadm-common-link-types:fiber-pmd;
-          description
-            "Total PMD";
-        }
-        leaf subject-to-high-SOP-changes {
-         type boolean;
-         description
-                 "identifies fibers that may experience high polarization rotation rates
-                  and which might be inadequate for some modulation format";
-        }
-      }
-    }
-    uses org-openroadm-network-types:future-SRLGs {
-      augment "future-SRLGs" {
-        leaf-list SRLG-Id {
-          type leafref {
-            path "/nd:networks/nd:network/cnet:SRLG-list/cnet:SRLG-Id";
-          }
-        }  
-      }
-    }
-  } 
-  grouping amplified-link-attributes {
-    list amplified-link {
-      key "section-elt-number";
-      description
-        "defines the spans and the amplifier blocks of the amplified lines";
-      leaf section-elt-number {
-        type uint16;
-        description
-          "Id of the section element (whether it's a Span or an Amp)";
-      }
-      container section-element {
-        choice section-element {
-          case ila {
-            container ila {
-              uses org-openroadm-amplifier:amplifier-node-attributes;
-              uses org-openroadm-network-types:type-variety-grp;
-              leaf node-id {
-                type org-openroadm-common-node-types:node-id-type;
-                mandatory true;
-                description
-                  "Node id corresponding to the amplifier ";
-              }
-              leaf administrative-state {
-                type org-openroadm-equipment-states-types:admin-states;
-              }
-            }
-          }
-          case span {
-            container span {
-              uses link:span-attributes;
-              leaf administrative-state {
-                type org-openroadm-equipment-states-types:admin-states;
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-network-topology-types@2020-12-11.yang b/ordmodels/network/src/main/yang/org-openroadm-network-topology-types@2020-12-11.yang
deleted file mode 100644 (file)
index 8f17cac..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-module org-openroadm-network-topology-types {
-  yang-version 1.1;
-  namespace "http://org/openroadm/network/topology/types";
-  prefix org-openroadm-network-topology-types;
-
-  import ietf-network {
-    prefix nd;
-    revision-date 2018-02-26;
-  }
-  import ietf-network-topology {
-    prefix nwt;
-    revision-date 2018-02-26;
-  }
-  import org-openroadm-switching-pool-types {
-    prefix org-openroadm-switching-pool-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2020-12-11;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "www.OpenROADM.org.";
-  description
-    "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-
-  grouping xpdr-tp-bandwidth-sharing {
-    list tp-bandwidth-sharing {
-      key "tp-sharing-id";
-      leaf tp-sharing-id {
-        type uint16;
-      }
-      leaf-list tp-list {
-        type nwt:tp-id;
-      }
-      leaf shared-bandwidth {
-        type uint16;
-        units "Gbps";
-      }
-      list possible-tp-config {
-        key "config-id";
-        leaf config-id {
-          type uint16;
-        }
-        list tp-if-type-config {
-          key "tp-name";
-          leaf tp-name {
-            type leafref {
-              path "/nd:networks/nd:network/nd:node/nwt:termination-point/nwt:tp-id";
-            }
-            description
-              "termination-point identifier";
-          }
-          leaf-list tp-if-type {
-            type identityref {
-              base org-openroadm-port-types:supported-if-capability;
-            }
-          }
-          leaf otsi-rate {
-            type uint16;
-            units "Gbps";
-            description
-              "Optical Tributary Signal (OTSi) rate in Gbps";
-          }
-        }
-      }
-    }
-  }
-
-  grouping xpdr-odu-switching-pools {
-    list odu-switching-pools {
-      key "switching-pool-number";
-      leaf switching-pool-number {
-        type uint16;
-        description
-          "Unique identifier for this odu-switching-pool";
-      }
-      leaf switching-pool-type {
-        type org-openroadm-switching-pool-types:switching-pool-types;
-      }
-      list non-blocking-list {
-        key "nbl-number";
-        description
-          "List of ports in a non-blocking switch element";
-        leaf nbl-number {
-          type uint16;
-          description
-            "Identifier for this non-blocking-list. Unique within odu-switching-pool";
-        }
-        leaf interconnect-bandwidth-unit {
-          type uint32;
-          description
-            "Switch fabric interconnect bandwidth unit rate in bits per second.
-             Represents granularity of switch fabric";
-        }
-        leaf capable-interconnect-bandwidth {
-          type uint32;
-          description
-            "Total interconnect bandwidth for a non-blocking element expressed as
-             number of inter-connect-bandwidth units";
-        }
-        leaf available-interconnect-bandwidth {
-          type uint32;
-          description
-            "Total interconnect bandwidth available for a non-blocking element can use as
-             number of inter-connect-bandwidth units";
-        }
-        leaf-list tp-list {
-          type nwt:tp-id;
-          description
-            "Termination point. Unique within device";
-        }
-      }
-    }
-  }
-
-  grouping xpdr-otn-tail-attributes {
-    leaf tp-id {
-      type nwt:tp-id;
-    }
-    leaf network-ref {
-      type leafref {
-        path "/nd:networks/nd:network/nd:network-id";
-      }
-      description
-        "Used to reference a network, for example an underlay
-         network.";
-    }
-    leaf node-ref {
-      type leafref {
-        path "/nd:networks/nd:network[nd:network-id=current()/../network-ref]/nd:node/nd:node-id";
-      }
-      description
-        "Used to reference a node.
-         Nodes are identified relative to the network they are
-         contained in.";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-network-topology@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-network-topology@2021-12-10.yang
deleted file mode 100644 (file)
index 70f533c..0000000
+++ /dev/null
@@ -1,354 +0,0 @@
-module org-openroadm-network-topology {
-  yang-version 1.1;
-  namespace "http://org/openroadm/network/topology";
-  prefix topo;
-
-  import ietf-network {
-    prefix nd;
-    revision-date 2018-02-26;
-  }
-  import ietf-network-topology {
-    prefix nwt;
-    revision-date 2018-02-26;
-  }
-  import org-openroadm-network-types {
-    prefix org-openroadm-network-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-srg {
-    prefix srg;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-degree {
-    prefix dgr;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-xponder {
-    prefix xpdr;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-external-pluggable {
-    prefix plg;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-link {
-    prefix link;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-network {
-    prefix cnet;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for network view of a ROADM
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  deviation "/nd:networks/nd:network/nd:node/cnet:node-type" {
-    deviate add {
-      must "(not /nd:networks/nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-topology) or
-            (/nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-topology and
-            (../cnet:node-type = 'DEGREE' or ../cnet:node-type = 'SRG' or ../cnet:node-type = 'TPDR' or ../cnet:node-type = 'SWITCH' or
-             ../cnet:node-type = 'REGEN' or ../cnet:node-type = 'REGEN-UNI' or ../cnet:node-type = 'EXT-PLUGGABLE' or
-             ../cnet:node-type = 'MUXPDR'))" {
-          error-message "Invalid node type for openroadm-topology";
-          description
-            "The valid node types in the ROADM topology are 'SRG', 'DEGREE',
-             'TPDR', 'SWITCH', 'REGEN', 'REGEN-UNI', 'EXT-PLUGGABLE' and 'MUXPDR'";
-      }
-    }
-  }
-
-  deviation "/nd:networks/nd:network/nd:node/nwt:termination-point/cnet:tp-type" {
-    description
-      "Defines which TP types can be instantiated on which Node types";
-    deviate add {
-      must "/nd:network/nd:node/cnet:node-type != 'DEGREE' or (../../cnet:node-type = 'DEGREE'  and
-            (../cnet:tp-type = 'DEGREE-TX-TTP' or ../cnet:tp-type = 'DEGREE-RX-TTP' or  ../cnet:tp-type = 'DEGREE-TXRX-TTP' or
-            ../cnet:tp-type = 'DEGREE-TX-CTP' or ../cnet:tp-type = 'DEGREE-RX-CTP' or ../cnet:tp-type = 'DEGREE-TXRX-CTP'))" {
-          error-message "Invalid TP for node type 'DEGREE'";
-      }
-      must "/nd:network/nd:node/cnet:node-type != 'SRG' or (../../cnet:node-type = 'SRG' and
-            (../cnet:tp-type = 'SRG-TX-CP' or ../cnet:tp-type = 'SRG-RX-CP' or ../cnet:tp-type = 'SRG-TXRX-CP' or
-            ../cnet:tp-type = 'SRG-RX-PP' or ../cnet:tp-type = 'SRG-TX-PP' or ../cnet:tp-type = 'SRG-TXRX-PP'))" {
-          error-message "Invalid TP for node type 'SRG'";
-      }
-      must " (/nd:network/nd:node/cnet:node-type != 'TPDR' and ../../cnet:node-type != 'MUXPDR' and ../../cnet:node-type != 'REGEN' and
-            ../../cnet:node-type != 'REGEN-UNI' and ../../cnet:node-type != 'SWITCH')
-            or ((../../cnet:node-type = 'TPDR' or ../../cnet:node-type = 'MUXPDR' or ../../cnet:node-type = 'REGEN' or
-            ../../cnet:node-type = 'REGEN-UNI' or ../../cnet:node-type = 'SWITCH') and
-            (../cnet:tp-type = 'XPONDER-NETWORK' or ../cnet:tp-type = 'XPONDER-CLIENT' or ../cnet:tp-type = 'XPONDER-PORT'))" {
-          error-message "Invalid TP for node type 'XPONDER'";
-      }
-      must "/nd:network/nd:node/cnet:node-type != 'EXT-PLUGGABLE' or (../../cnet:node-type = 'EXT-PLUGGABLE' and ../cnet:tp-type = 'EXT-PLUGGABLE-TP')" {
-        error-message "Invalid TP for node type 'EXT-PLUGGABLE'";
-      }
-    }
-  }
-
-  deviation "/nd:networks/nd:network/nwt:link/cnet:link-type" {
-    deviate add {
-      must "(not /nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-topology) or
-            (/nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-topology and
-            (../cnet:link-type = 'ROADM-TO-ROADM' or ../cnet:link-type = 'ADD-LINK' or ../cnet:link-type = 'DROP-LINK' or
-             ../cnet:link-type = 'EXPRESS-LINK' or ../cnet:link-type = 'XPONDER-INPUT' or ../cnet:link-type = 'XPONDER-OUTPUT'))" {
-          error-message "Invalid link type for openroadm-topology";
-          description
-            "The valid link types in the ROADM topology are 'ROADM-TO-ROADM', 'ADD-LINK',
-             'DROP-LINK', 'EXPRESS-LINK', 'XPONDER-INPUT', 'XPONDER-OUTPUT'";
-      }
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:network-types/cnet:openroadm-common-network" {
-    description
-      "Introduce new network type for the Open ROADM optical
-       `     network topology";
-    container openroadm-topology {
-      presence "indicates optical network topology for Open ROADMs";
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:node" {
-    when '../nd:network-types/cnet:openroadm-common-network/topo:openroadm-topology';
-    description
-      "This augmentations adds the ROADM Node type to the generic node
-       definition and defines node-specific attributes for each node type
-       in the ROADM Topology.";
-    container srg-attributes {
-      when "../cnet:node-type = 'SRG'";
-      description
-        "Topology-related attributes for SRG nodes";
-      uses srg:srg-node-attributes;
-      uses org-openroadm-network-types:available-freq-map;
-      uses org-openroadm-network-types:type-variety-grp;
-    }
-    container degree-attributes {
-      when "../cnet:node-type = 'DEGREE'";
-      description
-        "Topology-related attributes for degree nodes";
-      uses dgr:degree-node-attributes;
-      uses org-openroadm-network-types:available-freq-map;
-      uses org-openroadm-network-types:type-variety-grp;
-    }
-    container xpdr-attributes {
-      when "../cnet:node-type = 'TPDR' or ../cnet:node-type = 'MUXPDR' or ../cnet:node-type = 'REGEN' or
-            ../cnet:node-type = 'REGEN-UNI' or ../cnet:node-type = 'SWITCH'";
-      description
-        "Topology-related attributes for Xponder nodes";
-      uses xpdr:xpdr-topo-node-attributes;
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:node/nwt:termination-point" {
-    when '../../nd:network-types/cnet:openroadm-common-network/topo:openroadm-topology';
-    description
-      "Defines the type of a termination point in the ROADM topology and
-       TP-specific attributes for each termination point type.";
-    container tx-ttp-attributes {
-      when "../cnet:tp-type = 'DEGREE-TX-TTP' or ../cnet:tp-type = 'DEGREE-TXRX-TTP'";
-      description
-        "There must be only one TP of type DEGREE-TX-TTP in any given
-         degree node";
-      uses dgr:degree-used-wavelengths;
-      uses org-openroadm-network-types:available-freq-map;
-    }
-    container rx-ttp-attributes {
-      when "../cnet:tp-type = 'DEGREE-RX-TTP'";
-      description
-        "There must be only one TP of type DEGREE-RX-TTP in any given
-         degree node";
-      uses dgr:degree-used-wavelengths;
-      uses org-openroadm-network-types:available-freq-map;
-    }
-    container ctp-attributes {
-      when "../cnet:tp-type = 'DEGREE-TX-CTP' or ../cnet:tp-type = 'DEGREE-RX-CTP' or ../cnet:tp-type = 'DEGREE-TXRX-CTP'";
-      uses org-openroadm-network-types:available-freq-map;
-    }
-    container cp-attributes {
-      when "../cnet:tp-type = 'SRG-TX-CP' or ../cnet:tp-type = 'SRG-RX-CP' or ../cnet:tp-type = 'SRG-TXRX-CP'";
-      description
-        "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
-         index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
-         will hold list of used spectra";
-      uses org-openroadm-network-types:available-freq-map;
-    }
-    container pp-attributes {
-      when "../cnet:tp-type = 'SRG-TXRX-PP' or ../cnet:tp-type = 'SRG-TX-PP' or ../cnet:tp-type = 'SRG-RX-PP' ";
-      description
-        "This list is created to accommodate fixed grid (1.2.1) as well as flex grid (2.0 above). In case of fixed grid
-         index number will refer to one of the 96 WL defined in the wavelength map file. In case of flex grid this
-         will hold list of used spectra";
-      list used-wavelength {
-        key "index";
-        uses org-openroadm-network-types:wavelengths;
-      }
-      uses org-openroadm-network-types:available-freq-map;
-    }
-    container xpdr-client-attributes {
-      when "../../cnet:node-type = 'TPDR' and ../cnet:tp-type = 'XPONDER-CLIENT'";
-      description
-        "Topology layer will allow client TPs only for Transponder nodes";
-      uses xpdr:xpdr-connection-attributes;
-      uses xpdr:xpdr-port-connection-attributes;
-      uses xpdr:supported-client-services;
-    }
-    container xpdr-network-attributes {
-      when "../cnet:tp-type = 'XPONDER-NETWORK'";
-      uses xpdr:xpdr-connection-attributes;
-      uses xpdr:xpdr-port-connection-attributes;
-      uses xpdr:xpdr-mode-attributes;
-      uses org-openroadm-network-types:type-variety-grp;
-    }
-    container xpdr-port-attributes {
-      when "../cnet:tp-type = 'XPONDER-PORT'";
-      uses xpdr:xpdr-connection-attributes;
-      uses xpdr:xpdr-port-connection-attributes;
-      uses xpdr:xpdr-mode-attributes;
-      uses org-openroadm-network-types:type-variety-grp;
-    }
-    container ext-pluggable-attributes {
-      when "../cnet:tp-type = 'EXT-PLUGGABLE-TP'";
-      uses plg:pluggable-tp-attributes;
-      uses xpdr:xpdr-port-connection-attributes;
-      uses xpdr:xpdr-mode-attributes;
-      uses org-openroadm-network-types:type-variety-grp;
-    }
-  }
-
-  augment "/nd:networks/nd:network/nwt:link" {
-    when '../nd:network-types/cnet:openroadm-common-network/topo:openroadm-topology';
-    description
-      "This augmentation defines ROADM link types in the ROADM topology";
-    leaf amplified {
-      when "../cnet:link-type = 'ROADM-TO-ROADM'";
-      type boolean;
-      description
-        "defines whether an ROADM-TO-ROADM Link includes line amplifiers or not";
-    }
-    container OMS-attributes {
-      when "../cnet:link-type = 'ROADM-TO-ROADM'";
-      description
-        "";
-      container span {
-        when "../../amplified = 'false'";
-        description
-          "";
-        uses link:span-attributes;
-      }
-      container amplified-link {
-        when "../../amplified = 'true'";
-        description
-          "when amplified is set to true, rather than a simple OMS section
-           we have an amplified link";
-        uses link:amplified-link-attributes;
-      }
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-network-types@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-network-types@2021-12-10.yang
deleted file mode 100644 (file)
index 43c5298..0000000
+++ /dev/null
@@ -1,417 +0,0 @@
-module org-openroadm-network-types {
-  yang-version 1.1;
-  namespace "http://org/openroadm/network/types";
-  prefix nt;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-port-types {
-    prefix org-openroadm-port-types;
-    revision-date 2020-12-11;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "www.OpenROADM.org.";
-  description
-    "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-
-  typedef openroadm-node-type {
-    type enumeration {
-      enum ROADM {
-        value 1;
-      }
-      enum DEGREE {
-        value 11;
-      }
-      enum SRG {
-        value 12;
-      }
-      enum XPONDER {
-        value 3;
-      }
-      enum EXT-PLUGGABLE {
-        value 4;
-      }
-      enum TPDR {
-        value 13;
-      }
-      enum MUXPDR {
-        value 14;
-      }
-      enum REGEN {
-        value 15;
-      }
-      enum REGEN-UNI {
-        value 16;
-      }
-      enum SWITCH {
-        value 17;
-      }
-    }
-  }
-
-  typedef openroadm-tp-type {
-    type enumeration {
-      enum DEGREE-TX-TTP {
-        value 1;
-      }
-      enum DEGREE-RX-TTP {
-        value 2;
-      }
-      enum DEGREE-TX-CTP {
-        value 3;
-      }
-      enum DEGREE-RX-CTP {
-        value 4;
-      }
-      enum SRG-TX-CP {
-        value 5;
-      }
-      enum SRG-RX-CP {
-        value 6;
-      }
-      enum SRG-TXRX-PP {
-        value 7;
-      }
-      enum SRG-RX-PP {
-        value 8;
-      }
-      enum SRG-TX-PP {
-        value 9;
-      }
-      enum XPONDER-NETWORK {
-        value 10;
-      }
-      enum XPONDER-CLIENT {
-        value 11;
-      }
-      enum EXT-PLUGGABLE-TP {
-        value 12;
-      }
-      enum DEGREE-TXRX-TTP {
-        value 13;
-      }
-      enum SRG-TXRX-CP {
-        value 14;
-      }
-      enum XPONDER-PORT {
-        value 15;
-      }
-      enum DEGREE-TXRX-CTP {
-        value 16;
-      }
-    }
-  }
-
-  typedef openroadm-link-type {
-    type enumeration {
-      enum EXPRESS-LINK {
-        value 1;
-      }
-      enum ADD-LINK {
-        value 2;
-      }
-      enum DROP-LINK {
-        value 3;
-      }
-      enum ROADM-TO-ROADM {
-        value 4;
-      }
-      enum XPONDER-INPUT {
-        value 5;
-      }
-      enum XPONDER-OUTPUT {
-        value 6;
-      }
-      enum OTN-LINK {
-        value 7;
-      }
-    }
-  }
-
-  typedef openroadm-node-connection-status {
-    type enumeration {
-      enum CONNECTED {
-        value 1;
-      }
-      enum CONNECTING {
-        value 2;
-      }
-      enum UNABLE-TO-CONNECT {
-        value 3;
-      }
-    }
-  }
-
-  grouping available-freq-map {
-    list avail-freq-maps {
-      key "map-name";
-      description
-        "Available spectrum information";
-      leaf map-name {
-        type string;
-        description
-          "Identifier of the map. For C-band, recommend map-name = 'cband'";
-      }
-      leaf start-edge-freq {
-        type org-openroadm-common-optical-channel-types:frequency-THz;
-        description
-          "Starting edge frequency (min frequency) for the frequency map. For C-band, the recommendation is start-edge-freq = 191.325 THz";
-      }
-      leaf freq-map-granularity {
-        type org-openroadm-common-optical-channel-types:frequency-GHz;
-        description
-          "frequency granularity of each bit in the bitmap.  For C-band, the recommendation is freq-map-granularity = 6.25 GHz";
-      }
-      leaf effective-bits {
-        type uint16;
-        description
-          "Number of effective bits in the frequency bitmap.  Note the freq-map bitmap will be padded with 0 for byte alignment.";
-      }
-      leaf freq-map {
-        type binary;
-        description
-          "Frequency bitmap.  Setting the value of the binary bit to 1 indicates that the corresponding spectrum is available and
-           setting to 0 indicates the corresponding spectrum is unavailable (used or unsupported).";
-      }
-    }
-  }
-
-  grouping wavelengths {
-    leaf index {
-      type int32;
-      description
-        "Index should be related to the frequency based on the formula 193.1 + index * .00625 THz";
-    }
-    uses flex-wave;
-  }
-
-  grouping flex-wave {
-    leaf frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      config true;
-      description
-        "Center Frequency in THz";
-    }
-    leaf width {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      config true;
-      description
-        "Frequency width in GHz.";
-    }
-  }
-
-  grouping type-variety-grp {
-    leaf type-variety {
-      type string;
-      config true;
-      description
-        "Equipment type variety defined by the Open ROADM MSA or by the vendor for bookending applications.
-         This field is used by external path computation tools as a reference in a catalog to get additional
-         information about the equipment’s optical capabilities.";
-    }
-  }
-
-  grouping xpdr-tp-supported-interfaces {
-    list supported-interface-capability {
-      key "if-cap-type";
-      description
-        "Supported interface capability on the port.";
-      leaf if-cap-type {
-        type identityref {
-          base org-openroadm-port-types:supported-if-capability;
-        }
-        description
-          "Interface type/hierarchy/rate supported on this port";
-      }
-    }
-  }
-
-  grouping node-due-date-list {
-    list due-dates {
-      key "id";
-      leaf id {
-        type uint16;
-      }
-      leaf start-date {
-        type yang:date-and-time;
-        description
-          "date and time node will begin maintenance status or date when node is planned";
-      }
-      leaf end-date {
-        type yang:date-and-time;
-        description
-          "date and time node will end maintenance or date when node is deployed";
-      }
-    }
-  }
-
-  grouping link-concatenation {
-    list link-concatenation {
-      key "SRLG-Id";
-      leaf SRLG-Id {
-        type uint32;
-        description
-          "unique identifier for SRLG";
-      }
-      leaf SRLG-length {
-        type decimal64 {
-          fraction-digits 2;
-        }
-        description
-          "Fiber length in desired distance unit of measure";
-      }
-    }
-  }
-
-  grouping SRLG-list{
-    list SRLG-list {
-      key "SRLG-Id";
-      description 
-        "List of all SRLG-Ids. Controller will be responsible to maintain completeness of SRLG-Ids by doing union of 
-         internal and external SRLG information.";
-      leaf SRLG-Id {
-        type uint32;
-        description
-          "unique identifier for SRLG";
-      }
-      leaf SRLG-name {
-        type string;
-        description
-          "Name of the SRLG";
-      }
-      leaf SRLG-type {
-        type org-openroadm-common-types:SRLG-type;
-        description
-          "Type of SRLG, Site SRLG, Node SRLG, Fiber SRLG or Link SRLG";
-      }
-      leaf SRLG-length {
-        type decimal64 {
-          fraction-digits 2;
-        }
-        description
-          "Fiber length in desired distance unit of measure";
-      }
-    }
-  }
-
-  grouping future-SRLGs {
-    list future-SRLGs {
-      key "start-date";
-      description
-        "Start date represents end date for currently active SRLGs. Start date will represent start date for planned SRLGs";
-      leaf start-date {
-        type yang:date-and-time;
-      }
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-network@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-network@2021-12-10.yang
deleted file mode 100644 (file)
index 56b50e2..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-module org-openroadm-network {
-  yang-version 1.1;
-  namespace "http://org/openroadm/network";
-  prefix net;
-
-  import ietf-network {
-    prefix nd;
-    revision-date 2018-02-26;
-  }
-  import org-openroadm-network-types {
-    prefix nt;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-roadm {
-    prefix roadm;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-external-pluggable {
-    prefix plg;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-xponder {
-    prefix xpdr;
-    revision-date 2021-12-10;
-  }
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-network {
-    prefix cnet;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "www.OpenROADM.org.";
-  description
-    "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  deviation "/nd:networks/nd:network/nd:node/cnet:node-type" {
-    deviate add {
-      must "(not /nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network) or
-            (/nd:network/nd:network-types/cnet:openroadm-common-network/openroadm-network and
-            (../cnet:node-type = 'ROADM' or ../cnet:node-type = 'XPONDER' or ../cnet:node-type = 'EXT-PLUGGABLE'))" {
-          error-message "Invalid node type for openroadm-network";
-          description
-            "The valid node types in the ROADM network are XPONDER, EXT-PLUGGABLE and ROADM.";
-      }
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:network-types/cnet:openroadm-common-network" {
-    description
-      "Introduce new network type for the Open ROADM optical network";
-    container openroadm-network {
-      presence "indicates optical network of Open ROADMs";
-      description
-        "The presence of the container node indicates Open ROADM
-         network";
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:node" {
-    when '../nd:network-types/cnet:openroadm-common-network/net:openroadm-network';
-    description
-      "Augment the generic network node with Open ROADM attributes.";
-    leaf software-version {
-      type string;
-      description
-        "Vendor software version";
-    }
-    leaf openroadm-version {
-      type org-openroadm-common-types:openroadm-version-type;
-      description
-        "OpenROADM software version";
-    }
-    leaf vendor {
-      type string;
-      description
-        "Identifier of the supplier";
-    }
-    leaf model {
-      type string;
-      description
-        "Identifier of the supplier's equipment";
-    }
-    leaf domain-subnetwork {
-      type string;
-      description
-        "Specific Domain-Subnetwork in which the node resides";
-    }
-    leaf ip {
-      type inet:ip-address;
-      description
-        "IP address assigned to the node";
-    }
-    leaf relay-rack {
-      type string;
-      description
-        "Frame Identification Code (FIC)";
-    }
-    leaf shelf {
-      type string;
-    }
-    leaf node-connection-status {
-      type nt:openroadm-node-connection-status;
-    }
-    container roadm-attributes {
-      when "../cnet:node-type = 'ROADM'";
-      description
-        "Attributes for the ROADM Node.";
-      uses roadm:roadm-node-attributes;
-    }
-    container xpdr-attributes {
-      when "../cnet:node-type = 'XPONDER'";
-      uses xpdr:xpdr-node-attributes;
-    }
-    container pluggable-attributes {
-      when "../cnet:node-type = 'EXT-PLUGGABLE'";
-      uses plg:pluggable-node-attributes;
-    }
-    container plan-due-dates {
-      uses nt:node-due-date-list;
-    }
-    container node-maintenance-schedule {
-      uses nt:node-due-date-list;
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-otn-network-topology@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-otn-network-topology@2021-12-10.yang
deleted file mode 100644 (file)
index 697d03d..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-module org-openroadm-otn-network-topology {
-  yang-version 1.1;
-  namespace "http://org/openroadm/otn/network/topology";
-  prefix otn-topo;
-
-  import ietf-network {
-    prefix nd;
-    revision-date 2018-02-26;
-  }
-  import ietf-network-topology {
-    prefix nwt;
-    revision-date 2018-02-26;
-  }
-  import org-openroadm-network-types {
-    prefix org-openroadm-network-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-network-topology-types {
-    prefix org-openroadm-network-topology-types;
-    revision-date 2020-12-11;
-  }
-  import org-openroadm-xponder {
-    prefix xpdr;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-network {
-    prefix cnet;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for network view of a ROADM
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-
-  deviation "/nd:networks/nd:network/nd:node/cnet:node-type" {
-    deviate add {
-      must "(not /nd:network/nd:network-types/cnet:openroadm-common-network/otn-topology) or
-            (/nd:network/nd:network-types/cnet:openroadm-common-network/otn-topology and
-            (../cnet:node-type = 'SWITCH' or ../cnet:node-type = 'MUXPDR' or ../cnet:node-type = 'TPDR' or
-             ../cnet:node-type = 'REGEN' or ../cnet:node-type = 'REGEN-UNI'))" {
-          error-message "Invalid node type for otn-topology";
-          description
-            "The type of a node in the OTN topology";
-      }
-    }
-  }
-
-  deviation "/nd:networks/nd:network/nd:node/nwt:termination-point/cnet:tp-type" {
-    description
-      "Defines which TP types can be instantiated on which Node types";
-    deviate add {
-      must "(/nd:network/nd:node/cnet:node-type != 'MUXPDR' and ../../cnet:node-type != 'SWITCH' and ../../cnet:node-type != 'TPDR'
-            and ../cnet:node-type != 'REGEN' and ../cnet:node-type != 'REGEN-UNI') or
-            ((../../cnet:node-type = 'MUXPDR' or ../../cnet:node-type = 'SWITCH' or ../../cnet:node-type = 'TPDR' or
-            ../cnet:node-type = 'REGEN' or ../cnet:node-type = 'REGEN-UNI') and
-            (../cnet:tp-type = 'XPONDER-NETWORK' or ../cnet:tp-type = 'XPONDER-CLIENT' or ../cnet:tp-type = 'XPONDER-PORT'))" {
-          error-message "Invalid TP for node type Xponder";
-      }
-    }
-  }
-
-  deviation "/nd:networks/nd:network/nwt:link/cnet:link-type" {
-    deviate add {
-      must "(not /nd:network/nd:network-types/cnet:openroadm-common-network/otn-topology) or
-            (/nd:network/nd:network-types/cnet:openroadm-common-network/otn-topology and ../cnet:link-type = 'OTN-LINK')" {
-          error-message "Invalid link type for otn-topology";
-          description
-            "The valid link type in the OTN topology is 'OTN-LINK'";
-      }
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:network-types/cnet:openroadm-common-network" {
-    description
-      "Introduce new network type for the Open ROADM OTN network topology";
-    container otn-topology {
-      presence "indicates OTN topology for Transponder, Muxponder, Switchponder and OTN-switch";
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:node" {
-    when '../nd:network-types/cnet:openroadm-common-network/otn-topo:otn-topology';
-    description
-      "This augmentations adds the OTN Node type to the generic node
-       definition and defines node-specific attributes for each node type
-       in the OTN Topology.";
-    container tp-bandwidth-sharing {
-      when "../cnet:node-type = 'MUXPDR' or ../cnet:node-type = 'SWITCH' or ../cnet:node-type = 'TPDR'";
-      uses org-openroadm-network-topology-types:xpdr-tp-bandwidth-sharing;
-    }
-    container switching-pools {
-      when "../cnet:node-type = 'MUXPDR' or ../cnet:node-type = 'SWITCH' or ../cnet:node-type = 'TPDR'";
-      description
-        "ODU Switching pool";
-      uses org-openroadm-network-topology-types:xpdr-odu-switching-pools;
-    }
-    container xpdr-attributes {
-      when "../cnet:node-type = 'MUXPDR' or ../cnet:node-type = 'SWITCH' or ../cnet:node-type = 'TPDR' or
-            ../cnet:node-type = 'REGEN' or ../cnet:node-type = 'REGEN-UNI'";
-      description
-        "Topology-related attributes for Xponder nodes";
-      uses xpdr:xpdr-topo-node-attributes;
-    }
-  }
-
-  augment "/nd:networks/nd:network/nd:node/nwt:termination-point" {
-    when '../../nd:network-types/cnet:openroadm-common-network/otn-topo:otn-topology';
-    description
-      "Defines the type of a termination point in the OTN topology and
-       TP-specific attributes for each termination point type.";
-    container tp-supported-interfaces {
-      when "../cnet:tp-type = 'XPONDER-NETWORK' or ../cnet:tp-type = 'XPONDER-CLIENT' or ../cnet:tp-type = 'XPONDER-PORT'";
-      description
-        "Supported interface capability on the port.";
-      uses org-openroadm-network-types:xpdr-tp-supported-interfaces;
-    }
-    container xpdr-tp-port-connection-attributes {
-      when "../cnet:tp-type = 'XPONDER-NETWORK' or ../cnet:tp-type = 'XPONDER-CLIENT' or ../cnet:tp-type = 'XPONDER-PORT'";
-      description
-        "Topology-related attributes for Xpdr nodes";
-      uses xpdr:xpdr-otn-tp-attributes;
-      uses xpdr:xpdr-port-connection-attributes;
-      uses org-openroadm-network-topology-types:xpdr-otn-tail-attributes;
-      uses xpdr:supported-client-services;
-    }
-  }
-
-  augment "/nd:networks/nd:network/nwt:link" {
-    when '../nd:network-types/cnet:openroadm-common-network/otn-topo:otn-topology';
-    description
-      "This augmentation defines Logical link types in the OTN topology connecting OTN elements";
-    leaf available-bandwidth {
-      type uint32;
-      description
-        "Available bandwidth between OTN elements";
-    }
-    leaf used-bandwidth {
-      type uint32;
-      description
-        "Used bandwidth between OTN elements";
-    }
-    leaf ODU-protected {
-      type boolean;
-      description
-        "ODU protection flag";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-roadm@2019-11-29.yang b/ordmodels/network/src/main/yang/org-openroadm-roadm@2019-11-29.yang
deleted file mode 100644 (file)
index 801a690..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-module org-openroadm-roadm {
-  yang-version 1.1;
-  namespace "http://org/openroadm/roadm";
-  prefix roadm;
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for network view of a ROADM
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping roadm-node-attributes {
-    leaf max-degrees {
-      type uint16;
-      description
-        "Max no. of degrees supported by the node";
-    }
-    leaf max-srgs {
-      type uint16;
-      description
-        "Max no. of SRGs supported by the node";
-    }
-    leaf current-degrees {
-      type uint16;
-      description
-        "Current no. of degrees supported by the node";
-    }
-    leaf current-srgs {
-      type uint16;
-      description
-        "Current no. of SRGs supported by the node";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-srg@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-srg@2021-12-10.yang
deleted file mode 100644 (file)
index 594ade1..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-module org-openroadm-srg {
-  yang-version 1.1;
-  namespace "http://org/openroadm/srg";
-  prefix srg;
-
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for an Add/Drop group in Network Model
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-       description
-         "Version 10.0";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping srg-node-attributes {
-    leaf srg-number {
-      type uint16;
-    }
-    leaf max-pp {
-      type uint32;
-      description
-        "Maximum number of add/drop port pairs in an SRG";
-    }
-    leaf current-provisioned-pp {
-      type uint32;
-      description
-        "current provisioned number of port pair in a given SRG";
-    }
-    leaf wavelength-duplication {
-      type org-openroadm-common-optical-channel-types:wavelength-duplication-type;
-    }
-    leaf-list supported-operational-modes {
-      type string;
-      config true;
-      description
-        "defines the supported openroadm specifications";
-    }
-  }
-}
diff --git a/ordmodels/network/src/main/yang/org-openroadm-xponder@2021-12-10.yang b/ordmodels/network/src/main/yang/org-openroadm-xponder@2021-12-10.yang
deleted file mode 100644 (file)
index 23a18d4..0000000
+++ /dev/null
@@ -1,315 +0,0 @@
-module org-openroadm-xponder {
-  yang-version 1.1;
-  namespace "http://org/openroadm/xponder";
-  prefix xpdr;
-
-  import org-openroadm-network-types {
-    prefix org-openroadm-network-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-equipment-types {
-    prefix org-openroadm-common-equipment-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-state-types {
-    prefix org-openroadm-common-state-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-service-format {
-    prefix org-openroadm-service-format;
-    revision-date 2019-11-29;
-  }
-
-  organization
-    "OPEN ROADM MSA";
-  contact
-    "OpenROADM.org.";
-  description
-    "YANG definitions for xponder
-
-     Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-     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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping xpdr-node-attributes {
-    leaf customer-code {
-      type string;
-      description
-        "Owner of the xponder";
-    }
-  }
-
-  grouping xpdr-topo-node-attributes {
-    leaf xpdr-number {
-      type uint16;
-    }
-  }
-
-  grouping xpdr-connection-attributes {
-    leaf local-lgx {
-      type string;
-    }
-    leaf rate {
-      type identityref {
-        base org-openroadm-common-optical-channel-types:optical-rate-identity;
-      }
-      description
-        "rate";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-optical-channel-types:modulation-format;
-    }
-    leaf optic {
-      type org-openroadm-common-equipment-types:optic-types;
-    }
-    leaf state {
-      type org-openroadm-common-state-types:state;
-      description
-        "A xponder can be in one of the following
-                 states";
-    }
-  }
-
-  grouping xpdr-port-connection-attributes {
-    container wavelength {
-      uses org-openroadm-network-types:flex-wave;
-    }
-    leaf tail-equipment {
-      type string;
-      description
-        "Type of equipment connected to the tail
-         for example packet box";
-    }
-    leaf tail-equipment-id {
-      type string;
-      description
-        "Identifier of equipment connected to the
-         tail for example client equipement ID";
-    }
-    leaf tail-clfi {
-      type string;
-    }
-  }
-
-  grouping xpdr-otn-tp-attributes {
-    leaf rate {
-      type identityref {
-        base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "rate identity of the ODU. 'identityref' is used
-         to allow to extend for future higher rates";
-    }
-    list odtu-tpn-pool {
-      key "odtu-type";
-      leaf odtu-type {
-        type identityref {
-          base org-openroadm-otn-common-types:odtu-type-identity;
-        }
-        description
-          "ODTU type, part of the MSI (Multiplex Structure Identifier)";
-      }
-      leaf-list tpn-pool {
-        type uint16;
-        description
-          "List of available Tributary Port Number (0-based), part of the MSI";
-      }
-    }
-    leaf-list ts-pool {
-      type uint16;
-      description
-        "List of available Tributary Slots used by port";
-    }
-    leaf-list opucn-ts-pool {
-      type org-openroadm-otn-common-types:opucn-trib-slot-def;
-      description
-        "List of available OPUCn Tributary Slots used by port";
-    }
-  }
-
-  grouping xpdr-mode-attributes {
-    container supported-operational-modes {
-      list operational-mode {
-        key "mode-id";
-        description
-          "list of supported operational modes";
-        leaf mode-id {
-          type string;
-          description
-            "Optical profile operational mode identifier";
-        }
-        leaf spectral-width {
-          type org-openroadm-common-optical-channel-types:frequency-GHz;
-          units "GHz";
-          description
-            "The required minimum signal spectral width of signal at -22 dbm.";
-        }
-      }
-    }
-    leaf operational-mode {
-      type string;
-      config true;
-      description
-        "The provisioned operational-mode of the equipment.";
-    }
-  }
-
-  grouping supported-client-services {
-    container supported-client-services {
-      list supported-client-service {
-        key "service-format";
-        description
-          "Supported Client Services";
-        leaf service-format {
-          type org-openroadm-service-format:service-format;
-          description
-            "Format of the requested service: Ethernet, OTU, etc.";
-        }
-        leaf-list service-rate {
-          type uint32;
-          description
-            "Rate of the requested service in GBps. Not used when service-format=other.";
-        }
-        leaf-list other-service-format-and-rate {
-          type string;
-          description
-            "Used when service-format is set to other in the bookend xponder use case.
-             The use of other-service-format-and-rate is not standardized in the Open ROADM MSA
-             and intended to allow the controller to support non-Open ROADM service formats.
-             This value encodes both the service format and the rate supported.
-             This field should not be specified when service format != other.";
-        }
-      }
-    }
-    uses provisioned-client-service;
-  }
-
-  grouping provisioned-client-service {
-    leaf service-format {
-      type org-openroadm-service-format:service-format;
-      description
-        "Format of the provisioned service: Ethernet, OTU, etc.";
-    }
-    leaf service-rate {
-      type uint32;
-      description
-        "Provisioned rate of the requested service in GBps. Not used when service-format=other.";
-    }
-    leaf other-service-format-and-rate {
-      type string;
-      description
-        "Used when service-format is set to other in the bookend xponder use case.
-         The use of other-service-format-and-rate is not standardized in the Open ROADM MSA
-         and intended to allow the controller to support non-Open ROADM service formats.
-         This value encodes the provisioned service format and the rate supported.
-         This field should not be specified when service format != other.";
-    }
-  }
-}
diff --git a/ordmodels/pom.xml b/ordmodels/pom.xml
deleted file mode 100644 (file)
index 8dd4e83..0000000
+++ /dev/null
@@ -1,78 +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>10.0.2</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce</groupId>
-  <artifactId>transportpce-ordmodels</artifactId>
-  <version>6.0.0-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <modules>
-    <module>common</module>
-    <module>device</module>
-    <module>network</module>
-    <module>service</module>
-  </modules>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </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>
-      <!-- skipping test since this is a util project / folder -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skipTests>true</skipTests>
-        </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/ordmodels/service/pom.xml b/ordmodels/service/pom.xml
deleted file mode 100644 (file)
index e78cd42..0000000
+++ /dev/null
@@ -1,47 +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>10.0.2</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce.ordmodels</groupId>
-  <artifactId>transportpce-ordmodels-service</artifactId>
-  <version>6.0.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.opendaylight.transportpce.ordmodels</groupId>
-      <artifactId>transportpce-ordmodels-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.yangtools</groupId>
-      <artifactId>yang-common</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc6991-ietf-inet-types</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-      <artifactId>rfc6991-ietf-yang-types</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-  </dependencies>
-</project>
diff --git a/ordmodels/service/src/main/yang/org-openroadm-ber-test@2021-12-10.yang b/ordmodels/service/src/main/yang/org-openroadm-ber-test@2021-12-10.yang
deleted file mode 100644 (file)
index 5d859a0..0000000
+++ /dev/null
@@ -1,312 +0,0 @@
-module org-openroadm-ber-test {
-  namespace "http://org/openroadm/ber-test";
-  prefix org-openroadm-ber-test;
-
-  import org-openroadm-common-service-types {
-    prefix org-openroadm-common-service-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-ber-test {
-    prefix org-openroadm-common-ber-test;
-    revision-date 2020-05-29;
-  }
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for ber test
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  identity service-rpc-identity {
-    description
-      "Identifies the service rpc associated with this callback";
-  }
-
-  identity ber-test {
-    base service-rpc-identity;
-    description
-      "Identity for the ber-test rpc";
-  }
-
-  grouping ber-measurement {
-    leaf ber-passed {
-      type boolean;
-    }
-    leaf target-prefec-ber {
-      type decimal64 {
-        fraction-digits 4;
-      }
-    }
-    leaf measured-prefec-ber {
-      type decimal64 {
-        fraction-digits 4;
-      }
-    }
-  }
-
-  grouping ber-test-result-details-container {
-    container ber-results {
-      uses org-openroadm-common-ber-test:ber-test-options-container;
-      leaf line-rate {
-        type uint64;
-        units "seconds";
-      }
-      container a-end-ber-measurement {
-        uses ber-measurement;
-      }
-      container z-end-ber-measurement {
-        uses ber-measurement;
-      }
-    }
-  }
-
-  grouping ber-test-complex-result-details-container {
-    container ber-test-result-details {
-      list supporting-service-details {
-        key "index";
-        leaf index {
-          type uint16;
-          description
-            "Local id for list ";
-        }
-        uses org-openroadm-common-service-types:service-identifiers-container;
-        uses org-openroadm-common-service-types:service-ends-container;
-        leaf line-rate {
-          type uint64;
-          units "seconds";
-        }
-        container a-end-ber-measurement {
-          uses ber-measurement;
-        }
-        container z-end-ber-measurement {
-          uses ber-measurement;
-        }
-      }
-    }
-  }
-
-  grouping ber-test-complex-result-container {
-    container ber-results {
-      uses org-openroadm-common-ber-test:ber-test-options-container;
-      uses ber-test-complex-result-details-container;
-    }
-  }
-
-  rpc ber-test {
-    description
-      "This is the ber-test rpc. It is supported for a service in the service-list.";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf service-name {
-        type string;
-        mandatory true;
-      }
-      uses org-openroadm-common-ber-test:ber-test-options-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc complex-ber-test {
-    description
-      "This is the complex-ber-test rpc. It is supported for a service in the service-list.";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf service-name {
-        type string;
-        mandatory true;
-      }
-      uses org-openroadm-common-ber-test:complex-ber-test-options-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-rpc-ber-test-async-callback {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-      leaf rpc-timestamp {
-        type yang:date-and-time;
-        units "seconds";
-        description
-          "timestamp of the initial rpc command that invoked the test";
-      }
-      leaf timestamp {
-        type yang:date-and-time;
-        units "seconds";
-        description
-          "timestamp of the callback/notification.";
-      }
-      uses ber-test-result-details-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc complex-service-rpc-ber-test-async-callback {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-      leaf rpc-timestamp {
-        type yang:date-and-time;
-        units "seconds";
-        description
-          "timestamp of the initial rpc command that invoked the test";
-      }
-      leaf timestamp {
-        type yang:date-and-time;
-        units "seconds";
-        description
-          "timestamp of the callback/notification.";
-      }
-      uses ber-test-complex-result-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  notification service-notification-ber-test {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    uses org-openroadm-common-service-types:configuration-response-common;
-    uses org-openroadm-common-service-types:service-identifiers-container;
-    leaf rpc-timestamp {
-      type yang:date-and-time;
-      units "seconds";
-      description
-        "timestamp of the initial rpc command that invoked the test";
-    }
-    leaf timestamp {
-      type yang:date-and-time;
-      units "seconds";
-      description
-        "timestamp of the callback/notification.";
-    }
-    uses ber-test-result-details-container;
-  }
-
-  notification complex-service-notification-ber-test {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    uses org-openroadm-common-service-types:configuration-response-common;
-    uses org-openroadm-common-service-types:service-identifiers-container;
-    leaf rpc-timestamp {
-      type yang:date-and-time;
-      units "seconds";
-      description
-        "timestamp of the initial rpc command that invoked the test";
-    }
-    leaf timestamp {
-      type yang:date-and-time;
-      units "seconds";
-      description
-        "timestamp of the callback/notification.";
-    }
-    uses ber-test-complex-result-details-container;
-  }
-}
diff --git a/ordmodels/service/src/main/yang/org-openroadm-common-ber-test@2020-05-29.yang b/ordmodels/service/src/main/yang/org-openroadm-common-ber-test@2020-05-29.yang
deleted file mode 100644 (file)
index dc92734..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-module org-openroadm-common-ber-test {
-  namespace "http://org/openroadm/common-ber-test";
-  prefix org-openroadm-common-ber-test;
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions for ber test that are common to the ber-test rpc and its
-     associated callback rpc (service-rpc-async-callback)
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-
-  grouping ber-test-options-container {
-    container ber-options {
-      leaf target-prefec-ber {
-        type decimal64 {
-          fraction-digits 18;
-        }
-      }
-      leaf duration {
-        type uint16;
-        units "seconds";
-      }
-      leaf pm-polling-timeout {
-        type uint16;
-        units "seconds";
-      }
-      leaf retry-attempts {
-        type uint16;
-      }
-    }
-  }
-
-  grouping complex-ber-test-options-container {
-    container complex-ber-options {
-      uses ber-test-options-container;
-      leaf is-complex-result {
-        type boolean;
-        default "false";
-        description
-          "True: Indicates that the results should be provided via complex-service-rpc-ber-test-async-callback. False: Indicates that the results should be provided via  service-rpc-ber-test-async-callback";
-      }
-    }
-  }
-}
diff --git a/ordmodels/service/src/main/yang/org-openroadm-common-service-types@2021-12-10.yang b/ordmodels/service/src/main/yang/org-openroadm-common-service-types@2021-12-10.yang
deleted file mode 100644 (file)
index 2c4f24e..0000000
+++ /dev/null
@@ -1,1874 +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;
-    revision-date 2013-07-15;
-  }
-  import ietf-inet-types {
-    prefix inet;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-routing-constraints {
-    prefix org-openroadm-routing-constraints;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-topology {
-    prefix org-openroadm-topology;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-equipment-types {
-    prefix org-openroadm-common-equipment-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-state-types {
-    prefix org-openroadm-common-state-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2021-05-28;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-otn-common-types {
-    prefix org-openroadm-otn-common-types;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-equipment-states-types {
-    prefix org-openroadm-equipment-states-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-service-format {
-    prefix org-openroadm-service-format;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-attributes {
-    prefix org-openroadm-common-attributes;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-common-phy-codes {
-    prefix org-openroadm-common-phy-codes;
-    revision-date 2021-05-28;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2021-12-10;
-  }
-  
-
-  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,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  identity service-resiliency-type-identity {
-    description
-      "A unique resiliency type identification of the service.";
-  }
-
-  identity unprotected {
-    base service-resiliency-type-identity;
-    description
-      "the service is not protected in the OpenROADM layer";
-  }
-
-  identity unprotected-diversely-routed {
-    base service-resiliency-type-identity;
-    description
-      "the service is not protected in the OpenROADM layer, but may be protected in a higher layer
-          a coupled service that may be routed partially or fully disjointly is defined";
-  }
-
-  identity protected {
-    base service-resiliency-type-identity;
-    description
-      "the service is protected in the OpenROADM layer : the protection is handled
-       autonomously in this layer";
-  }
-
-  identity restorable {
-    base service-resiliency-type-identity;
-    description
-      "the service can be restored autonomously in the OpenROADM layer";
-  }
-
-  identity external-trigger-restorable {
-    base service-resiliency-type-identity;
-    description
-      "the service can be restored in the OpenROADM layer, but the restoration is triggered
-       at a higher layer through service models' rpc";
-  }
-
-  typedef rpc-actions {
-    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;
-      }
-      enum service-feasibility-check-bulk {
-        value 14;
-      }
-      enum ber-test {
-        value 15;
-      }
-      enum controller-parameters-setting {
-        value 16;
-      }
-      enum optical-tunnel-create {
-          value 17;
-      }
-      enum optical-tunnel-request-cancel {
-          value 18;
-      }
-      enum fill-catalog-with-or-operational-modes {
-          value 19;
-      }
-      enum fill-catalog-with-specific-operational-modes {
-          value 20;
-      }
-    }
-    description
-      "rpc-actions include all the rpc methods";
-  }
-
-  typedef ethernet-encoding-type {
-    type enumeration {
-      enum 10GBASE-W {
-        value 1;
-      }
-      enum 10GBASE-R {
-        value 2;
-      }
-    }
-  }
-
-  typedef mapping-mode-type {
-    type enumeration {
-      enum GFP-F {
-        value 1;
-        reference
-          "GFP-F - ITU-T G.7041 SubClause 7.1, Payload Only";
-      }
-      enum GFP-E {
-        value 2;
-        reference
-          "GFP-E - ITU-T G.7041 SubClause 7.9, Payload + Preamble + Ordered Sets";
-      }
-      enum PCS-Transparent {
-        value 3;
-        reference
-          "PCS-Transparent - ITU-T G.709 Subclause 17.2 , CBR10G3 mapping to ODU2e";
-      }
-    }
-  }
-
-  typedef service-layer-type {
-    type enumeration {
-      enum wdm {
-        value 1;
-      }
-      enum otn {
-        value 2;
-      }
-    }
-  }
-
-  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;
-      }
-      enum successful-path-computation-resource-reserved {
-        value 8;
-      }
-      enum path-computation-failed {
-        value 9;
-      }
-    }
-  }
-
-  typedef connection-type {
-    type enumeration {
-      enum service {
-        value 1;
-      }
-      enum infrastructure {
-        value 2;
-      }
-      enum roadm-line {
-        value 3;
-      }
-      enum optical-tunnel {
-        value 4;
-      }
-    }
-  }
-
-  typedef resource-status-type {
-    type enumeration {
-      enum deployed {
-        value 1;
-        description
-          "find the best route using deployed network resources,
-           regardless of network failures; lifecycle-state must
-           be deployed and operational-state is ignored.";
-      }
-      enum in-service {
-        value 2;
-        description
-          "find the best route using deployed network resources,
-           but route around failed resources; lifecycle-state
-           must be deployed and operational-state must be
-           inService.";
-      }
-      enum planned {
-        value 3;
-        description
-          "find the best route using both deployed and planned
-           network resources; lifecycle-state must be planned
-           or deployed (deploying, deployed-updating, deployed-
-           augmented, and deploy-failed may be considered
-           planned states) and operational-state is ignored. if
-           planned is selected, due-date must be specified in
-           the service request.";
-      }
-    }
-    default "deployed";
-    description
-      "identifies the state of network resources required to
-       complete a service request.  default is deployed";
-  }
-
-  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;
-      }
-    }
-  }
-
-  grouping service-and-supporting-services {
-    description
-      "Service identifiers and supporting services details";
-    uses service-identifiers-container;
-    uses supporting-services-identifiers-and-ends;
-  }
-
-  grouping supporting-services-identifiers-and-ends {
-    container supporting-services {
-      list supporting-service-details {
-        key "index";
-        leaf index {
-          type uint16;
-          description
-            "Service number of the supporting service";
-        }
-        uses service-identifiers-container;
-        uses service-ends-container;
-      }
-    }
-  }
-
-  grouping trail-trace {
-    description
-      "Trail trace grouping";
-    uses org-openroadm-common-attributes:trail-trace-tx;
-    uses org-openroadm-common-attributes:trail-trace-other;
-  }
-
-  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 for TCM";
-    }
-    leaf tcm-direction {
-      type org-openroadm-otn-common-types:tcm-direction-enum;
-      description
-        "Direction of TCM.";
-    }
-    uses trail-trace;
-    uses org-openroadm-common-attributes:deg-threshold;
-  }
-
-  grouping otn-attributes-grp {
-    container otn-attributes {
-      when "(../service-format='OTU' or ../service-format='ODU')" {
-        description
-          "For any OTN services (OTU and OTN)";
-      }
-      uses org-openroadm-common-attributes:parent-odu-allocation;
-      uses org-openroadm-common-types:fec-grouping {
-        description
-          "OTN FEC / Forward Error Correction";
-      }
-      uses org-openroadm-common-attributes:trail-trace-tx;
-      uses org-openroadm-common-attributes:trail-trace-other;
-      uses org-openroadm-common-attributes:deg-threshold;
-      leaf-list reserved-tcm-layer {
-        type uint8;
-      }
-      list tcm {
-        key "layer tcm-direction";
-        max-elements 12;
-        description
-          "Tandem Connection Management";
-        uses tcm-attributes;
-      }
-    }
-  }
-
-  grouping ethernet-subrate-attributes-grp {
-    container ethernet-attributes {
-      when "(../service-format='Ethernet')" {
-        description
-          "For any Ethernet services";
-      }
-      uses org-openroadm-common-types:fec-grouping {
-        description
-          "ETH FEC / Forward Error Correction";
-      }
-      uses org-openroadm-common-service-types:subrate-eth-sla;
-    }
-  }
-
-  grouping service-ends-container {
-    container service-a-end {
-      uses service-endpoint-summary;
-    }
-    container service-z-end {
-      uses service-endpoint-summary;
-    }
-  }
-
-  grouping service-endpoint-summary {
-    description
-      "Brief form of service-endpoint";
-    container service-endpoint-details {
-      leaf clli {
-        type string;
-        mandatory true;
-        description
-          "CLLI. Note this CLLI must match the site associated with the device-id of this endpoint";
-      }
-      uses org-openroadm-resource-types:device-id;
-      container tx-direction {
-        uses service-port;
-      }
-      container rx-direction {
-        uses service-port;
-      }
-    }
-  }
-
-  grouping intermediate-site-container {
-    description
-      "Intermediate site used in the service feasibility check output.
-       This is different from the service-endpoint structure";
-    list intermediate-site {
-      key "clli";
-      description
-        "List of intermediate sites in the service feasiblity check
-         output response";
-      leaf clli {
-        type string;
-      }
-      list node {
-        key "node-id";
-        leaf node-id {
-          type org-openroadm-common-node-types:node-id-type;
-          description
-            "List of nodes within a CLLI";
-        }
-        list equipment-required {
-          key "equipment-identifier";
-          description
-            "List of required equipment, including equipment type, state and
-             quantity";
-          uses equipment-info;
-        }
-      }
-    }
-  }
-
-  grouping service-identifiers-container {
-    container service-identifiers {
-      leaf service-name {
-        type string;
-      }
-      leaf common-id {
-        type string;
-      }
-      leaf version-number {
-        type uint64;
-      }
-    }
-  }
-
-  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 {
-      description
-        "Violated soft constraints";
-      uses org-openroadm-routing-constraints:routing-constraints;
-    }
-  }
-
-  grouping subrate-eth-sla {
-    container subrate-eth-sla {
-      presence "Explicit assignment of subrate ethernet allocation";
-      description
-        "SLA (Service Level Agreement) for subrate Ethernet";
-      uses org-openroadm-common-types:eth-rate-and-burst-size;
-    }
-  }
-
-  grouping external-interface-characteristics {
-    list supported-operational-modes {
-      key "preference";
-      description
-        "list of supported operational modes associated to a preference
-         for their selection by the Path Computation Engine (1 is the highest priority)
-         only one operational mode shall be associated to a preference. 2 leaves present
-         since this mode could be either specific or an openROADM operational-mode";
-      leaf preference {
-        type int16;
-        description
-          "preference/priority associated to the operational mode";
-      }
-      leaf operational-mode-id {
-        type string;
-        description
-          "the supported operational mode : either openROADM or specific ";
-      }
-    }
-    leaf min-frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "Minimum acceptable Frequency in THz.";
-    }
-    leaf max-frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "Minimum acceptable Frequency in THz.";
-    }
-    leaf min-granularity {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      description
-        "Minimum grid granularity in GHz.";
-    }
-  }
-
-  grouping service-endpoint {
-    leaf service-format {
-      type org-openroadm-service-format:service-format;
-      mandatory true;
-      description
-        "Format of the requested service: Ethernet, OTU, etc.";
-    }
-    leaf service-rate {
-      when "../service-format != 'OMS' and ../service-format != 'ODU'" {
-        description
-          "service rate not applicable when service
-           format is roadmline or ODU; valid for OTU since service-rate has
-           already been supported for wdm layer OTU services (100 for OTU4)";
-      }
-      type uint32;
-      description
-        "Rate of the requested service in GBps";
-    }
-    leaf is-split-lambda {
-      type boolean;
-      default "false";
-      description
-        "This flag allows to specify whether to use split-lambda. It can be user controlled
-         (or specified) or controller initiated. This is only applicable for line-service or
-         network ports";
-    }
-    leaf split-lambda-service-rate {
-      when "../is-split-lambda = 'true' and
-            ../service-format != 'OMS' and
-            ../service-format != 'ODU'";
-      type uint32;
-      description
-        "This service rate is only applicable when the split-lambda is enabled.
-         It will help to identify how many wavelengths to use. Only applicable
-         to the WDM layer and OTUCn services.";
-    }
-    leaf other-service-format-and-rate {
-      type string;
-      description
-        "Used when service-format is set to other in the bookend xponder use case.
-         The use of other-service-format-and-rate is not standardized in the Open ROADM MSA
-         and intended to allow the controller to support non-Open ROADM service formats.
-         This value encodes both the service format and the rate supported.
-         This field should not be specified when service format != other.";
-    }
-    leaf otu-service-rate {
-      when "../service-format = 'OTU'" {
-        description
-          "only applicable for OTU services";
-      }
-      type identityref {
-        base org-openroadm-otn-common-types:otu-rate-identity;
-      }
-      description
-        "OTU Rate of the requested service";
-    }
-    leaf odu-service-rate {
-      when "../service-format = 'ODU'" {
-        description
-          "only applicable for ODU services";
-      }
-      type identityref {
-        base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "ODU Rate of the requested service";
-    }
-    leaf ethernet-encoding {
-      when "(../service-format='Ethernet')
-            and
-            (../service-rate=10)" {
-        description
-          "Applicable only to Ethernet 10G services";
-      }
-      type ethernet-encoding-type;
-      description
-        "Ethernet encoding type";
-    }
-    leaf mapping-mode {
-      when "(../service-format='Ethernet')
-            and
-            (../service-rate=10)" {
-        description
-          "Mapping Mode, currently only defined for Ethernet 10G services";
-      }
-      type mapping-mode-type;
-      description
-        "Mapping mode.";
-    }
-    leaf client-phy-code {
-      type identityref {
-        base org-openroadm-common-phy-codes:client-phy-code-identity;
-      }
-      description
-        "Client PHY Code for the service end point.";
-    }
-    uses otn-attributes-grp;
-    leaf clli {
-      type string;
-      mandatory true;
-      description
-        "CLLI. Note this CLLI must match the site associated with the device-id of this
-         endpoint";
-    }
-    uses org-openroadm-resource-types:device-id;
-    list tx-direction {
-      key "index";
-      leaf index {
-        type uint8;
-        description
-          "Used to list tx-direction attributes for each split-lambda wavelength/service";
-      }
-      uses service-port;
-      uses service-lgx;
-      uses service-tail;
-    }
-    list rx-direction {
-      key "index";
-      leaf index {
-        type uint8;
-        description
-          "used to list rx-direction attributes for each split-lambda wavelength/service";
-      }
-      uses service-port;
-      uses service-lgx;
-      uses service-tail;
-    }
-    leaf optic-type {
-      type org-openroadm-common-equipment-types:optic-types;
-    }
-    container router {
-      description
-        "Needed for communication with DWDM pluggable";
-      leaf node-id {
-        type org-openroadm-common-node-types:node-id-type;
-        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";
-    }
-    uses ethernet-subrate-attributes-grp;
-    leaf project-id {
-        type string;
-        description
-          "Project identifier for the service end point";
-     }
-     leaf project-note {
-        type string;
-        description
-          "Additional details associated with the service end point project";
-     }
-  }
-
-  typedef existing-resource-reuse-type {
-    description
-      "Used to indicate the type of resource that the existing service
-      can reuse wherever possible (best-effort)";
-    type enumeration {
-      enum regenerator {
-        description
-          "Indicates reuse regenerator";
-        value 1;
-      }
-      enum wavelength {
-        description
-          "Indicates reuse of wavelength";
-        value 2;
-      }
-      enum spectrum-portion {
-        description
-          "Indicates reuse of frequency slot(s). Reuse the exact       
-          or partial portion of the spectrum of the original service
-          specturm";
-        value 3;
-      }
-      enum xponder {
-        description
-          "This could be a transponder/muxponder/switchponder";
-        value 4;
-      }
-      enum all {
-        description
-          "Reuse all possible options";
-          value 99;
-      }
-    }
-  }
-
-  grouping existing-service-grouping {
-    container existing-service-attributes {
-      description
-        "This consists of all the attributes related to the existing service";
-      leaf is-existing {
-        type boolean;
-        description
-          "This is set true if feasibility check is on an existing service with or 
-          without new constraints. Feasibility is done as if current service 
-          and its resources are released";
-      }
-      leaf existing-service-name {
-        when "../is-existing = 'true'";
-        type string; 
-        description
-          "Name of the existing service";
-      }
-      leaf reuse-existing-resources {
-        type boolean;
-        description
-          "If true reuse the existing equipment wherever possible";
-      }
-      leaf-list reusable-existing-resources {
-        when "../reuse-existing-resources = 'true'";
-        type existing-resource-reuse-type;
-        description
-          "List of existing resources that can be reused;
-          This list is enabled only when the reuse-existing-equipment 
-          is set true";
-      }
-    }
-  }
-
-  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 {
-      description
-        "From the device model perspective the port-device-name plus the port-circuit-pack-name plus the port-name uniquely identifies the port.
-         From the network model perspective the openroadm-topology-ref plus port-device-name plus port-name uniquely identify the termination point in the network model.";
-      leaf port-device-name {
-        type string;
-      }
-      leaf port-circuit-pack-name {
-        type string;
-      }
-      leaf port-circuit-pack-type {
-        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;
-      mandatory false;
-      description
-        "Date and time service to be removed";
-    }
-    uses eventHorizon;
-    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.";
-    }
-    leaf service-layer {
-      type service-layer-type;
-      default "wdm";
-      description
-        "Layer associated with service (e.g. wdm or otn)";
-    }
-    leaf clli-network-ref {
-      type string;
-      description
-        "Assumption: a service would not span multiple clli-network layers.
-         Reference to the network-id of the clli-network layer.";
-    }
-    leaf openroadm-network-ref {
-      type string;
-      description
-        "Assumption: a service would not span multiple openroadm-network layers.
-         Reference to the network-id of the openroadm-network layer.";
-    }
-    leaf openroadm-topology-ref {
-      type string;
-      description
-        "Assumption: a service would not span multiple topology layers.
-         Reference to the network-id of either the openroadm-topology
-         or the otn-topology layer depending upon service-layer (wdm or otn).";
-    }
-    leaf sla-id {
-      type string;
-      description
-        "Service Level Agreement";
-    }
-    leaf bandwidth-calendaring {
-      type boolean;
-      description
-        "True if service is active only during a specific time period";
-    }
-    container bw-calendaring-parameters {
-      when "../bandwidth-calendaring = 'true'" {
-        description
-          "Includes all attributes associated with bandwidth calendaring option.
-           Used to set service profile : each service corresponds to one specific
-           time-period. Services defined on complementary time periods can be linked
-           together through the coupled-service attribute ";
-      }
-      list bw-calendaring-coupled-services {
-        key "service-index";
-        leaf service-index {
-          type uint16;
-          description
-            "service-number of the service that may be associated to the considered service";
-        }
-        leaf service-name {
-          type string;
-          description
-            "service-name of the service that may be associated to the considered service in service-list";
-        }
-        leaf common-id {
-          type string;
-          description
-            "common-id of the service that may be associated to the considered service in temp-service-list";
-        }
-        leaf version-number {
-          type uint64;
-          description
-            "common-id of the service that may be associated to the considered service in versioned-service-list";
-        }
-      }
-      list recurrence-pattern {
-        key "recurrence-id";
-        leaf recurrence-id {
-          type uint32;
-          description
-            "id of the pattern defining the time during which the service is active ";
-        }
-        leaf-list day-of-the-week {
-          type enumeration {
-            enum Monday {
-              value 1;
-            }
-            enum Tuesday {
-              value 2;
-            }
-            enum Wednesday {
-              value 3;
-            }
-            enum Thursday {
-              value 4;
-            }
-            enum Friday {
-              value 5;
-            }
-            enum Saturday {
-              value 6;
-            }
-            enum Sunday {
-              value 7;
-            }
-          }
-          description
-            "Each day for which the service is active from stat-time to end-time";
-        }
-        leaf start-time {
-          type string {
-            pattern '\d{2}:\d{2}:\d{2}';
-          }
-          description
-            "start time expressed as hour:min:seconds";
-        }
-        leaf end-time {
-          type string {
-            pattern '\d{2}:\d{2}:\d{2}';
-          }
-          description
-            "end time expressed as hour:min:seconds";
-        }
-      }
-    }
-  }
-
-  grouping routing-metric {
-    container routing-metric {
-      description
-        "Describes the metrics used to route a service.
-         All parameters of integer type, to set the priority of the routing criterion
-         '0' means the criterion is not used,
-         '1'coresponds to the highest priority,
-         '255'coresponds to the lowest priority.
-         Priority might be handled in several way : 1) To select one from several paths with the same metrics,
-         using lower priority metrics until metrics calculated allow the selection; 2) Using priority as
-         a weight for composite metric calculation";
-      leaf wdm-hop-count {
-        type uint8 {
-          range "0..255";
-        }
-        default "1";
-        description
-          "Metric corresponding to the number of hop in the wdm layer";
-      }
-      leaf otn-hop-count {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Metric corresponding to the number of hop in the otn layer";
-      }
-      leaf wdm-load {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Metric corresponding to the load of the wdm layer
-           Can be used to avoid using heavy loaded links ";
-      }
-      leaf otn-load {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Metric corresponding to the load of the otn layer.
-           Can be used to avoid using heavy loaded links/switchs ";
-      }
-      leaf latency {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Metric corresponding to the latency. Total path latency can be calculated from
-           SRLG length of the OMS and the latency introduced by the equipment";
-      }
-      leaf distance {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Metric associated with the distance. Total path distance can be
-           calculated from SRLG length of the OMS";
-      }
-      leaf wdm-TE-metric {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Used when routing shall be performed according to specific pre-defined
-           TE-Metric. Total path metric can be calculated from OMS TE-metric attribute
-           defined in org-openroadm-link module";
-      }
-      leaf adaptation-number {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Metric associated with the adaptation between layers. Total path metric can
-           can be calculated from the total number of transition between layers";
-      }
-      leaf otn-TE-metric {
-        type uint8 {
-          range "0..255";
-        }
-        default "0";
-        description
-          "Used when routing shall be performed according to specific pre-defined
-           metric associated with OTN (OTU/ODU level)";
-      }
-    }
-  }
-
-  grouping service-resiliency {
-    container service-resiliency {
-      leaf resiliency {
-        type identityref {
-          base service-resiliency-type-identity;
-        }
-        description
-          "describes the type of resiliency and the associated layer ";
-      }
-      leaf revertive {
-        when "../resiliency != 'unprotected' and ../resiliency != 'unprotected-diversely-routed'" {
-          description
-            "revertive not applicable when service is neither protected nor restorable";
-        }
-        type boolean;
-        description
-          "defines if the service shall revert to the initial working path
-           after protection or restoration has been triggered and fault condition
-           has disappeared";
-      }
-      leaf wait-to-restore {
-        when "../revertive = 'true'" {
-          description
-            "wait-to-restore applies for service defined as revertive ";
-        }
-        type uint64;
-        units "ms";
-        description
-          "time delay to revert to initial path after conditions for reversion are satisfied";
-      }
-      leaf holdoff-time {
-        when "../resiliency != 'unprotected' and ../resiliency != 'unprotected-diversely-routed'" {
-          description
-            "holdoff-time applies when services are either protected or restorable";
-        }
-        type uint64;
-        units "ms";
-        description
-          "time delay to initiate a protection or restoration event";
-      }
-      leaf pre-calculated-backup-path-number {
-        when "../resiliency = 'restorable' or ../resiliency = 'external-trigger-restorable'" {
-          description
-            "when service is restorable, defines the
-             number of paths that shall be or have been pre-calculated";
-        }
-        type uint8;
-        description
-          "Associated to service-create / reconfigure / feasibility-check rpcs
-           --> defines the target number of backup-paths to be calculated by PCE. This is an
-           optional parameter : operator can provide it to conform with specific engineering rules.
-           If not provided, PCE will evaluate the number of backup path to be provided automously.
-           Associated with service --> gives the effective number of backup-paths
-           returned/calculated by PCE that can be find in topology container";
-      }
-      container coupled-service {
-        when "../resiliency = 'unprotected-diversely-routed'" {
-          description
-            "for unprotected-diversely-routed services only one path is defined.
-             Allows providing a link between services that are coupled
-             through a routing disjonction criterion";
-        }
-        list coupled-services {
-          key "service-index";
-          leaf service-index {
-            type uint16;
-            description
-              "service-number of the service that may be routed disjointly to the considered service";
-          }
-          leaf service-name {
-            type string;
-            description
-              "service-name of the service that may be routed disjointly to the considered service in service-list";
-          }
-          leaf common-id {
-            type string;
-            description
-              "common-id of the service that may be routed disjointly to the considered service in temp-service-list";
-          }
-          leaf version-number {
-            type uint64;
-            description
-              "common-id of the service that may be routed disjointly to the considered service in versioned-service-list";
-          }
-        }
-      }
-    }
-  }
-
-  grouping service-order {
-    description
-      "Service Order information for service";
-    leaf order-id {
-      type string;
-      description
-        "Order identifier for this service";
-    }
-    leaf order-note {
-      type string;
-      description
-        "Additional details associated with the service order";
-    }
-  }
-
-  grouping resource-status {
-    description
-      "Grouping used to consisistenty apply resource-status
-       naming to appropriate RPC.";
-    leaf resource-status {
-      type resource-status-type;
-      description
-        "identifies the state of network resources required
-         to complete a service request.";
-    }
-  }
-
-  grouping service {
-    leaf service-name {
-      type string;
-      description
-        "Identifier for the service to be created 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).";
-    }
-    uses service-order;
-    uses sdnc-request-header;
-    uses service-resiliency;
-    uses routing-metric;
-    leaf connection-type {
-      type connection-type;
-      mandatory true;
-      description
-        "Connection type";
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-      description
-        "Lifecycle State of service. Whether it is planned, deployed, in maintenance, etc.";
-    }
-    uses resource-status;
-    leaf administrative-state {
-      type org-openroadm-equipment-states-types:admin-states;
-      description
-        "Administrative State: Intended state of service";
-    }
-    leaf operational-state {
-      type org-openroadm-common-state-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 decimal64 {
-        fraction-digits 3;
-      }
-      description
-        "One-way latency (in milliseconds) on service";
-      units "milliseconds";
-    }
-    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 {
-      type string;
-      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.";
-    }
-    leaf current-active-path-id {
-      type uint8;
-      description
-        "defines the current active path : '0' if active path is the working path
-         id of the active backup path if protection or restoration has been triggered";
-    }
-    container topology {
-      description
-        "topology corresponds to working-path which is the default path. It defines the initial path
-         to which services defined as revertive may revert to when the failure condition disappear";
-      uses org-openroadm-topology:topology;
-    }
-    container backup-topology {
-      list backup-path {
-        key "backup-path-id";
-        leaf backup-path-id {
-          type uint8 {
-            range "1..255";
-          }
-          description
-            "Several backup paths may be used when backup-paths are pre-calculated.
-             Backup-path-id avoids 0 which is associated with working path in current-active-path";
-        }
-        leaf failure-case-id {
-          type string;
-          description
-            "A failure case Id can be used to associate a backup-path to a specific failure (srlg, OMS,...)";
-        }
-        uses org-openroadm-topology:topology;
-      }
-    }
-    container network-topology {
-      uses org-openroadm-topology:network-topology;
-    }
-    container network-backup-topology {
-      list backup-path {
-        key "backup-path-id";
-        leaf backup-path-id {
-          type uint8 {
-            range "1..255";
-          }
-          description
-            "Several backup paths may be used when backup-paths are pre-calculated.
-             Backup-path-id avoids 0 which is associated with working path in current-active-path";
-        }
-        leaf failure-case-id {
-          type string;
-          description
-            "A failure case Id can be used to associate a backup-path to a specific failure (srlg, OMS,...)";
-        }
-        uses org-openroadm-topology:network-topology;
-      }
-    }
-    leaf is-bandwidth-locked {
-      type boolean;
-      default "false";
-      description
-        "Bandwidth lock (true, false) indicates whether the service is administratively
-         prohibited from taking on more capacity - ie whether it can be used as a supporting
-         service in any new service creations. Unlike administrative status, this does not
-         impact any previous planned or deployed services.";
-    }
-  }
-
-  grouping service-notification-result {
-    leaf service-name {
-      type string;
-      description
-        "Identifier for the service e.g., CLFI, CLCI, etc.";
-    }
-    leaf version-number {
-      type uint64;
-      description
-        "Identifier for the versioned service";
-    }
-    leaf common-id {
-      type string;
-      description
-        "Identifier for the temp service";
-    }
-    leaf actual-date {
-      type yang:date-and-time;
-      description
-        "Actual date and time (if successful)";
-    }
-  }
-
-  grouping service-port-list {
-    list port {
-      key "circuit-pack-name port-name";
-      description
-        "List allows to output more than one piece of equipment per CLLI;
-         Port-name is unique in the context of circuit-pack";
-      leaf circuit-pack-name {
-        type string;
-      }
-      leaf port-name {
-        type string;
-      }
-      leaf lifecycle-state {
-        type org-openroadm-common-state-types:lifecycle-state;
-      }
-    }
-  }
-
-  grouping equipment-info {
-    leaf equipment-type {
-      type string;
-      description
-        "The set of valid value is derived from the equipment-type grouping used in the device model.";
-    }
-    leaf equipment-identifier {
-      type string;
-    }
-    leaf lifecycle-state {
-      type org-openroadm-common-state-types:lifecycle-state;
-    }
-    leaf equipment-rack {
-        type string;
-      }
-      leaf equipment-shelf {
-        type string;
-      }
-      leaf equipment-slot {
-        type string;
-      }
-      leaf equipment-sub-slot {
-        type string;
-      }
-      leaf is-reused {
-        type boolean;
-        description
-          "This is set true if the equipment-required is being reused for
-          service roll";
-      }
-    uses service-port-list;
-  }
-
-  grouping eventHorizon {
-    leaf eventHorizonStart {
-      type yang:date-and-time;
-      description
-        "Start time to ensure that the service is routable and viable. Required resources shall
-         be considered reserved from this time. If not provided, defaults to due-date.";
-    }
-    leaf eventHorizonEnd {
-      type yang:date-and-time;
-      description
-        "End time to ensure that the service is routable and viable. Required resources shall
-         be considered reserved until this time. If not provided, defaults to end-date.";
-    }
-  }
-
-  grouping service-hierarchy {
-    leaf service-identifier {
-      type string;
-      description
-        "Based on the level in the service hierarchy, this indentifier can be for the
-         proposed or existing service";
-    }
-    leaf service-layer {
-      type service-layer-type;
-      default "wdm";
-      description
-        "Layer associated with service (e.g. wdm or otn)";
-    }
-    container service-a-end {
-      leaf clli {
-        type string;
-        description
-          "Based on the level in the service hierarchy, A-end CLLI of the
-           proposed or existing service.";
-      }
-    }
-    container service-z-end {
-      leaf clli {
-        type string;
-        description
-          "Based on the level in the service hierarchy, Z-end CLLI of the
-           proposed or existing service.";
-      }
-    }
-    list supporting-service {
-      key "id";
-      uses supporting-service;
-    }
-    container transport-assignment {
-      container mc-ttp {
-        description
-          "Media Channel Trail Termination Point (MC-TTP)";
-        uses org-openroadm-resource:mc-ttp-attributes;
-      }
-      list nmc-ctp {
-        key "id";
-        description
-          "List of Network Media Channel Connection Termination Point (NMC-CTP)";
-        leaf id {
-          type string;
-          description
-            "This used to indentify the NMC in the MC. For example split-lambda would
-            have two NMCs";
-        }
-        uses org-openroadm-resource:nmc-ctp-attributes;
-      }
-      container odu-allocation {
-        description
-          "parent odu allocation";
-        leaf trib-port-number {
-          type uint16 {
-            range "1 .. 80";
-          }
-          description
-            "Assigned tributary port number in parent OPU";
-        }
-        choice trib-slots-choice {
-          description
-            "trib slot selection";
-          case opu {
-            leaf  min-trib-slot {
-              type uint16;
-              description
-                "Minimum assigned trib slots occupied in parent OPU MSI";
-            }
-            leaf  max-trib-slot {
-              type uint16;
-              description
-                "Maximum assigned trib slots occupied in parent OPU MSI";
-            }
-          }
-          case opucn {
-            leaf opucn-min-trib-slot {
-              type org-openroadm-otn-common-types:opucn-trib-slot-def;
-              description
-                "Minimum OPUCn 5G trib slots in the form of TS #A.B (G.709)";
-            }
-            leaf opucn-max-trib-slot {
-              type org-openroadm-otn-common-types:opucn-trib-slot-def;
-              description
-                  "Maximum OPUCn 5G trib slots in the form of TS #A.B (G.709)";
-            }
-          }
-        }
-      }
-      leaf is-reused {
-        type boolean;
-        description
-          "This flag is true if the spectral assignment overlaps--in part or in full--with 
-          that of the active instance of the service. A determination whether the overlap 
-          is full or partial requires a detailed comparison of spectral assignments; it 
-          is not indicated here.";
-      }
-    }
-  }
-
-  grouping supporting-service {
-    leaf service-identifier {
-      type string;
-    }
-    leaf id {
-      type string;
-    }
-    container service-a-end {
-      uses supporting-service-detail;
-    }
-    container service-z-end {
-      uses supporting-service-detail;
-    }
-  }
-
-  grouping supporting-service-detail {
-    leaf service-format {
-      type org-openroadm-service-format:service-format;
-      mandatory true;
-      description
-        "Format of the requested service: Ethernet, OTU, etc.";
-    }
-    leaf service-rate {
-      when "../service-format != 'OMS' and ../service-format != 'ODU'" {
-        description
-          "service rate not applicable when service
-           format is roadmline or ODU; valid for OTU since service-rate has
-           already been supported for wdm layer OTU services (100 for OTU4)";
-      }
-      type uint32;
-      description
-        "Rate of the requested service in GBps";
-    }
-    leaf other-service-format-and-rate {
-      type string;
-      description
-        "Used when service-format is set to other in the bookend xponder use case.
-         The use of other-service-format-and-rate is not standardized in the Open ROADM MSA
-         and intended to allow the controller to support non-Open ROADM service formats.
-         This value encodes both the service format and the rate supported.
-         This field should not be specified when service format != other.";
-    }
-    leaf otu-service-rate {
-      when "../service-format = 'OTU'" {
-        description
-          "only applicable for OTU services";
-      }
-      type identityref {
-        base org-openroadm-otn-common-types:otu-rate-identity;
-      }
-      description
-        "OTU Rate of the requested service";
-    }
-    leaf odu-service-rate {
-      when "../service-format = 'ODU'" {
-        description
-          "only applicable for ODU services";
-      }
-      type identityref {
-        base org-openroadm-otn-common-types:odu-rate-identity;
-      }
-      description
-        "ODU Rate of the requested service";
-    }
-    leaf clli {
-      type string;
-      description
-        "CLLI of the supporting service";
-    }
-    leaf node-id {
-      type org-openroadm-common-node-types:node-id-type;
-      description
-        "Node id. This is reported against the service, but may not get
-         reflected in the service in the network.";
-    }
-  }
-
-  grouping max-regeneration-options {
-    leaf max-regeneration-options {
-      type uint8;
-      default "1";
-      description
-        "Max regeneration options, is maximum number of regeneration-option-list elements requested in
-         service-feasibility output. RNC can return less number of regeneration-options based on it's
-         calculation but should not return more than max-regeneration-options. The goal of this field
-         is to avoid RNC from having performance issues.";
-    }
-  }
-
-  grouping regeneration-option-list {
-    list regeneration-option-list {
-      key "regeneration-option-rank";
-      leaf regeneration-option-rank {
-        type uint8;
-        description
-          "Regen option rank is derived rank based on optical performance or based on other metrics.";
-      }
-      list regeneration-clli-list {
-        key "sequence-id";
-        leaf sequence-id {
-          type uint8;
-          description
-            "Sequence id will define order of regeneration location for output path in A to Z direction.";
-        }
-        leaf regeneration-clli {
-          type string;
-          description
-            "CLLI for the site where regeneraton is located or bring proposed.";
-        }
-        leaf lifecycle-state {
-          type org-openroadm-common-state-types:lifecycle-state;
-          description
-            "Lifecycle State for regeneration CLLI indicating whether regen is already deployed or being proposed
-             for at this site.";
-        }
-      }
-    }
-  }
-}
diff --git a/ordmodels/service/src/main/yang/org-openroadm-controller-customization@2021-12-10.yang b/ordmodels/service/src/main/yang/org-openroadm-controller-customization@2021-12-10.yang
deleted file mode 100644 (file)
index 49b2b27..0000000
+++ /dev/null
@@ -1,795 +0,0 @@
-module org-openroadm-controller-customization {
-  yang-version 1.1;
-  namespace "http://org/openroadm/controller/customization";
-  prefix org-openroadm-controller-customization;
-
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2021-05-28;
-  }
-  import org-openroadm-common-service-types {
-    prefix org-openroadm-common-service-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-
-  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,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-
-  typedef notification-events {
-    type enumeration {
-      enum roadm-to-roadm-link-creation {
-        value 1;
-      }
-      enum roadm-to-roadm-link-deletion {
-        value 2;
-      }
-      enum otn-link-creation {
-        value 3;
-      }
-      enum otn-link-deletion {
-        value 4;
-      }
-      enum xpdr-in-out-link-creation {
-        value 5;
-      }
-      enum xpdr-in-out-link-deletion {
-        value 6;
-      }
-      enum link-state-change {
-        value 7;
-      }
-      enum otn-link-bandwidth-usage-change {
-        value 8;
-      }
-      enum node-creation {
-        value 9;
-      }
-      enum node-deletion {
-        value 10;
-      }
-      enum node-state-change {
-        value 11;
-      }
-      enum tp-creation {
-        value 12;
-      }
-      enum tp-deletion {
-        value 13;
-      }
-      enum tp-state-change {
-        value 14;
-      }
-      enum ila-state-change {
-        value 15;
-      }
-      enum none {
-        value 16;
-      }
-      enum all {
-        value 17;
-      }
-    }
-    description
-      "Define possible notification events.";
-  }
-
-  typedef rmsa-policy {
-    type enumeration {
-      enum maximize-capacity {
-        value 1;
-      }
-      enum maximize-reach {
-        value 2;
-      }
-      enum minimize-margins {
-        value 3;
-      }
-      enum maximize-margins {
-        value 4;
-      }
-      enum customer-spectrum-partitioning {
-        value 5;
-      }
-      enum fragmentation-limiting-partitioning {
-        value 6;
-      }
-    }
-    description
-      "Defines Routing Modulation and and Spectrum Allocation policies.";
-  }
-
-  typedef non-rpc-related-notification-type {
-    type enumeration {
-      enum service-state-change {
-        value 1;
-      }
-      enum topology-change {
-        value 2;
-      }
-      enum exceeded-attenuation-crossing-warning {
-        value 3;
-      }
-      enum insufficient-margin-crossing-alarm {
-        value 4;
-      }
-      enum autonomous-optical-restoration-triggered {
-        value 5;
-      }
-    }
-    description
-      "Defines notification types for non rpc related notifications.";
-  }
-
-  typedef restriction-scope {
-    description
-      "Used to indicate the scope of global restrictions";
-    type enumeration {
-      enum service-create {
-        value 1;
-      }
-      enum service-create-bulk {
-        value 2;
-      }
-      enum temp-service-create {
-        value 3;
-      }
-      enum temp-service-create-bulk {
-        value 4;
-      }
-      enum service-feasibility-check {
-        value 5;
-      }
-      enum service-feasibility-check-bulk {
-        value 6;
-      }
-      enum service-roll {
-        value 7;
-      }
-      enum service-reconfigure {
-        value 8;
-      }
-      enum service-restoration {
-        value 9;
-      }
-      enum service-reroute {
-        value 10;
-      }
-      enum network-re-optimization {
-        value 11;
-      }
-      enum all {
-        value 12;
-      }
-    }
-  }
-
-  typedef restriction-type {
-    description
-      "Used to indicate type of restriction for site or node";
-    type enumeration {
-      enum add-drop {
-        value 1;
-        description 
-          "Add/drops are forbidden at the associated node (or site).
-          No service may add or drop at site/node";
-      }
-      enum pass-through {
-        value 2;
-        description
-          "Routing through the associated node (or site) is forbidden.
-          No service may pass-through at site/node";
-      } 
-      enum both {
-        value 3;
-        description
-          "Both adds/drops and through routing are forbidden for 
-          the associated node (or site).";
-      }
-    }
-  }
-
-  typedef regeneration-restriction-type {
-    description
-      "Used to indicate the type of restriction for the regeneration type";
-    type enumeration {
-      enum do-not-propose {
-        value 1;
-        description
-          "Proposing new regens (via a feasibility check) 
-          at the associated node (or site) is forbidden.";
-      }
-      enum do-not-use-existing {
-        value 2;
-        description
-          "Use of an existing regen at the associated node 
-          (or site) is forbidden.";
-      }
-      enum both {
-        value 3;
-        description
-          "Both use of existing regens and proposal of new regens
-           are forbidden at the associated node (or site).";
-      }
-    }
-  }
-
-  grouping spectrum-portion {
-    description
-      "Specifies a portion of the spectrum and its characteristics.";
-    leaf spectrum-portion-id {
-      type uint8;
-      description
-        "Identifies a spectrum portion with specific characteristics.";
-    }
-    leaf start-edge-frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "If present, this parameter states the lowest frequency to start
-         filling the spectrum, or a spectrum portion if stop-bandwidth
-         is also defined.";
-    }
-    leaf stop-edge-frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      description
-        "If present and associated with a start frequency, this parameter
-         states the upper frequency broundary to fill the spectrum portion.
-         If present, in the absence of a start frequency, this parameter
-         states the highest frequency to start filling the spectrum.";
-    }
-    leaf-list dedicated-customer {
-      type string;
-      description
-        "Applies only to spectrum-portion (both start and stop edge frequencies
-         defined), when the spectrum-portion is dedicated to some customers.
-         This list shall includes customer-codes identifying specific customers.
-         No customer out of this list can share the bandwidth of this spectrum
-         portion";
-    }
-    leaf-list non-authorized-customer {
-      type string;
-      description
-        "Applies only to spectrum-portion (both start and stop edge frequencies
-         defined), when the spectrum-portion is dedicated to some customers.
-         This list shall includes customer-codes identifying specific customers,
-         that are not allowed to share the bandwidth of this spectrum portion";
-    }
-  }
-
-  grouping controller-parameters {
-    description
-      "Defines the structure of Service/controller-behaviour-settings container,
-       as well as the structure of controller-parameters-setting rpc input";
-    container non-rpc-related-notification-settings {
-      description
-        "Defines url, notification-type and type of events that shall / shall not
-         trigger notifications";
-      list non-rpc-related-notification-url-list {
-        key "non-rpc-related-notification-type";
-        description
-          "Used to record url to be used when forwarding non rpc related
-           notifications.";
-        leaf non-rpc-related-notification-type {
-          type non-rpc-related-notification-type;
-          description
-            "Type of notification will trigger specific leaves.";
-        }
-        leaf notification-url {
-          type string;
-          description
-            "Defines the url the notification is sent to.";
-        }
-        leaf-list events-disabling-notification {
-          when "../non-rpc-related-notification-type = 'topology-change'";
-          type notification-events;
-          description
-            "List of events for which notifications to SDN-Controller are
-             not desirabled. The filtering is currently activated only on topological
-             changes which could lead to large volumes of data.";
-        }
-        leaf-list events-triggering-notification {
-          when "../non-rpc-related-notification-type = 'topology-change'";
-          type notification-events;
-          description
-            "List of events for which notifications to SDN-Controller are
-             desirabled. Has the priority with regards to events-disabling-notification.
-             As an example if events-disabling-notification is set to all,
-             events set in events-triggering-notification will be the only
-             events to be notified";
-        }
-      }
-    }
-    container spectrum-filling {
-      description
-        "Spectrum may be filled according to specific rules to limit partitionning
-         or to dedicate part of the spectrum to some specific clients (customer-code)";
-      list spectrum-filling-rules {
-        key "rule-id";
-        description
-          "Defines a set of rules used to fill the spectrum";
-        leaf rule-id {
-          type uint16;
-          description
-            "defines the rule identifier";
-        }
-        leaf priority {
-          type uint8;
-          description
-            "The rules shall be applied sequentially according to their defined
-             priority (Highest:1, lowest:255). Rules with highest priority
-             will be applied first";
-        }
-        leaf RMSA-policy {
-          type rmsa-policy;
-          description
-            "Defines the Routing, Spectrum & Mode assignment policy to be applied";
-        }
-        container spectrum-range-of-appliance {
-          when "../RMSA-policy = 'customer-spectrum-partitioning' or ../RMSA-policy
-                              = 'fragmentation-limiting-partitioning'";
-          description
-            "Defines, when needed, the spectrum range to which the rule applies";
-          uses spectrum-portion;
-          leaf dedicated-signal-bandwidth-multiple {
-            when "../../RMSA-policy = 'fragmentation-limiting-partitioning'" {
-              description
-                "For fragmentation partitioning, defines which part of the spectrum
-                 will be used according to the signal spectral occupation";
-            }
-            type uint8;
-            description
-              "Used for spectrum partitioning to reduce fragmentation. Defines
-               the width of the service to be provisioned in the spectrum portion.
-               As an example a spectrum portion can be dedicated to signals with
-               a 50 GHz multiple spectral occupation, whereas another portion
-               of the spectrum is dedicated to signal with a 75 GHz multiple
-               spectral occupation";
-          }
-        }
-      }
-    }
-    container margins {
-      description
-        "defines all margins operator may want to specify";
-      leaf minimum-fiber-attenuation-bol-margin {
-        type org-openroadm-common-link-types:ratio-dB;
-        description
-          "Minimum fiber-attenuation margin to be considered for path calculation
-           at begining of life. The path calculation shall be made considering on
-           each link the engineered-spanloss (provided by an external sytem)
-           _The RNC shall raise an ALARM to the northbound Controller through
-           an insufficient-margin-crossing-alarm as soon as:
-           (span-loss-base + minimum-fiber-attenuation-bol-margin) - engineered-spanloss >
-           threshold-observed-vs-design-margin
-           _The RNC shall raise a WARNING to the northbound Controller through
-           an exceeded-attenuation-crossing-warning as soon as : (engineered-spanloss
-           - spanloss-current) < threshold-observed-vs-design-attenuation.";
-      }
-      leaf threshold-observed-vs-design-attenuation {
-        type org-openroadm-common-link-types:ratio-dB;
-        description
-          "Defines the threshold used to raise an alarm when fiber initial attenuation
-           is too close to the engineered-spanloss, meaning the value accounted for the
-           design has been underestimated and a new design shall triggered.";
-      }
-      leaf threshold-observed-vs-design-margin {
-        type org-openroadm-common-link-types:ratio-dB;
-        description
-          "Defines the threshold used to raise a warning when fiber measured attenuation
-           comes too close to the engineered-spanloss, so that remaining margin is considered
-           as too limited.";
-      }
-      list minimum-osnr-margins {
-        key "margin-id";
-        description
-          "osnr margins to be considered may differ according to the rate and the modulation format";
-        leaf margin-id {
-          type string;
-          description
-            "defines a margin for specific line-rates and modulation formats";
-        }
-        leaf minimum-osnr-margin-value {
-          type org-openroadm-common-link-types:ratio-dB;
-          description
-            "Minimum OSNR margin to be considered to keep an acceptable OSNR value
-              at end of life for the associated line-rates and modulation-formats";
-        }
-        leaf-list line-rates {
-          type uint64;
-          description
-            "Line-rates to which the osnr-margin applies";
-        }
-        leaf-list modulation-formats {
-          type org-openroadm-common-optical-channel-types:modulation-format;
-          description
-            "Modulation-formats to which the osnr-margin applies";
-        }
-      }
-    }
-    container metrics-policy {
-      description
-        "Defines how the RNC shall interpret the routing-metrics";
-      leaf composite-metric-versus-selective {
-        type boolean;
-        description
-          "Defines the way the RNC shall interpret the priorities defined
-           for the metrics: _ True corresponds to a weighted composite metric,
-           _ False corresponds to a selective priority based metric";
-      }
-    }
-    container regeneration-policy {
-      description
-        "Defines rules to place regenerators when a service-feasibility-check
-        rpc is invoked, or when a service-create rpc is invoked if spare
-        regenerators are already in place";
-      leaf global-placement {
-        type enumeration {
-          enum regenerator-banks {
-            value 1;
-          }
-          enum distributed {
-            value 2;
-          }
-        }
-        description
-          "To priviledge the positioning in specific locations";
-      }
-      leaf on-path-positioning {
-        type enumeration {
-          enum maximize-rate {
-            value 1;
-          }
-          enum latest-convenient-hop {
-            value 2;
-          }
-        }
-        description
-          "To position regenerators as far as possible on the path or optimizing
-          performances";
-      }
-      leaf path-symmetry {
-        type boolean;
-        description
-          "True corresponds to same location on A to Z and Z to A paths
-          False allows positioning regenerators in different nodes for A
-          to Z and Z to A paths";
-      }
-      leaf-list preferred-sites {
-          type string;
-          description
-            "CLLI's of the sites to be privileged when positioning regenerators
-            in specific locations";
-      }
-    }
-    container global-restriction {
-      container site-restriction {
-        leaf-list restriction-scopes {
-          description
-            "Set of the restriction scopes applicable for the site-restriction.
-            Default scope is set to all RPCs";
-          type restriction-scope;
-          default "all";
-        }
-        list site {
-          key "site-id";
-          description
-            "List of sites to be excluded from paths when routing.";
-          leaf site-id {
-            type string;
-          }
-          leaf restriction-type {
-            type restriction-type;
-            default "both";
-          }
-        }
-      }
-      container node-restriction {
-        leaf-list restriction-scopes {
-          description
-            "Set of the restriction scopes applicable for the node-restriction.
-            Default scope is set to all RPCs";
-          type restriction-scope;
-          default "all";
-        }
-        list node {
-          key "node-id";
-          description
-            "List of equipment nodes to be excluded from paths when routing.";
-          leaf node-id {
-            type org-openroadm-common-node-types:node-id-type;
-          }
-          leaf restriction-type {
-            type restriction-type;
-            default "both";
-          }
-        }
-      }
-      container regeneration-site-restriction {
-        leaf-list restriction-scopes {
-          description
-            "Set of the restriction scopes applicable for the regeneration-restriction.
-            Default scope is set to all RPCs";
-          type restriction-scope;
-          default "all";
-        }
-        list forbidden-site {
-          key "site-id";
-          description
-            "List of forbidden sites where regenerators shall not be placed";
-          leaf site-id {
-            type string;
-          }
-          leaf regeneration-restriction-type {
-            type regeneration-restriction-type;
-            default "both";
-          }
-        }
-      }
-      container regeneration-node-restriction {
-        leaf-list restriction-scopes {
-          description
-            "Set of the restriction scopes applicable for the regeneration-restriction.
-            Default scope is set to all RPCs";
-          type restriction-scope;
-          default "all";
-        }
-        list forbidden-node {
-          key "node-id";
-          description
-            "List of forbidden nodes where regenerators shall not be placed";
-          leaf node-id {
-            type org-openroadm-common-node-types:node-id-type;
-          }
-          leaf regeneration-restriction-type {
-            type regeneration-restriction-type;
-            default "both";
-          }
-        }
-      }
-      container link-restriction {
-        leaf-list restriction-scopes {
-          description
-            "Set of the resctriction scopes applicable for the link-restriction.
-            Default scope is set to all RPCs";
-          type restriction-scope;
-          default "all";
-        }
-        leaf-list link-id {
-          type string;
-          description
-            "List of links to be excluded from paths when routing.";
-        }
-      }
-      container supporting-service-restriction {
-        leaf-list restriction-scopes {
-          description
-            "Set of the resctriction scopes applicable for the supporting-services.
-            Default scope is set to all RPCs";
-          type restriction-scope;
-          default "all";
-        }
-        leaf-list supporting-services {
-          type string;
-          description
-            "List of supporting services to be excluded from paths when routing";
-        }
-      }
-    }
-    container default-behaviour {
-      description
-        "Parameters in this container are used to define default behaviour
-         in case optional parameters in rpc have not been defined";
-      leaf default-backup-path-number {
-        type uint16;
-        description
-          "0 means on the fly path calculation. Higher number corresponds
-           to backup path pre-calculation, and states the number of paths
-           to be calculated";
-      }
-      leaf reversion {
-        type boolean;
-        description
-          "Concerns reversion for service that have a resiliency defined
-           as restorable (restoration handled autonomously by the controller
-           at the WDM/OTN layer)";
-      }
-      leaf wait-to-restore {
-        type uint64;
-        units "ms";
-        description
-          "time delay to revert to initial path after conditions for reversion
-           are satisfied";
-      }
-      leaf holdoff-time {
-        type uint64;
-        units "ms";
-        description
-          "time delay to initiate a protection or restoration event";
-      }
-    }
-    container sla-definition {
-      description
-        "Definition of Service Level Agreements parameters";
-      list sla-parameters {
-        key "sla-id";
-        description
-          "Defines several SLA profiles and associated expected behaviour";
-        leaf sla-id {
-          type string;
-          description
-            "sla-id as defined by the operator";
-        }
-        leaf preemption {
-          type boolean;
-          description
-            "False : service shall never be preempted True : preemption of
-             the service is allowed";
-        }
-        leaf restoration-priority {
-          type uint8;
-          description
-            "The service shall be restored according to the defined priority
-             (First:1, latest:255). Services with highest priority will be restored first";
-        }
-      }
-    }
-    container failure-case-list {
-      description
-        "Use to provide information on failure cases associated with backup-path
-         pre-calculation: If PCE supports the calculation of multiple backup-paths,
-         these might be identified through a failure case-id corresponding
-         to a node, physical-link or logical-link failure";
-      list failure-case {
-        key "failure-case-id";
-        description
-          "Describes and identifies different failure-cases. Each of them can be
-           associated with one or several backup-paths in the context of backup-path
-           pre-calculation";
-        leaf failure-case-id {
-          type uint32;
-          description
-            "Identifies a failure case";
-        }
-        leaf failure-type {
-          type enumeration {
-            enum node-failure {
-              value 1;
-            }
-            enum logical-link-failure {
-              value 2;
-            }
-            enum physiscal-link-failure {
-              value 3;
-            }
-          }
-          description
-            "describes failure type that can be simulated in a planner or by a PCE
-             to calculate a backup path";
-        }
-        leaf-list nodes {
-          when "../failure-type = 'node-failure'" {
-            description
-              "List of nodes impacted by the failure (not only single failures
-               may be envisaged).";
-          }
-          type string;
-          description
-            "Nodes as they appear in the openroadm-topology or otn-topology
-             layer";
-        }
-        leaf-list logical-links {
-          when "../failure-type = 'logical-link-failure'" {
-            description
-              "List of logical links impacted by the failure (not only single
-               failures may be envisaged).";
-          }
-          type string;
-          description
-            "logical links as they appear in the otn-topology layer";
-        }
-        leaf-list physical-links {
-          when "../failure-type = 'physical-link-failure'" {
-            description
-              "List of physical links impacted by the failure (not only single
-               failures may be envisaged).";
-          }
-          type string;
-          description
-            "physical-links as they appear in the openroadm-topology layer";
-        }
-      }
-    }
-  }
-  
-  rpc controller-parameters-setting {
-    description
-      "Rpc used to populate controller parameters in the Data Store
-       of the RNC.";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      uses controller-parameters;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      leaf-list unsupported-customization-options {
-        type string;
-        description
-          "Provides a list of customization parameters that are not supported by
-           the RNC controller. Leaflist items corresponds to the yang nodes of
-           controller-parameters that the RNC does not handle. It is assumed that
-           for a yang node provided in the list, all nodes/leaves at a lower level
-           in the hierarchy are also not supported by the RNC";
-      }
-    }
-  }
-}
diff --git a/ordmodels/service/src/main/yang/org-openroadm-operational-mode-catalog@2021-12-10.yang b/ordmodels/service/src/main/yang/org-openroadm-operational-mode-catalog@2021-12-10.yang
deleted file mode 100644 (file)
index 51a059e..0000000
+++ /dev/null
@@ -1,624 +0,0 @@
-module org-openroadm-operational-mode-catalog {
-  namespace "http://org/openroadm/operational-mode-catalog";
-  prefix org-openroadm-operational-mode-catalog;
-
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-link-types {
-    prefix org-openroadm-common-link-types;
-    revision-date 2019-11-29;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2021-12-10;
-  }
-
-  organization
-    "Open ROADM MSA";
-  contact
-    "OpenROADM.org";
-  description
-    "YANG definitions of common attributes.
-
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10";
-  }
-
-  typedef impairment-type {
-    type enumeration {
-      enum CD-ps/nm;
-      enum PDL-dB;
-      enum PMD-ps;
-      enum power-dBm;
-      enum cross-talk-total-power-dB;
-      enum colorless-drop-adjacent-channel-crosstalk-GHz;
-    }
-    description
-      "definition of impairment type and unit used in penaty list";
-  }
-
-  grouping operational-mode-grid-parameters {
-    description
-      "main parameters required to describe grid usage";
-    leaf min-central-frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      mandatory true;
-      description
-        "min supported frequency";
-    }
-    leaf max-central-frequency {
-      type org-openroadm-common-optical-channel-types:frequency-THz;
-      mandatory true;
-      description
-        "max supported frequency";
-    }
-    leaf central-frequency-granularity {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      mandatory true;
-      description
-        "granularity supported for the central frequency setting";
-    }
-    leaf min-spacing {
-      type org-openroadm-common-optical-channel-types:frequency-GHz;
-      mandatory true;
-      description
-        "minimum spacing required between 2 channels";
-    }
-  }
-
-  grouping operational-mode-roadm-base-parameters {
-    description
-      "main parameters used to qualify amplifier and ROADM (express/add/drop)";
-    leaf per-channel-Pin-min {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "minimum input power";
-    }
-    leaf per-channel-Pin-max {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "maximum output power";
-    }
-    leaf max-introduced-pdl {
-      type org-openroadm-common-link-types:ratio-dB;
-      description
-        "polarization dependent gain/loss";
-    }
-    leaf max-introduced-dgd {
-      type decimal64 {
-        fraction-digits 2;
-      }
-      units "ps/nm";
-      description
-        "Maximum diferential group delay";
-    }
-    leaf max-introduced-cd {
-      type decimal64 {
-        fraction-digits 2;
-      }
-      units "ps";
-      description
-        "Maximum introduced chromatic dispersion";
-    }
-  }
-
-  grouping polynomial-fit {
-       description
-         "polynomial fit used to model noise mask";
-    container osnr-polynomial-fit {
-        description
-          "describe the osnr contribution of amplifier/roadm
-           OSNR (dB/0.1nm) = A*Pin^3+B*Pin^2+C*Pin+D, Pin (dBm) ";
-        leaf A {
-          type decimal64 {
-            fraction-digits 8;
-          }
-          description
-            "A*Pin^3";
-        }
-        leaf B {
-          type decimal64 {
-            fraction-digits 8;
-          }
-          description
-            "B*Pin^2";
-        }
-        leaf C {
-          type decimal64 {
-            fraction-digits 8;
-          }
-          description
-            "C*Pin";
-        }
-        leaf D {
-          type decimal64 {
-            fraction-digits 8;
-          }
-          description
-            "Constant";
-        }
-      }
-  }
-  
-  grouping power-mask {
-    description
-      "describes how power shall be set according preceeding span loss";
-    list mask-power-vs-pin {
-      key "lower-boundary upper-boundary";
-      description
-        "for power range provides C and D parameter : Pout[50GHz BW] (dBm) = C*span-loss (dBm)+ D";
-      leaf lower-boundary {
-        type uint32;
-        description
-          "defines the lower Power boundary for which C & Dparameters apply";
-      }
-      leaf upper-boundary {
-        type uint32;
-        description
-          "defines the upper Power boundary for which C & Dparameters apply";
-      }
-      leaf C {
-        type decimal64 {
-          fraction-digits 8;
-        }
-        description
-          "C*span-loss";
-      }
-      leaf D {
-        type decimal64 {
-          fraction-digits 8;
-        }
-        description
-          "Constant";
-      }
-      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)";
-          }
-        }
-        description
-          "enumeration of the different existing fiber type";
-      }
-    }
-  }
-
-  grouping operational-mode-roadm-add-parameters {
-    description
-      "includes parameters to be used for specification modeling";
-    container Add {
-      description
-        "add block-specification";
-      list add-openroadm-operational-mode {
-        key "openroadm-operational-mode-id";
-        description
-          "defines the openroadm operational mode pointing to an official specification ";
-        leaf openroadm-operational-mode-id {
-          type string;
-          description
-            "openroadm operational mode which points to a specific spreadsheet of optical specifications";
-        }
-        leaf incremental-osnr {
-               type org-openroadm-common-link-types:ratio-dB;
-               description
-                       "incremental osnr considering noisless input at 0dBm";
-        }
-        uses operational-mode-roadm-base-parameters;
-        uses power-mask;
-      }
-    }
-  }
-
-  grouping operational-mode-common-amplifier-drop-parameters {
-    description
-      "includes parameters to be used for specification modeling";
-    list openroadm-operational-mode {
-      key "openroadm-operational-mode-id";
-      description
-        "defines the openroadm operational mode pointing to an official specification ";
-      leaf openroadm-operational-mode-id {
-        type string;
-        description
-          "openroadm operational mode which points to a specific spreadsheet of optical specifications";
-      }
-      uses operational-mode-roadm-base-parameters;
-      uses polynomial-fit;
-      leaf per-channel-Pout-min {
-        type org-openroadm-common-link-types:ratio-dB;
-        description
-          "Minimum output power";
-      }
-      leaf per-channel-Pout-max {
-        type org-openroadm-common-link-types:ratio-dB;
-        description
-          "Maximum output power";
-      }
-    }
-  }
-
-  grouping operational-mode-roadm-drop-parameters {
-    description
-      "includes parameters to be used for specification modeling";
-    container Drop {
-      description
-        "drop block-specification";
-      uses operational-mode-common-amplifier-drop-parameters;
-    }
-  }
-
-  grouping operational-mode-roadm-express-parameters {
-    description
-      "includes parameters to be used for specification modeling";
-    container Express {
-      description
-        "Express specifications";
-      list openroadm-operational-mode {
-        key "openroadm-operational-mode-id";
-        description
-          "defines the openroadm operational mode pointing to an official specification ";
-        leaf openroadm-operational-mode-id {
-          type string;
-          description
-            "openroadm operational mode which points to a specific spreadsheet of optical specifications";
-        }
-        uses operational-mode-roadm-base-parameters;
-        uses polynomial-fit;
-        uses power-mask;
-      }
-    }
-  }
-
-  grouping operational-mode-amplifier-parameters {
-    description
-      "includes parameters to be used for specification modeling";
-    container Amplifier {
-      description
-        "drop block-specification";
-      uses operational-mode-common-amplifier-drop-parameters;
-      leaf min-gain {
-         type org-openroadm-common-link-types:ratio-dB;
-         description
-                 "minimum gain of nominal gain range";
-      }
-      leaf max-gain {
-         type org-openroadm-common-link-types:ratio-dB;
-         description
-                 "maximum gain of nominal gain range";
-      }
-      leaf max-extended-gain {
-         type org-openroadm-common-link-types:ratio-dB;
-         description
-                 "maximum gain of extended gain range";
-      }
-      list mask-gain-ripple-vs-tilt {
-          key "lower-boundary upper-boundary";
-          description
-            "for gain ripple, provides C and D parameter : Max-gain-ripple (dB) = C*target-tilt (dB)+ D.
-                 Tilt applies to extended gain range";
-          leaf lower-boundary {
-            type int32;
-            description
-              "defines the lower tilt boundary for which C & Dparameters apply";
-          }
-          leaf upper-boundary {
-            type int32;
-            description
-              "defines the upper tilt boundary for which C & Dparameters apply";
-          }
-          leaf C {
-            type decimal64 {
-              fraction-digits 2;
-            }
-            description
-              "C*span-loss";
-          }
-          leaf D {
-            type decimal64 {
-              fraction-digits 2;
-            }
-            description
-              "Constant";
-          }
-      }
-    }
-  }
-
-  grouping operational-mode-transponder-parameters {
-    description
-      "describes parameters used to qualify xponders line performances";
-    leaf baud-rate {
-      type decimal64 {
-        fraction-digits 1;
-      }
-      units "Gbauds";
-      description
-        "baud-rate in Gbauds";
-    }
-    leaf line-rate {
-      type decimal64 {
-        fraction-digits 1;
-      }
-      units "Gbps";
-      mandatory true;
-      description
-        "line coding rate in Gbps";
-    }
-    leaf modulation-format {
-      type org-openroadm-common-optical-channel-types:modulation-format;
-      mandatory true;
-      description
-        "modulation format as defined in openroadm";
-    }
-    leaf min-TX-osnr {
-      type org-openroadm-common-link-types:ratio-dB;
-      mandatory true;
-      description
-        "Defined in 0.1 nm @ 193.6 Thz bandwidth";
-    }
-    list TX-OOB-osnr {
-      key "WR-openroadm-operational-mode-id";
-      description
-        "describe noise contribution associated with a specific transponder
-         according to the multiplexing architecture of the SRG it is connected to";
-      leaf WR-openroadm-operational-mode-id {
-        type string;
-        description
-          "openroadm operational mode of the multiplexor which the transponder is connected to";
-      }
-      leaf min-OOB-osnr-multi-channel-value {
-        type org-openroadm-common-link-types:ratio-dB;
-        mandatory true;
-        description
-          "Measured outside +/-150GHz BW, including SMSR, and 15 channels worst case contribution";
-      }
-      leaf min-OOB-osnr-single-channel-value {
-        type org-openroadm-common-link-types:ratio-dB;
-        mandatory true;
-        description
-          "Measured outside +/-150GHz BW, excluding SMSR, single channel";
-      }
-    }
-    list output-power-range {
-      key "WR-openroadm-operational-mode-id";
-      description
-          "describe output power range associated with a specific transponder
-           according to the multiplexing architecture of the SRG it is connected to";
-      leaf WR-openroadm-operational-mode-id {
-        type string;
-        description
-            "openroadm operational mode of the multiplexor which the transponder is connected to";
-      }
-      leaf min-output-power {
-        type org-openroadm-common-link-types:ratio-dB;
-        mandatory true;
-        description
-          "minimum supported output-power";
-      }
-      leaf max-output-power {
-        type org-openroadm-common-link-types:ratio-dB;
-        mandatory true;
-        description
-          "maximum supported output-power";
-      }
-    }
-    leaf min-RX-osnr-tolerance {
-      type org-openroadm-common-link-types:ratio-dB;
-      mandatory true;
-      description
-        "Defined in 0.1 nm @ 193.6 Thz bandwidth";
-    }
-    leaf min-input-power-at-RX-osnr {
-      type org-openroadm-common-link-types:ratio-dB;
-      mandatory true;
-      description
-        "minimum input-power for given osnr tolerance";
-    }
-    leaf max-input-power {
-      type org-openroadm-common-link-types:ratio-dB;
-      mandatory true;
-      description
-        "maximum supported intput-power causing either an overload or the damage of the receiver";
-    }
-    leaf channel-width {
-       type org-openroadm-common-optical-channel-types:frequency-GHz;
-       description
-               "-20 dB channel width, required for target power calculation";
-    }
-    leaf fec-type {
-        type identityref {
-           base org-openroadm-common-types:fec-identity;
-        }
-        description
-          "fec type";
-    }
-    leaf min-roll-off {
-      type decimal64 {
-        fraction-digits 2;
-      }
-      units "dB/decade";
-      description
-        "Minimum Roll-off factor";
-    }
-    leaf max-roll-off {
-      type decimal64 {
-        fraction-digits 2;
-        }
-      units "dB/decade";
-      description
-        "Maximum Roll-off factor";
-    }    
-    list penalties {
-      key "parameter-and-unit up-to-boundary";
-      description
-        "Penalties includes contributions from different impairments including
-        cd, pmd, low RX Power, pdl,...";
-      leaf parameter-and-unit {
-        type impairment-type;
-        description
-          "impairment leading to the penalty";
-      }
-      leaf up-to-boundary {
-           type decimal64 {
-          fraction-digits 2;
-        }
-        description
-          "defines the upper (for positive values) and lower (for negative values)
-           limit for which the penalty value is valid";
-      }
-      leaf penalty-value {
-        type org-openroadm-common-link-types:ratio-dB;
-        description
-          "defined penalty in dB";
-      }
-    }
-  }
-
-  grouping operational-mode-catalog {
-    description
-      "this catalog is used to store data related to operational modes and related specifications
-       for OpenROADM operational modes this allows translating official specifications
-       for other Operational modes this provides the controller with the specifications
-       of bookended/alien transponders
-       The catalog shall be fed using operational-mode-setting rpc";
-    container openroadm-operational-modes {
-      description
-        "All operational modes corresponding to official OpenROAM specifications";
-      container grid-parameters {
-        description
-          "Parameters associated with global spectrum use";
-        uses operational-mode-grid-parameters;
-      }
-      container xponders-pluggables {
-         presence "Container includes mandatory nodes but may however not be present 
-                 in the rpc used to feed the catalog (merge operation)";
-         description
-              "Parameters associated with xponders and pluggables";
-        list xponder-pluggable-openroadm-operational-mode {
-          key "openroadm-operational-mode-id";
-          description
-            "defines the openroadm operational mode pointing to an official specification ";
-          leaf openroadm-operational-mode-id {
-            type string;
-            description
-              "openroadm operational mode which points to a specific spreadsheet of optical specifications";
-          }          
-          uses operational-mode-transponder-parameters;
-        }
-      }
-      container roadms {
-        description
-          "Parameters associated with roadms";
-        uses operational-mode-roadm-express-parameters;
-        uses operational-mode-roadm-add-parameters;
-        uses operational-mode-roadm-drop-parameters;
-      }
-      container amplifiers {
-        description
-          "Parameters associated with amplifiers";
-        uses operational-mode-amplifier-parameters;
-      }
-    }
-    container specific-operational-modes {
-      description
-        "All specific operational modes corresponding to bookended or alien units";
-      list specific-operational-mode {
-        key "operational-mode-id";
-        description
-          "List of all declared specific operationnal modes";
-        leaf operational-mode-id {
-          type string;
-          description
-            "unique identifier which identifies the operational mode";
-        }
-        leaf originator {
-               type string;
-               description
-                       "identifies the system vendor which originated associated specification";
-        }
-        leaf sponsor {
-               type string;
-               description
-                       "identifies the service provider which reviewed and sponsored associated specification";
-        }
-        uses operational-mode-grid-parameters;
-        uses operational-mode-transponder-parameters;
-        leaf configurable-output-power {
-               type boolean;
-               mandatory true;
-               description
-                       "defines whether the output power can be set or not";
-        }
-      }
-    }
-  }
-}
diff --git a/ordmodels/service/src/main/yang/org-openroadm-routing-constraints@2021-12-10.yang b/ordmodels/service/src/main/yang/org-openroadm-routing-constraints@2021-12-10.yang
deleted file mode 100644 (file)
index 6387232..0000000
+++ /dev/null
@@ -1,330 +0,0 @@
-module org-openroadm-routing-constraints {
-  namespace "http://org/openroadm/routing/constraints";
-  prefix org-openroadm-routing-constraints;
-
-  import org-openroadm-common-node-types {
-    prefix org-openroadm-common-node-types;
-    revision-date 2021-05-28;
-  }
-  import org-openroadm-network-resource {
-    prefix org-openroadm-network-resource;
-    revision-date 2019-11-29;
-  }
-
-  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,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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;
-    }
-    leaf-list operational-mode {
-      type string;
-    }
-    container diversity {
-      uses diversity-existing-service-constraints;
-      uses diversity-constraints;
-      description
-        "Diversity constraints for single or bulk requests.
-        diversity-constraints provides more options for bulk requests";
-    }
-    container exclude {
-      uses common-constraints;
-      leaf-list supporting-service-name {
-        type string;
-        description
-          "Supporting service(s) to exclude from this route.";
-      }
-    }
-    container include {
-      uses common-constraints;
-      leaf-list supporting-service-name {
-        type string;
-        description
-          "Supporting service(s) to include in this route.";
-      }
-    }
-    container latency {
-      description
-        "Maximum allowed one-way latency in milliseconds";
-      leaf max-latency {
-        type decimal64 {
-          fraction-digits 3;
-        }
-        units "milliseconds";
-      }
-    }
-    container hop-count {
-      description
-        "Maximum hops allowed";
-      leaf max-wdm-hop-count {
-        type uint8;
-      }
-      leaf max-otn-hop-count {
-        type uint8;
-      }
-    }
-    container TE-metric {
-      description
-        "Maximum cost allowed";
-      leaf max-wdm-TE-metric {
-        type uint32;
-      }
-      leaf max-otn-TE-metric {
-        type uint32;
-      }
-    }
-    container distance {
-      description
-        "Maximum distance allowed";
-      leaf max-distance {
-        type decimal64 {
-          fraction-digits 2;
-        }
-        units "km";
-      }
-    }
-    container co-routing {
-      list service-identifier-list {
-        description
-          "Indicates that new services that are part of the bulk service request
-          should be co-routed";
-        key "service-identifier";
-        leaf service-identifier {
-          type string;
-          description
-            "This can be a service-name or a common-id";
-        }
-        uses service-applicability-g;
-      }
-    }
-  }
-
-
-  grouping common-constraints {
-    leaf-list fiber-bundle {
-      type string;
-    }
-    leaf-list srlg-id {
-      type uint32;
-      description
-        "unique identifier for SRLG";
-    }
-    leaf-list site {
-      type string;
-      description
-        "site identifies the clli.
-         clli from the device model; clli-network-ref + clli from the network model.";
-    }
-    leaf-list node-id {
-      type org-openroadm-common-node-types:node-id-type;
-      description
-        "node-id from the device model; openroadm-network-ref + node-id from the network model.";
-    }
-    list link-identifier {
-      key "link-network-id link-id";
-      description
-        "Refers to link-id(s) from the network model.
-         The openroadm-topology-ref + link-id identifies the link in the network model.";
-      uses org-openroadm-network-resource:network-link-name;
-    }
-  }
-
-  grouping equipment{
-    container equipment {
-      leaf roadm-srg {
-        type boolean;
-        description "ROADM shared-risk-group diversity";
-      }
-      leaf xponder-srg {
-        type boolean;
-        description "xponder eqpt-srg-id diversity";
-      }
-      description
-        "Equipment Diversity Contraints";
-    }
-  }
-
-  grouping existing-service-applicability-g {
-    container existing-service-applicability {
-      leaf site {
-        type boolean;
-      }
-      leaf node {
-        type boolean;
-      }
-      leaf srlg {
-        type boolean;
-      }
-      leaf link {
-        type boolean;
-      }
-      uses equipment;
-    }
-  }
-
-  grouping service-applicability-g {
-    container service-applicability {
-      leaf site {
-        type boolean;
-      }
-      leaf node {
-        type boolean;
-      }
-      leaf srlg {
-        type boolean;
-      }
-      leaf link {
-        type boolean;
-      }
-      uses equipment;
-    }
-  }
-
-  grouping diversity-existing-service-constraints {
-    list service-identifier-list {
-        description
-          "Indicates that new services that are part of the bulk service request
-          should be co-routed";
-        key "service-indentifier";
-        leaf service-indentifier {
-          type string;
-          description
-            "This can be a service-name or a common-id";
-        }
-        uses service-applicability-g;
-    }
-    /*
-    leaf-list existing-service {
-      type string;
-      description
-        "Diverse from existing services identified by facility CLFI";
-    }
-    uses existing-service-applicability-g;
-    */
-  }
-
-  grouping diversity-constraints {
-    leaf diversity-type {
-      type enumeration {
-        enum serial {
-          value 1;
-          description
-            "Indicates that new services that are part of the bulk service request 
-            should be routed serially for diversity.";
-        }
-        enum synchronous {
-          value 2;
-          description
-            "Indicates that new services that are part of the bulk service request 
-            should be routed synchronously for diversity.";
-        }
-      }
-      description 
-        "This is only used when creating services using service-create-bulk. 
-        It is expected that 'diversity-type' should be same for all services,
-        within the group. Which means it can be either 'serial' or 'synchronous'
-        but not both.";
-    }
-  }
-}
diff --git a/ordmodels/service/src/main/yang/org-openroadm-service@2021-12-10.yang b/ordmodels/service/src/main/yang/org-openroadm-service@2021-12-10.yang
deleted file mode 100644 (file)
index 9f9f0b1..0000000
+++ /dev/null
@@ -1,1697 +0,0 @@
-module org-openroadm-service {
-  yang-version 1.1;
-  namespace "http://org/openroadm/service";
-  prefix org-openroadm-service;
-
-  import ietf-yang-types {
-    prefix yang;
-    revision-date 2013-07-15;
-  }
-  import org-openroadm-routing-constraints {
-    prefix org-openroadm-routing-constraints;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-types {
-    prefix org-openroadm-common-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-resource-types {
-    prefix org-openroadm-resource-types;
-    revision-date 2021-09-24;
-  }
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-service-types {
-    prefix org-openroadm-common-service-types;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-controller-customization {
-    prefix org-openroadm-controller-customization;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-topology {
-    prefix org-openroadm-topology;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-operational-mode-catalog {
-    prefix org-openroadm-operational-mode-catalog;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-common-optical-channel-types {
-    prefix org-openroadm-common-optical-channel-types;
-    revision-date 2021-12-10;
-  }
-
-  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,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-12-11 {
-    description
-      "Version 8.1";
-  }
-  revision 2020-09-25 {
-    description
-      "Version 8.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-05-30 {
-    description
-      "Version 3.1.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  revision 2016-10-14 {
-    description
-      "Version 1.2";
-  }
-
-  grouping proposed-equipment-g {
-    leaf propose-equipment {
-      type enumeration {
-        enum never {
-          value 1;
-        }
-        enum ifNeeded {
-          value 2;
-        }
-        enum always {
-          value 3;
-        }
-      }
-      default "ifNeeded";
-      description
-        "Whether or not this request can propose new equipment that could
-         be used to fulfill this request. If never, the request will just
-         use existing deployed and planned equipment. If ifNeeded, routes using existing equipment
-         will be preferred. If always, a route with proposed equipment shall be returned, if possible";
-    }
-  }
-
-  grouping service-feasibility-check-inputs {
-    leaf connection-type {
-      type org-openroadm-common-service-types:connection-type;
-    }
-    uses org-openroadm-common-service-types:resource-status;
-    uses org-openroadm-common-service-types:routing-metric;
-    uses org-openroadm-common-service-types:service-resiliency;
-    uses proposed-equipment-g;
-    container service-a-end {
-      uses org-openroadm-common-service-types:service-endpoint;
-      container requesting-interface-properties {
-        when "../../connection-type = 'optical-tunnel'" {
-          description
-            "an optical-tunnel service creation request triggers a container
-              that includes the description of the characteristics of the
-              external optical transceiver handled by a 3rd party controller";
-        }
-        uses org-openroadm-common-service-types:external-interface-characteristics;
-      }
-    }
-    container service-z-end {
-      uses org-openroadm-common-service-types:service-endpoint;
-      container requesting-interface-properties {
-        when "../../connection-type = 'optical-tunnel'" {
-          description
-            "an optical-tunnel service creation request triggers a container
-              that includes the description of the characteristics of the
-              external optical transceiver handled by a 3rd party controller";
-        }
-        uses org-openroadm-common-service-types:external-interface-characteristics;
-      }
-    }
-    uses org-openroadm-routing-constraints:routing-constraints;
-    uses org-openroadm-common-service-types:service-information;
-    uses org-openroadm-common-service-types:max-regeneration-options;
-    uses org-openroadm-common-service-types:existing-service-grouping {
-      refine "existing-service-attributes/reusable-existing-resources" {
-        default "all";
-      }
-    }
-  }
-
-  grouping service-feasibility-check-outputs {
-    leaf connection-type {
-      type org-openroadm-common-service-types:connection-type;
-    }
-    uses org-openroadm-common-service-types:resource-status;
-    uses org-openroadm-common-service-types:routing-metric;
-    uses org-openroadm-common-service-types:service-resiliency;
-    uses proposed-equipment-g;
-    uses org-openroadm-common-service-types:service-information;
-    container service-a-end {
-      uses org-openroadm-common-service-types:service-endpoint;
-      list equipment-required {
-        key "equipment-identifier";
-        description
-          "List of required equipment, including equipment type, state and
-           quantity";
-        uses org-openroadm-common-service-types:equipment-info;
-      }
-      container expected-settings-and-performances {
-        when "(../../connection-type = 'optical-tunnel' or ../../connection-type = 'infrastructure')" {
-          description
-            "Performances and settings are provided for wavelength services
-             whether they are based on end to end services or optical-tunnels";
-        }
-        uses org-openroadm-resource:common-och-otsi-attributes;
-        uses org-openroadm-resource:path-computation-outputs;
-      }
-    }
-    container service-z-end {
-      uses org-openroadm-common-service-types:service-endpoint;
-      list equipment-required {
-        key "equipment-identifier";
-        description
-          "List of required equipment, including equipment type, state and
-           quantity";
-        uses org-openroadm-common-service-types:equipment-info;
-      }
-      container expected-settings-and-performances {
-        when "(../../connection-type = 'optical-tunnel' or ../../connection-type = 'infrastructure')" {
-          description
-            "Performances and settings are provided for wavelength services
-             whether they are based on end to end services or optical-tunnels";
-        }
-        uses org-openroadm-resource:common-och-otsi-attributes;
-        uses org-openroadm-resource:path-computation-outputs;
-      }
-    }
-    uses org-openroadm-common-service-types:intermediate-site-container;
-    container requested-service-topology {
-      description
-        "This corresponds to the topology of the service requested. Includes all the
-         containers: topology, backup topology, network topology, and
-         network backup-topology";
-      container topology {
-        description
-          "topology corresponds to working-path which is the default path. It defines the initial path
-           to which services defined as revertive may revert to when the failure condition disappear";
-        uses org-openroadm-topology:topology;
-      }
-      container backup-topology {
-        list backup-path {
-          key "backup-path-id";
-          leaf backup-path-id {
-            type uint8 {
-              range "1..255";
-            }
-            description
-              "Several backup paths may be used when backup-paths are pre-calculated.
-               Backup-path-id avoids 0 which is associated with working path in current-active-path";
-          }
-          leaf failure-case-id {
-            type string;
-            description
-              "A failure case Id can be used to associate a backup-path to a specific failure (srlg, OMS,...)";
-          }
-          uses org-openroadm-topology:topology;
-        }
-      }
-      container network-topology {
-        uses org-openroadm-topology:network-topology;
-      }
-      container network-backup-topology {
-        list backup-path {
-          key "backup-path-id";
-          leaf backup-path-id {
-            type uint8 {
-              range "1..255";
-            }
-            description
-              "Several backup paths may be used when backup-paths are pre-calculated.
-               Backup-path-id avoids 0 which is associated with working path in current-active-path";
-          }
-          leaf failure-case-id {
-            type string;
-            description
-              "A failure case Id can be used to associate a backup-path to a specific failure (srlg, OMS,...)";
-          }
-          uses org-openroadm-topology:network-topology;
-        }
-      }
-    }
-    list supporting-service-hierarchy {
-      key "service-identifier";
-      description
-        "This lists all the supporting services and their respective hierarchy, includes the
-         proposed one";
-      uses org-openroadm-common-service-types:service-hierarchy;
-    }
-    uses service-path-metrics;
-    uses org-openroadm-common-service-types:max-regeneration-options;
-    uses org-openroadm-common-service-types:regeneration-option-list;
-    uses org-openroadm-common-service-types:existing-service-grouping {
-      refine "existing-service-attributes/reusable-existing-resources" {
-        default "all";
-      }
-    }
-  }
-
-  grouping service-path-metrics {
-    container primary-path-metrics {
-      description
-        "These service metrics are associated with primary
-         service path";
-      uses service-metrics;
-    }
-    list backup-path-metrics {
-      key "backup-path-id";
-      description
-        "These service metrics are associated with the backup
-         service path";
-      leaf backup-path-id {
-        type uint8 {
-          range "1..255";
-        }
-        description
-          "Unique identifier for the backup service path";
-      }
-      uses service-metrics;
-    }
-  }
-
-  grouping service-metrics {
-    container service-metrics {
-      description
-        "All the metrics associated with end-to-end service feasibility
-         This container will have all the metrics that have'max' contraint in
-         org-openroadm-routing-constraints";
-      leaf latency {
-        description
-          "Provides one-way end-to-end latency (in milliseconds) of a service-path; 
-          It can be measured or estimated";
-        type decimal64 {
-          fraction-digits 3;
-        }
-        units "milliseconds";
-      }
-      leaf distance {
-        type decimal64 {
-          fraction-digits 2;
-        }
-        units "km";
-        description
-          "Provides end-to-end distance of a service-path";
-      }
-      container hop-count {
-        description
-          "Maximum hops allowed";
-        leaf wdm-hop-count {
-          type uint8;
-        }
-        leaf otn-hop-count {
-          type uint8;
-        }
-      }
-      container TE-metric {
-        description
-          "Maximum cost allowed";
-        leaf wdm-TE-metric {
-          type uint32;
-        }
-        leaf otn-TE-metric {
-          type uint32;
-        }
-      }
-    }
-  }
-
-  rpc service-create {
-    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.";
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        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.";
-      }
-      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:service-order;
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      uses org-openroadm-common-service-types:routing-metric;
-      uses org-openroadm-common-service-types:service-resiliency;
-      leaf connection-type {
-        type org-openroadm-common-service-types:connection-type;
-        mandatory true;
-      }
-      uses org-openroadm-common-service-types:resource-status;
-      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 service-create-bulk {
-    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. This is 'all' or 'nothing' operation, which means that either all services
-       are created or none of them will be created.";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      list service-request-list {
-        key "service-name";
-        leaf service-name {
-          type string;
-          mandatory true;
-          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.";
-        }
-        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:service-order;
-        uses org-openroadm-common-service-types:routing-metric;
-        uses org-openroadm-common-service-types:service-resiliency;
-        leaf connection-type {
-          type org-openroadm-common-service-types:connection-type;
-          mandatory true;
-        }
-        uses org-openroadm-common-service-types:resource-status;
-        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;
-      list service-response-list {
-        key "service-name";
-        leaf service-name {
-          type string;
-          mandatory true;
-        }
-        uses org-openroadm-common-service-types:response-parameters;
-      }
-    }
-  }
-
-  rpc temp-service-create-bulk {
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      list service-request-list {
-        key "common-id";
-        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:service-order;
-        uses org-openroadm-common-service-types:routing-metric;
-        uses org-openroadm-common-service-types:service-resiliency;
-        leaf connection-type {
-          type org-openroadm-common-service-types:connection-type;
-          mandatory true;
-        }
-        uses org-openroadm-common-service-types:resource-status;
-        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;
-        uses org-openroadm-common-service-types:existing-service-grouping {
-            refine "existing-service-attributes/reusable-existing-resources" {
-              default "all";
-            }
-        }
-      }
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      list service-response-list {
-        key "common-id";
-        leaf common-id {
-          type string;
-          mandatory true;
-        }
-        uses org-openroadm-common-service-types:response-parameters;
-        uses org-openroadm-common-service-types:existing-service-grouping {
-            refine "existing-service-attributes/reusable-existing-resources" {
-              default "all";
-            }
-        }
-      }
-    }
-  }
-
-  rpc service-create-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-      uses service-path-metrics;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-create-complex-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-and-supporting-services;
-      uses service-path-metrics;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-delete-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-delete-complex-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-and-supporting-services;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-feasibility-check {
-    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
-       Takes a potential service and determines if it is possible in the network
-       using equipment that is installed on the network, formally planned or proposed for planning.
-       No resources are reserved, provisioned or planned as a result of this operation";
-    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;
-      uses service-feasibility-check-inputs;
-    }
-    output {
-      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:configuration-response-common;
-      uses org-openroadm-common-service-types:response-parameters;
-      uses service-feasibility-check-outputs;
-    }
-  }
-
-  rpc service-feasibility-check-bulk {
-    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
-
-       Takes a list of potential services and determines if they are possible in the network
-       using equipment that is installed on the network, formally planned or proposed for planning.
-       All services are treated collectively to ensure that a given resource is not used more than once.
-       No resources are reserved, provisioned or planned as a result of this operation";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      list service-request-list {
-        key "common-id";
-        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 service-feasibility-check-inputs;
-      }
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      list service-response-list {
-        key "common-id";
-        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:response-parameters;
-        uses service-feasibility-check-outputs;
-      }
-    }
-  }
-
-  rpc service-delete {
-    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";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      container service-delete-req-info {
-        leaf service-name {
-          type string;
-          mandatory true;
-          description
-            "Identifier for the service to be deleted in
-             the ROADM network, e.g., CLFI, CLCI, etc.";
-        }
-        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;
-    }
-  }
-
-  rpc equipment-notification {
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf equipment-id {
-        type string;
-        mandatory true;
-      }
-      leaf equipment-name {
-        type string;
-      }
-      leaf equipment-type {
-        type string;
-        mandatory true;
-        description
-          "The set of valid value is derived from the equipment-type grouping used in the device model.";
-      }
-      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;
-        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:service-order;
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      leaf connection-type {
-        type org-openroadm-common-service-types:connection-type;
-        mandatory true;
-      }
-      uses org-openroadm-common-service-types:resource-status;
-      container service-a-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-        container requesting-interface-properties {
-          when "../../connection-type = 'optical-tunnel'" {
-            description
-              "an optical-tunnel service creation request triggers a container
-               that includes the description of the characteristics of the
-               external optical transceiver handled by a 3rd party controller";
-          }
-          uses org-openroadm-common-service-types:external-interface-characteristics;
-        }
-      }
-      container service-z-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-        container requesting-interface-properties {
-          when "../../connection-type = 'optical-tunnel'" {
-            description
-              "an optical-tunnel service creation request triggers a container
-               that includes the description of the characteristics of the
-               external optical transceiver handled by a 3rd party controller";
-          }
-          uses org-openroadm-common-service-types:external-interface-characteristics;
-        }
-      }
-      uses org-openroadm-routing-constraints:routing-constraints;
-      uses org-openroadm-common-service-types:service-information;
-      uses org-openroadm-common-service-types:routing-metric;
-      uses org-openroadm-common-service-types:service-resiliency;
-      uses org-openroadm-common-service-types:existing-service-grouping {
-        refine "existing-service-attributes/reusable-existing-resources" {
-          default "all";
-        }
-      }
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:response-parameters;
-      uses org-openroadm-common-service-types:existing-service-grouping {
-        refine "existing-service-attributes/reusable-existing-resources" {
-          default "all";
-        }
-      }
-    }
-  }
-
-  rpc temp-service-delete {
-    input {
-      leaf common-id {
-        type string;
-        mandatory true;
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-roll {
-    description
-      "This rpc can be use to roll a service according to 2 possible options :
-         A new path may (no path pre-calculation) or may not be calculated according
-         to the parameters provided (which includes metrics). If path computation has been triggered
-         and is successful, a new path is provided, and the service can be rolled according to that path.";
-    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";
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      uses org-openroadm-common-service-types:routing-metric;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-roll-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-reconfigure {
-    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.";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      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 data-reload {
-        type boolean;
-        description 
-          "Indicates whether the data of existing service needs to be refreshed or 
-          reloaded. No reprovisioning/reconfiguration should be done to the service, 
-          only data is updated. May generate data conflict to existing service         
-          after reload. If set true, the data of existing service will be refreshed";
-      }
-      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:service-order;
-      leaf connection-type {
-        type org-openroadm-common-service-types:connection-type;
-      }
-      uses org-openroadm-common-service-types:resource-status;
-      container service-a-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-        container requesting-interface-properties {
-          when "../../connection-type = 'optical-tunnel'" {
-            description
-              "an optical-tunnel service creation request triggers a container
-                that includes the description of the characteristics of the
-                external optical transceiver handled by a 3rd party controller";
-          }
-          uses org-openroadm-common-service-types:external-interface-characteristics;
-        }
-      }
-      container service-z-end {
-        uses org-openroadm-common-service-types:service-endpoint;
-        container requesting-interface-properties {
-          when "../../connection-type = 'optical-tunnel'" {
-            description
-              "an optical-tunnel service creation request triggers a container
-                that includes the description of the characteristics of the
-                external optical transceiver handled by a 3rd party controller";
-          }
-          uses org-openroadm-common-service-types:external-interface-characteristics;
-        }
-      }
-      uses org-openroadm-routing-constraints:routing-constraints;
-      uses org-openroadm-common-service-types:service-information;
-      uses org-openroadm-common-service-types:routing-metric;
-      uses org-openroadm-common-service-types:service-resiliency;
-    }
-    output {
-      // Augment the reconfigure response with the data-reload
-      uses org-openroadm-common-service-types:configuration-response-common {
-        augment "configuration-response-common" {
-          leaf ack-data-reload-indicator {
-            type string;
-            description
-              "This optional, meaning this will be populated only when
-              the data-reload indicator is set true";
-          }
-        }
-      }
-      uses org-openroadm-common-service-types:response-parameters;
-    }
-  }
-
-  rpc service-reconfigure-bulk {
-         description
-      "Whether bulk of requests passed initial validation and was accepted for 
-      processing. Once the request completes processing, a service-rpc-result 
-      Notification shall be sent.";
-         input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      list service-reconfigure-list {
-        key "service-name";
-        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 data-reload {
-          type boolean;
-          description 
-            "Indicates whether the data of existing service needs to be refreshed or 
-            reloaded. No reprovisioning/reconfiguration should be done to the service, 
-            only data is updated. May generate data conflict to existing service       
-            after reload. If set true, the data of existing service will be refreshed";
-        }
-        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:service-order;
-        leaf connection-type {
-          type org-openroadm-common-service-types:connection-type;
-        }
-        uses org-openroadm-common-service-types:resource-status;
-        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;
-        uses org-openroadm-common-service-types:routing-metric;
-        uses org-openroadm-common-service-types:service-resiliency;
-      }
-    }
-    output {
-                 uses org-openroadm-common-service-types:configuration-response-common {
-                   augment "configuration-response-common" {
-                           leaf ack-data-reload-indicator {
-                       type string;
-            description
-                   "This optional, meaning this will be populated only when 
-               the data-reload indicator is set true";
-                   }
-                   } 
-                 }
-                 list service-reconfigure-response-list {
-                   key "service-name";
-                   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.";
-                   } 
-      }
-      uses org-openroadm-common-service-types:response-parameters;
-    }
-  }
-
-
-
-
-  rpc service-reconfigure-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-restoration {
-    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.
-       This rpc can be use to reroute a service according to 2 possible options :
-        \t_Option1 : neither the backup-path-id nor the failure-case-id are provided, a new path shall be
-           calculated according to the parameters provided (which includes metrics). If path computation
-           is successful, a new path is provided, and the service is rerouted according to that path.
-        \t_Option2 : if a backup-path-id or a failure-case-id are provided, the service shall
-           be rerouted according to the corresponding path. If path computation is triggered and successful,
-           a new path is provided, and the service is rerouted according to that path.";
-    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;
-      }
-      leaf backup-path-id {
-        type uint8 {
-          range "1..255";
-        }
-        description
-          "When present, states that the service shall be rerouted according to a specific backup path";
-      }
-      leaf failure-case-id {
-        type string;
-        description
-          "When present, states that the service shall be rerouted according to a specific backup path.
-           This last corresponds to the provided failure case id";
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      uses org-openroadm-common-service-types:routing-metric;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-restoration-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-reversion {
-    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.";
-    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";
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-reversion-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-reroute {
-    description
-      "Whether this request was validated and processed correctly. If successful, it returns the proposed new route.
-       If acceptable, this request should be followed by a service-reroute-confirm to complete the reroute operation.";
-    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-common-service-types:sdnc-request-header;
-      uses org-openroadm-common-service-types:routing-metric;
-      uses org-openroadm-common-service-types:service-resiliency;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-routing-constraints:routing-constraints;
-    }
-  }
-
-  rpc service-reroute-confirm {
-    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.";
-    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-common-service-types:sdnc-request-header;
-      uses org-openroadm-routing-constraints:routing-constraints;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc service-reroute-confirm-result-notification-request {
-    description
-      "This is the callback notification that the controller invokes on the carrier system.";
-    input {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      uses org-openroadm-common-service-types:service-identifiers-container;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc optical-tunnel-create {
-    description
-      "This rpc is used in a second step of service creation when the connection-type is
-          an optical-tunnel. The optical tunnel rendering implies that end terminals optical
-          interfaces such as router pluggables are tuned to the a correct wavelength and that
-          the output power is set so that control loop can operate during connection setting.
-          The rpc is invoked to confirm the optical tunnel can be established.";
-    input {
-      leaf service-name {
-        type string;
-        mandatory true;
-        description
-          "Identifier used in the second step of the optical-tunnel service creation.  
-           Identifies the service (optical tunnel between SRG PPs) to be created 
-           in the ROADM network.";
-      }
-      leaf common-id {
-        type string;
-        mandatory true;
-        description
-          "Identifier used in the first step of optical-tunnelservice creation using 
-          temp-service-create rpc. Identifies the temporary service for which resources 
-          have been reserved after a successful path computation";
-      }
-      leaf set-frequency {
-        type org-openroadm-common-optical-channel-types:frequency-THz;
-        mandatory true;
-        description
-          "Center Frequency in THz.";
-      }
-      leaf full-bandwidth-at-3dB {
-        type org-openroadm-common-optical-channel-types:frequency-GHz;
-        mandatory true;
-        description
-          "Signal full bandwidth at 3dB bellow the peak in GHz.";
-      }
-      leaf full-bandwidth-at-10dB {
-        type org-openroadm-common-optical-channel-types:frequency-GHz;
-        mandatory true;
-        description
-            "Signal full bandwidth at 10dB bellow the peak in GHz.";
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  rpc optical-tunnel-request-cancel {
-    description
-      "This rpc is used to abort service creation when the connection-type is
-            an optical-tunnel, if the conditions required to set-up the end to end service
-          can not be met by the end terminals optical interfaces such as router pluggables.
-          When the rpc is invoked, any resource temporary reserved for the second step of
-          service creation shall be released : this rpc cancels service path rendering between
-          SRG PPs.";
-    input {
-      leaf service-name {
-        type string;
-        description
-          "Identifier used in the first step of service creation using service create rpc.";
-      }
-      leaf common-id {
-        type string;
-        description
-          "Identifier used in the first step of optical-tunnelservice creation using 
-           temp-service-create rpc. Identifies the temporary service for which resources 
-           have been reserved after a successful path computation";
-      } 
-      uses org-openroadm-common-service-types:sdnc-request-header;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-
-  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 ";
-      }
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      uses org-openroadm-common-service-types:routing-metric;
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-      leaf optimization-candidate {
-        type string;
-      }
-    }
-  }
-
-rpc add-openroadm-operational-modes-to-catalog {
-           description
-             "This rpc is used to feed the operational mode catalog with openroadm operational modes";
-           input {
-             uses org-openroadm-common-service-types:sdnc-request-header;
-             container operational-mode-info {
-                    container grid-parameters {
-                                    description
-                                      "Parameters associated with global spectrum use";
-                                    uses org-openroadm-operational-mode-catalog:operational-mode-grid-parameters;
-                            }
-                                container xponders-pluggables {
-                                        description
-                                           "Parameters associated with xponders and pluggables";
-                                    list xponder-pluggable-openroadm-operational-mode {
-                                               key "openroadm-operational-mode-id";
-                                               description
-                                                 "defines the openroadm operational mode pointing to an official specification ";
-                                               leaf openroadm-operational-mode-id {
-                                                   type string;
-                                                   description
-                                                       "openroadm operational mode which points to a specific spreadsheet of optical specifications";
-                                                   }
-                                       uses org-openroadm-operational-mode-catalog:operational-mode-transponder-parameters;
-                        }
-                                }
-                                container roadms {
-                                    description
-                                      "Parameters associated with roadms";
-                                    uses org-openroadm-operational-mode-catalog:operational-mode-roadm-express-parameters;
-                                    uses org-openroadm-operational-mode-catalog:operational-mode-roadm-add-parameters;
-                                    uses org-openroadm-operational-mode-catalog:operational-mode-roadm-drop-parameters;
-                            }
-                                container amplifiers {
-                                    description
-                                      "Parameters associated with amplifiers";
-                                    uses org-openroadm-operational-mode-catalog:operational-mode-amplifier-parameters;
-                            }
-             }
-           }
-           output {
-             uses org-openroadm-common-service-types:configuration-response-common;
-           }
-  }
-  rpc add-specific-operational-modes-to-catalog {
-    description
-      "This rpc is used to feed the operational mode catalog with specific operational modes for
-           \txponders or external pluggables";
-    input {
-      uses org-openroadm-common-service-types:sdnc-request-header;
-      container operational-mode-info {
-        container specific-operational-modes {
-          description
-            "All specific operational modes corresponding to bookended or alien units";
-          list specific-operational-mode {
-            key "operational-mode-id";
-            description
-              "List of all declared specific operationnal modes";
-            leaf operational-mode-id {
-              type string;
-              description
-                "unique identifier which identifies the operational mode";
-            }
-            uses org-openroadm-operational-mode-catalog:operational-mode-grid-parameters;
-            uses org-openroadm-operational-mode-catalog:operational-mode-transponder-parameters;
-          }
-        }
-      }
-    }
-    output {
-      uses org-openroadm-common-service-types:configuration-response-common;
-    }
-  }
-  
-  rpc service-srlg-get {
-    input {
-      leaf service-name {
-        type string;
-        description
-          "Identifier for the service in the ROADM network,
-          e.g., CLFI, CLCI, etc. whose path or other risks must be evaluated by the RNC";
-      }
-      leaf SRLG-type {
-        type org-openroadm-common-types:SRLG-type;
-        description
-          "Type of SRLG, Site SRLG, Node SRLG, Fiber SRLG or Link SRLG. If SRLG-type is not provided 
-          in input, output should include all types of SRLGs for a given service-name";
-      }
-      leaf due-date {
-        type yang:date-and-time;
-        description
-          "Due-date is required to get list of SRLGs for specific validity period. If Due-date is not 
-          provited in the input, RPC should return list of current/active SRLGS";
-      }
-    }
-    output {
-      list SRLG-list {
-        key "SRLG-Id";
-        leaf SRLG-Id {
-          type uint32;
-          description
-            "unique identifier for SRLG";
-        }
-        leaf SRLG-name {
-          type string;
-          description
-            "Name of the SRLG";
-        }
-        leaf SRLG-type {
-          type org-openroadm-common-types:SRLG-type; 
-          description
-            "Type of SRLG, Site SRLG, Node SRLG, Fiber SRLG or Link SRLG";
-        }
-        leaf SRLG-length {
-          type decimal64 {
-            fraction-digits 2;
-          }
-          description
-            "Fiber length in desired distance unit of measure";
-        }
-      }
-    } 
-  }
-
-  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;
-    container path-computation-result {
-      when "../notification-type = 'path-computation-result'" {
-        description
-          "an optical-tunnel service triggers the leaf providing
-           information on the operationnal mode selected by the pce";
-      }
-      container aToZ {
-        description
-          "Describes the settings and the performances for the A to Z path";
-        uses org-openroadm-resource:common-och-otsi-attributes;
-        uses org-openroadm-resource:path-computation-outputs;
-      }
-      container zToA {
-        description
-          "Describes the settings and the performances for the Z to A path";
-        uses org-openroadm-resource:common-och-otsi-attributes;
-        uses org-openroadm-resource:path-computation-outputs;
-      }
-    }
-  }
-
-  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;
-      mandatory true;
-      description
-        "Identifier for the service being reported on";
-    }
-    leaf version-number {
-      type uint64;
-      description
-        "Identifier for the versioned service";
-    }
-    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 resourceModified 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.";
-    }
-    leaf version-number {
-      type uint64;
-      description
-        "Identifier for the versioned service";
-    }
-    uses org-openroadm-common-service-types:service;
-  }
-
-  notification optical-tunnel-created {
-    description
-      "This Notification is used to confirm that an optical-tunnel service has been created.
-       It shall contain the created service in its entirety";
-    leaf notificationType {
-      type org-openroadm-resource-types:resource-notification-type;
-      description
-        "Whether this notification indicates a service creation, or service-reconfigure.";
-    }
-    leaf version-number {
-      type uint64;
-      description
-        "Identifier for the versioned service";
-    }
-    leaf actual-date {
-      type yang:date-and-time;
-      description
-        "Actual date and time traffic started flowing";
-    }
-    uses org-openroadm-common-service-types:service;
-  }
-  
-  notification non-rpc-related-notification {
-    description
-      "Used to notify SDN controller that :
-       _a change occured in the data tree associated with the topology or the service Datastore of the RNC
-       _the attenuation on a ROADM to ROADM link as exceeded the value that can be accepted with current design
-       _the restoration of an optical OTN/WDM service";
-    leaf notificationType {
-      type org-openroadm-controller-customization:non-rpc-related-notification-type;
-      description
-        "This notification indicates whether a change occured in the data tree
-         associated with the topology or the service Datastore, an out of limit
-         attenuation on a WDM link, or the restoration of an optical WDM/OTN service.";
-    }
-    leaf notificationId {
-      type string;
-      description
-        "Unique identifier for the notification.";
-    }
-    leaf notification-time {
-      type yang:date-and-time;
-      description
-        "Time at which notification is raised";
-    }
-    leaf service-name {
-      when "../notificationType = 'service-state-change' or ../notificationType = 'autonomous-optical-restoration-triggered'" {
-        description
-          "When Service Data store is modified, or a restoration has been triggered
-           service-name is provided";
-      }
-      type string;
-    }
-    leaf impacted-resource-type {
-      when "../notificationType = 'topology-change' or ../notificationType = 'service-state-change'" {
-        description
-          "Used to provide additional information on the type of resource impacted by the
-           change in the data-store, to target more effectively consecutive request";
-      }
-      type string;
-    }
-    leaf impacted-resource-id {
-      when "../notificationType = 'topology-change' or ../notificationType = 'service-state-change'" {
-        description
-          "Identifies the resource impacted by the change in the data-store";
-      }
-      type string;
-    }
-    leaf topology-layer {
-      when "../notificationType = 'topology-change'" {
-        description
-          "indicates the layer associated with the topological change";
-      }
-      type enumeration {
-        enum openroadm-topology {
-          value 1;
-        }
-        enum otn-topology {
-          value 2;
-        }
-      }
-    }
-  }
-
-  container service-list {
-    description
-      "List of service. Can only be created, deleted, modified, etc. using special RPCs. Will only contain one service with a given name.
-       Does not contain historical (deleted or rather those passed their end time) or draft services. If two services exist with the same
-       name (with non-lapping start-end times for example), this table will contain the current one. If only planned services exist for
-       the name, the one with the earliest start time will be present
-      ";
-    list services {
-      key "service-name";
-      uses org-openroadm-common-service-types:service;
-    }
-  }
-  container versioned-service-list {
-    description
-      "List of service, regardless of lifecycle state. Can only be created, deleted, modified, etc. using special RPCs. Can report more than one
-       version of a service, if supported by the implementation. May contain deleted services, multiple versions of the same service, as identified
-       by its name, etc.";
-    list services {
-      key "service-name version-number";
-      leaf version-number {
-        type uint64;
-      }
-      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;
-        }
-        augment "service-a-end" {
-          list equipment-required {
-            key "equipment-identifier";
-            description
-              "List of required equipment, including equipment type, state and
-              quantity";
-            uses org-openroadm-common-service-types:equipment-info;
-          }
-        }
-        augment "service-z-end" {
-          list equipment-required {
-            key "equipment-identifier";
-            description
-              "List of required equipment, including equipment type, state and
-              quantity";
-            uses org-openroadm-common-service-types:equipment-info;
-          }
-        }
-      }
-      uses org-openroadm-common-service-types:intermediate-site-container;
-      list supporting-service-hierarchy {
-        key "service-identifier";
-        uses org-openroadm-common-service-types:service-hierarchy;
-        description
-          "This lists all the supporting services and their respective hierarchy, includes the
-          proposed one";
-      }
-      uses org-openroadm-common-service-types:existing-service-grouping {
-        refine "existing-service-attributes/reusable-existing-resources" {
-          default "all";
-        }
-      }
-    }
-  }
-  container controller-behaviour-settings {
-    description
-      "Parameters allowing to set the controller behaviour";
-    uses org-openroadm-controller-customization:controller-parameters;
-  }
-  container operational-mode-catalog {
-    description
-      "Store parameters associated with openroadm specifications and specific operational modes";
-    uses org-openroadm-operational-mode-catalog:operational-mode-catalog;
-  }
-}
diff --git a/ordmodels/service/src/main/yang/org-openroadm-topology@2021-12-10.yang b/ordmodels/service/src/main/yang/org-openroadm-topology@2021-12-10.yang
deleted file mode 100644 (file)
index 9cce1d1..0000000
+++ /dev/null
@@ -1,233 +0,0 @@
-module org-openroadm-topology {
-  namespace "http://org/openroadm/topology";
-  prefix org-openroadm-topology;
-
-  import org-openroadm-resource {
-    prefix org-openroadm-resource;
-    revision-date 2021-12-10;
-  }
-  import org-openroadm-network-resource {
-    prefix org-openroadm-network-resource;
-    revision-date 2019-11-29;
-  }
-
-  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,
-      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 2021-12-10 {
-    description
-      "Version 10.1";
-  }
-  revision 2021-09-24 {
-    description
-      "Version 10.0";
-  }
-  revision 2021-05-28 {
-    description
-      "Version 9.1";
-  }
-  revision 2021-03-26 {
-    description
-      "Version 9.0";
-  }
-  revision 2020-05-29 {
-    description
-      "Version 7.1.0";
-  }
-  revision 2020-03-27 {
-    description
-      "Version 7.0.0";
-  }
-  revision 2019-11-29 {
-    description
-      "Version 6.1.0";
-  }
-  revision 2019-09-27 {
-    description
-      "Version 6.0.0";
-  }
-  revision 2019-05-31 {
-    description
-      "Version 5.1.0";
-  }
-  revision 2019-03-29 {
-    description
-      "Version 5.0.0";
-  }
-  revision 2018-11-30 {
-    description
-      "Version 4.1.0";
-  }
-  revision 2018-09-28 {
-    description
-      "Version 4.0.0";
-  }
-  revision 2018-03-30 {
-    description
-      "Version 3.0.0";
-  }
-  revision 2017-12-15 {
-    description
-      "Version 2.2";
-  }
-  revision 2017-09-29 {
-    description
-      "Version 2.1";
-  }
-  revision 2017-07-28 {
-    description
-      "Version 2.0.1 - added revision-date to imports";
-  }
-  revision 2017-06-26 {
-    description
-      "Version 2.0";
-  }
-  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.\t On ingress to a node/card, physical then logical
-       b.\t On egress to a node/card, logical then physical";
-    list aToZ {
-      key "id";
-      leaf id {
-        type string;
-        description
-          "Unique identifier for this topology component within this service";
-      }
-         container computation-results {
-                 description 
-                       "parameters resulting of path computation";
-                 uses org-openroadm-resource:path-computation-outputs;
-         }
-      uses route_info;
-      uses hop;
-    }
-    list zToA {
-      key "id";
-      leaf id {
-        type string;
-        description
-          "Unique identifier for this topology component within this service";
-      }
-         container computation-results {
-                 description 
-                       "parameters resulting of path computation";
-                 uses org-openroadm-resource:path-computation-outputs;
-         }
-      uses route_info;
-      uses hop;
-    }
-  }
-
-  grouping route_info {
-      leaf subroute_id {
-        type string;
-        description
-          "Unique identifier for the subroute or segment of the topology";
-      }
-      leaf-list previous_ids {
-        type string;
-        description
-          "Pointer to the previous id or set of ids that allows reconstruction
-           of the end-to-end route from the segments. Can be omitted if the
-           previous-id = current-id – 1 (if id is a number-based string) or if
-           each subroute is already representing an end-to-end route.";
-      }
-  }
-
-  grouping hop {
-    leaf hop-type {
-      type enumeration {
-        enum node-external {
-          value 1;
-          description
-            "The given resource is on the edge of the node, and used in relationships to resources outside of the node.";
-        }
-        enum node-internal {
-          value 2;
-          description
-            "The given resource is internally to the node";
-        }
-      }
-    }
-    uses org-openroadm-resource:resource {
-      augment "resource/resource/interface" {
-        uses org-openroadm-resource:resource-reporting;
-      }
-      augment "resource/resource/circuit-pack" {
-        leaf circuit-pack-type {
-          type string;
-          description
-            "Type of circuit-pack";
-        }
-        leaf circuit-pack-product-code {
-          type string;
-          description
-            "Product code of the circuit-pack";
-        }
-      }
-    }
-  }
-
-  grouping network-topology {
-    description
-      "network-topology defines the ordered a-to-z and z-to-a topology in terms of network model entities: tp-id and link-id";
-    list a-to-z {
-      key "id";
-      leaf id {
-        type string;
-        description
-          "Unique identifier for this network-topology component within this service";
-      }
-      uses route_info;
-      uses org-openroadm-network-resource:network-resource;
-    }
-    list z-to-a {
-      key "id";
-      leaf id {
-        type string;
-        description
-          "Unigue identifier for this network-topology component within this service";
-      }
-      uses route_info;
-      uses org-openroadm-network-resource:network-resource;
-    }
-  }
-}
diff --git a/tapimodels/pom.xml b/tapimodels/pom.xml
deleted file mode 100644 (file)
index b65351c..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright © 2018 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>10.0.2</version>
-    <relativePath/>
-  </parent>
-
-  <groupId>org.opendaylight.transportpce</groupId>
-  <artifactId>transportpce-tapimodels</artifactId>
-  <version>6.0.0-SNAPSHOT</version>
-  <packaging>bundle</packaging>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.opendaylight.yangtools</groupId>
-      <artifactId>yang-common</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-  </dependencies>
-</project>
diff --git a/tapimodels/src/main/yang/tapi-common@2018-12-10.yang b/tapimodels/src/main/yang/tapi-common@2018-12-10.yang
deleted file mode 100644 (file)
index 2d5dd65..0000000
+++ /dev/null
@@ -1,683 +0,0 @@
-module tapi-common {
-    namespace "urn:onf:otcc:yang:tapi-common";
-    prefix tapi-common;
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI Common Model definitions.
-        Source: TapiCommon.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-
-   /**************************
-    * definitions of refrences
-    **************************/
-    grouping service-interface-point-ref {
-        leaf service-interface-point-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-common:service-interface-point/tapi-common:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping admin-state-pac {
-        leaf administrative-state {
-            type administrative-state;
-            description "none";
-        }
-        leaf operational-state {
-            type operational-state;
-            config false;
-            description "none";
-        }
-        leaf lifecycle-state {
-            type lifecycle-state;
-            config false;
-            description "none";
-        }
-        description "Provides state attributes that are applicable to an entity that can be administered. Such an entity also has operational and lifecycle aspects.";
-    }
-    grouping global-class {
-        leaf uuid {
-            type uuid;
-            description "UUID: An identifier that is universally unique within an identifier space, where the identifier space is itself globally unique, and immutable. An UUID carries no semantics with respect to the purpose or state of the entity.
-                UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
-                Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
-                Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
-        }
-        list name {
-            key 'value-name';
-            uses name-and-value;
-            description "List of names. A property of an entity with a value that is unique in some namespace but may change during the life of the entity. A name carries no semantics with respect to the purpose of the entity.";
-        }
-        description "The TAPI GlobalComponent serves as the super class for all TAPI entities that can be directly retrieved by their ID. As such, these are first class entities and their ID is expected to be globally unique. ";
-    }
-    grouping lifecycle-state-pac {
-        leaf lifecycle-state {
-            type lifecycle-state;
-            config false;
-            description "none";
-        }
-        description "Provides state attributes for an entity that has lifeccycle aspects only.";
-    }
-    grouping local-class {
-        leaf local-id {
-            type string;
-            description "none";
-        }
-        list name {
-            key 'value-name';
-            uses name-and-value;
-            description "List of names. A property of an entity with a value that is unique in some namespace but may change during the life of the entity. A name carries no semantics with respect to the purpose of the entity.";
-        }
-        description "The TAPI GlobalComponent serves as the super class for all TAPI entities that can be directly retrieved by their ID. As such, these are first class entities and their ID is expected to be globally unique. ";
-    }
-    grouping operational-state-pac {
-        leaf operational-state {
-            type operational-state;
-            config false;
-            description "none";
-        }
-        leaf lifecycle-state {
-            type lifecycle-state;
-            config false;
-            description "none";
-        }
-        description "Provides state attributes that are applicable to an entity that reflects operational aspects. Such an entity is expected to also have lifecycle aspects.";
-    }
-    container context {
-        uses tapi-context;
-        presence "Root container for all TAPI interaction";
-        description "none";
-    }
-    grouping tapi-context {
-        list service-interface-point {
-            key 'uuid';
-            uses service-interface-point;
-            description "none";
-        }
-        uses global-class;
-        description "The Network Control Domain (NCD) object class represents the scope of control that a particular SDN controller has with respect to a particular network, (i.e., encompassing a designated set of interconnected (virtual) network elements).";
-    }
-    grouping resource-spec {
-        uses global-class;
-        description "none";
-    }
-    grouping service-spec {
-        uses global-class;
-        description "none";
-    }
-    grouping service-interface-point {
-        leaf layer-protocol-name {
-            type layer-protocol-name;
-            config false;
-            description "Usage of layerProtocolName [>1]  in the ServiceInterfacePoint should be considered experimental";
-        }
-        leaf-list supported-layer-protocol-qualifier {
-            type layer-protocol-qualifier;
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        uses resource-spec;
-        uses admin-state-pac;
-        uses capacity-pac;
-        description "The LogicalTerminationPoint (LTP) object class encapsulates the termination and adaptation functions of one or more transport layers.
-            The structure of LTP supports all transport protocols including circuit and packet forms.";
-    }
-    grouping capacity-pac {
-        container total-potential-capacity {
-            config false;
-            uses capacity;
-            description "An optimistic view of the capacity of the TopologicalEntity assuming that any shared capacity is available to be taken.";
-        }
-        container available-capacity {
-            config false;
-            uses capacity;
-            description "Capacity available to be assigned.";
-        }
-        description "The TopologicalEntity derives capacity from the underlying realization.
-            A TopologicalEntity may be an abstraction and virtualization of a subset of the underlying capability offered in a view or may be directly reflecting the underlying realization.
-            A TopologicalEntity may be directly used in the view or may be assigned to another view for use.
-            The clients supported by a multi-layer TopologicalEntity may interact such that the resources used by one client may impact those available to another. This is derived from the LTP spec details.
-            Represents the capacity available to user (client) along with client interaction and usage.
-            A TopologicalEntity may reflect one or more client protocols and one or more members for each profile.";
-    }
-    grouping termination-pac {
-        leaf termination-direction {
-            type termination-direction;
-            config false;
-            description "The overall directionality of the LP.
-                - A BIDIRECTIONAL LP will have some SINK and/or SOURCE flowss.
-                - A SINK LP can only contain elements with SINK flows or CONTRA_DIRECTION_SOURCE flows
-                - A SOURCE LP can only contain SOURCE flows or CONTRA_DIRECTION_SINK flows";
-        }
-        leaf termination-state {
-            type termination-state;
-            config false;
-            description "Indicates whether the layer is terminated and if so how.";
-        }
-        description "Each transport layer is represented by a LayerProtocol (LP) instance. The LayerProtocol instances it can be used for controlling termination and monitoring functionality.
-            It can also be used for controlling the adaptation (i.e. encapsulation and/or multiplexing of client signal), tandem connection monitoring, traffic conditioning and/or shaping functionality at an intermediate point along a connection.
-            Where the client – server relationship is fixed 1:1 and immutable, the layers can be encapsulated in a single LTP instance. Where the is a n:1 relationship between client and server, the layers must be split over two separate instances of LTP. ";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    identity LAYER_PROTOCOL_QUALIFIER {
-        description "none";
-    }
-    typedef administrative-state {
-        type enumeration {
-            enum LOCKED {
-                description "Users are administratively prohibited from making use of the resource.";
-            }
-            enum UNLOCKED {
-                description "Users are allowed to use the resource";
-            }
-        }
-        description "The possible values of the administrativeState.";
-    }
-    typedef date-and-time {
-        type string;
-        description "This primitive type defines the date and time according to the following structure:
-            yyyyMMddhhmmss.s[Z|{+|-}HHMm] where:
-            yyyy    0000..9999    year
-            MM    01..12            month
-            dd        01..31            day
-            hh        00..23            hour
-            mm    00..59            minute
-            ss        00..59            second
-            s        .0...9            tenth of second (set to .0 if EMS or NE cannot support this granularity)
-            Z        Z                indicates UTC (rather than local time)
-            {+|-}    + or -            delta from UTC
-            HH        00..23            time zone difference in hours
-            Mm    00..59            time zone difference in minutes.";
-    }
-    typedef directive-value {
-        type enumeration {
-            enum MINIMIZE {
-                description "none";
-            }
-            enum MAXIMIZE {
-                description "none";
-            }
-            enum ALLOW {
-                description "none";
-            }
-            enum DISALLOW {
-                description "none";
-            }
-            enum DONT_CARE {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef forwarding-direction {
-        type enumeration {
-            enum BIDIRECTIONAL {
-                description "The Fowarding entity supports both BIDIRECTIONAL flows at all Ports (i.e. all Ports have both an INPUT flow and an OUTPUT flow defined)";
-            }
-            enum UNIDIRECTIONAL {
-                description "The Forwarding entity has Ports that are either INPUT or OUTPUT. It has no BIDIRECTIONAL Ports.";
-            }
-            enum UNDEFINED_OR_UNKNOWN {
-                description "Not a normal state. The system is unable to determine the correct value.";
-            }
-        }
-        description "The directionality of a Forwarding entity.";
-    }
-    typedef layer-protocol-name {
-        type enumeration {
-            enum ODU {
-                description "Models the ODU layer as per ITU-T G.872";
-            }
-            enum ETH {
-                description "Models the ETH layer as per ITU-T G.8010";
-            }
-            enum DSR {
-                description "Models a Digital Signal of an unspecified rate. This value can be used when the intent is to respresent an generic digital layer signal without making any statement on its format or overhead (processing) capabilities.";
-            }
-            enum PHOTONIC_MEDIA {
-                description "Models the OCH, OTSi, OTSiA, OTSiG, OMS, OTS and Media channels as per ITU-T G.872 (2017) version 4";
-            }
-        }
-        description "Provides a controlled list of layer protocol names and indicates the naming authority.
-            Note that it is expected that attributes will be added to this structure to convey the naming authority name, the name of the layer protocol using a human readable string and any particular standard reference.
-            Layer protocol names include:
-            -    Layer 1 (L1): OTU, ODU
-            -    Layer 2 (L2): Carrier Grade Ethernet (ETY, ETH), MPLS-TP (MT)
-            ";
-    }
-    typedef lifecycle-state {
-        type enumeration {
-            enum PLANNED {
-                description "The resource is planned but is not present in the network.";
-            }
-            enum POTENTIAL_AVAILABLE {
-                description "The supporting resources are present in the network but are shared with other clients; or require further configuration before they can be used; or both.
-                    o    When a potential resource is configured and allocated to a client it is moved to the installed state for that client.
-                    o    If the potential resource has been consumed (e.g. allocated to another client) it is moved to the planned state for all other clients.";
-            }
-            enum POTENTIAL_BUSY {
-                description "The supporting resources are present in the network but are shared with other clients; or require further configuration before they can be used; or both.
-                    o    When a potential resource is configured and allocated to a client it is moved to the installed state for that client.
-                    o    If the potential resource has been consumed (e.g. allocated to another client) it is moved to the planned state for all other clients.";
-            }
-            enum INSTALLED {
-                description "The resource is present in the network and is capable of providing the service expected.";
-            }
-            enum PENDING_REMOVAL {
-                description "The resource has been marked for removal";
-            }
-        }
-        description "The possible values of the lifecycleState.";
-    }
-    grouping name-and-value {
-        leaf value-name {
-            type string;
-            description "The name of the value. The value need not have a name.";
-        }
-        leaf value {
-            type string;
-            description "The value";
-        }
-        description "A scoped name-value pair";
-    }
-    typedef operational-state {
-        type enumeration {
-            enum DISABLED {
-                description "The resource is unable to meet the SLA of the user of the resource. If no (explicit) SLA is defined the resource is disabled if it is totally inoperable and unable to provide service to the user.";
-            }
-            enum ENABLED {
-                description "The resource is partially or fully operable and available for use";
-            }
-        }
-        description "The possible values of the operationalState.";
-    }
-    typedef port-direction {
-        type enumeration {
-            enum BIDIRECTIONAL {
-                description "The Port has both an INPUT flow and an OUTPUT flow defined.";
-            }
-            enum INPUT {
-                description "The Port only has definition for a flow into the Forwarding entity (i.e. an ingress flow).";
-            }
-            enum OUTPUT {
-                description "The Port only has definition for a flow out of the Forwarding entity (i.e. an egress flow).";
-            }
-            enum UNIDENTIFIED_OR_UNKNOWN {
-                description "Not a normal state. The system is unable to determine the correct value.";
-            }
-        }
-        description "The orientation of flow at the Port of a Forwarding entity";
-    }
-    typedef port-role {
-        type enumeration {
-            enum SYMMETRIC {
-                description "none";
-            }
-            enum ROOT {
-                description "none";
-            }
-            enum LEAF {
-                description "none";
-            }
-            enum TRUNK {
-                description "none";
-            }
-            enum UNKNOWN {
-                description "none";
-            }
-        }
-        description "The role of an end in the context of the function of the forwarding entity that it bounds";
-    }
-    typedef termination-direction {
-        type enumeration {
-            enum BIDIRECTIONAL {
-                description "A Termination with both SINK and SOURCE flows.";
-            }
-            enum SINK {
-                description "The flow is up the layer stack from the server side to the client side.
-                    Considering an example of a Termination function within the termination entity, a SINK flow:
-                    - will arrive at at the base of the termination function (the server side) where it is essentially at an INPUT to the termination component
-                    - then will be decoded and deconstructed
-                    - then relevant parts of the flow will be sent out of the termination function (the client side) where it is essentially at an OUTPUT from the termination component
-                    A SINK termination is one that only supports a SINK flow.
-                    A SINK termiation can be bound to an OUTPUT Port of a Forwarding entity";
-            }
-            enum SOURCE {
-                description "The flow is down the layer stack from the server side to the client side.
-                    Considering an example of a Termination function within the termination entity, a SOURCE flow:
-                    - will arrive at at the top of the termination function (the client side) where it is essentially at an INPUT to the termination component
-                    - then will be assembled with various overheads etc and will be coded
-                    - then coded form of the assembly of flow will be sent out of the termination function (the server side) where it is essentially at an OUTPUT from the termination component
-                    A SOURCE termination is one that only supports a SOURCE flow.
-                    A SOURCE termiation can be bound to an INPUT Port of a Forwarding entity";
-            }
-            enum UNDEFINED_OR_UNKNOWN {
-                description "Not a normal state. The system is unable to determine the correct value.";
-            }
-        }
-        description "The directionality of a termination entity";
-    }
-    typedef termination-state {
-        type enumeration {
-            enum LP_CAN_NEVER_TERMINATE {
-                description "A non-flexible case that can never be terminated.";
-            }
-            enum LT_NOT_TERMINATED {
-                description "A flexible termination that can terminate but is currently not terminated.";
-            }
-            enum TERMINATED_SERVER_TO_CLIENT_FLOW {
-                description "A flexible termination that is currently terminated for server to client flow only.";
-            }
-            enum TERMINATED_CLIENT_TO_SERVER_FLOW {
-                description "A flexible termination that is currently terminated for client to server flow only.";
-            }
-            enum TERMINATED_BIDIRECTIONAL {
-                description "A flexible termination that is currently terminated in both directions of flow.";
-            }
-            enum LT_PERMENANTLY_TERMINATED {
-                description "A non-flexible termination that is always terminated (in both directions of flow for a bidirectional case and in the one direction of flow for both unidirectional cases).";
-            }
-            enum TERMINATION_STATE_UNKNOWN {
-                description "There TerminationState cannot be determined.";
-            }
-        }
-        description "Provides support for the range of behaviours and specific states that an LP can take with respect to termination of the signal.
-            Indicates to what degree the LayerTermination is terminated.";
-    }
-    typedef uuid {
-        type string;
-        description "The univeral ID value where the mechanism for generation is defned by some authority not directly referenced in the structure.
-            UUID here uses string representation as defined in RFC 4122.  The canonical representation uses lowercase characters.
-            Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-' + '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
-            Example of a UUID in string representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6";
-    }
-    grouping capacity {
-        container total-size {
-            uses capacity-value;
-            description "Total capacity of the TopologicalEntity in MB/s. In case of bandwidthProfile, this is expected to same as the committedInformationRate.";
-        }
-        container bandwidth-profile {
-            uses bandwidth-profile;
-            description "none";
-        }
-        description "Information on capacity of a particular TopologicalEntity.";
-    }
-    grouping bandwidth-profile {
-        leaf bw-profile-type {
-            type bandwidth-profile-type;
-            description "none";
-        }
-        container committed-information-rate {
-            uses capacity-value;
-            description "none";
-        }
-        container committed-burst-size {
-            uses capacity-value;
-            description "none";
-        }
-        container peak-information-rate {
-            uses capacity-value;
-            description "none";
-        }
-        container peak-burst-size {
-            uses capacity-value;
-            description "none";
-        }
-        leaf color-aware {
-            type boolean;
-            description "none";
-        }
-        leaf coupling-flag {
-            type boolean;
-            description "none";
-        }
-        description "none";
-    }
-    grouping capacity-value {
-        leaf value {
-            type uint64;
-            description "none";
-        }
-        leaf unit {
-            type capacity-unit;
-            description "none";
-        }
-        description "The Capacity (Bandwidth) values that are applicable for digital layers.";
-    }
-    typedef capacity-unit {
-        type enumeration {
-            enum TB {
-                description "Indicates that the integer CapacityValue is in TeraBytes";
-            }
-            enum TBPS {
-                description "Indicates that the integer CapacityValue is in Terabit-per-second";
-            }
-            enum GB {
-                description "Indicates that the integer CapacityValue is in GigaBytes";
-            }
-            enum GBPS {
-                description "Indicates that the integer CapacityValue is in Gigabit-per-second";
-            }
-            enum MB {
-                description "Indicates that the integer CapacityValue is in MegaBytes";
-            }
-            enum MBPS {
-                description "Indicates that the integer CapacityValue is in Megabit-per-second";
-            }
-            enum KB {
-                description "Indicates that the integer CapacityValue is in KiloBytes";
-            }
-            enum KBPS {
-                description "Indicates that the integer CapacityValue is in Kilobit-per-second";
-            }
-            enum GHz {
-                description "none";
-            }
-            enum MHz {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef bandwidth-profile-type {
-        type enumeration {
-            enum MEF_10.x {
-                description "none";
-            }
-            enum RFC_2697 {
-                description "none";
-            }
-            enum RFC_2698 {
-                description "none";
-            }
-            enum RFC_4115 {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    grouping time-range {
-        leaf end-time {
-            type date-and-time;
-            description "none";
-        }
-        leaf start-time {
-            type date-and-time;
-            description "none";
-        }
-        description "none";
-    }
-    grouping time-period {
-        leaf value {
-            type uint64;
-            description "none";
-        }
-        leaf unit {
-            type time-unit;
-            description "none";
-        }
-        description "none";
-    }
-    typedef time-unit {
-        type enumeration {
-            enum YEARS {
-                description "none";
-            }
-            enum MONTHS {
-                description "none";
-            }
-            enum DAYS {
-                description "none";
-            }
-            enum HOURS {
-                description "none";
-            }
-            enum MINUTES {
-                description "none";
-            }
-            enum SECONDS {
-                description "none";
-            }
-            enum MILLISECONDS {
-                description "none";
-            }
-            enum MICROSECONDS {
-                description "none";
-            }
-            enum NANOSECONDS {
-                description "none";
-            }
-            enum PICOSECONDS {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    grouping time-interval {
-        list period {
-            key 'unit';
-            min-elements 1;
-            max-elements 5;
-            uses time-period;
-            description "none";
-        }
-        description "none";
-    }
-    typedef layer-protocol-qualifier {
-        type identityref {
-            base LAYER_PROTOCOL_QUALIFIER;
-        }
-        description "This enumeration is used to qualify the sub-layers (if applicable) for a specific LayerProtocol.
-            This extensible enumeration is intentionally empty in the common module and will be augmented with layer-specific values in the respective technology-specific modules.
-            Examples:
-            - LayerProtocolName := OPTICAL_DATA_UNIT
-            LayerProtocolQualifier := 'ODU_FLEX', 'ODU_0', 'ODU_1', 'ODU_2', 'ODU_2E', 'ODU_3', 'ODU_4'', 'ODU_CBR'', 'ODU_GFP'', 'ODU_GFP_HAO', etc
-            - LayerProtocolName := DIGITAL_SIGNAL_RATE
-            LayerProtocolQualifier := 'GBE', '10_GBE_WAN', '10_GBE_LAN', '100_GBE', 'FC_100', 'FC_200', 'FC_400', 'FC_800', 'FC_1200', 'FC_1600', 'FC_3200', 'STM_1', 'STM_4', 'STM_16', 'STM_64', 'STM_256', 'OC_3', 'OC_12', 'OC_48', 'OC_192', 'OC_768', 'OTU_1', 'OTU_2', 'OTU_2E', 'OTU_3', 'OTU_4', 'GPON', 'XGPON', 'IB_SDR', 'IB_DDR', 'IB_QDR', 'SBCON_ESCON', 'DVB_ASI', 'SDI', 'SDI_1G5', 'SDI_3G', etc
-            - LayerProtocolName := PHOTONIC_MEDIA
-            LayerProtocolQualifier := OCH, OTSi, OTSiA, NMC, NMCA, SMC, SMCA, OMS, OTS
-            ";
-    }
-
-   /**************************
-    * package interfaces
-    **************************/
-    rpc get-service-interface-point-details {
-        description "none";
-        input {
-            leaf sip-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container sip {
-                uses service-interface-point;
-                description "none";
-            }
-        }
-    }
-    rpc get-service-interface-point-list {
-        description "none";
-        output {
-            list sip {
-                key 'uuid';
-                uses service-interface-point;
-                description "none";
-            }
-        }
-    }
-    rpc update-service-interface-point {
-        description "none";
-        input {
-            leaf sip-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf state {
-                type administrative-state;
-                description "none";
-            }
-        }
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-connectivity@2018-12-10.yang b/tapimodels/src/main/yang/tapi-connectivity@2018-12-10.yang
deleted file mode 100644 (file)
index 9727852..0000000
+++ /dev/null
@@ -1,761 +0,0 @@
-module tapi-connectivity {
-    namespace "urn:onf:otcc:yang:tapi-connectivity";
-    prefix tapi-connectivity;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    import tapi-topology {
-        prefix tapi-topology;
-    }
-    import tapi-path-computation {
-        prefix tapi-path-computation;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI Connectivity Model definitions.
-        Source: TapiConnectivity.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context" {
-        container connectivity-context {
-            uses connectivity-context;
-            description "Augments the base TAPI Context with ConnectivityService information";
-        }
-        description "Augments the base TAPI Context with ConnectivityService information";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
-        container cep-list {
-            uses cep-list;
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * definitions of references
-    **************************/
-    grouping connectivity-service-ref {
-        leaf connectivity-service-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connectivity-service/tapi-connectivity:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping connectivity-service-end-point-ref {
-        uses connectivity-service-ref;
-        leaf connectivity-service-end-point-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point/tapi-connectivity:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping connection-end-point-ref {
-        uses tapi-topology:node-edge-point-ref;
-        leaf connection-end-point-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point/tapi-connectivity:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping connection-ref {
-        leaf connection-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connection/tapi-connectivity:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping switch-control-ref {
-        uses connection-ref;
-        leaf switch-control-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connection/tapi-connectivity:switch-control/tapi-connectivity:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping route-ref {
-        uses connection-ref;
-        leaf route-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connection/tapi-connectivity:route/tapi-connectivity:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping connection {
-        list connection-end-point {
-            uses connection-end-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid connection-end-point-uuid';
-            config false;
-            min-elements 2;
-            description "none";
-        }
-        list lower-connection {
-            uses connection-ref;
-            key 'connection-uuid';
-            config false;
-            description "An Connection object supports a recursive aggregation relationship such that the internal construction of an Connection can be exposed as multiple lower level Connection objects (partitioning).
-                Aggregation is used as for the Node/Topology  to allow changes in hierarchy.
-                Connection aggregation reflects Node/Topology aggregation.
-                The FC represents a Cross-Connection in an NE. The Cross-Connection in an NE is not necessarily the lowest level of FC partitioning.";
-        }
-        list supported-client-link {
-            uses tapi-topology:link-ref;
-            key 'topology-uuid link-uuid';
-            config false;
-            description "none";
-        }
-        list route {
-            key 'local-id';
-            config false;
-            uses route;
-            description "none";
-        }
-        list switch-control {
-            key 'uuid';
-            config false;
-            uses switch-control;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:forwarding-direction;
-            config false;
-            description "none";
-        }
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:operational-state-pac;
-        description "The ForwardingConstruct (FC) object class models enabled potential for forwarding between two or more LTPs and like the LTP supports any transport protocol including all circuit and packet forms.
-            At the lowest level of recursion, a FC represents a cross-connection within an NE.";
-    }
-    grouping connection-end-point {
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        leaf layer-protocol-qualifier {
-            type tapi-common:layer-protocol-qualifier;
-            config false;
-            description "none";
-        }
-        container parent-node-edge-point {
-            uses tapi-topology:node-edge-point-ref;
-            config false;
-            description "none";
-        }
-        list client-node-edge-point {
-            uses tapi-topology:node-edge-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid';
-            config false;
-            description "none";
-        }
-        list aggregated-connection-end-point {
-            uses connection-end-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid connection-end-point-uuid';
-            config false;
-            description "none";
-        }
-        leaf connection-port-direction {
-            type tapi-common:port-direction;
-            config false;
-            description "The orientation of defined flow at the EndPoint.";
-        }
-        leaf connection-port-role {
-            type tapi-common:port-role;
-            config false;
-            description "Each EP of the FC has a role (e.g., working, protection, protected, symmetric, hub, spoke, leaf, root)  in the context of the FC with respect to the FC function. ";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:operational-state-pac;
-        uses tapi-common:termination-pac;
-        description "The LogicalTerminationPoint (LTP) object class encapsulates the termination and adaptation functions of one or more transport layers.
-            The structure of LTP supports all transport protocols including circuit and packet forms.";
-    }
-    grouping connectivity-constraint {
-        leaf service-layer {
-            type tapi-common:layer-protocol-name;
-            description "none";
-        }
-        leaf service-type {
-            type service-type;
-            description "none";
-        }
-        leaf service-level {
-            type string;
-            description "An abstract value the meaning of which is mutually agreed – typically represents metrics such as - Class of service, priority, resiliency, availability";
-        }
-        container requested-capacity {
-            uses tapi-common:capacity;
-            description "none";
-        }
-        leaf connectivity-direction {
-            type tapi-common:forwarding-direction;
-            description "none";
-        }
-        container schedule {
-            uses tapi-common:time-range;
-            description "none";
-        }
-        container coroute-inclusion {
-            uses connectivity-service-ref;
-            description "none";
-        }
-        list diversity-exclusion {
-            uses connectivity-service-ref;
-            key 'connectivity-service-uuid';
-            description "none";
-        }
-        description "none";
-    }
-    grouping connectivity-service {
-        list end-point {
-            key 'local-id';
-            min-elements 2;
-            uses connectivity-service-end-point;
-            description "none";
-        }
-        list connection {
-            uses connection-ref;
-            key 'connection-uuid';
-            config false;
-            description "none";
-        }
-        uses tapi-common:service-spec;
-        uses connectivity-constraint;
-        uses tapi-path-computation:routing-constraint;
-        uses tapi-path-computation:topology-constraint;
-        uses resilience-constraint;
-        uses tapi-common:admin-state-pac;
-        description "The ForwardingConstruct (FC) object class models enabled potential for forwarding between two or more LTPs and like the LTP supports any transport protocol including all circuit and packet forms.
-            At the lowest level of recursion, a FC represents a cross-connection within an NE.";
-    }
-    grouping connectivity-service-end-point {
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            description "none";
-        }
-        leaf layer-protocol-qualifier {
-            type tapi-common:layer-protocol-qualifier;
-            description "none";
-        }
-        container service-interface-point {
-            uses tapi-common:service-interface-point-ref;
-            description "none";
-        }
-        list connection-end-point {
-            uses connection-end-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid connection-end-point-uuid';
-            config false;
-            description "none";
-        }
-        container capacity {
-            uses tapi-common:capacity;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:port-direction;
-            description "The orientation of defined flow at the EndPoint.";
-        }
-        leaf role {
-            type tapi-common:port-role;
-            description "Each EP of the FC has a role (e.g., working, protection, protected, symmetric, hub, spoke, leaf, root)  in the context of the FC with respect to the FC function. ";
-        }
-        leaf protection-role {
-            type protection-role;
-            description "To specify the protection role of this Port when create or update ConnectivityService.";
-        }
-        uses tapi-common:local-class;
-        uses tapi-common:admin-state-pac;
-        description "The association of the FC to LTPs is made via EndPoints.
-            The EndPoint (EP) object class models the access to the FC function.
-            The traffic forwarding between the associated EPs of the FC depends upon the type of FC and may be associated with FcSwitch object instances.
-            In cases where there is resilience the EndPoint may convey the resilience role of the access to the FC.
-            It can represent a protected (resilient/reliable) point or a protecting (unreliable working or protection) point.
-            The EP replaces the Protection Unit of a traditional protection model.
-            The ForwadingConstruct can be considered as a component and the EndPoint as a Port on that component";
-    }
-    grouping route {
-        list connection-end-point {
-            uses connection-end-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid connection-end-point-uuid';
-            config false;
-            min-elements 2;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        description "The FC Route (FcRoute) object class models the individual routes of an FC.
-            The route of an FC object is represented by a list of FCs at a lower level.
-            Note that depending on the service supported by an FC, an the FC can have multiple routes.";
-    }
-    grouping connectivity-context {
-        list connectivity-service {
-            key 'uuid';
-            uses connectivity-service;
-            description "none";
-        }
-        list connection {
-            key 'uuid';
-            config false;
-            uses connection;
-            description "none";
-        }
-        description "none";
-    }
-    grouping switch {
-        list selected-connection-end-point {
-            uses connection-end-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid connection-end-point-uuid';
-            min-elements 1;
-            description "none";
-        }
-        list selected-route {
-            uses route-ref;
-            key 'connection-uuid route-local-id';
-            min-elements 1;
-            description "none";
-        }
-        leaf selection-control {
-            type selection-control;
-            description "Degree of administrative control applied to the switch selection.";
-        }
-        leaf selection-reason {
-            type selection-reason;
-            config false;
-            description "The reason for the current switch selection.";
-        }
-        leaf switch-direction {
-            type tapi-common:port-direction;
-            description "Indicates whether the switch selects from ingress to the FC or to egress of the FC, or both.";
-        }
-        uses tapi-common:local-class;
-        description "The class models the switched forwarding of traffic (traffic flow) between FcPorts (ConnectionEndPoints) and is present where there is protection functionality in the FC (Connection).
-            If an FC exposes protection (having two or more FcPorts that provide alternative identical inputs/outputs), the FC will have one or more associated FcSwitch objects to represent the alternative flow choices visible at the edge of the FC.
-            The FC switch represents and defines a protection switch structure encapsulated in the FC.
-            Essentially performs one of the functions of the Protection Group in a traditional model. It associates to 2 or more FcPorts each playing the role of a Protection Unit.
-            One or more protection, i.e. standby/backup, FcPorts provide protection for one or more working (i.e. regular/main/preferred) FcPorts where either protection or working can feed one or more protected FcPort.
-            The switch may be used in revertive or non-revertive (symmetric) mode. When in revertive mode it may define a waitToRestore time.
-            It may be used in one of several modes including source switch, destination switched, source and destination switched etc (covering cases such as 1+1 and 1:1).
-            It may be locked out (prevented from switching), force switched or manual switched.
-            It will indicate switch state and change of state.
-            The switch can be switched away from all sources such that it becomes open and hence two coordinated switches can both feed the same LTP so long as at least one of the two is switched away from all sources (is 'open').
-            The ability for a Switch to be 'high impedance' allows bidirectional ForwardingConstructs to be overlaid on the same bidirectional LTP where the appropriate control is enabled to prevent signal conflict.
-            This ability allows multiple alternate routes to be present that otherwise would be in conflict.";
-    }
-    grouping switch-control {
-        list sub-switch-control {
-            uses switch-control-ref;
-            key 'connection-uuid switch-control-uuid';
-            description "none";
-        }
-        list switch {
-            key 'local-id';
-            uses switch;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        uses resilience-constraint;
-        description "Represents the capability to control and coordinate switches, to add/delete/modify FCs and to add/delete/modify LTPs/LPs so as to realize a protection scheme.";
-    }
-    grouping resilience-constraint {
-        container resilience-type {
-            uses tapi-topology:resilience-type;
-            description "none";
-        }
-        leaf restoration-coordinate-type {
-            type coordinate-type;
-            description " The coordination mechanism between multi-layers.";
-        }
-        leaf restore-priority {
-            type uint64;
-            description "none";
-        }
-        leaf reversion-mode {
-            type reversion-mode;
-            description "Indcates whether the protection scheme is revertive or non-revertive.";
-        }
-        leaf wait-to-revert-time {
-            type uint64;
-            default "15";
-            description "If the protection system is revertive, this attribute specifies the time, in minutes, to wait after a fault clears on a higher priority (preferred) resource before reverting to the preferred resource.";
-        }
-        leaf hold-off-time {
-            type uint64;
-            description "This attribute indicates the time, in milliseconds, between declaration of signal degrade or signal fail, and the initialization of the protection switching algorithm.";
-        }
-        leaf is-lock-out {
-            type boolean;
-            description "The resource is configured to temporarily not be available for use in the protection scheme(s) it is part of.
-                This overrides all other protection control states including forced.
-                If the item is locked out then it cannot be used under any circumstances.
-                Note: Only relevant when part of a protection scheme.";
-        }
-        leaf is-frozen {
-            type boolean;
-            description "Temporarily prevents any switch action to be taken and, as such, freezes the current state.
-                Until the freeze is cleared, additional near-end external commands are rejected and fault condition changes and received APS messages are ignored.
-                All administrative controls of any aspect of protection are rejected.";
-        }
-        leaf is-coordinated-switching-both-ends {
-            type boolean;
-            description "Is operating such that switching at both ends of each flow acorss the FC is coordinated at both ingress and egress ends.";
-        }
-        leaf max-switch-times {
-            type uint64;
-            description "Used to limit the maximum swtich times. When work fault disappears , and traffic return to the original work path, switch counter reset.";
-        }
-        leaf-list preferred-restoration-layer {
-            type tapi-common:layer-protocol-name;
-            description "Indicate which layer this resilience parameters package configured for.";
-        }
-        description "A list of control parameters to apply to a switch.";
-    }
-    grouping cep-list {
-        list connection-end-point {
-            key 'uuid';
-            uses connection-end-point;
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    typedef service-type {
-        type enumeration {
-            enum POINT_TO_POINT_CONNECTIVITY {
-                description "none";
-            }
-            enum POINT_TO_MULTIPOINT_CONNECTIVITY {
-                description "none";
-            }
-            enum MULTIPOINT_CONNECTIVITY {
-                description "none";
-            }
-            enum ROOTED_MULTIPOINT_CONNECTIVITY {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef reversion-mode {
-        type enumeration {
-            enum REVERTIVE {
-                description "An FC switched to a lower priority (non-preferred) resource will revert to a higher priority (preferred) resource when that recovers (potentially after some hold-off time).";
-            }
-            enum NON-REVERTIVE {
-                description "An FC switched to a lower priority (non-preferred) resource will not revert to a higher priority (preferred) resource when that recovers.";
-            }
-        }
-        description "The reversion mode associated with protection.";
-    }
-    typedef selection-control {
-        type enumeration {
-            enum LOCK_OUT {
-                description "The resource is configured to temporarily not be available for use in the protection scheme(s) it is part of.
-                    This overrides all other protection control states including forced.
-                    If the item is locked out then it cannot be used under any circumstances.
-                    Note: Only relevant when part of a protection scheme.";
-            }
-            enum NORMAL {
-                description "none";
-            }
-            enum MANUAL {
-                description "none";
-            }
-            enum FORCED {
-                description "none";
-            }
-        }
-        description "Possible degrees of administrative control applied to the Route selection.";
-    }
-    typedef selection-reason {
-        type enumeration {
-            enum LOCKOUT {
-                description "none";
-            }
-            enum NORMAL {
-                description "none";
-            }
-            enum MANUAL {
-                description "none";
-            }
-            enum FORCED {
-                description "none";
-            }
-            enum WAIT_TO_REVERT {
-                description "none";
-            }
-            enum SIGNAL_DEGRADE {
-                description "none";
-            }
-            enum SIGNAL_FAIL {
-                description "none";
-            }
-        }
-        description "The cause of the current route selection.";
-    }
-    typedef coordinate-type {
-        type enumeration {
-            enum NO_COORDINATE {
-                description "none";
-            }
-            enum HOLD_OFF_TIME {
-                description "none";
-            }
-            enum WAIT_FOR_NOTIFICATION {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef protection-role {
-        type enumeration {
-            enum WORK {
-                description "none";
-            }
-            enum PROTECT {
-                description "none";
-            }
-            enum PROTECTED {
-                description "none";
-            }
-            enum NA {
-                description "none";
-            }
-            enum WORK_RESTORE {
-                description "none";
-            }
-            enum PROTECT_RESTORE {
-                description "none";
-            }
-        }
-        description "none";
-    }
-
-   /**************************
-    * package interfaces
-    **************************/
-    rpc get-connection-details {
-        description "none";
-        input {
-            leaf connection-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container connection {
-                uses connection;
-                description "none";
-            }
-        }
-    }
-    rpc get-connectivity-service-list {
-        description "none";
-        output {
-            list service {
-                key 'uuid';
-                uses connectivity-service;
-                description "none";
-            }
-        }
-    }
-    rpc get-connectivity-service-details {
-        description "none";
-        input {
-            leaf service-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses connectivity-service;
-                description "none";
-            }
-        }
-    }
-    rpc create-connectivity-service {
-        description "none";
-        input {
-            list end-point {
-                key 'local-id';
-                min-elements 2;
-                uses connectivity-service-end-point;
-                description "none";
-            }
-            container connectivity-constraint {
-                uses connectivity-constraint;
-                description "none";
-            }
-            container routing-constraint {
-                uses tapi-path-computation:routing-constraint;
-                description "none";
-            }
-            container topology-constraint {
-                uses tapi-path-computation:topology-constraint;
-                description "none";
-            }
-            container resilience-constraint {
-                uses resilience-constraint;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses connectivity-service;
-                description "none";
-            }
-        }
-    }
-    rpc update-connectivity-service {
-        description "none";
-        input {
-            leaf service-id-or-name {
-                type string;
-                description "none";
-            }
-            list end-point {
-                key 'local-id';
-                uses connectivity-service-end-point;
-                description "none";
-            }
-            container connectivity-constraint {
-                uses connectivity-constraint;
-                description "none";
-            }
-            container routing-constraint {
-                uses tapi-path-computation:routing-constraint;
-                description "none";
-            }
-            container topology-constraint {
-                uses tapi-path-computation:topology-constraint;
-                description "none";
-            }
-            container resilience-constraint {
-                uses resilience-constraint;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses connectivity-service;
-                description "none";
-            }
-        }
-    }
-    rpc delete-connectivity-service {
-        description "none";
-        input {
-            leaf service-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-    }
-    rpc get-connection-end-point-details {
-        description "none";
-        input {
-            leaf topology-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf node-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf nep-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf cep-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container connection-end-point {
-                uses connection-end-point;
-                description "none";
-            }
-        }
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-dsr@2018-12-10.yang b/tapimodels/src/main/yang/tapi-dsr@2018-12-10.yang
deleted file mode 100644 (file)
index d9cc0bc..0000000
+++ /dev/null
@@ -1,225 +0,0 @@
-module tapi-dsr {
-    namespace "urn:onf:otcc:yang:tapi-dsr";
-    prefix tapi-dsr;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI DSR Model definitions.
-        Source: TapiDsr.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    identity DIGITAL_SIGNAL_TYPE {
-        base tapi-common:LAYER_PROTOCOL_QUALIFIER;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_GigE {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_10_GigE_LAN {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_10_GigE_WAN {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_40_GigE {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_100_GigE {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_FC_100 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_FC_200 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_FC_400 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_FC_800 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_FC_1200 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_FC_1600 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_FC_3200 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_STM_1 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_STM_4 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_STM_16 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_STM_64 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_STM_256 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OC_3 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OC_12 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OC_48 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OC_192 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OC_768 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OTU_1 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OTU_2 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OTU_2E {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OTU_3 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_OTU_4 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_GPON {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_XGPON {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_IB_SDR {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_IB_DDR {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_IB_QDR {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_SBCON_ESCON {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_DVB_ASI {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_SDI {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_SDI_1G5 {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    identity DIGITAL_SIGNAL_TYPE_SDI_3G {
-        base DIGITAL_SIGNAL_TYPE;
-        description "none";
-    }
-    typedef digital-signal-type {
-        type identityref {
-            base DIGITAL_SIGNAL_TYPE;
-        }
-        description "none";
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-eth@2018-12-10.yang b/tapimodels/src/main/yang/tapi-eth@2018-12-10.yang
deleted file mode 100644 (file)
index fdca157..0000000
+++ /dev/null
@@ -1,1904 +0,0 @@
-module tapi-eth {
-    namespace "urn:onf:otcc:yang:tapi-eth";
-    prefix tapi-eth;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    import tapi-topology {
-        prefix tapi-topology;
-    }
-    import tapi-connectivity {
-        prefix tapi-connectivity;
-    }
-    import tapi-oam {
-        prefix tapi-oam;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "This module contains TAPI ETH Model definitions.
-        Source: TapiEth.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container eth-connection-end-point-spec {
-            uses eth-connection-end-point-spec;
-            description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
-        }
-        description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
-        container eth-loopback-job {
-            uses eth-loopback-job;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg" {
-        container eth-meg-spec {
-            uses eth-meg-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mep" {
-        container eth-mep-spec {
-            uses eth-mep-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mip" {
-        container eth-mip-spec {
-            uses eth-mip-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
-        container eth-pro-active-2way-measurement-job {
-            uses eth-pro-active-2way-measurement-job;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
-        container eth-link-trace-job {
-            uses eth-link-trace-job;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
-        container eth-test-job {
-            uses eth-test-job;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
-        container eth-pro-active-1way-measurement-job {
-            uses eth-pro-active-1way-measurement-job;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-pro-active-dm-performance-data {
-            uses eth-pro-active-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-pro-active-dm-performance-data {
-            uses eth-pro-active-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-pro-active-lm-performance-data {
-            uses eth-pro-active-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-pro-active-lm-performance-data {
-            uses eth-pro-active-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-on-demand-dm-performance-data {
-            uses eth-on-demand-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-on-demand-1-lm-performance-data {
-            uses eth-on-demand-1-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-on-demand-1-dm-performance-data {
-            uses eth-on-demand-1-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-pro-active-1-dm-performance-data {
-            uses eth-pro-active-1-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-pro-active-1-dm-performance-data {
-            uses eth-pro-active-1-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-pro-active-1-lm-performance-data {
-            uses eth-pro-active-1-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-pro-active-1-lm-performance-data {
-            uses eth-pro-active-1-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
-        container eth-on-demand-1way-measurement-job {
-            uses eth-on-demand-1way-measurement-job;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
-        container eth-on-demand-2way-measurement-job {
-            uses eth-on-demand-2way-measurement-job;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-on-demand-1-dm-performance-data {
-            uses eth-on-demand-1-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-on-demand-1-lm-performance-data {
-            uses eth-on-demand-1-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-on-demand-dm-performance-data {
-            uses eth-on-demand-dm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-on-demand-lm-performance-data {
-            uses eth-on-demand-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
-        container eth-on-demand-lm-performance-data {
-            uses eth-on-demand-lm-performance-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
-        container eth-1-dm-threshold-data {
-            uses eth-1-dm-threshold-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
-        container eth-1-lm-threshold-data {
-            uses eth-1-lm-threshold-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
-        container eth-dm-threshold-data {
-            uses eth-dm-threshold-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
-        container eth-lm-threshold-data {
-            uses eth-lm-threshold-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-link-trace-result-data {
-            uses eth-link-trace-result-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-test-result-data {
-            uses eth-test-result-data;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
-        container eth-loopback-result-data {
-            uses eth-loopback-result-data;
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping eth-ctp-pac {
-        leaf-list auxiliary-function-position-sequence {
-            type uint64;
-            description "This attribute indicates the positions (i.e., the relative order) of all the MEP, MIP, and TCS objects which are associated with the CTP.";
-        }
-        leaf vlan-config {
-            type uint64;
-            description "This attribute models the ETHx/ETH-m_A_So_MI_Vlan_Config information defined in G.8021.
-                range of type : -1, 0, 1..4094";
-        }
-        leaf csf-rdi-fdi-enable {
-            type boolean;
-            description "This attribute models the MI_CSFrdifdiEnable information defined in G.8021.";
-        }
-        leaf csf-report {
-            type boolean;
-            description "This attribute models the MI_CSF_Reported information defined in G.8021.
-                range of type : true, false";
-        }
-        leaf-list filter-config-snk {
-            type mac-address;
-            description "This attribute models the FilteConfig MI defined in 8.3/G.8021. It indicates the configured filter action for each of the 33 group MAC addresses for control frames. The 33 MAC addresses are:
-                01-80-C2-00-00-10,
-                01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
-                01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
-                The filter action is Pass or Block.
-                If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
-                If none of the above addresses match, the ETH_CI_D is passed.";
-        }
-        leaf mac-length {
-            type uint64;
-            default "2000";
-            description "This attribute models the MAC_Lenght MI defined in 8.6/G.8021 for the MAC Length Check process. It indicates the allowed maximum frame length in bytes.
-                range of type : 1518, 1522, 2000";
-        }
-        container filter-config {
-            uses control-frame-filter;
-            description "This attribute models the FilterConfig MI defined in section 8.3/G.8021. It indicates the configured filter action for each of the 33 group MAC addresses for control frames. The 33 MAC addresses are:
-                - All bridges address: 01-80-C2-00-00-10,
-                - Reserved addresses: 01-80-C2-00-00-00 to 01-80-C2-00-00-0F,
-                - GARP Application addresses: 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
-                The filter action is Pass or Block.
-                If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
-                If none of the above addresses match, the ETH_CI_D is passed.";
-        }
-        leaf is-ssf-reported {
-            type boolean;
-            description "This attribute provisions whether the SSF defect should be reported as fault cause or not.
-                It models the ETH-LAG_FT_Sk_MI_SSF_Reported defined in G.8021.";
-        }
-        leaf pll-thr {
-            type uint64;
-            description "This attribute provisions the threshold for the number of active ports. If the number of active ports is more than zero but less than the provisioned threshold, a cPLL (Partial Link Loss) is raised. See section 9.7.1.2 of G.8021.
-                range of type : 0..number of ports";
-        }
-        leaf actor-oper-key {
-            type uint64;
-            config false;
-            description "See 802.1AX:
-                The current operational value of the Key for the Aggregator. The administrative Key value may differ from the operational Key value for the reasons discussed in 5.6.2.
-                The meaning of particular Key values is of local significance.
-                range of type : 16 bit";
-        }
-        leaf actor-system-id {
-            type mac-address;
-            description "See 802.1AX:
-                A MAC address used as a unique identifier for the System that contains this Aggregator.";
-        }
-        leaf actor-system-priority {
-            type uint64;
-            description "See 802.1AX:
-                Indicating the priority associated with the Actors System ID.
-                range of type : 2-octet";
-        }
-        leaf collector-max-delay {
-            type uint64;
-            description "See 802.1AX:
-                The value of this attribute defines the maximum delay, in tens of microseconds, that may be imposed by the Frame Collector between receiving a frame from an Aggregator Parser, and either delivering the frame to its MAC Client or discarding the frame (see IEEE 802.1AX clause 5.2.3.1.1).
-                range of type : 16-bit";
-        }
-        leaf data-rate {
-            type uint64;
-            config false;
-            description "See 802.1AX:
-                The current data rate, in bits per second, of the aggregate link. The value is calculated as N times the data rate of a single link in the aggregation, where N is the number of active links.";
-        }
-        leaf partner-oper-key {
-            type uint64;
-            config false;
-            description "See 802.1AX:
-                The current operational value of the Key for the Aggregators current protocol Partner. If the aggregation is manually configured, this Key value will be a value assigned by the local System.
-                range of type : 16-bit";
-        }
-        leaf partner-system-id {
-            type mac-address;
-            config false;
-            description "See 802.1AX:
-                A MAC address consisting of the unique identifier for the current protocol Partner of this Aggregator. A value of zero indicates that there is no known Partner. If the aggregation is manually configured, this System ID value will be a value assigned by the local System.";
-        }
-        leaf partner-system-priority {
-            type uint64;
-            config false;
-            description "See 802.1AX:
-                Indicates the priority associated with the Partners System ID. If the aggregation is manually configured, this System Priority value will be a value assigned by the local System.
-                range of type : 2-octet";
-        }
-        leaf csf-config {
-            type csf-config;
-            description "This attribute models the combination of all CSF related MI signals (MI_CSF_Enable, MI_CSFrdifdi_Enable, MI_CSFdci_Enable) as defined in G.8021.
-                range of type : true, false";
-        }
-        container traffic-shaping {
-            uses traffic-shaping-pac;
-            description "none";
-        }
-        container traffic-conditioning {
-            uses traffic-conditioning-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-connection-end-point-spec {
-        container ety-term {
-            uses ety-termination-pac;
-            description "none";
-        }
-        container eth-term {
-            uses eth-termination-pac;
-            description "none";
-        }
-        container eth-ctp {
-            uses eth-ctp-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-termination-pac {
-        container priority-regenerate {
-            uses priority-mapping;
-            description "This attribute models the ETHx/ETH-m _A_Sk_MI_P_Regenerate information defined in G.8021.";
-        }
-        leaf ether-type {
-            type vlan-type;
-            description "This attribute models the ETHx/ETH-m _A_Sk_MI_Etype information defined in G.8021.";
-        }
-        leaf-list filter-config-1 {
-            type mac-address;
-            description "This attribute models the ETHx/ETH-m_A_Sk_MI_Filter_Config information defined in G.8021.
-                It indicates the configured filter action for each of the 33 group MAC addresses for control frames.
-                The 33 MAC addresses are:
-                01-80-C2-00-00-10,
-                01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
-                01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
-                The filter action is Pass or Block.
-                If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
-                If none of the above addresses match, the ETH_CI_D is passed.
-                range of type : MacAddress:
-                01-80-C2-00-00-10,
-                01-80-C2-00-00-00 to
-                01-80-C2-00-00-0F, and
-                01-80-C2-00-00-20 to
-                01-80-C2-00-00-2F;
-                ActionEnum:
-                PASS, BLOCK";
-        }
-        leaf frametype-config {
-            type frame-type;
-            description "This attribute models the ETHx/ETH-m_A_Sk_MI_Frametype_Config information defined in G.8021.
-                range of type : see Enumeration";
-        }
-        leaf port-vid {
-            type vid;
-            default "1";
-            description "This attribute models the ETHx/ETH-m _A_Sk_MI_PVID information defined in G.8021.";
-        }
-        leaf priority-code-point-config {
-            type pcp-coding;
-            description "This attribute models the ETHx/ETH-m _A_Sk_MI_PCP_Config information defined in G.8021.
-                range of type : see Enumeration";
-        }
-        description "This object class models the Ethernet Flow Termination function located at a layer boundary.";
-    }
-    grouping ety-termination-pac {
-        leaf is-fts-enabled {
-            type boolean;
-            description "This attribute indicates whether Forced Transmitter Shutdown (FTS) is enabled or not. It models the ETYn_TT_So_MI_FTSEnable information.";
-        }
-        leaf is-tx-pause-enabled {
-            type boolean;
-            description "This attribute identifies whether the Transmit Pause process is enabled or not. It models the MI_TxPauseEnable defined in G.8021.";
-        }
-        leaf phy-type {
-            type ety-phy-type;
-            config false;
-            description "This attribute identifies the PHY type of the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.2.";
-        }
-        leaf-list phy-type-list {
-            type ety-phy-type;
-            config false;
-            description "This attribute identifies the possible PHY types that could be supported at the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.3.";
-        }
-        description "none";
-    }
-    grouping traffic-conditioning-pac {
-        list prio-config-list {
-            key 'queue-id';
-            config false;
-            uses priority-configuration;
-            description "This attribute indicates the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
-        }
-        list cond-config-list {
-            key 'queue-id';
-            config false;
-            uses traffic-conditioning-configuration;
-            description "This attribute indicates for the conditioner process the conditioning parameters:
-                - Queue ID: Indicates the Queue ID
-                - Committed Information Rate (CIR): number of bits per second
-                - Committed Burst Size (CBS): number of bytes
-                - Excess Information Rate (EIR): number of bits per second
-                - Excess Burst Size (EBS): number of bytes
-                - Coupling flag (CF): 0 or 1
-                - Color mode (CM): color-blind and color-aware.";
-        }
-        leaf codirectional {
-            type boolean;
-            config false;
-            description "This attribute indicates the direction of the conditioner. The value of true means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the sink part of the containing CTP. The value of false means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the source part of the containing CTP.";
-        }
-        description "This object class models the ETH traffic conditioning function as defined in G.8021.
-            Basic attributes: codirectional, condConfigList, prioConfigList";
-    }
-    grouping traffic-shaping-pac {
-        list prio-config-list {
-            key 'queue-id';
-            config false;
-            uses priority-configuration;
-            description "This attribute configures the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
-        }
-        list queue-config-list {
-            key 'queue-id';
-            config false;
-            uses queue-configuration;
-            description "This attribute configures the Queue depth and Dropping threshold parameters of the Queue process. The Queue depth sets the maximum size of the queue in bytes. An incoming ETH_CI traffic unit is dropped if there is insufficient space in the queue to hold the whole unit. The Dropping threshold sets the threshold of the queue. If the queue is filled beyond this threshold, incoming ETH_CI traffic units accompanied by the ETH_CI_DE signal set are dropped.";
-        }
-        leaf sched-config {
-            type scheduling-configuration;
-            config false;
-            description "This attribute configures the scheduler process. The value of this attribute is for further study because it is for further study in G.8021.
-                Scheduler is a pointer to a Scheduler object, which is to be defined in the future (because in G.8021, this is FFS).
-                Note that the only significance of the GTCS function defined in G.8021 is the use of a common scheduler for shaping. Given that, G.8052 models the common scheduler feature by having a common value for this attribute.";
-        }
-        leaf codirectional {
-            type boolean;
-            config false;
-            description "This attribute indicates the direction of the shaping function. The value of true means that the shaping (modeled as a TCS Source according to G.8021) is associated with the source part of the containing CTP. The value of false means that the shaping (modeled as a TCS Source according to G.8021) is associated with the sink part of the containing CTP.";
-        }
-        description "This object class models the ETH traffic shaping function as defined in G.8021.
-            Basic attribute: codirectional, prioConfigList, queueConfigList, schedConfig";
-    }
-    grouping eth-meg-spec {
-        leaf client-mel {
-            type uint64;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-mep-spec {
-        container eth-mep-common {
-            uses eth-mep-common;
-            description "none";
-        }
-        container eth-mep-source-pac {
-            uses eth-mep-source;
-            description "none";
-        }
-        container eth-mep-sink {
-            uses eth-mep-sink;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-mip-spec {
-        leaf mip-mac {
-            type mac-address;
-            config false;
-            description "This attribute contains the MAC address of the MIP instance.";
-        }
-        leaf is-full-mip {
-            type boolean;
-            config false;
-            description "This attribute indicates whether the MIP is a full MIP (true) or a down-half MIP (false).";
-        }
-        description "none";
-    }
-    grouping eth-loopback-job {
-        container eth-lb-msg {
-            uses eth-oam-msg-common-pac;
-            description "none";
-        }
-        leaf number {
-            type uint64;
-            description "G.8052: This parameter specifies how many LB messages to be sent for the LB_Series process.";
-        }
-        description "This class represents the Loopback (LB) process (send a series of LB messages carrying a test pattern to a particular MEP). The termination occurs at specified stop time (schedule attribute of OamJob).
-            This class models also the 'loopback discover' process, when destinationAddress is multicast.
-            When number is greater than 1, then the process is to perform a Loopback (LB) Series process (send a series of N LB messages to a particular MEP/MIP. ";
-    }
-    grouping eth-mep-common {
-        leaf mep-mac {
-            type mac-address;
-            config false;
-            description "This attribute contains the MAC Address of the MEP.";
-        }
-        leaf is-cc-enabled {
-            type boolean;
-            description "This attribute models the MI_CC_Enable signal defined in G.8021 and configured as specified in G8051.";
-        }
-        leaf cc-period {
-            type oam-period;
-            description "This attribute models the MI_CC_Period signal defined in G.8021 and configured as specified in G8051.
-                It is the period at which the CCM message should be sent.
-                Default values are: 3.33 ms for PS, 100 ms for PM, 1 s for FM.";
-        }
-        leaf cc-priority {
-            type uint64 {
-                range "0..7";
-            }
-            default "7";
-            description "This attribute models the MI_CC_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the CCM message should be sent.";
-        }
-        leaf lck-period {
-            type oam-period;
-            description "This attribute models the MI_LCK_Period signal defined in G.8021 and configured as specified in G8051. It is the frequency at which the LCK messages should be sent.
-                range of type : 1s, 1min";
-        }
-        leaf lck-priority {
-            type uint64 {
-                range "0..7";
-            }
-            default "7";
-            description "This attribute models the MI_LCK_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the LCK messages should be sent.";
-        }
-        description "Basic attributes: adminState, clientMel, megIdentifier, mepMac
-            Continuity Check Process related attributes: ccPeriod, ccPriority, isCcEnabled
-            Lock Process related attributes: lckPeriod, lckPriority
-            This object class models the MEP functions that are common to MEP Sink and MEP Source.";
-    }
-    grouping eth-mep-sink {
-        leaf-list dm-1-priority {
-            type uint64;
-            description "This attribute indicates the list of 1DM priorities for the MepSink.";
-        }
-        leaf ais-priority {
-            type uint64 {
-                range "0..7";
-            }
-            default "7";
-            description "This attribute models the MI_AIS_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the AIS messages should be sent.";
-        }
-        leaf ais-period {
-            type oam-period;
-            description "This attribute models the MI_AIS_Period signal defined in G.8021 and configured as specified in G8051. It is the frequency at which the AIS messages should be sent.
-                range of type : 1s, 1min";
-        }
-        leaf is-csf-reported {
-            type boolean;
-            default "true";
-            description "This attribute models the MI_CSF_Reported signal defined in G.8021 and configured as specified in G8051. It configures whether the secondary failure CSF should be reported or not.";
-        }
-        leaf is-csf-rdi-fdi-enabled {
-            type boolean;
-            default "true";
-            description "This attribute models the MI_CSFrdifdiEnable signal defined in G.8021 and configured as specified in G8051.";
-        }
-        container bandwidth-report {
-            config false;
-            uses bandwidth-report;
-            description "This attribute models the content of the bandwidth report received by the MEP Sink from the peer MEP Source.";
-        }
-        leaf lm-degm {
-            type uint64;
-            default "10";
-            description "This attribute defines the number of consecutive bad seconds necessary for the 'degraded' detection. See also section 'Degraded signal defect (dDEG)' in G.8021.";
-        }
-        leaf lm-deg-thr {
-            type uint64;
-            default "30";
-            description "This attribute defines the threshold for declaring a 'bad second'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
-        }
-        leaf lm-m {
-            type uint64 {
-                range "2..10";
-            }
-            default "10";
-            description "This attribute defines the number of consecutive good seconds necessary for the clearing of 'degraded'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
-        }
-        leaf lm-tf-min {
-            type uint64;
-            description "This attribute defines the necessary number of transmitted frames to enable the detection of 'bad seconds'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
-        }
-        description "1DM related attribute: 1DmPriority
-            AIS Process related attributes: aisPeriod, aisPriority
-            Bandwidth notification Process related attribute: bandwidthReport
-            Basic attribute: peerMepRefList
-            CSF Process related attributes: isCsfRdiFdiEnabled, isCsfReported
-            Defect correlation Process related attribute: currentProblemList
-            This object class models the MEP sink function. Instance of this object class can be created and contained by ETH CTP or TTP objects.
-            It also provides the management of the dual-ended maintenance job, such as test.
-            This object contains the configuration parameters for detecting 'degraded signal' (DEG).";
-    }
-    grouping eth-mep-source {
-        leaf aps-priority {
-            type uint64 {
-                range "0..7";
-            }
-            default "7";
-            description "This attribute specifies the priority of the APS messages.
-                See section 8.1.5    APS insert process in G.8021.";
-        }
-        leaf csf-priority {
-            type uint64 {
-                range "0..7";
-            }
-            default "7";
-            description "This attribute models the MI_CSF_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the CSF messages should be sent";
-        }
-        leaf csf-period {
-            type oam-period;
-            description "This attribute models the MI_CSF_Period signal defined in G.8021 and configured as specified in G8051. It is the period at which the CSF messages should be sent.
-                range of type : 1s, 1min";
-        }
-        leaf csf-config {
-            type csf-config;
-            description "This attribute models the combination of all CSF related MI signals (MI_CSF_Enable, MI_CSFrdifdi_Enable, MI_CSFdci_Enable) as defined in G.8021.";
-        }
-        description "APS Process related attribute: apsPriority
-            Basic attribute: mepIdentifier
-            CSF Process related attributes: csfConfig, csfPeriod, csfPriority
-            Link trace related operation: linkTrace
-            Loopback related operations: loopbackDiscover, loopbackSeries, loopbackTest, loopbackTestTerminate
-            On demand measurement job control related operation: establishOnDemandDualEndedMeasurementJobSource
-            Proactive measurement job control related operation: establishProActiveDualEndedMeasurementJobSource
-            Test related operations: testInitiatorStart, testInitiatorTerminate
-            This object class models the MEP source function. Instance of this object class can be created and contained by ETH CTP or TTP objects.
-            It also provides the management of single-ended maintenance jobs, such as loopback test, loopback discover, loopback series, link trace, and dual-ended maintenance job, such as test.";
-    }
-    grouping eth-link-trace-job {
-        container eth-lt-msg {
-            uses eth-oam-operation-common-pac;
-            description "none";
-        }
-        leaf time-to-live {
-            type uint64;
-            description "G.8052: This parameter provides the Time To Live (TTL) parameter of the Link Track protocol.
-                The TTL parameter allows the receiver (MIP or MEP) of the LTM frame to determine if the frame can be terminated. TTL is decremented every time the LTM frame is relayed. LTM frame with TTL<=1 is terminated and not relayed.";
-        }
-        description "This class represents the Link Trace (LT) process for fault localization or for discovering the intermediate MIPs along the link from the MEP Source to a target MEP or MIP. An LTM frame will be sent from the MEP source to the target MEP/MIP.
-            The termination occurs at specified stop time (schedule attribute of OamJob).";
-    }
-    grouping eth-test-job {
-        container eth-test-msg {
-            uses eth-oam-msg-common-pac;
-            description "none";
-        }
-        description "This class represents the 1-way on-demand in-service or out-of-service diagnostic test. The diagnostic test includes verifying bandwidth throughput, frame loss, bit errors, etc. TST frames are transmitted.
-            The termination occurs at specified stop time (schedule attribute of OamJob).";
-    }
-    grouping eth-on-demand-measurement-job-control-sink {
-        leaf responder-mep-id {
-            type string;
-            description "none";
-        }
-        leaf source-address {
-            type mac-address;
-            description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
-        }
-        leaf priority {
-            type uint64;
-            default "7";
-            description "This attribute contains the priority of the OAM PDU frames.
-                range of type : 0, 1, 2, 3, 4, 5, 6, 7";
-        }
-        leaf test-identifier {
-            type uint64;
-            description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
-                range of type : 0..(2^32) - 1";
-        }
-        description "This object class represents an on-demand measurement job controller sink for 1-way measurements. It is created as a result of an establishOnDemandDualEndedMeasurementJobSink() operation. It is deleted either automatically after the measurement job has completed (stop time reached) and the performance data AVC notification has been sent, or by an explicit abortOnDemandMeasurementJob() operation when the measurement job is running.";
-    }
-    grouping eth-on-demand-measurement-job-control-source {
-        leaf controller-mep-id {
-            type string;
-            description "none";
-        }
-        leaf oam-pdu-generation-type {
-            type oam-pdu-generation-type;
-            description "This attribute contains the pattern that is used for the generation of OAM PDUs.";
-        }
-        leaf destination-address {
-            type mac-address;
-            description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
-        }
-        leaf priority {
-            type uint64;
-            default "7";
-            description "This attribute contains the priority of the OAM PDU frames.
-                range of type : 0, 1, 2, 3, 4, 5, 6, 7";
-        }
-        leaf message-period {
-            type message-period;
-            description "This attribute contains the frequency of the OAM message (PDU) generation within a series.
-                Note that the value 0 means that only one OAM message per measurement interval is generated.
-                range of type : See corresponding Enum.";
-        }
-        leaf repetition-period {
-            type repetition-period;
-            description "This attribute contains the time between the start of two measurement intervals. This IS applicable for the repetitive instance type and MAY be applicable for the repetitive series type.
-                Note that a value of 0 means not applicable (NA), which is for the cases of single instance, single series, or repetitive series without extra gap in between the measurement intervals (i.e., also as known as continuous series).";
-        }
-        leaf measurement-interval {
-            type uint64;
-            description "This attribute contains the discrete non overlapping periods of time (in seconds) during which measurements are performed (i.e., OAM messages are generated) and reports are gathered at the end of the measurement intervals. Note that the value 0 means a degenerated measurement interval with a single OAM message and the report is sent as immediately as possible.
-                range of type : Non-negative";
-        }
-        leaf test-identifier {
-            type uint64;
-            description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
-                Note: The attribute is not used in case of LMM/LMR measurement.
-                range of type : 0..(2^32) - 1";
-        }
-        leaf data-tlv-length {
-            type uint64;
-            description "This parameter provides the size of the optional data TLV.
-                Non-negative integer represents the number of bytes for the length of the padding TLV.
-                Notes:
-                When configuring this parameter one should be aware of the maximum allowed total frame size limitation.
-                The attribute is not used in case of 2-way loss measurement.
-                range of type : Depends on the allowed MTU size.";
-        }
-        description "Basic attributes: destinationAddress, priority
-            Measurement configuration related attributes: oamPduGenerationType, startTime, stopTime, messagePeriod, repetitionPeriod, measurementInterval
-            Optional attributes: dataTlvLength, testIdentifier
-            This object class represents an on-demand measurement job controller source for 1-way measurements. It is created as a result of an establishOnDemandDualEndedMeasurementJobSource() operation. It is deleted either automatically after the measurement job has completed (stop time reached), or by an explicit abortOnDemandMeasurementJob() operation while the measurement job is running.";
-    }
-    grouping eth-pro-active-measurement-job-control-sink {
-        leaf responder-mep-id {
-            type string;
-            description "none";
-        }
-        leaf is-enabled {
-            type boolean;
-            default "true";
-            description "This attribute identifies the state of the measurement job. If set to TRUE, the MEP performs proactive Performance Measurement.";
-        }
-        leaf source-address {
-            type mac-address;
-            description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
-        }
-        leaf test-identifier {
-            type uint64;
-            description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
-                range of type : 0..(2^32) - 1";
-        }
-        description "This object class allows the control of the proactive 1-way measurement. It is created as a part of an establishProActiveDualEndedMeasurementJobSink() operation. Lifecycle: A pre-condition of deleting the object is that the Enable attribute should have the value FALSE.";
-    }
-    grouping eth-pro-active-measurement-job-control-source {
-        leaf controller-mep-id {
-            type string;
-            description "none";
-        }
-        leaf is-enabled {
-            type boolean;
-            default "true";
-            description "This attribute identifies the state of the measurement job. If set to TRUE, the MEP performs proactive Performance Measurement.";
-        }
-        leaf destination-address {
-            type mac-address;
-            description "This attribute provides the Unicast MAC address of the intented destination.";
-        }
-        leaf priority {
-            type uint64 {
-                range "0..7";
-            }
-            default "7";
-            description "This attribute contains the priority value on which the MEP performs the measurement. When the measurement is enabled, the MEP should use this value to encode the priority of generated measurement frames. The EMF usese this value to assign the P parameter of the measurement operation.";
-        }
-        leaf period {
-            type oam-period;
-            description "This attribute indicates the period (frequency) of the measurement frame transmission.
-                range of type : 100ms, 1s, 10s";
-        }
-        leaf test-identifier {
-            type uint64;
-            description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
-                Note: The attribute is not used in case of 2-way loss measurement.
-                range of type : 0..(2^32) - 1";
-        }
-        leaf data-tlv-length {
-            type uint64;
-            description "This parameter provides the size of the optional data TLV.
-                Non-negative integer represents the number of bytes for the length of the padding TLV.
-                Notes:
-                When configuring this parameter one should be aware of the maximum allowed total frame size limitation.
-                The attribute is not used in case of 2-way loss measurement.
-                range of type : Depends on the allowed MTU size.";
-        }
-        description "This object class represents a proactive measurement job controller source for 1way measurements. It is created as a part of an establishProactiveDualEndedMeasurementJobSource() operation.";
-    }
-    grouping eth-pro-active-1-dm-performance-data {
-        container pro-active-near-end-1-dm-parameters {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the statistical near end performnace parameters.";
-        }
-        description "This object class represents the PM current data collected in a pro-active delay measurement job (using 1DM).";
-    }
-    grouping eth-pro-active-1-lm-performance-data {
-        container pro-active-near-end-1-lm-parameters {
-            uses statistical-lm-performance-parameters;
-            description "This attribute contains the statistical near end performnace parameters.";
-        }
-        description "This object class represents the PM current data collected in a pro-active loss measurement job (using 1SL).";
-    }
-    grouping eth-pro-active-dm-performance-data {
-        container pro-active-bi-dir-dm-parameters {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the statistical bidirectional performnace parameters.";
-        }
-        container pro-active-far-end-dm-parameters {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the statistical far end performnace parameters.";
-        }
-        container pro-active-near-end-dm-parameters {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the statistical near end performnace parameters.";
-        }
-        description "This object class represents the PM current data collected in a pro-active delay measurement job (using DMM/DMR).";
-    }
-    grouping eth-pro-active-lm-performance-data {
-        container pro-active-far-end-lm-parameters {
-            uses statistical-lm-performance-parameters;
-            description "This attribute contains the statistical far end performnace parameters.";
-        }
-        container pro-active-near-end-lm-parameters {
-            uses statistical-lm-performance-parameters;
-            description "This attribute contains the statistical near end performnace parameters.";
-        }
-        leaf bidirectional-uas {
-            type uint64;
-            description "This attribute contains the bidirectional UAS (unavailable seconds) detected in the monitoring interval.
-                range of type : 0..900 for 15min interval or 0..86400 for 24 hr interval.";
-        }
-        description "This object class represents the PM current data collected in a pro-active loss measurement job (using LMM/LMR or SLM/SLR).";
-    }
-    grouping eth-on-demand-1-dm-performance-data {
-        container on-demand-near-end-1-dm-parameters {
-            uses on-demand-dm-performance-parameters;
-            description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
-        }
-        description "none";
-    }
-    grouping eth-on-demand-1-lm-performance-data {
-        container on-demand-near-end-1-lm-parameters {
-            uses on-demand-lm-performance-parameters;
-            description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
-        }
-        description "none";
-    }
-    grouping eth-on-demand-dm-performance-data {
-        container on-demand-far-end-dm-parameters {
-            uses on-demand-dm-performance-parameters;
-            description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
-        }
-        container on-demand-near-end-dm-parameters {
-            uses on-demand-dm-performance-parameters;
-            description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
-        }
-        description "none";
-    }
-    grouping eth-on-demand-lm-performance-data {
-        container on-demand-far-end-lm-parameters {
-            uses on-demand-lm-performance-parameters;
-            description "This attribute contains the results of an on-demand synthetic loss measurement job in the egress direction.";
-        }
-        container on-demand-near-end-lm-parameters {
-            uses on-demand-lm-performance-parameters;
-            description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
-        }
-        description "none";
-    }
-    grouping eth-pro-active-1way-measurement-job {
-        container pro-active-control-1way-source {
-            uses eth-pro-active-measurement-job-control-source;
-            description "none";
-        }
-        container pro-active-control-1way-sink {
-            uses eth-pro-active-measurement-job-control-sink;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-pro-active-2way-measurement-job {
-        container pro-active-control-2way-source {
-            uses eth-pro-active-measurement-job-control-source;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-on-demand-2way-measurement-job {
-        container on-demand-control-2way-source {
-            uses eth-on-demand-measurement-job-control-source;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-on-demand-1way-measurement-job {
-        container on-demand-control-1way-source {
-            uses eth-on-demand-measurement-job-control-source;
-            description "none";
-        }
-        container on-demand-control-1way-sink {
-            uses eth-on-demand-measurement-job-control-sink;
-            description "none";
-        }
-        description "none";
-    }
-    grouping eth-1-dm-threshold-data {
-        container near-end-1-dm-cross-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the near end cross threshold values of the delay measurements.";
-        }
-        container near-end-1-dm-clear-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the near end clear threshold values of the delay measurements.";
-        }
-        description "This data type contains the threshold values for frame delay related 1-way measurements.";
-    }
-    grouping eth-1-lm-threshold-data {
-        container near-end-1-lm-cross-threshold {
-            uses statistical-lm-performance-parameters;
-            description "This attribute contains the near end cross threshold values of the loss measurements.";
-        }
-        container near-end-1-lm-clear-threshold {
-            uses statistical-lm-performance-parameters;
-            description "This attribute is only valid for frame loss ratio parameters and counter type parameters working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the near end clear threshold values of the loss measurements.";
-        }
-        description "This data type contains the threshold values for frame loss related 1-way measurements.";
-    }
-    grouping eth-dm-threshold-data {
-        container near-end-dm-cross-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the near end cross threshold values of the delay measurements.";
-        }
-        container near-end-dm-clear-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the near end clear threshold values of the delay measurements.";
-        }
-        container far-end-dm-cross-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the far end cross threshold values of the delay measurements.";
-        }
-        container far-end-dm-clear-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the far end clear threshold values of the delay measurements.";
-        }
-        container bi-dir-dm-cross-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the bidirectional cross threshold values of the delay measurements.";
-        }
-        container bi-dir-dm-clear-threshold {
-            uses statistical-dm-performance-parameters;
-            description "This attribute contains the bidirectional clear threshold values of the delay measurements.";
-        }
-        description "This data type contains the threshold values for frame delay related 2-way measurements.";
-    }
-    grouping eth-lm-threshold-data {
-        container near-end-lm-cross-threshold {
-            uses statistical-lm-performance-parameters;
-            description "This attribute contains the near end cross threshold values of the loss measurements.";
-        }
-        container near-end-lm-clear-threshold {
-            uses statistical-lm-performance-parameters;
-            description "This attribute is only valid for frame loss ratio parameters and counter type parameters working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the near end clear threshold values of the loss measurements.";
-        }
-        container far-end-lm-cross-threshold {
-            uses statistical-lm-performance-parameters;
-            description "This attribute contains the far end cross threshold values of the loss measurements.";
-        }
-        container far-end-lm-clear-threshold {
-            uses statistical-lm-performance-parameters;
-            description "This attribute is only valid for frame loss ratio parameters and counter type parameters working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the far end clear threshold values of the loss measurements.";
-        }
-        leaf bi-dir-lm-uas-cross-threshold {
-            type uint64;
-            description "This attribute contains the bidirectional cross threshold value of the UAS loss measurement.";
-        }
-        leaf bi-dir-lm-uas-clear-threshold {
-            type uint64;
-            description "This attribute is only valid for the UAS parameter working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the bidirectional clear threshold value of the UAS loss measurement.";
-        }
-        description "This data type contains the threshold values for frame loss related 2-way measurements.";
-    }
-    grouping eth-loopback-result-data {
-        leaf rec-lbr-frames {
-            type uint64;
-            config false;
-            description "G.8052: This parameter returns the total number of received LBR messages, including the out of order LBR frames.";
-        }
-        leaf out-of-order-lbr-frames {
-            type uint64;
-            config false;
-            description "G.8052: This parameter returns the number of LBR traffic unites (messages) that were received out of order (OO).";
-        }
-        leaf sent-lbm-frames {
-            type uint64;
-            config false;
-            description "G.8052: This parameter returns the total number of sent LBM frames.";
-        }
-        leaf crc-lbr-frames {
-            type uint64;
-            config false;
-            description "G.8052: This parameter returns the number of LBR frames where the CRC in the pattern failed.";
-        }
-        leaf ber-lbr-frames {
-            type uint64;
-            config false;
-            description "G.8052: This parameter returns the number of LBR frames where there was a bit error in the pattern.";
-        }
-        leaf-list detected-peer-mep {
-            type mac-address;
-            config false;
-            description "G.8052: This parameter returns the MAC addresses of the discovered peer MEPs of the subject MEP.";
-        }
-        description "none";
-    }
-    grouping eth-link-trace-result-data {
-        list result-list {
-            key 'source-address';
-            config false;
-            uses link-trace-result;
-            description "G.8052: This parameter returns the results of the LT process. It contains a list of the result received from the individual LTR frames.
-                The result from the individual LTR frame include the Source Mac Address, the TTL, and TLV.";
-        }
-        description "none";
-    }
-    grouping eth-test-result-data {
-        leaf sent-tst-frames {
-            type uint64;
-            config false;
-            description "G.8052: This parameter returns the total number of sent TST frames.";
-        }
-        description "none";
-    }
-    grouping eth-oam-operation-common-pac {
-        leaf destination-address {
-            type mac-address;
-            description "G.8052: This parameter provides the destination address, i.e., the MAC Address of the target MEP or MIP.";
-        }
-        leaf priority {
-            type uint64;
-            default "7";
-            description "G.8052: This parameter provides the priority to be used in the LBM frame.";
-        }
-        description "none";
-    }
-    grouping eth-oam-msg-common-pac {
-        leaf period {
-            type oam-period;
-            description "G.8052: This parameter provides the periodicity of the TST OAM messages.";
-        }
-        leaf drop-eligibility {
-            type boolean;
-            description "G.8052: This parameter provides the eligibility of frames with unicast ETH-TST information to be discarded when congestion conditions are encountered.";
-        }
-        leaf data-tlv-length {
-            type uint64;
-            description "G.8052: This parameter provides the length (in number of octet) of the optional Data TLV to be included in the TST frame.";
-        }
-        leaf test-pattern {
-            type uint64;
-            description "G.8052: This parameter provides the test pattern to be used in the optional Data TLV.
-                Examples of test patterns include pseudo-random bit sequence (PRBS) 2^31-1 as specified in clause 5.8 of [ITU-T O.150], all '0' pattern, etc.
-                The following values of pattern types are defined:
-                0: 'Null signal without CRC-32'
-                1: 'Null signal with CRC-32'
-                2: 'PRBS 2^31-1 without CRC-32'
-                3: 'PRBS 2^31-1 with CRC-32'.";
-        }
-        uses eth-oam-operation-common-pac;
-        description "none";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    identity ETH_OAM_JOB_TYPE {
-        base tapi-oam:OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_1DM {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_1SLM {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_LM_CCM {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_LM_LMM {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_SLM {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_DM {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_LTC {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_LBK {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    identity ETH_OAM_JOB_TYPE_ETH_TEST {
-        base ETH_OAM_JOB_TYPE;
-        description "none";
-    }
-    grouping priority-configuration {
-        leaf priority {
-            type uint64 {
-                range "0..7";
-            }
-            description "none";
-        }
-        leaf queue-id {
-            type uint64 {
-                range "1..8";
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping queue-configuration {
-        leaf queue-id {
-            type uint64;
-            description "This attribute indicates the queue id.";
-        }
-        leaf queue-depth {
-            type uint64;
-            description "This attribute defines the depth of the queue in bytes.";
-        }
-        leaf queue-threshold {
-            type uint64;
-            description "This attribute defines the threshold of the queue in bytes.";
-        }
-        description "none";
-    }
-    grouping traffic-conditioning-configuration {
-        leaf cir {
-            type uint64;
-            description "This attribute indicates the Committed Information Rate in bits/s.";
-        }
-        leaf cbs {
-            type uint64;
-            description "This attribute indicates the Committed Burst Size in bytes.";
-        }
-        leaf eir {
-            type uint64;
-            description "This attribute indicates the Excess Information Rate in bits/s.";
-        }
-        leaf ebs {
-            type uint64;
-            description "This attribute indicates the Excess Burst Size in bytes.";
-        }
-        leaf coupling-flag {
-            type boolean;
-            description "This attribute indicates the coupling flag.";
-        }
-        leaf colour-mode {
-            type colour-mode;
-            description "This attribute indicates the colour mode.";
-        }
-        leaf queue-id {
-            type uint64 {
-                range "1..8";
-            }
-            description "This attribute indicates the queue id.";
-        }
-        description "none";
-    }
-    typedef mac-address {
-        type string;
-        description "This primitive data type contains an Ethernet MAC address defined by IEEE 802a. The format of the address consists of 12 hexadecimal characters, grouped in pairs and separated by '-' (e.g., 03-27-AC-75-3E-1D).";
-    }
-    grouping priority-mapping {
-        leaf priority-0 {
-            type uint64 {
-                range "0..7";
-            }
-            description "This attribute defines the new priority value for the old priority value 0.";
-        }
-        leaf priority-1 {
-            type uint64 {
-                range "0..7";
-            }
-            default "1";
-            description "This attribute defines the new priority value for the old priority value 1.";
-        }
-        leaf priority-2 {
-            type uint64 {
-                range "0..7";
-            }
-            default "2";
-            description "This attribute defines the new priority value for the old priority value 2.";
-        }
-        leaf priority-3 {
-            type uint64 {
-                range "0..7";
-            }
-            default "3";
-            description "This attribute defines the new priority value for the old priority value 3.";
-        }
-        leaf priority-4 {
-            type uint64 {
-                range "0..7";
-            }
-            default "4";
-            description "This attribute defines the new priority value for the old priority value 4.";
-        }
-        leaf priority-5 {
-            type uint64 {
-                range "0..7";
-            }
-            default "5";
-            description "This attribute defines the new priority value for the old priority value 5.";
-        }
-        leaf priority-6 {
-            type uint64 {
-                range "0..7";
-            }
-            default "6";
-            description "This attribute defines the new priority value for the old priority value 6.";
-        }
-        leaf priority-7 {
-            type uint64 {
-                range "0..7";
-            }
-            default "7";
-            description "This attribute defines the new priority value for the old priority value 7.";
-        }
-        description "This data type provides the priority mapping done in the 'P Regenerate' process defined in G.8021.";
-    }
-    typedef vid {
-        type string;
-        description "This primitive type models the 12 Bit VLAN identifier of a VLAN tag.";
-    }
-    typedef modify-cross-connection-data {
-        type string;
-        description "none";
-    }
-    grouping address-tuple {
-        leaf address {
-            type mac-address;
-            description "This attribute contains the MAC address of the address tuple.";
-        }
-        leaf-list port-list {
-            type mac-address;
-            description "This attribute contains the ports associated to the MAC address in the address tuple.";
-        }
-        description "This data type contains an address tuple consisting of a MAC address and a corresponding port list.";
-    }
-    typedef scheduling-configuration {
-        type string;
-        description "The syntax of this dataType is pending on the specification in G.8021, which is for further study.";
-    }
-    grouping control-frame-filter {
-        leaf c-2-00-00-10 {
-            type boolean;
-            description "This attribute identifies the 'All LANs Bridge Management Group Address'.";
-        }
-        leaf c-2-00-00-00 {
-            type boolean;
-            description "This attribute identifies the STP/RSTP/MSTP protocol address.";
-        }
-        leaf c-2-00-00-01 {
-            type boolean;
-            description "This attribute identifies the IEEE MAC-specific Control Protocols group address (PAUSE protocol).";
-        }
-        leaf c-2-00-00-02 {
-            type boolean;
-            description "This attribute identifies the IEEE 802.3 Slow_Protocols_Multicast address (LACP/LAMP or Link OAM protocols).";
-        }
-        leaf c-2-00-00-03 {
-            type boolean;
-            description "This attribute identifies the Nearest non-TPMR Bridge group address (Port Authentication protocol).";
-        }
-        leaf c-2-00-00-04 {
-            type boolean;
-            description "This attribute identifies the IEEE MAC-specific Control Protocols group address.";
-        }
-        leaf c-2-00-00-05 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-06 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-07 {
-            type boolean;
-            description "This attribute identifies the Metro Ethernet Forum E-LMI protocol group address.";
-        }
-        leaf c-2-00-00-08 {
-            type boolean;
-            description "This attribute identifies the Provider Bridge Group address.";
-        }
-        leaf c-2-00-00-09 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-0-a {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-0-b {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-0-c {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-0-d {
-            type boolean;
-            description "This attribute identifies the Provider Bridge MVRP address.";
-        }
-        leaf c-2-00-00-0-e {
-            type boolean;
-            description "This attribute identifies the Individual LAN Scope group address, Nearest Bridge group address (LLDP protocol).";
-        }
-        leaf c-2-00-00-0-f {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-20 {
-            type boolean;
-            description "This attribute identifies the Customer and Provider Bridge MMRP address.";
-        }
-        leaf c-2-00-00-21 {
-            type boolean;
-            description "This attribute identifies the Customer Bridge MVRP address.";
-        }
-        leaf c-2-00-00-22 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-23 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-24 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-25 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-26 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-27 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-28 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-29 {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-2-a {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-2-b {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-2-c {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-2-d {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-2-e {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        leaf c-2-00-00-2-f {
-            type boolean;
-            description "Reserved for future standardization.";
-        }
-        description "This data type identifies the filter action for each of the 33 group MAC addresses (control frames).
-            Value 'false' means block: The frame is discarded by the filter process.
-            Value 'true' means pass: The frame is passed unchanged through the filter process.";
-    }
-    grouping bandwidth-report {
-        leaf source-mac-address {
-            type mac-address;
-            description "The sourceMacAddress is the address from the far end.";
-        }
-        leaf port-id {
-            type uint64;
-            description "This attribute returns the far end port identifier.";
-        }
-        leaf nominal-bandwidth {
-            type uint64;
-            description "This attribute returns the configured bandwidth";
-        }
-        leaf current-bandwidth {
-            type uint64;
-            description "This attribute returns the current bandwidth.";
-        }
-        description "Data type for the bandwidth report.";
-    }
-    typedef admin-state {
-        type enumeration {
-            enum LOCK {
-                description "none";
-            }
-            enum NORMAL {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef colour-mode {
-        type enumeration {
-            enum COLOUR_BLIND {
-                description "none";
-            }
-            enum COLOUR_AWARE {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef csf-config {
-        type enumeration {
-            enum DISABLED {
-                description "This literal covers the following states of the CSF related MI informations:
-                    - MI_CSF_Enable is false
-                    - MI_CSFrdifdi_Enable is false
-                    - MI_CSFdci_Enable is false.";
-            }
-            enum ENABLED {
-                description "This literal covers the following states of the CSF related MI informations:
-                    - MI_CSF_Enable is true
-                    - MI_CSFrdifdi_Enable is false
-                    - MI_CSFdci_Enable is false.";
-            }
-            enum ENABLED_WITH_RDI_FDI {
-                description "This literal covers the following states of the CSF related MI informations:
-                    - MI_CSF_Enable is true
-                    - MI_CSFrdifdi_Enable is true
-                    - MI_CSFdci_Enable is false.";
-            }
-            enum ENABLED_WITH_RDI_FDI_DCI {
-                description "This literal covers the following states of the CSF related MI informations:
-                    - MI_CSF_Enable is true
-                    - MI_CSFrdifdi_Enable is true
-                    - MI_CSFdci_Enable is true.";
-            }
-            enum ENABLED_WITH_DCI {
-                description "This literal covers the following states of the CSF related MI informations:
-                    - MI_CSF_Enable is true
-                    - MI_CSFrdifdi_Enable is false
-                    - MI_CSFdci_Enable is true.";
-            }
-        }
-        description "none";
-    }
-    typedef ety-phy-type {
-        type enumeration {
-            enum OTHER {
-                description "none";
-            }
-            enum UNKNOWN {
-                description "none";
-            }
-            enum NONE {
-                description "none";
-            }
-            enum 2BASE_TL {
-                description "none";
-            }
-            enum 10MBIT_S {
-                description "none";
-            }
-            enum 10PASS_TS {
-                description "none";
-            }
-            enum 100BASE_T4 {
-                description "none";
-            }
-            enum 100BASE_X {
-                description "none";
-            }
-            enum 100BASE_T2 {
-                description "none";
-            }
-            enum 1000BASE_X {
-                description "none";
-            }
-            enum 1000BASE_T {
-                description "none";
-            }
-            enum 10GBASE-X {
-                description "none";
-            }
-            enum 10GBASE_R {
-                description "none";
-            }
-            enum 10GBASE_W {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef frame-type {
-        type enumeration {
-            enum ADMIT_ONLY_VLAN_TAGGED_FRAMES {
-                description "none";
-            }
-            enum ADMIT_ONLY_UNTAGGED_AND_PRIORITY_TAGGED_FRAMES {
-                description "none";
-            }
-            enum ADMIT_ALL_FRAMES {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef oam-period {
-        type enumeration {
-            enum 3_33MS {
-                description "Default for protection.";
-            }
-            enum 10MS {
-                description "none";
-            }
-            enum 100MS {
-                description "none";
-            }
-            enum 1S {
-                description "none";
-            }
-            enum 10S {
-                description "none";
-            }
-            enum 1MIN {
-                description "none";
-            }
-            enum 10MIN {
-                description "none";
-            }
-        }
-        description "Provides the frequency for the OAM PDU insertion.";
-    }
-    typedef pcp-coding {
-        type enumeration {
-            enum 8P0D {
-                description "none";
-            }
-            enum 7P1D {
-                description "none";
-            }
-            enum 6P2D {
-                description "none";
-            }
-            enum 5P3D {
-                description "none";
-            }
-            enum DEI {
-                description "This enumeration value means that all priorities should be drop eligible.
-                    DEI = Drop Eligibility Indicator";
-            }
-        }
-        description "This enum models the coding of the Priority Code Point as defined in section 'Priority Code Point encoding' of IEEE 802.1Q.";
-    }
-    typedef vlan-type {
-        type enumeration {
-            enum C_Tag {
-                description "0x8100";
-            }
-            enum S_Tag {
-                description "0x88a8";
-            }
-            enum I_Tag {
-                description "88-e7";
-            }
-        }
-        description "This enumeration contains the Ethertypes defined in IEEE 802.1Q.";
-    }
-    typedef repetition-period {
-        type enumeration {
-            enum 1MIN {
-                description "none";
-            }
-            enum 1S {
-                description "none";
-            }
-            enum 10S {
-                description "none";
-            }
-            enum 0 {
-                description "none";
-            }
-        }
-        description "This enumeration defines the allowed values for the repetition period in on-demand measurements.
-            Note: The value 0 means that the value is not relevant.";
-    }
-    typedef message-period {
-        type enumeration {
-            enum 10MS {
-                description "none";
-            }
-            enum 100MS {
-                description "none";
-            }
-            enum 1S {
-                description "none";
-            }
-            enum 10S {
-                description "none";
-            }
-            enum 0 {
-                description "none";
-            }
-        }
-        description "This enumeration defines the allowed values for the message period in on-demand measurements.
-            Notes:
-            The value 10ms is only used in synthetic loss measurements.
-            The value 0 means that the value is not relevant.";
-    }
-    typedef oam-pdu-generation-type {
-        type enumeration {
-            enum SINGLE_INSTANCE {
-                description "none";
-            }
-            enum REPETITIVE_INSTANCE {
-                description "none";
-            }
-            enum SINGLE_SERIES {
-                description "none";
-            }
-            enum REPETITIVE_SERIES {
-                description "none";
-            }
-        }
-        description "This enumeration defines the generation pattern of the on-demand OAM PDUs (messages). ";
-    }
-    grouping on-demand-dm-performance-parameters {
-        leaf number-of-samples {
-            type uint64;
-            description "This attribute contains the number of received DM frames (successful samples) used for this frame delay measurement.
-                range of type : non-negative";
-        }
-        leaf-list frame-delay-list {
-            type uint64;
-            description "This attribute contains the frame delays measured in ns (nano second, 1x10e-9 seconds). The multiplicity is defined by the numberOfSamples attribute.";
-        }
-        leaf-list frame-delay-variation-list {
-            type uint64;
-            description "This attribute contains the frame delay variations measured in ns (nano second).  The multiplicity is defined by (numberOfSamples - 1, for numberOfSamples > 0).";
-        }
-        description "This data type contains the results of an on-demand delay measurement job.";
-    }
-    grouping on-demand-lm-performance-parameters {
-        leaf total-transmitted-frames {
-            type uint64;
-            description "This attribute contains the total number of frames transmitted.";
-        }
-        leaf total-lost-frames {
-            type uint64;
-            description "This attribute contains the total number of frames lost.";
-        }
-        leaf total-frame-loss-ratio {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "This attribute contains the frame loss ratio (number of lost frames divided by the number of total frames (N_LF / N_TF)).
-                The accuracy of the value is for further study.";
-        }
-        description "This data type contains the results of an on-demand loss measurement job.";
-    }
-    grouping statistical-dm-performance-parameters {
-        leaf minimum-frame-delay {
-            type uint64;
-            description "This attribute contains the minimum frame delay observed over the monitored period. It is measured in units of ns (nano second, 1x10e-9 seconds).";
-        }
-        leaf average-frame-delay {
-            type uint64;
-            description "This attribute contains the average frame delay observed over the monitored period. It is measured in units of ns (nano second, 1x10e-9 seconds).";
-        }
-        leaf maximum-frame-delay {
-            type uint64;
-            description "This attribute contains the maximum frame delay observed over the monitored period. It is measured in units of ns (nano second, 1x10e-9 seconds).";
-        }
-        leaf minimum-frame-delay-variation {
-            type uint64;
-            description "This attribute contains the minimum frame delay variation measured in units of ns (nano second, 1x10e-9 seconds).";
-        }
-        leaf average-frame-delay-variation {
-            type uint64;
-            description "This attribute contains the average frame delay variation measured in units of ns (nano second, 1x10e-9 seconds).";
-        }
-        leaf maximum-frame-delay-variation {
-            type uint64;
-            description "This attribute contains the maximum frame delay variation measured in units of ns (nano second, 1x10e-9 seconds).";
-        }
-        description "This data type contains the statistical delay measurement performance parameters.";
-    }
-    grouping statistical-lm-performance-parameters {
-        leaf minimum-frame-loss-ratio {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "This attribute contains the minimum frame loss ratio calculated over a period of time.
-                The accuracy of the value is for further study.";
-        }
-        leaf average-frame-loss-ratio {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "This attribute contains the average frame loss ratio calculated over a period of time.
-                The accuracy of the value is for further study.";
-        }
-        leaf maximum-frame-loss-ratio {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "This attribute contains the maximum frame loss ratio calculated over a period of time.
-                The accuracy of the value is for further study.";
-        }
-        leaf ses {
-            type uint64;
-            description "This attribute contains the SES detected in the monitoring interval.
-                range of type : 0..900 for 15min interval or 0..86400 for 24 hr interval.";
-        }
-        leaf uas {
-            type uint64;
-            description "This attribute contains UAS (unavailable seconds) detected in the monitoring interval.
-                range of type : 0..900 for 15min interval or 0..86400 for 24 hr interval.";
-        }
-        description "This data type contains the statistical loss measurement performance parameters.";
-    }
-    typedef eth-oam-job-type {
-        type identityref {
-            base ETH_OAM_JOB_TYPE;
-        }
-        description "none";
-    }
-    grouping link-trace-result {
-        leaf source-address {
-            type mac-address;
-            description "G.8052: This attribute contains the source MAC Address of an individual LTR frame result.";
-        }
-        leaf time-to-live {
-            type uint64;
-            description "G.8052: This attribute contains the Time To Live (TTL) value of an individual LTR frame result.";
-        }
-        leaf data-tlv-length {
-            type uint64;
-            description "G.8052: This attribute contains the length (in number of octets) of the Data TLV of an individual LTR frame result.";
-        }
-        description "G.8052: This data type contains the result from an individual LTR frame.";
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-notification@2018-12-10.yang b/tapimodels/src/main/yang/tapi-notification@2018-12-10.yang
deleted file mode 100644 (file)
index 2cab3d5..0000000
+++ /dev/null
@@ -1,603 +0,0 @@
-module tapi-notification {
-    namespace "urn:onf:otcc:yang:tapi-notification";
-    prefix tapi-notification;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI Notification Model definitions.
-        Source: TapiNotification.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context" {
-        container notification-context {
-            uses notification-context;
-            description "Augments the base TAPI Context with NotificationService information";
-        }
-        description "Augments the base TAPI Context with NotificationService information";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping notification-subscription-service {
-        list notification {
-            key 'uuid';
-            config false;
-            uses notification;
-            description "none";
-        }
-        container notification-channel {
-            uses notification-channel;
-            description "none";
-        }
-        container subscription-filter {
-            uses subscription-filter;
-            description "none";
-        }
-        leaf subscription-state {
-            type subscription-state;
-            description "none";
-        }
-        leaf-list supported-notification-types {
-            type notification-type;
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        leaf-list supported-object-types {
-            type object-type;
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        uses tapi-common:service-spec;
-        description "none";
-    }
-    grouping subscription-filter {
-        leaf-list requested-notification-types {
-            type notification-type;
-            config false;
-            description "none";
-        }
-        leaf-list requested-object-types {
-            type object-type;
-            config false;
-            description "none";
-        }
-        leaf-list requested-layer-protocols {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        leaf-list requested-object-identifier {
-            type tapi-common:uuid;
-            config false;
-            description "none";
-        }
-        leaf include-content {
-            type boolean;
-            config false;
-            description "Indicates whether the published Notification includes content or just the Notification Id (which enables retrieval of the notification at the later stage)";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    notification notification {
-        uses notification;
-        description "none";
-    }
-    grouping notification {
-        leaf notification-type {
-            type notification-type;
-            description "none";
-        }
-        leaf target-object-type {
-            type object-type;
-            description "none";
-        }
-        leaf target-object-identifier {
-            type tapi-common:uuid;
-            description "none";
-        }
-        list target-object-name {
-            key 'value-name';
-            min-elements 1;
-            uses tapi-common:name-and-value;
-            description "none";
-        }
-        leaf event-time-stamp {
-            type tapi-common:date-and-time;
-            description "none";
-        }
-        leaf sequence-number {
-            type uint64;
-            config false;
-            description "A monotonous increasing sequence number associated with the notification.
-                The exact semantics of how this sequence number is assigned (per channel or subscription or source or system) is left undefined.";
-        }
-        leaf source-indicator {
-            type source-indicator;
-            description "none";
-        }
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            description "none";
-        }
-        list changed-attributes {
-            key 'value-name';
-            uses name-and-value-change;
-            description "none";
-        }
-        list additional-info {
-            key 'value-name';
-            uses tapi-common:name-and-value;
-            description "none";
-        }
-        leaf additional-text {
-            type string;
-            description "none";
-        }
-        container tca-info {
-            uses tca-info;
-            description "none";
-        }
-        container alarm-info {
-            uses alarm-info;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        description "none";
-    }
-    grouping notification-channel {
-        leaf stream-address {
-            type string;
-            config false;
-            description "The address/location/URI of the channel/stream to which the subscribed notifications are published.
-                This specifics of this is typically dependent on the implementation protocol & mechanism and hence is typed as a string.";
-        }
-        leaf next-sequence-no {
-            type uint64;
-            config false;
-            description "The sequence number of the next notification that will be published on the channel";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    grouping notification-context {
-        list notif-subscription {
-            key 'uuid';
-            uses notification-subscription-service;
-            description "none";
-        }
-        list notification {
-            key 'uuid';
-            config false;
-            uses notification;
-            description "none";
-        }
-        description "none";
-    }
-    grouping alarm-info {
-        leaf is-transient {
-            type boolean;
-            config false;
-            description "none";
-        }
-        leaf perceived-severity {
-            type perceived-severity-type;
-            config false;
-            description "none";
-        }
-        leaf probable-cause {
-            type string;
-            config false;
-            description "none";
-        }
-        leaf service-affecting {
-            type service-affecting;
-            description "none";
-        }
-        description "none";
-    }
-    grouping tca-info {
-        leaf is-transient {
-            type boolean;
-            config false;
-            description "none";
-        }
-        leaf threshold-crossing {
-            type threshold-crossing-type;
-            description "none";
-        }
-        leaf threshold-parameter {
-            type string;
-            config false;
-            description "none";
-        }
-        leaf threshold-value {
-            type uint64;
-            config false;
-            description "none";
-        }
-        leaf perceived-severity {
-            type perceived-tca-severity;
-            description "none";
-        }
-        leaf measurement-interval {
-            type tapi-common:date-and-time;
-            description "none";
-        }
-        leaf suspect-interval-flag {
-            type boolean;
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    grouping name-and-value-change {
-        leaf value-name {
-            type string;
-            description "The name of the value. The value need not have a name.";
-        }
-        leaf old-value {
-            type string;
-            description "The value";
-        }
-        leaf new-value {
-            type string;
-            description "The value";
-        }
-        description "A scoped name-value triple, including old value and new value";
-    }
-    typedef notification-type {
-        type enumeration {
-            enum OBJECT_CREATION {
-                description "Not a normal state. The system is unable to determine the correct value.";
-            }
-            enum OBJECT_DELETION {
-                description "none";
-            }
-            enum ATTRIBUTE_VALUE_CHANGE {
-                description "none";
-            }
-            enum ALARM_EVENT {
-                description "none";
-            }
-            enum THRESHOLD_CROSSING_ALERT {
-                description "none";
-            }
-        }
-        description "List of supported Notifications types.";
-    }
-    typedef object-type {
-        type enumeration {
-            enum TOPOLOGY {
-                description "none";
-            }
-            enum NODE {
-                description "none";
-            }
-            enum LINK {
-                description "none";
-            }
-            enum CONNECTION {
-                description "none";
-            }
-            enum PATH {
-                description "none";
-            }
-            enum CONNECTIVITY_SERVICE {
-                description "none";
-            }
-            enum VIRTUAL_NETWORK_SERVICE {
-                description "none";
-            }
-            enum PATH_COMPUTATION_SERVICE {
-                description "none";
-            }
-            enum NODE_EDGE_POINT {
-                description "none";
-            }
-            enum SERVICE_INTERFACE_POINT {
-                description "none";
-            }
-            enum CONNECTION_END_POINT {
-                description "none";
-            }
-            enum MAINTENANCE_ENTITY_GROUP {
-                description "none";
-            }
-            enum MAINTENANCE_ENTITY {
-                description "none";
-            }
-            enum MEG_END_POINT {
-                description "none";
-            }
-            enum MEG_INTERMEDIATE_POINT {
-                description "none";
-            }
-            enum SWITCH_CONTROL {
-                description "none";
-            }
-            enum SWITCH {
-                description "none";
-            }
-            enum ROUTE {
-                description "none";
-            }
-            enum NODE_RULE_GROUP {
-                description "none";
-            }
-            enum INTER_RULE_GROUP {
-                description "none";
-            }
-            enum RULE {
-                description "none";
-            }
-            enum OAM_JOB {
-                description "none";
-            }
-        }
-        description "The list of TAPI Global Object Class types on which Notifications can be raised.";
-    }
-    typedef source-indicator {
-        type enumeration {
-            enum RESOURCE_OPERATION {
-                description "none";
-            }
-            enum MANAGEMENT_OPERATION {
-                description "none";
-            }
-            enum UNKNOWN {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef subscription-state {
-        type enumeration {
-            enum SUSPENDED {
-                description "none";
-            }
-            enum ACTIVE {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef perceived-severity-type {
-        type enumeration {
-            enum CRITICAL {
-                description "none";
-            }
-            enum MAJOR {
-                description "none";
-            }
-            enum MINOR {
-                description "none";
-            }
-            enum WARNING {
-                description "none";
-            }
-            enum CLEARED {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef threshold-crossing-type {
-        type enumeration {
-            enum THRESHOLD_ABOVE {
-                description "none";
-            }
-            enum THRESHOLD_BELOW {
-                description "none";
-            }
-            enum CLEARED {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef service-affecting {
-        type enumeration {
-            enum SERVICE_AFFECTING {
-                description "none";
-            }
-            enum NOT_SERVICE_AFFECTING {
-                description "none";
-            }
-            enum UNKNOWN {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef perceived-tca-severity {
-        type enumeration {
-            enum WARNING {
-                description "none";
-            }
-            enum CLEAR {
-                description "none";
-            }
-        }
-        description "none";
-    }
-
-   /**************************
-    * package interfaces
-    **************************/
-    rpc get-supported-notification-types {
-        description "none";
-        output {
-            leaf-list supported-notification-types {
-                type notification-type;
-                min-elements 1;
-                description "none";
-            }
-            leaf-list supported-object-types {
-                type object-type;
-                min-elements 1;
-                description "none";
-            }
-        }
-    }
-    rpc create-notification-subscription-service {
-        description "none";
-        input {
-            container subscription-filter {
-                uses subscription-filter;
-                description "none";
-            }
-            leaf subscription-state {
-                type subscription-state;
-                description "none";
-            }
-        }
-        output {
-            container subscription-service {
-                uses notification-subscription-service;
-                description "none";
-            }
-        }
-    }
-    rpc update-notification-subscription-service {
-        description "none";
-        input {
-            leaf subscription-id-or-name {
-                type string;
-                description "none";
-            }
-            container subscription-filter {
-                uses subscription-filter;
-                description "none";
-            }
-            leaf subscription-state {
-                type subscription-state;
-                description "none";
-            }
-        }
-        output {
-            container subscription-service {
-                uses notification-subscription-service;
-                description "none";
-            }
-        }
-    }
-    rpc delete-notification-subscription-service {
-        description "none";
-        input {
-            leaf subscription-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container subscription-service {
-                uses notification-subscription-service;
-                description "none";
-            }
-        }
-    }
-    rpc get-notification-subscription-service-details {
-        description "none";
-        input {
-            leaf subscription-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container subscription-service {
-                uses notification-subscription-service;
-                description "none";
-            }
-        }
-    }
-    rpc get-notification-subscription-service-list {
-        description "none";
-        output {
-            list subscription-service {
-                key 'uuid';
-                uses notification-subscription-service;
-                description "none";
-            }
-        }
-    }
-    rpc get-notification-list {
-        description "none";
-        input {
-            leaf subscription-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf time-period {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            list notification {
-                key 'uuid';
-                uses notification;
-                description "none";
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git a/tapimodels/src/main/yang/tapi-oam@2018-12-10.yang b/tapimodels/src/main/yang/tapi-oam@2018-12-10.yang
deleted file mode 100644 (file)
index ec2a300..0000000
+++ /dev/null
@@ -1,825 +0,0 @@
-module tapi-oam {
-    namespace "urn:onf:otcc:yang:tapi-oam";
-    prefix tapi-oam;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    import tapi-connectivity {
-        prefix tapi-connectivity;
-    }
-    import tapi-topology {
-        prefix tapi-topology;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI OAM Model definitions.
-        Source: TapiOam.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context" {
-        container oam-context {
-            uses oam-context;
-            description "Augments the base TAPI Context with OamService information";
-        }
-        description "Augments the base TAPI Context with OamService information";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container mep-mip-list {
-            uses mep-mip-list;
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * definitions of references
-    **************************/
-    grouping oam-service-ref {
-        leaf oam-service-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-service/tapi-oam:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping oam-service-end-point-ref {
-        uses oam-service-ref;
-        leaf oam-service-end-point-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-service/tapi-oam:end-point/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping meg-ref {
-        leaf meg-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping maintenance-entity-ref {
-        uses meg-ref;
-        leaf maintenance-entity-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mep/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping mep-ref {
-        uses meg-ref;
-        leaf mep-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mep/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping mip-ref {
-        uses meg-ref;
-        leaf mip-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mip/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping oam-job-ref {
-        leaf oam-job-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping pm-current-data-ref {
-        uses oam-job-ref;
-        leaf pm-current-data-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping pm-history-data-ref {
-        uses pm-current-data-ref;
-        leaf pm-history-data-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping oam-profile-ref {
-        leaf oam-profile-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping pm-threshold-data-ref {
-        uses oam-profile-ref;
-        leaf pm-threshold-data-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping pm-bin-data-ref {
-        uses oam-profile-ref;
-        leaf pm-bin-data-local-id {
-            type leafref {
-                path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-bin-data/tapi-oam:local-id';
-            }
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping mep {
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:termination-direction;
-            config false;
-            description "none";
-        }
-        leaf mep-identifier {
-            type string;
-            config false;
-            description "none";
-        }
-        leaf-list peer-mep-identifier {
-            type string;
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        uses tapi-common:operational-state-pac;
-        description "none";
-    }
-    grouping oam-job {
-        list oam-service-end-point {
-            uses oam-service-end-point-ref;
-            key 'oam-service-uuid oam-service-end-point-local-id';
-            min-elements 1;
-            description "none";
-        }
-        container oam-profile {
-            uses oam-profile-ref;
-            description "none";
-        }
-        list pm-current-data {
-            key 'local-id';
-            config false;
-            uses pm-current-data;
-            description "Granularity period of the CurrentData identifies the specific CurrentData instance in the scope of this OamJob.
-                For example, typically at least
-                one 15min and
-                one 24hr;
-                optionally one additional configurable (< 15min)";
-        }
-        leaf oam-job-type {
-            type oam-job-type;
-            description "none";
-        }
-        container schedule {
-            uses tapi-common:time-range;
-            description "none";
-        }
-        leaf creation-time {
-            type tapi-common:date-and-time;
-            config false;
-            description "none";
-        }
-        uses tapi-common:global-class;
-        uses tapi-common:admin-state-pac;
-        description "none";
-    }
-    grouping meg {
-        list mep {
-            key 'local-id';
-            config false;
-            uses mep;
-            description "1. ME may have 0 MEPs (case of transit domains where at least 1 MIP is present)
-                2. ME may have 1 MEP (case of edge domaind, where the peer MEP is ouside the managed domain)
-                3. ME may have 2 MEPs";
-        }
-        list mip {
-            key 'local-id';
-            config false;
-            uses mip;
-            description "ME may 0, 1, or more MIPs";
-        }
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:forwarding-direction;
-            config false;
-            description "none";
-        }
-        leaf meg-level {
-            type uint64;
-            config false;
-            description "none";
-        }
-        leaf meg-identifier {
-            type string;
-            config false;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:operational-state-pac;
-        description "none";
-    }
-    grouping mip {
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    grouping oam-service {
-        list end-point {
-            key 'local-id';
-            min-elements 2;
-            uses oam-service-end-point;
-            description "none";
-        }
-        container meg {
-            uses meg-ref;
-            config false;
-            description "none";
-        }
-        container oam-profile {
-            uses oam-profile-ref;
-            description "none";
-        }
-        uses tapi-common:service-spec;
-        uses tapi-common:admin-state-pac;
-        uses oam-constraint;
-        description "none";
-    }
-    grouping oam-context {
-        list oam-service {
-            key 'uuid';
-            uses oam-service;
-            description "none";
-        }
-        list meg {
-            key 'uuid';
-            config false;
-            uses meg;
-            description "none";
-        }
-        list oam-job {
-            key 'uuid';
-            uses oam-job;
-            description "none";
-        }
-        list oam-profile {
-            key 'uuid';
-            uses oam-profile;
-            description "none";
-        }
-        description "none";
-    }
-    grouping oam-service-end-point {
-        container service-interface-point {
-            uses tapi-common:service-interface-point-ref;
-            description "none";
-        }
-        container connectivity-service-end-point {
-            uses tapi-connectivity:connectivity-service-end-point-ref;
-            description "none";
-        }
-        container mep {
-            uses mep-ref;
-            config false;
-            description "none";
-        }
-        container mip {
-            uses mip-ref;
-            config false;
-            description "none";
-        }
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:port-direction;
-            description "none";
-        }
-        leaf mep-identifier {
-            type string;
-            description "This attribute contains the identifier of the MEP.
-                This attribute is empty in case the OSEP relates to the provisioing of an MIP.
-                ";
-        }
-        leaf-list peer-mep-identifier {
-            type string;
-            description "This attribute models the MI_PeerMEP_ID[i] defined in G.8021 and configured as specified in G.8051. It provides the identifiers of the MEPs which are peer to the subject MEP.
-                This attribute is not specified in case the OSEP relates to the provisioing of an MIP.
-                In case of P2P, there is only one peer";
-        }
-        uses tapi-common:local-class;
-        uses tapi-common:admin-state-pac;
-        description "none";
-    }
-    grouping mep-mip-list {
-        list mip {
-            uses mip-ref;
-            key 'meg-uuid mip-local-id';
-            description "none";
-        }
-        list mep {
-            uses mep-ref;
-            key 'meg-uuid mep-local-id';
-            description "none";
-        }
-        description "none";
-    }
-    grouping oam-constraint {
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:forwarding-direction;
-            description "none";
-        }
-        leaf meg-level {
-            type uint64;
-            description "none";
-        }
-        description "none";
-    }
-    grouping pm-current-data {
-        list pm-history-data {
-            key 'local-id';
-            config false;
-            uses pm-history-data;
-            description "in case of 24hr Current Data, at least 1 History Data.
-                In case of 15min Current Data, at least 16 History Data.
-                In case of <15min, the number of History Data shall be able to cover a span of 4 hours.";
-        }
-        container granularity-period {
-            uses tapi-common:time-period;
-            description "none";
-        }
-        leaf timestamp {
-            type tapi-common:date-and-time;
-            config false;
-            description "This attribute indicates the start of the current monitoring interval.
-                The value is bound to the quarter of an hour in case of a 15 minute interval and bound to the hour in case of a 24 hour interval.";
-        }
-        container elapsed-time {
-            uses tapi-common:time-interval;
-            description "none";
-        }
-        leaf suspect-interval-flag {
-            type boolean;
-            description "This attribute is used to indicate that the performance data for the current period may not be reliable. Some reasons for this to occur are:
-                – Suspect data were detected by the actual resource doing data collection.
-                – Transition of the administrativeState attribute to/from the 'lock' state.
-                – Transition of the operationalState to/from the 'disabled' state.
-                – Scheduler setting that inhibits the collection function.
-                – The performance counters were reset during the interval.
-                – The currentData (or subclass) object instance was created during the monitoring period.";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    grouping pm-history-data {
-        container granularity-period {
-            uses tapi-common:time-period;
-            description "none";
-        }
-        leaf period-end-time {
-            type tapi-common:date-and-time;
-            description "none";
-        }
-        leaf suspect-interval-flag {
-            type boolean;
-            config false;
-            description "This attribute indicates that the performance data may not be reliable.";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    grouping oam-profile {
-        list pm-threshold-data {
-            key 'local-id';
-            min-elements 1;
-            uses pm-threshold-data;
-            description "none";
-        }
-        list pm-bin-data {
-            key 'local-id';
-            min-elements 1;
-            uses pm-bin-data;
-            description "none";
-        }
-        uses tapi-common:global-class;
-        description "none";
-    }
-    grouping pm-threshold-data {
-        container granularity-period {
-            uses tapi-common:time-period;
-            description "none";
-        }
-        leaf is-transient {
-            type boolean;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    grouping pm-bin-data {
-        container granularity-period {
-            uses tapi-common:time-period;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    identity OAM_JOB_TYPE {
-        description "none";
-    }
-    typedef oam-job-type {
-        type identityref {
-            base OAM_JOB_TYPE;
-        }
-        description "none";
-    }
-
-   /**************************
-    * package interfaces
-    **************************/
-    rpc create-oam-service {
-        description "none";
-        input {
-            list end-point {
-                key 'local-id';
-                min-elements 2;
-                uses oam-service-end-point;
-                description "none";
-            }
-            container oam-constraint {
-                uses oam-constraint;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses oam-service;
-                description "none";
-            }
-        }
-    }
-    rpc delete-oam-service {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-        }
-    }
-    rpc get-oam-service {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses oam-service;
-                description "none";
-            }
-        }
-    }
-    rpc create-oam-job {
-        description "none";
-        input {
-            leaf oam-job-type {
-                type oam-job-type;
-                description "none";
-            }
-            list oam-service-end-point {
-                key 'local-id';
-                min-elements 2;
-                uses oam-service-end-point;
-                description "none";
-            }
-            container oam-profile {
-                uses oam-profile;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-            leaf schedule {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container oam-job {
-                uses oam-job;
-                description "none";
-            }
-        }
-    }
-    rpc get-oam-job {
-        description "none";
-        input {
-            leaf job-id {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container oam-job {
-                uses oam-job;
-                description "none";
-            }
-        }
-    }
-    rpc get-oam-service-list {
-        description "none";
-        output {
-            list service {
-                key 'uuid';
-                uses oam-service;
-                description "none";
-            }
-        }
-    }
-    rpc get-meg {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container meg {
-                uses meg;
-                description "none";
-            }
-        }
-    }
-    rpc update-oam-service {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-            list end-point {
-                key 'local-id';
-                uses oam-service-end-point;
-                description "none";
-            }
-            container oam-constraint {
-                uses oam-constraint;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses oam-service;
-                description "none";
-            }
-        }
-    }
-    rpc delete-oam-job {
-        description "none";
-        input {
-            leaf job-id {
-                type string;
-                description "none";
-            }
-        }
-    }
-    rpc update-oam-job {
-        description "none";
-        input {
-            leaf job-id {
-                type string;
-                description "none";
-            }
-            container oam-profile {
-                uses oam-profile;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-            leaf schedule {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container oam-job {
-                uses oam-job;
-                description "none";
-            }
-        }
-    }
-    rpc create-oam-service-end-point {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-            leaf sip-id {
-                type string;
-                description "none";
-            }
-            leaf c-sep-id {
-                type string;
-                description "none";
-            }
-            leaf layer {
-                type string;
-                description "none";
-            }
-            leaf direction {
-                type string;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-            leaf mep-identifier {
-                type string;
-                description "none";
-            }
-            leaf-list peer-mep-identifier {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container end-point {
-                uses oam-service-end-point;
-                description "none";
-            }
-        }
-    }
-    rpc delete-oam-service-end-point {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-            leaf o-sep-id {
-                type string;
-                description "none";
-            }
-        }
-    }
-    rpc update-oam-service-end-point {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-            leaf o-sep-id {
-                type string;
-                description "none";
-            }
-            leaf state {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container end-point {
-                uses oam-service-end-point;
-                description "none";
-            }
-        }
-    }
-    rpc get-oam-service-end-point {
-        description "none";
-        input {
-            leaf service-id {
-                type string;
-                description "none";
-            }
-            leaf o-sep-id {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container end-point {
-                uses oam-service-end-point;
-                description "none";
-            }
-        }
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-odu@2018-12-10.yang b/tapimodels/src/main/yang/tapi-odu@2018-12-10.yang
deleted file mode 100644 (file)
index f2999b4..0000000
+++ /dev/null
@@ -1,716 +0,0 @@
-module tapi-odu {
-    namespace "urn:onf:otcc:yang:tapi-odu";
-    prefix tapi-odu;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    import tapi-connectivity {
-        prefix tapi-connectivity;
-    }
-    import tapi-topology {
-        prefix tapi-topology;
-    }
-    import tapi-oam {
-        prefix tapi-oam;
-    }
-    import tapi-dsr {
-        prefix tapi-dsr;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI Odu Model definitions.
-        Source: TapiOdu.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
-        container odu-node-edge-point-spec {
-            uses odu-node-edge-point-spec;
-            description "Augments the base LayerProtocol information in NodeEdgePoint with ODU-specific information";
-        }
-        description "Augments the base LayerProtocol information in NodeEdgePoint with ODU-specific information";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container odu-connection-end-point-spec {
-            uses odu-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mep" {
-        container odu-connection-end-point-spec {
-            uses odu-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mip" {
-        container odu-mip-spec {
-            uses odu-mip-spec;
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping odu-termination-and-client-adaptation-pac {
-        leaf opu-tributary-slot-size {
-            type odu-slot-size;
-            config false;
-            description "This attribute is applicable for ODU2 and ODU3 CTP only. It indicates the slot size of the ODU CTP.";
-        }
-        leaf auto-payload-type {
-            type boolean;
-            config false;
-            description "This attribute is applicable when the ODU CTP object instance represents a lower order ODU CTP Source at the client layer of the ODUP/ODUj-21 adaptation function. The value of true of this attribute configures that the adaptation source function shall fall back to the payload type PT=20 if the conditions specified in 14.3.10.1/G.798 are satisfied. ";
-        }
-        leaf configured-client-type {
-            type tapi-dsr:digital-signal-type;
-            config false;
-            description "This attribute configures the type of the client CTP of the server ODU TTP.";
-        }
-        leaf configured-mapping-type {
-            type mapping-type;
-            config false;
-            description "This attributes indicates the configured mapping type.";
-        }
-        container accepted-payload-type {
-            config false;
-            uses odu-payload-type;
-            description "This attribute is applicable when the ODU CTP object instance represents a lower order ODU CTP Sink at the client layer of the ODUP/ODU[i]j or ODUP/ODUj-21 adaptation function.
-                This attribute is a 2-digit Hex code that indicates the new accepted payload type.
-                Valid values are defined in Table 15-8 of ITU-T Recommendation G.709 with one additional value UN_INTERPRETABLE.";
-        }
-        description "This Pac contains the attributes associated with the client adaptation function of the server layer TTP
-            It is present only if the CEP contains a TTP";
-    }
-    grouping odu-connection-end-point-spec {
-        container odu-common {
-            uses odu-common-pac;
-            description "none";
-        }
-        container odu-term-and-adapter {
-            config false;
-            uses odu-termination-and-client-adaptation-pac;
-            description "none";
-        }
-        container odu-ctp {
-            config false;
-            uses odu-ctp-pac;
-            description "none";
-        }
-        container odu-protection {
-            config false;
-            uses odu-protection-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping odu-pool-pac {
-        leaf client-capacity {
-            type uint64;
-            description "none";
-        }
-        leaf max-client-instances {
-            type uint64;
-            config false;
-            description "none";
-        }
-        leaf max-client-size {
-            type uint64;
-            config false;
-            description "none";
-        }
-        description "none";
-    }
-    grouping odu-node-edge-point-spec {
-        container odu-pool {
-            config false;
-            uses odu-pool-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping odu-ctp-pac {
-        leaf-list tributary-slot-list {
-            type uint64;
-            config false;
-            description "This attribute contains a set of distinct (i.e. unique) integers (e.g. 2, 3, 5, 9, 15 representing the tributary slots TS2, TS3, TS5, TS9 and TS15) which represents the resources occupied by the Low Order ODU Link Connection (e.g. carrying an ODUflex with a bit rate of 6.25G).
-                This attribute applies when the LO ODU_ ConnectionTerminationPoint connects with an HO ODU_TrailTerminationPoint object.
-                It will not apply if this ODU_ ConnectionTerminationPoint object directly connects to an OTU_TrailTerminationPoint object (i.e. OTU has no trib slots).
-                The upper bound of the integer allowed in this set is a function of the HO-ODU server layer to which the ODU connection has been mapped (adapted).
-                Thus, for example, M=8/32/80 for ODU2/ODU3/ODU4 server layers (respectively). Note that the value of this attribute can be changed only in the case of ODUflex and has to be through specific operations (i.e. not be changing the attribute tributarySlotList directly).";
-        }
-        leaf tributary-port-number {
-            type uint64;
-            config false;
-            description "This attribute identifies the tributary port number that is associated with the ODU CTP.
-                range of type : The value range depends on the size of the Tributary Port Number (TPN) field used which depends on th server-layer ODU or OTU.
-                In case of ODUk mapping into OTUk, there is no TPN field, so the tributaryPortNumber shall be zero.
-                In case of LO ODUj mapping over ODU1, ODU2 or ODU3, the TPN is encoded in a 6-bit field so the value range is 0-63. See clause 14.4.1/G.709-2016.
-                In case of LO ODUj mapping over ODU4, the TPN is encoded in a 7-bit field so the value range is 0-127. See clause 14.4.1.4/G.709-2016.
-                In case of ODUk mapping over ODUCn, the TPN is encoded in a 14-bit field so the value range is 0-16383. See clause 20.4.1.1/G.709-2016.
-                ";
-        }
-        leaf accepted-msi {
-            type string;
-            config false;
-            description "This attribute is applicable when the ODU CTP object instance represents a lower order ODU1 or ODU2 CTP Sink at the client layer of the ODU3P/ODU12 adaptation function or represents a lower order ODUj CTP Sink at the client layer of the ODUP/ODUj-21 adaptation function. This attribute is a 1-byte field that represents the accepted multiplex structure of the adaptation function. ";
-        }
-        description "This Pac contains the attributes associated with the CTP
-            It is present only if the CEP contains a CTP";
-    }
-    grouping odu-mep-spec {
-        container odu-mep {
-            uses odu-mep-pac;
-            description "none";
-        }
-        container odu-ncm {
-            config false;
-            uses odu-ncm-pac;
-            description "none";
-        }
-        container odu-tcm {
-            config false;
-            uses odu-tcm-mep-pac;
-            description "none";
-        }
-        container odu-defect {
-            uses odu-defect-pac;
-            description "none";
-        }
-        container odu-pm {
-            uses odu-pm-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping odu-protection-pac {
-        leaf aps-enable {
-            type boolean;
-            default "true";
-            description "This attribute is for enabling/disabling the automatic protection switching (APS) capability at the transport adaptation function that is represented by the ODU_ConnectionTerminationPoint object class. It triggers the MI_APS_EN signal to the transport adaptation function.";
-        }
-        leaf aps-level {
-            type uint64;
-            description "This attribute is for configuring the automatic protection switching (APS) level that should operate at the transport adaptation function that is represented by the ODU_ConnectionTerminationPoint object class. It triggers the MI_APS_LVL signal to the transport adaptation function. The value 0 means path and the values 1 through 6 mean TCM level 1 through 6 respectively.";
-        }
-        description "none";
-    }
-    grouping odu-ncm-pac {
-        leaf-list tcm-fields-in-use {
-            type uint64;
-            config false;
-            description "This attribute indicates the used TCM fields of the ODU OH.";
-        }
-        description "none";
-    }
-    grouping odu-tcm-mep-pac {
-        leaf tcm-extension {
-            type tcm-extension;
-            description "none";
-        }
-        leaf tcm-mode {
-            type tcm-mode;
-            description "This attribute specifies the TCM mode at the entity. Valid values are: Operational, Monitor, and Transparent.";
-        }
-        leaf codirectional {
-            type boolean;
-            config false;
-            description "This attribute specifies the directionality of the ODUT MEP with respect to the associated ODU CEP. The value of TRUE means that the sink part of the ODUT MEP terminates the same signal direction as the sink part of the ODU CEP. The Source part behaves similarly. This attribute is meaningful only on objects instantiated under ODU CEP, and at least one among ODU CEP and the subordinate object is bidirectional.";
-        }
-        leaf ac-status-source {
-            type tcm-status;
-            config false;
-            description "This attribute indicates the status of the accepted TCM. ";
-        }
-        leaf ac-status-sink {
-            type tcm-status;
-            config false;
-            description "This attribute indicates the status of the accepted TCM. ";
-        }
-        leaf admin-state-source {
-            type tapi-common:administrative-state;
-            description "This attribute provides the capability to provision the LOCK signal at the source, which is one of the ODU maintenance signals.  When a Tandem Connection endpoint is set to admin state locked, it will insert the ODU-LCK signal in the source direction.";
-        }
-        leaf admin-state-sink {
-            type tapi-common:administrative-state;
-            description "This attribute provides the capability to provision the LOCK signal at the sink, which is one of the ODU maintenance signals. When a Tandem Connection endpoint is set to admin state locked, it will insert the ODU-LCK signal in the downstream direction.";
-        }
-        uses odu-tcm-mip-pac;
-        description "none";
-    }
-    grouping odu-mip-spec {
-        container odu-mip {
-            config false;
-            uses odu-mip-pac;
-            description "none";
-        }
-        container odu-ncm {
-            config false;
-            uses odu-ncm-pac;
-            description "none";
-        }
-        container odu-tcm {
-            config false;
-            uses odu-tcm-mip-pac;
-            description "none";
-        }
-        container odu-pm {
-            uses odu-pm-pac;
-            description "none";
-        }
-        container odu-defect {
-            uses odu-defect-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping odu-mip-pac {
-        leaf acti {
-            type string;
-            config false;
-            description "The Trail Trace Identifier (TTI) information recovered (Accepted) from the TTI overhead position at the sink of a trail.";
-        }
-        leaf ex-dapi {
-            type string;
-            description "The Expected Destination Access Point Identifier (ExDAPI), provisioned by the managing system, to be compared with the TTI accepted at the overhead position of the sink for the purpose of checking the integrity of connectivity.";
-        }
-        leaf ex-sapi {
-            type string;
-            description "The Expected Source Access Point Identifier (ExSAPI), provisioned by the managing system, to be compared with the TTI accepted at the overhead position of the sink for the purpose of checking the integrity of connectivity.
-                ";
-        }
-        leaf tim-act-disabled {
-            type boolean;
-            default "true";
-            description "This attribute provides the control capability for the managing system to enable or disable the Consequent Action function when detecting Trace Identifier Mismatch (TIM) at the trail termination sink.";
-        }
-        leaf tim-det-mode {
-            type tim-det-mo;
-            description "This attribute indicates the mode of the Trace Identifier Mismatch (TIM) Detection function allowed values: OFF, SAPIonly, DAPIonly, SAPIandDAPI";
-        }
-        leaf deg-m {
-            type uint64;
-            description "This attribute indicates the threshold level for declaring a Degraded Signal defect (dDEG). A dDEG shall be declared if DegM consecutive bad PM Seconds are detected.";
-        }
-        container deg-thr {
-            uses deg-thr;
-            description "This attribute indicates the threshold level for declaring a performance monitoring (PM) Second to be bad. The value of the threshold can be provisioned in terms of number of errored blocks or in terms of percentage of errored blocks. For percentage-based specification, in order to support provision of less than 1%, the specification consists of two fields. The first field indicates the granularity of percentage. For examples, in 1%, in 0.1%, or in 0.01%, etc. The second field indicates the multiple of the granularity. For number of errored block based, the value is a positive integer.";
-        }
-        description "none";
-    }
-    grouping odu-tcm-mip-pac {
-        leaf tcm-field {
-            type uint64;
-            config false;
-            description "This attribute indicates the tandem connection monitoring field of the ODU OH.";
-        }
-        description "none";
-    }
-    grouping odu-mep-pac {
-        leaf dm-source {
-            type boolean;
-            description "This attribute is for configuring the delay measurement process at the trail termination function represented by the subject TTP object class. It models the MI_DM_Source MI signal. If MI_DM_Source is false, then the value of the DMp bit is determined by the RI_DM. If MI_DM_Source is true, then the value of the DMp bit is set to MI_DMValue.";
-        }
-        leaf dm-value {
-            type boolean;
-            description "This attribute is for setting the DMp and DMti bits of the delay measurement process. The value of 'true' sets the DMp and DMti bits to 0 and the value of 'false' to 1.";
-        }
-        leaf txti {
-            type string;
-            description "The Trail Trace Identifier (TTI) information, provisioned by the managing system at the termination source, to be placed in the TTI overhead position of the source of a trail for transmission.
-                ";
-        }
-        uses odu-mip-pac;
-        description "none";
-    }
-    grouping odu-common-pac {
-        leaf odu-type {
-            type odu-type;
-            config false;
-            description "This attribute specifies the type of the ODU termination point.";
-        }
-        leaf odu-rate {
-            type uint64;
-            config false;
-            description "This attribute indicates the rate of the ODU terminatino point.
-                This attribute is Set at create; i.e., once created it cannot be changed directly.
-                In case of resizable ODU flex, its value can be changed via HAO (not directly on the attribute).
-                ";
-        }
-        leaf odu-rate-tolerance {
-            type uint64;
-            config false;
-            description "This attribute indicates the rate tolerance of the ODU termination point.
-                Valid values are real value in the unit of ppm.
-                Standardized values are defined in Table 7-2/G.709.";
-        }
-        description "none";
-    }
-    grouping odu-pm-pac {
-        leaf n-bbe {
-            type uint64;
-            description "Near-end Background Block Error";
-        }
-        leaf f-bbe {
-            type uint64;
-            config false;
-            description "Far-end Background Block Error";
-        }
-        leaf n-ses {
-            type uint64;
-            description "Near-end Severely Errored Second";
-        }
-        leaf f-ses {
-            type uint64;
-            description "Far-end Severely Errored Second";
-        }
-        container uas {
-            uses uas-choice;
-            description "UnAvailable Second";
-        }
-        description "Instance of this object class contains the ODUP layer-specific Current Data. This object class is a subclass of the OTN_CurrentData object class.
-            PM data attributes: fBbe, fSes, nBbe, nSes. uas";
-    }
-    grouping odu-defect-pac {
-        leaf bdi {
-            type boolean;
-            config false;
-            description "Backward Defect Indication";
-        }
-        leaf deg {
-            type boolean;
-            config false;
-            description "Signal Degraded";
-        }
-        leaf lck {
-            type boolean;
-            config false;
-            description "Locked";
-        }
-        leaf oci {
-            type boolean;
-            config false;
-            description "Open Connection Indicator";
-        }
-        leaf ssf {
-            type boolean;
-            config false;
-            description "Server Signal Failure";
-        }
-        leaf tim {
-            type boolean;
-            config false;
-            description "Trail Trace Identifier Mismatch";
-        }
-        description "The valid list of defects raised on the entity. If the value of any attribute is true, then the corresponding defect is raised.";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    identity ODU_TYPE {
-        base tapi-common:LAYER_PROTOCOL_QUALIFIER;
-        description "none";
-    }
-    identity ODU_TYPE_ODU0 {
-        base ODU_TYPE;
-        description "none";
-    }
-    identity ODU_TYPE_ODU1 {
-        base ODU_TYPE;
-        description "none";
-    }
-    identity ODU_TYPE_ODU2 {
-        base ODU_TYPE;
-        description "none";
-    }
-    identity ODU_TYPE_ODU2E {
-        base ODU_TYPE;
-        description "none";
-    }
-    identity ODU_TYPE_ODU3 {
-        base ODU_TYPE;
-        description "none";
-    }
-    identity ODU_TYPE_ODU4 {
-        base ODU_TYPE;
-        description "none";
-    }
-    identity ODU_TYPE_ODU_FLEX {
-        base ODU_TYPE;
-        description "none";
-    }
-    identity ODU_TYPE_ODU_CN {
-        base ODU_TYPE;
-        description "none";
-    }
-    typedef odu-type {
-        type identityref {
-            base ODU_TYPE;
-        }
-        description "none";
-    }
-    typedef mapping-type {
-        type enumeration {
-            enum AMP {
-                description "none";
-            }
-            enum BMP {
-                description "none";
-            }
-            enum GFP-F {
-                description "none";
-            }
-            enum GMP {
-                description "none";
-            }
-            enum TTP_GFP_BMP {
-                description "none";
-            }
-            enum NULL {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef tim-det-mo {
-        type enumeration {
-            enum DAPI {
-                description "none";
-            }
-            enum SAPI {
-                description "none";
-            }
-            enum BOTH {
-                description "none";
-            }
-            enum OFF {
-                description "none";
-            }
-        }
-        description "List of modes for trace identifier mismatch detection.";
-    }
-    typedef odu-slot-size {
-        type enumeration {
-            enum 1G25 {
-                description "none";
-            }
-            enum 2G5 {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    grouping odu-payload-type {
-        leaf named-payload-type {
-            type odu-named-payload-type;
-            description "none";
-        }
-        leaf hex-payload-type {
-            type uint64;
-            description "none";
-        }
-        description "none";
-    }
-    typedef odu-named-payload-type {
-        type enumeration {
-            enum UNKNOWN {
-                description "none";
-            }
-            enum UNINTERPRETABLE {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    grouping deg-thr {
-        leaf deg-thr-value {
-            type uint64;
-            description "Percentage of detected errored blocks";
-        }
-        leaf deg-thr-type {
-            type deg-thr-type;
-            description "Number of errored blocks";
-        }
-        leaf percentage-granularity {
-            type percentage-granularity;
-            description "none";
-        }
-        description "Degraded Threshold, specify either the percentage or the number of Errored Blocks in the defined interval.
-            degThrValue when type is PERCENTAGE:
-            percentageGranularity is used to indicate the number of decimal points
-            So if percentageGranularity is ones, a value of 1 in degThrValue would indicate 1%, a value of 10 = 10%, a value of 100 = 100%
-            So if percentageGranularity is thousandths a value of 1 in degThrValue would indicate 0.001%, a value of 1000 = 1%, a value of 1000000 = 100%
-            degThrValue when type is NUMBER_ERROR_BLOCKS:
-            Number of Errored Blocks is captured in an integer value.";
-    }
-    typedef deg-thr-type {
-        type enumeration {
-            enum PERCENTAGE {
-                description "Choice of % or Number of errored blocks";
-            }
-            enum NUMBER_ERRORED_BLOCKS {
-                description "Number of % or blocks";
-            }
-        }
-        description "The value of the threshold can be provisioned in terms of number of errored blocks or in terms of percentage of errored blocks. For percentage-based specification, in order to support provision of less than 1%, the specification consists of two fields. The first field indicates the granularity of percentage. For examples, in 1%, in 0.1%, or in 0.01%, etc. The second field indicates the multiple of the granularity. For number of errored block based, the value is a positive integer.";
-    }
-    typedef tcm-status {
-        type enumeration {
-            enum NO_SOURCE_TC {
-                description "TCM byte 3 (bits 6 7 8) -- 0 0 0, No source Tandem Connection";
-            }
-            enum IN_USE_WITHOUT_IAE {
-                description "TCM byte 3 (bits 6 7 8) -- 0 0 1,  In use without IAE (Incoming Alignment Error)";
-            }
-            enum IN_USE_WITH_IAE {
-                description "TCM byte 3 (bits 6 7 8) -- 0 1 0, In use with IAE (Incoming Alignment Error)";
-            }
-            enum RESERVED_1 {
-                description "TCM byte 3 (bits 6 7 8) -- 0 1 1, Reserved for future international standardization";
-            }
-            enum RESERVED_2 {
-                description "TCM byte 3 (bits 6 7 8) -- 1 0 0, Reserved for future international standardization";
-            }
-            enum LCK {
-                description "TCM byte 3 (bits 6 7 8) -- 1 0 1, Maintenance signal: ODU-LCK";
-            }
-            enum OCI {
-                description "TCM byte 3 (bits 6 7 8) -- 1 1 0, Maintenance signal: ODU-OCI";
-            }
-            enum AIS {
-                description "TCM byte 3 (bits 6 7 8) -- 1 1 1, Maintenance signal: ODU-AIS";
-            }
-        }
-        description "See Table 15-5/G.709/Y.1331 ";
-    }
-    typedef tcm-mode {
-        type enumeration {
-            enum OPERATIONAL {
-                description "none";
-            }
-            enum TRANSPARENT {
-                description "none";
-            }
-            enum MONITOR {
-                description "none";
-            }
-        }
-        description "List of value modes for the sink side of the tandem connection monitoring function.";
-    }
-    typedef tcm-monitoring {
-        type enumeration {
-            enum INTRUSIVE {
-                description "none";
-            }
-            enum NON-INTRUSIVE {
-                description "none";
-            }
-        }
-        description "Monitoring types for the tandem connection monitoring function.";
-    }
-    typedef tcm-extension {
-        type enumeration {
-            enum NORMAL {
-                description "none";
-            }
-            enum PASS-THROUGH {
-                description "none";
-            }
-            enum ERASE {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef percentage-granularity {
-        type enumeration {
-            enum ONES {
-                description "none";
-            }
-            enum ONE_TENTHS {
-                description "value * (1/10)";
-            }
-            enum ONE_HUNDREDTHS {
-                description "value * (1/100)";
-            }
-            enum ONE_THOUSANDTHS {
-                description "value * (1/1000)";
-            }
-        }
-        description "none";
-    }
-    grouping uas-choice {
-        leaf bidirectional {
-            type boolean;
-            default "true";
-            description "none";
-        }
-        leaf uas {
-            type uint64;
-            description "none";
-        }
-        leaf nuas {
-            type uint64;
-            description "none";
-        }
-        leaf fuas {
-            type uint64;
-            description "none";
-        }
-        description "If bidirectional is TRUE then use the uas attribute, if bidirectional is FALSE use the nuas, and fuas attributes";
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-path-computation@2018-12-10.yang b/tapimodels/src/main/yang/tapi-path-computation@2018-12-10.yang
deleted file mode 100644 (file)
index df6ab76..0000000
+++ /dev/null
@@ -1,430 +0,0 @@
-module tapi-path-computation {
-    namespace "urn:onf:otcc:yang:tapi-path-computation";
-    prefix tapi-path-computation;
-    import tapi-topology {
-        prefix tapi-topology;
-    }
-    import tapi-common {
-        prefix tapi-common;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI Path Computation Model definitions.
-        Source: TapiPathComputation.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context" {
-        container path-computation-context {
-            uses path-computation-context;
-            description "Augments the base TAPI Context with PathComputationService information";
-        }
-        description "Augments the base TAPI Context with PathComputationService information";
-    }
-
-   /**************************
-    * definitions of refrences
-    **************************/
-    grouping path-ref {
-        leaf path-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-path-computation:path-computation-context/tapi-path-computation:path/tapi-path-computation:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping path {
-        list link {
-            uses tapi-topology:link-ref;
-            key 'topology-uuid link-uuid';
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        container routing-constraint {
-            config false;
-            uses routing-constraint;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:forwarding-direction;
-            config false;
-            description "none";
-        }
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        description "Path is described by an ordered list of TE Links. A TE Link is defined by a pair of Node/NodeEdgePoint IDs. A Connection is realized by concatenating link resources (associated with a Link) and the lower-level connections (cross-connections) in the different nodes";
-    }
-    grouping path-service-end-point {
-        container service-interface-point {
-            uses tapi-common:service-interface-point-ref;
-            description "none";
-        }
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            description "none";
-        }
-        leaf layer-protocol-qualifier {
-            type tapi-common:layer-protocol-qualifier;
-            description "none";
-        }
-        container capacity {
-            uses tapi-common:capacity;
-            description "none";
-        }
-        leaf role {
-            type tapi-common:port-role;
-            description "Each EP of the FC has a role (e.g., working, protection, protected, symmetric, hub, spoke, leaf, root)  in the context of the FC with respect to the FC function. ";
-        }
-        leaf direction {
-            type tapi-common:port-direction;
-            description "The orientation of defined flow at the EndPoint.";
-        }
-        uses tapi-common:local-class;
-        description "The association of the FC to LTPs is made via EndPoints.
-            The EndPoint (EP) object class models the access to the FC function.
-            The traffic forwarding between the associated EPs of the FC depends upon the type of FC and may be associated with FcSwitch object instances.
-            In cases where there is resilience the EndPoint may convey the resilience role of the access to the FC.
-            It can represent a protected (resilient/reliable) point or a protecting (unreliable working or protection) point.
-            The EP replaces the Protection Unit of a traditional protection model.
-            The ForwadingConstruct can be considered as a component and the EndPoint as a Port on that component";
-    }
-    grouping path-computation-service {
-        list path {
-            uses path-ref;
-            key 'path-uuid';
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        list end-point {
-            key 'local-id';
-            min-elements 2;
-            max-elements 2;
-            uses path-service-end-point;
-            description "none";
-        }
-        container routing-constraint {
-            uses routing-constraint;
-            description "none";
-        }
-        container topology-constraint {
-            uses topology-constraint;
-            description "none";
-        }
-        container objective-function {
-            uses path-objective-function;
-            description "none";
-        }
-        container optimization-constraint {
-            uses path-optimization-constraint;
-            description "none";
-        }
-        uses tapi-common:service-spec;
-        description "none";
-    }
-    grouping path-objective-function {
-        leaf bandwidth-optimization {
-            type tapi-common:directive-value;
-            description "none";
-        }
-        leaf concurrent-paths {
-            type tapi-common:directive-value;
-            description "none";
-        }
-        leaf cost-optimization {
-            type tapi-common:directive-value;
-            description "none";
-        }
-        leaf link-utilization {
-            type tapi-common:directive-value;
-            description "none";
-        }
-        leaf resource-sharing {
-            type tapi-common:directive-value;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    grouping path-optimization-constraint {
-        leaf traffic-interruption {
-            type tapi-common:directive-value;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-    grouping routing-constraint {
-        list cost-characteristic {
-            key 'cost-name';
-            uses tapi-topology:cost-characteristic;
-            description "The list of costs where each cost relates to some aspect of the TopologicalEntity.";
-        }
-        list latency-characteristic {
-            key 'traffic-property-name';
-            uses tapi-topology:latency-characteristic;
-            description "The effect on the latency of a queuing process. This only has significant effect for packet based systems and has a complex characteristic.";
-        }
-        list risk-diversity-characteristic {
-            key 'risk-characteristic-name';
-            uses tapi-topology:risk-characteristic;
-            description "none";
-        }
-        leaf diversity-policy {
-            type diversity-policy;
-            description "none";
-        }
-        leaf route-objective-function {
-            type route-objective-function;
-            description "none";
-        }
-        leaf route-direction {
-            type tapi-common:forwarding-direction;
-            description "none";
-        }
-        leaf is-exclusive {
-            type boolean;
-            default "true";
-            description "To distinguish if the resources are to be exclusive to the service";
-        }
-        description "none";
-    }
-    grouping path-computation-context {
-        list path-comp-service {
-            key 'uuid';
-            uses path-computation-service;
-            description "none";
-        }
-        list path {
-            key 'uuid';
-            config false;
-            uses path;
-            description "none";
-        }
-        description "none";
-    }
-    grouping topology-constraint {
-        leaf-list include-topology {
-            type tapi-common:uuid;
-            description "none";
-        }
-        leaf-list avoid-topology {
-            type tapi-common:uuid;
-            description "none";
-        }
-        leaf-list include-path {
-            type tapi-common:uuid;
-            description "none";
-        }
-        leaf-list exclude-path {
-            type tapi-common:uuid;
-            description "none";
-        }
-        leaf-list include-link {
-            type tapi-common:uuid;
-            description "This is a loose constraint - that is it is unordered and could be a partial list ";
-        }
-        leaf-list exclude-link {
-            type tapi-common:uuid;
-            description "none";
-        }
-        leaf-list include-node {
-            type tapi-common:uuid;
-            description "This is a loose constraint - that is it is unordered and could be a partial list";
-        }
-        leaf-list exclude-node {
-            type tapi-common:uuid;
-            description "none";
-        }
-        leaf-list preferred-transport-layer {
-            type tapi-common:layer-protocol-name;
-            description "soft constraint requested by client to indicate the layer(s) of transport connection that it prefers to carry the service. This could be same as the service layer or one of the supported server layers";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    typedef route-objective-function {
-        type enumeration {
-            enum MIN_WORK_ROUTE_HOP {
-                description "none";
-            }
-            enum MIN_WORK_ROUTE_COST {
-                description "none";
-            }
-            enum MIN_WORK_ROUTE_LATENCY {
-                description "none";
-            }
-            enum MIN_SUM_OF_WORK_AND_PROTECTION_ROUTE_HOP {
-                description "none";
-            }
-            enum MIN_SUM_OF_WORK_AND_PROTECTION_ROUTE_COST {
-                description "none";
-            }
-            enum MIN_SUM_OF_WORK_AND_PROTECTION_ROUTE_LATENCY {
-                description "none";
-            }
-            enum LOAD_BALANCE_MAX_UNUSED_CAPACITY {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef diversity-policy {
-        type enumeration {
-            enum SRLG {
-                description "none";
-            }
-            enum SRNG {
-                description "none";
-            }
-            enum SNG {
-                description "none";
-            }
-            enum NODE {
-                description "none";
-            }
-            enum LINK {
-                description "none";
-            }
-        }
-        description "none";
-    }
-
-   /**************************
-    * package interfaces
-    **************************/
-    rpc compute-p-2-p-path {
-        description "none";
-        input {
-            list sep {
-                key 'local-id';
-                min-elements 2;
-                max-elements 2;
-                uses path-service-end-point;
-                description "none";
-            }
-            container routing-constraint {
-                uses routing-constraint;
-                description "none";
-            }
-            container topology-constraint {
-                uses topology-constraint;
-                description "none";
-            }
-            container objective-function {
-                uses path-objective-function;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses path-computation-service;
-                description "none";
-            }
-        }
-    }
-    rpc optimize-p-2-p-path {
-        description "none";
-        input {
-            leaf path-id-or-name {
-                type string;
-                description "none";
-            }
-            container routing-constraint {
-                uses routing-constraint;
-                description "none";
-            }
-            container optimization-constraint {
-                uses path-optimization-constraint;
-                description "none";
-            }
-            container objective-function {
-                uses path-objective-function;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses path-computation-service;
-                description "none";
-            }
-        }
-    }
-    rpc delete-p-2-p-path {
-        description "none";
-        input {
-            leaf path-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container service {
-                uses path-computation-service;
-                description "none";
-            }
-        }
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-photonic-media@2018-12-10.yang b/tapimodels/src/main/yang/tapi-photonic-media@2018-12-10.yang
deleted file mode 100644 (file)
index 0fd14b3..0000000
+++ /dev/null
@@ -1,933 +0,0 @@
-module tapi-photonic-media {
-    namespace "urn:onf:otcc:yang:tapi-photonic-media";
-    prefix tapi-photonic-media;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    import tapi-connectivity {
-        prefix tapi-connectivity;
-    }
-    import tapi-topology {
-        prefix tapi-topology;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI PhotonicMedia Model definitions.
-        Source: TapiPhotonicMedia.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container otsi-connection-end-point-spec {
-            uses otsi-connection-end-point-spec;
-            description "Augments the base LayerProtocol information in ConnectionEndPoint with OCH-specific information";
-        }
-        description "Augments the base LayerProtocol information in ConnectionEndPoint with OCH-specific information";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
-        container media-channel-node-edge-point-spec {
-            uses media-channel-node-edge-point-spec;
-            description "Augments the base LayerProtocol information in NodeEdgePoint with OCH-specific information";
-        }
-        description "Augments the base LayerProtocol information in NodeEdgePoint with OCH-specific information";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container otsi-assembly-connection-end-point-spec {
-            uses otsi-assembly-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-common:service-interface-point" {
-        container otsi-service-interface-point-spec {
-            uses otsi-service-interface-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point" {
-        container otsi-connectivity-service-end-point-spec {
-            uses otsi-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-common:service-interface-point" {
-        container media-channel-service-interface-point-spec {
-            uses media-channel-service-interface-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point" {
-        container media-channel-connectivity-service-end-point-spec {
-            uses media-channel-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container media-channel-connection-end-point-spec {
-            uses media-channel-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container ots-connection-end-point-spec {
-            uses ots-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
-        container media-channel-assembly-spec {
-            uses media-channel-assembly-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:get-service-interface-point-list/tapi-common:output/tapi-common:sip" {
-        container otsi-service-interface-point-spec {
-            uses otsi-service-interface-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:get-service-interface-point-details/tapi-common:output/tapi-common:sip" {
-        container otsi-service-interface-point-spec {
-            uses otsi-service-interface-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-topology:get-node-edge-point-details/tapi-topology:output/tapi-topology:node-edge-point" {
-        container media-channel-node-edge-point-spec {
-            uses media-channel-node-edge-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:get-connectivity-service-list/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container otsi-connectivity-service-end-point-spec {
-            uses otsi-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:get-connectivity-service-details/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container otsi-connectivity-service-end-point-spec {
-            uses otsi-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container media-channel-connectivity-service-end-point-spec {
-            uses media-channel-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container media-channel-connectivity-service-end-point-spec {
-            uses media-channel-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:get-connectivity-service-details/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container media-channel-connectivity-service-end-point-spec {
-            uses media-channel-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:get-connectivity-service-list/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container media-channel-connectivity-service-end-point-spec {
-            uses media-channel-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
-        container otsi-connectivity-service-end-point-spec {
-            uses otsi-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
-        container otsi-connectivity-service-end-point-spec {
-            uses otsi-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
-        container media-channel-connectivity-service-end-point-spec {
-            uses media-channel-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container otsi-connectivity-service-end-point-spec {
-            uses otsi-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:create-connectivity-service/tapi-connectivity:input/tapi-connectivity:end-point" {
-        container media-channel-connectivity-service-end-point-spec {
-            uses media-channel-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:update-connectivity-service/tapi-connectivity:output/tapi-connectivity:service/tapi-connectivity:end-point" {
-        container otsi-connectivity-service-end-point-spec {
-            uses otsi-connectivity-service-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:get-service-interface-point-details/tapi-common:output/tapi-common:sip" {
-        container media-channel-service-interface-point-spec {
-            uses media-channel-service-interface-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-common:get-service-interface-point-list/tapi-common:output/tapi-common:sip" {
-        container media-channel-service-interface-point-spec {
-            uses media-channel-service-interface-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:get-connection-end-point-details/tapi-connectivity:output/tapi-connectivity:connection-end-point" {
-        container media-channel-connection-end-point-spec {
-            uses media-channel-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:get-connection-end-point-details/tapi-connectivity:output/tapi-connectivity:connection-end-point" {
-        container otsi-assembly-connection-end-point-spec {
-            uses otsi-assembly-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-    augment "/tapi-connectivity:get-connection-end-point-details/tapi-connectivity:output/tapi-connectivity:connection-end-point" {
-        container otsi-connection-end-point-spec {
-            uses otsi-connection-end-point-spec;
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping otsi-gserver-adaptation-pac {
-        leaf number-of-otsi {
-            type uint64;
-            config false;
-            description "none";
-        }
-        description "none";
-    }
-    grouping otsi-connection-end-point-spec {
-        container otsi-termination {
-            config false;
-            uses otsi-termination-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping otsi-termination-pac {
-        container selected-central-frequency {
-            config false;
-            uses central-frequency;
-            description "none";
-        }
-        container selected-application-identifier {
-            config false;
-            uses application-identifier;
-            description "This attribute indicates the selected Application Identifier that is used by the OCh trail termination function. The syntax of ApplicationIdentifier is a pair {ApplicationIdentifierType, PrintableString}. The value of ApplicationIdentifierType is either STANDARD or PROPRIETARY. The value of PrintableString represents the standard application code as defined in the ITU-T Recommendations or a vendor-specific proprietary code. If the ApplicationIdentifierType is STANDARD the value of PrintableString represents a standard application code as defined in the ITU-T Recommendations. If the ApplicationIdentifierType is PROPRIETARY, the first six characters of the PrintableString must contain the Hexadecimal representation of an OUI assigned to the vendor whose implementation generated the Application Identifier; the remaining octets of the PrintableString are unspecified. The value of this attribute of an object instance has to be one of the values identified in the attribute SupportableApplicationIdentifierList of the same object instance. The values and value ranges of the optical interface parameters of a standard application code must be consistent with those values specified in the ITU-T Recommendation for that application code.";
-        }
-        leaf selected-modulation {
-            type modulation-technique;
-            default "UNDEFINED";
-            config false;
-            description "This parameter defines the modulation used at the source";
-        }
-        container selected-spectrum {
-            config false;
-            uses spectrum-band;
-            description "none";
-        }
-        container transmited-power {
-            config false;
-            uses power-properties-pac;
-            description "Measured power at the Transmitter.";
-        }
-        container received-power {
-            uses power-properties-pac;
-            description "none";
-        }
-        container laser-properties {
-            config false;
-            uses laser-properties-pac;
-            description "Laser properties.";
-        }
-        description "Provides status information only.";
-    }
-    grouping media-channel-pool-capability-pac {
-        list supportable-spectrum {
-            key 'upper-frequency lower-frequency';
-            config false;
-            uses spectrum-band;
-            description "none";
-        }
-        list available-spectrum {
-            key 'upper-frequency lower-frequency';
-            config false;
-            uses spectrum-band;
-            description "none";
-        }
-        list occupied-spectrum {
-            key 'upper-frequency lower-frequency';
-            config false;
-            uses spectrum-band;
-            description "none";
-        }
-        description "none";
-    }
-    grouping media-channel-node-edge-point-spec {
-        container mc-pool {
-            config false;
-            uses media-channel-pool-capability-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping otsi-routing-spec {
-        leaf optical-routing-strategy {
-            type optical-routing-strategy;
-            description "none";
-        }
-        description "none";
-    }
-    grouping media-channel-properties-pac {
-        container occupied-spectrum {
-            config false;
-            uses spectrum-band;
-            description "none";
-        }
-        container measured-power-ingress {
-            config false;
-            uses power-properties-pac;
-            description "none";
-        }
-        container measured-power-egress {
-            uses power-properties-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping otsi-assembly-connection-end-point-spec {
-        container otsi-adapter {
-            config false;
-            uses otsi-gserver-adaptation-pac;
-            description "none";
-        }
-        container fec-parameters {
-            config false;
-            uses fec-properties-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping otsi-capability-pac {
-        list supportable-central-frequency-spectrum-band {
-            leaf lower-central-frequency {
-                type uint64;
-                description "The lower central frequency can be tuned in the laser specified in MHz.
-                It is the oscillation frequency of the corresponding electromagnetic wave. ";
-            }
-            leaf upper-central-frequency {
-                type uint64;
-                description "The lower central frequency can be tuned in the laser specified in MHz.
-                It is the oscillation frequency of the corresponding electromagnetic wave. ";
-            }
-            container frequency-constraint {
-                uses frequency-constraint;
-                description "none";
-            }
-            config false;
-            description "Each spectrum band supported for otsi trasmitter to be tuned on, is specified
-              as per it's lower and upper central frequencies supported and its frequency constraints,
-              consisting in the frequency Grid and the AdjustmentGranularity, used to uniquely identify all
-              central frequencies supported within the band.";
-        }
-        list supportable-application-identifier {
-            key 'application-code';
-            config false;
-            uses application-identifier;
-            description "The list of supportable ApplicationIdentifiers.";
-        }
-        leaf-list supportable-modulation {
-            type modulation-technique;
-            config false;
-            description "This parameter defines the modulation used at the source";
-        }
-        container total-power-warn-threshold {
-            config false;
-            uses total-power-threshold-pac;
-            description "none";
-        }
-        description "Can read the status of the warning for the upper value that the power can reach.";
-    }
-    grouping otsi-service-interface-point-spec {
-        container otsi-capability {
-            config false;
-            uses otsi-capability-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping otsi-connectivity-service-end-point-spec {
-        container otsi-config {
-            uses otsi-termination-config-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping otsi-termination-config-pac {
-        container central-frequency {
-            uses central-frequency;
-            description "The central frequency of the laser. It is the oscillation frequency of the corresponding electromagnetic wave";
-        }
-        container spectrum {
-            uses spectrum-band;
-            description "none";
-        }
-        container application-identifier {
-            uses application-identifier;
-            description "This attribute indicates the selected Application Identifier.";
-        }
-        leaf modulation {
-            type modulation-technique;
-            description "The modulation techniqu selected at the source.";
-        }
-        leaf laser-control {
-            type laser-control-type;
-            description "Laser control can be FORCED-ON, FORCED-OFF or LASER-SHUTDOWN";
-        }
-        container transmit-power {
-            uses power-properties-pac;
-            description "Transmit power as requested.";
-        }
-        leaf total-power-warn-threshold-upper {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Allows to configure the Upper power threshold which is expected to be different from Default, but within the Min and Max values specified as OTSi SIP capability.";
-        }
-        leaf total-power-warn-threshold-lower {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Allows to configure the Lowerpower threshold which is expected to be different from Default, but within the Min and Max values specified as OTSi SIP capability.";
-        }
-        description "none";
-    }
-    grouping fec-properties-pac {
-        leaf pre-fec-ber {
-            type uint64;
-            config false;
-            description "counter: bit error rate before correction by FEC";
-        }
-        leaf post-fec-ber {
-            type uint64;
-            config false;
-            description "counter: bit error rate after correction by FEC";
-        }
-        leaf corrected-bytes {
-            type uint64;
-            config false;
-            description "Bytes corrected between those that were received corrupted";
-        }
-        leaf corrected-bits {
-            type uint64;
-            config false;
-            description "Bits corrected between those that were received corrupted";
-        }
-        leaf uncorrectable-bytes {
-            type uint64;
-            config false;
-            description "Bytes that could not be corrected by FEC";
-        }
-        leaf uncorrectable-bits {
-            type uint64;
-            config false;
-            description "Bits that could not be corrected by FEC";
-        }
-        description "none";
-    }
-    grouping media-channel-service-interface-point-spec {
-        container mc-pool {
-            config false;
-            uses media-channel-pool-capability-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping media-channel-connectivity-service-end-point-spec {
-        container mc-config {
-            uses media-channel-config-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping media-channel-config-pac {
-        container spectrum {
-            uses spectrum-band;
-            description "none";
-        }
-        description "none";
-    }
-    grouping media-channel-connection-end-point-spec {
-        container media-channel {
-            config false;
-            uses media-channel-properties-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping ots-connection-end-point-spec {
-        container ots-media-channel {
-            config false;
-            uses media-channel-properties-pac;
-            description "none";
-        }
-        description "none";
-    }
-    grouping media-channel-assembly-spec {
-        description "none";
-    }
-    grouping laser-properties-pac {
-        leaf laser-status {
-            type laser-control-status-type;
-            config false;
-            description "none";
-        }
-        leaf laser-application-type {
-            type laser-type;
-            config false;
-            description "The type of laser, its operational wavelengths, and its applications. String size 255.";
-        }
-        leaf laser-bias-current {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            config false;
-            description "The Bias current of the laser that is the medium polarization current of the laser.";
-        }
-        leaf laser-temperature {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            config false;
-            description "The temperature of the laser";
-        }
-        description "none";
-    }
-    grouping power-properties-pac {
-        leaf total-power {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "The total power at any point in a channel specified in dBm.";
-        }
-        leaf power-spectral-density {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            config false;
-            description "This describes how power of a signal  is distributed over frequency specified in nW/MHz";
-        }
-        description "Indication with severity warning raised when a total power value measured is above the threshold.";
-    }
-    grouping total-power-threshold-pac {
-        leaf total-power-upper-warn-threshold-default {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Can read the value of the default  threshold that was set";
-        }
-        leaf total-power-upper-warn-threshold-min {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Can read the value of the lower threshold that was set";
-        }
-        leaf total-power-upper-warn-threshold-max {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Can  read the value of the upper threshold that was set";
-        }
-        leaf total-power-lower-warn-threshold-default {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Can read the value of the default  threshold that was set";
-        }
-        leaf total-power-lower-warn-threshold-max {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Can  read the value of the upper threshold that was set";
-        }
-        leaf total-power-lower-warn-threshold-min {
-            type decimal64 {
-                fraction-digits 7;
-            }
-            description "Can read the value of the lower threshold that was set";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    identity PHOTONIC_LAYER_QUALIFIER {
-        base tapi-common:LAYER_PROTOCOL_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_OTSi {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_OTSiA {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_OTSiG {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_NMC {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_NMCA {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_SMC {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_SMCA {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_OCH {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_OMS {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    identity PHOTONIC_LAYER_QUALIFIER_OTS {
-        base PHOTONIC_LAYER_QUALIFIER;
-        description "none";
-    }
-    grouping application-identifier {
-        leaf application-identifier-type {
-            type application-identifier-type;
-            description "The ITU-T recommendation which defines the application code format.";
-        }
-        leaf application-code {
-            type string;
-            description "none";
-        }
-        description "The syntax of ApplicationIdentifier is a pair {ApplicationIdentifierType, PrintableString}. The value of ApplicationIdentifierType is either STANDARD or PROPRIETARY. The value of PrintableString represents the standard application code as defined in the ITU-T Recommendations or a vendor-specific proprietary code. If the ApplicationIdentifierType is STANDARD the value of PrintableString represents a standard application code as defined in the ITU-T Recommendations. If the ApplicationIdentifierType is PROPRIETARY, the first six characters of the PrintableString must contain the Hexadecimal representation of an OUI assigned to the vendor whose implementation generated the Application Identifier; the remaining octets of the PrintableString are unspecified. The value of this attribute of an object instance has to be one of the values identified in the attribute SupportableApplicationIdentifierList of the same object instance. The values and value ranges of the optical interface parameters of a standard application code must be consistent with those values specified in the ITU-T Recommendation for that application code.";
-    }
-    grouping central-frequency {
-        container frequency-constraint {
-            uses frequency-constraint;
-            description "none";
-        }
-        leaf central-frequency {
-            type uint64;
-            description "The central frequency of the laser specified in MHz. It is the oscillation frequency of the corresponding electromagnetic wave. ";
-        }
-        description "This data-type holds the central frequency information as well frequency constraints in terms of GridType ( FIXED grid (DWDM or CWDM) or FLEX grid) and AdjustmentGranularity.";
-    }
-    typedef optical-routing-strategy {
-        type enumeration {
-            enum OPTIMAL_OSNR {
-                description "none";
-            }
-            enum NO_RELAY {
-                description "none";
-            }
-            enum MIN_RELAY {
-                description "none";
-            }
-            enum PREFERRED_NO_CHANGE_WAVELENGTH_AS_RESTORE {
-                description "none";
-            }
-            enum PREFERRED_NO_SKIPPING_WAVELENGTH {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef application-identifier-type {
-        type enumeration {
-            enum PROPRIETARY {
-                description "none";
-            }
-            enum ITUT_G959_1 {
-                description "none";
-            }
-            enum ITUT_G698_1 {
-                description "none";
-            }
-            enum ITUT_G698_2 {
-                description "none";
-            }
-            enum ITUT_G696_1 {
-                description "none";
-            }
-            enum ITUT_G695 {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef grid-type {
-        type enumeration {
-            enum DWDM {
-                description "Fixed frequency grid in C & L bands as specified in ITU-T G.694.1
-                    ";
-            }
-            enum CWDM {
-                description "Fixed frequency grid as specified in ITU-T G.694.2";
-            }
-            enum FLEX {
-                description "Flexible frequency grid as specified in ITU-T G.694.1. In this case,
-                    - the allowed frequency slots have a nominal central frequency (in THz) defined by:
-                    193.1 + n × 0.00625 where n is a positive or negative integer including 0 and 0.00625 is the nominal central frequency granularity in THz
-                    - and a slot width defined by:
-                    12.5 × m where m is a positive integer and 12.5 is the slot width granularity in GHz.
-                    Any combination of frequency slots is allowed as long as no two frequency slots overlap.";
-            }
-            enum GRIDLESS {
-                description "none";
-            }
-            enum UNSPECIFIED {
-                description "Unspecified/proprietary frequency grid";
-            }
-        }
-        description "The frequency grid standard that specify reference set of frequencies used to denote allowed nominal central frequencies that may be used for defining applications.";
-    }
-    typedef adjustment-granularity {
-        type enumeration {
-            enum G_100GHZ {
-                description "100000 MHz";
-            }
-            enum G_50GHZ {
-                description "50000 MHz";
-            }
-            enum G_25GHZ {
-                description "25000 MHz";
-            }
-            enum G_12_5GHZ {
-                description "12500 MHz";
-            }
-            enum G_6_25GHZ {
-                description "6250 MHz";
-            }
-            enum G_3_125GHZ {
-                description "3125 MHz";
-            }
-            enum UNCONSTRAINED {
-                description "none";
-            }
-        }
-        description "Adjustment granularity in Gigahertz. As per ITU-T G.694.1, it is used to calculate nominal central frequency";
-    }
-    grouping spectrum-band {
-        leaf upper-frequency {
-            type uint64;
-            description "The upper frequency bound of the media channel spectrum specified in MHz";
-        }
-        leaf lower-frequency {
-            type uint64;
-            description "The lower frequency bound of the media channel spectrum specified in MHz";
-        }
-        container frequency-constraint {
-            uses frequency-constraint;
-            description "none";
-        }
-        description "This data-type holds the spectrum information in termsof upper/lower frequency directly or optionally the information to determin this in terms of the nominal central frequency and spectral width for a FIXED grid (DWDM or CWDM) and FLEX grid type systems.";
-    }
-    typedef modulation-technique {
-        type enumeration {
-            enum RZ {
-                description "none";
-            }
-            enum NRZ {
-                description "none";
-            }
-            enum BPSK {
-                description "none";
-            }
-            enum DPSK {
-                description "none";
-            }
-            enum QPSK {
-                description "none";
-            }
-            enum 8QAM {
-                description "none";
-            }
-            enum 16QAM {
-                description "none";
-            }
-            enum PAM4 {
-                description "none";
-            }
-            enum PAM8 {
-                description "none";
-            }
-            enum UNDEFINED {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef laser-type {
-        type enumeration {
-            enum PUMP {
-                description "none";
-            }
-            enum MODULATED {
-                description "none";
-            }
-            enum PULSE {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef photonic-layer-qualifier {
-        type identityref {
-            base PHOTONIC_LAYER_QUALIFIER;
-        }
-        description "none";
-    }
-    typedef laser-control-type {
-        type enumeration {
-            enum FORCED-ON {
-                description "none";
-            }
-            enum FORCED-OFF {
-                description "none";
-            }
-            enum AUTOMATIC-LASER-SHUTDOWN {
-                description "none";
-            }
-            enum UNDEFINED {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef laser-control-status-type {
-        type enumeration {
-            enum ON {
-                description "none";
-            }
-            enum OFF {
-                description "none";
-            }
-            enum PULSING {
-                description "none";
-            }
-            enum UNDEFINED {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    grouping frequency-constraint {
-        leaf adjustment-granularity {
-            type adjustment-granularity;
-            description "Adjustment granularity in Gigahertz. As per ITU-T G.694.1, it is used to calculate nominal central frequency (in THz)";
-        }
-        leaf grid-type {
-            type grid-type;
-            description "Specifies the frequency grid standard used to determine the nominal central frequency and frequency slot width";
-        }
-        description "This data-type holds the frequency constraint information in terms of GridType ( FIXED grid (DWDM or CWDM) or FLEX grid) and AdjustmentGranularity.";
-    }
-}
diff --git a/tapimodels/src/main/yang/tapi-topology@2018-12-10.yang b/tapimodels/src/main/yang/tapi-topology@2018-12-10.yang
deleted file mode 100644 (file)
index 2ceeb77..0000000
+++ /dev/null
@@ -1,716 +0,0 @@
-module tapi-topology {
-    namespace "urn:onf:otcc:yang:tapi-topology";
-    prefix tapi-topology;
-    import tapi-common {
-        prefix tapi-common;
-    }
-    organization "ONF OTCC (Open Transport Configuration & Control) Project";
-    contact "
-         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
-         Project List: <mailto:transport-api@opennetworking.org>
-         Editor: Karthik Sethuraman
-                 <mailto:karthik.sethuraman@necam.com>";
-    description "
-        This module contains TAPI Topology Model definitions.
-        Source: TapiTopology.uml
-        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.
-        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
-          <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
-          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
-          <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
-        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
-          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
-        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
-          The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
-          YANG models included in this release may not be backward compatible with previous TAPI releases.
-        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
-        License: This module is distributed under the Apache License 2.0";
-    revision 2018-12-10 {
-        description "ONF Transport API version 2.1.1.
-                   Changes included in this TAPI release (v2.1.1) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-10-16 {
-        description "ONF Transport API version 2.1.0.
-                   Changes included in this TAPI release (v2.1.0) are listed in
-                   <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
-    }
-    revision 2018-03-07 {
-        description "ONF Transport API version 2.0.2
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
-    }
-    revision 2018-02-16 {
-        description "ONF Transport API version 2.0.1
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
-    }
-    revision 2018-01-02 {
-        description "ONF Transport API version 2.0.0
-        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
-        Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
-        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
-                  <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
-    }
-    augment "/tapi-common:context" {
-        container topology-context {
-            uses topology-context;
-            description "Augments the base TAPI Context with TopologyService information";
-        }
-        description "Augments the base TAPI Context with TopologyService information";
-    }
-
-   /**************************
-    * definitions of refrences
-    **************************/
-    grouping topology-ref {
-        leaf topology-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping link-ref {
-        uses topology-ref;
-        leaf link-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:link/tapi-topology:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping node-ref {
-        uses topology-ref;
-        leaf node-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping node-edge-point-ref {
-        uses node-ref;
-        leaf node-edge-point-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-    grouping node-rule-group-ref {
-        uses node-ref;
-        leaf node-rule-group-uuid {
-            type leafref {
-                path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:node-rule-group/tapi-topology:uuid';
-            }
-            description "none";
-        }
-        description "none";
-    }
-
-   /**************************
-    * package object-classes
-    **************************/
-    grouping link {
-        list node-edge-point {
-            uses node-edge-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid';
-            config false;
-            min-elements 2;
-            description "none";
-        }
-        leaf-list layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        leaf direction {
-            type tapi-common:forwarding-direction;
-            config false;
-            description "The directionality of the Link.
-                Is applicable to simple Links where all LinkEnds are BIDIRECTIONAL (the Link will be BIDIRECTIONAL) or UNIDIRECTIONAL (the Link will be UNIDIRECTIONAL).
-                Is not present in more complex cases.";
-        }
-        container resilience-type {
-            uses resilience-type;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:admin-state-pac;
-        uses tapi-common:capacity-pac;
-        uses transfer-cost-pac;
-        uses transfer-integrity-pac;
-        uses transfer-timing-pac;
-        uses risk-parameter-pac;
-        uses validation-pac;
-        uses layer-protocol-transition-pac;
-        description "The Link object class models effective adjacency between two or more ForwardingDomains (FD). ";
-    }
-    grouping node {
-        list owned-node-edge-point {
-            key 'uuid';
-            config false;
-            uses node-edge-point;
-            description "none";
-        }
-        list aggregated-node-edge-point {
-            uses node-edge-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid';
-            config false;
-            description "none";
-        }
-        list node-rule-group {
-            key 'uuid';
-            uses node-rule-group;
-            description "none";
-        }
-        container encap-topology {
-            uses topology-ref;
-            config false;
-            description "none";
-        }
-        leaf-list layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:admin-state-pac;
-        uses tapi-common:capacity-pac;
-        uses transfer-cost-pac;
-        uses transfer-integrity-pac;
-        uses transfer-timing-pac;
-        description "The ForwardingDomain (FD) object class models the ForwardingDomain topological component which is used to effect forwarding of transport characteristic information and offers the potential to enable forwarding.
-            At the lowest level of recursion, an FD (within a network element (NE)) represents a switch matrix (i.e., a fabric). Note that an NE can encompass multiple switch matrices (FDs). ";
-    }
-    grouping topology {
-        list node {
-            key 'uuid';
-            config false;
-            uses node;
-            description "none";
-        }
-        list link {
-            key 'uuid';
-            config false;
-            uses link;
-            description "none";
-        }
-        leaf-list layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            min-elements 1;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        description "The ForwardingDomain (FD) object class models the ForwardingDomain topological component which is used to effect forwarding of transport characteristic information and offers the potential to enable forwarding.
-            At the lowest level of recursion, an FD (within a network element (NE)) represents a switch matrix (i.e., a fabric). Note that an NE can encompass multiple switch matrices (FDs). ";
-    }
-    grouping layer-protocol-transition-pac {
-        leaf-list transitioned-layer-protocol-name {
-            type string;
-            min-elements 2;
-            description "Provides the ordered structure of layer protocol transitions encapsulated in the TopologicalEntity. The ordering relates to the LinkPort role.";
-        }
-        description "Relevant for a Link that is formed by abstracting one or more LTPs (in a stack) to focus on the flow and deemphasize the protocol transformation.
-            This abstraction is relevant when considering multi-layer routing.
-            The layer protocols of the LTP and the order of their application to the signal is still relevant and need to be accounted for. This is derived from the LTP spec details.
-            This Pac provides the relevant abstractions of the LTPs and provides the necessary association to the LTPs involved.
-            Links that included details in this Pac are often referred to as Transitional Links.";
-    }
-    grouping node-edge-point {
-        leaf layer-protocol-name {
-            type tapi-common:layer-protocol-name;
-            config false;
-            description "none";
-        }
-        leaf-list supported-cep-layer-protocol-qualifier {
-            type tapi-common:layer-protocol-qualifier;
-            min-elements 1;
-            description "none";
-        }
-        list aggregated-node-edge-point {
-            uses node-edge-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid';
-            config false;
-            description "none";
-        }
-        list mapped-service-interface-point {
-            uses tapi-common:service-interface-point-ref;
-            key 'service-interface-point-uuid';
-            config false;
-            description "NodeEdgePoint mapped to more than ServiceInterfacePoint (slicing/virtualizing) or a ServiceInterfacePoint mapped to more than one NodeEdgePoint (load balancing/Resilience) should be considered experimental";
-        }
-        leaf link-port-direction {
-            type tapi-common:port-direction;
-            config false;
-            description "The orientation of defined flow at the LinkEnd.";
-        }
-        leaf link-port-role {
-            type tapi-common:port-role;
-            config false;
-            description "Each LinkEnd of the Link has a role (e.g., symmetric, hub, spoke, leaf, root)  in the context of the Link with respect to the Link function. ";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:admin-state-pac;
-        uses tapi-common:termination-pac;
-        uses tapi-common:capacity-pac;
-        description "The LogicalTerminationPoint (LTP) object class encapsulates the termination and adaptation functions of one or more transport layers.
-            The structure of LTP supports all transport protocols including circuit and packet forms.";
-    }
-    grouping risk-parameter-pac {
-        list risk-characteristic {
-            key 'risk-characteristic-name';
-            config false;
-            min-elements 1;
-            uses risk-characteristic;
-            description "A list of risk characteristics for consideration in an analysis of shared risk. Each element of the list represents a specific risk consideration.";
-        }
-        description "The risk characteristics of a TopologicalEntity come directly from the underlying physical realization.
-            The risk characteristics propagate from the physical realization to the client and from the server layer to the client layer, this propagation may be modified by protection.
-            A TopologicalEntity may suffer degradation or failure as a result of a problem in a part of the underlying realization.
-            The realization can be partitioned into segments which have some relevant common failure modes.
-            There is a risk of failure/degradation of each segment of the underlying realization.
-            Each segment is a part of a larger physical/geographical unit that behaves as one with respect to failure (i.e. a failure will have a high probability of impacting the whole unit (e.g. all cables in the same duct).
-            Disruptions to that larger physical/geographical unit will impact (cause failure/errors to) all TopologicalEntities that use any part of that larger physical/geographical entity.
-            Any TopologicalEntity that uses any part of that larger physical/geographical unit will suffer impact and hence each TopologicalEntity shares risk.
-            The identifier of each physical/geographical unit that is involved in the realization of each segment of a Topological entity can be listed in the RiskParameter_Pac of that TopologicalEntity.
-            A segment has one or more risk characteristic.
-            Shared risk between two TopologicalEntities compromises the integrity of any solution that use one of those TopologicalEntity as a backup for the other.
-            Where two TopologicalEntities have a common risk characteristic they have an elevated probability of failing simultaneously compared to two TopologicalEntities that do not share risk characteristics.";
-    }
-    grouping transfer-cost-pac {
-        list cost-characteristic {
-            key 'cost-name';
-            config false;
-            min-elements 1;
-            uses cost-characteristic;
-            description "The list of costs where each cost relates to some aspect of the TopologicalEntity.";
-        }
-        description "The cost characteristics of a TopologicalEntity not necessarily correlated to the cost of the underlying physical realization.
-            They may be quite specific to the individual TopologicalEntity e.g. opportunity cost. Relates to layer capacity
-            There may be many perspectives from which cost may be considered  for a particular TopologicalEntity and hence many specific costs and potentially cost algorithms.
-            Using an entity will incur a cost. ";
-    }
-    grouping transfer-integrity-pac {
-        leaf error-characteristic {
-            type string;
-            config false;
-            description "Describes the degree to which the signal propagated can be errored.
-                Applies to TDM systems as the errored signal will be propagated and not packet as errored packets will be discarded.";
-        }
-        leaf loss-characteristic {
-            type string;
-            config false;
-            description "Describes the acceptable characteristic of lost packets where loss may result from discard due to errors or overflow.
-                Applies to packet systems and not TDM (as for TDM errored signals are propagated unless grossly errored and overflow/underflow turns into timing slips).";
-        }
-        leaf repeat-delivery-characteristic {
-            type string;
-            config false;
-            description "Primarily applies to packet systems where a packet may be delivered more than once (in fault recovery for example).
-                It can also apply to TDM where several frames may be received twice due to switching in a system with a large differential propagation delay.";
-        }
-        leaf delivery-order-characteristic {
-            type string;
-            config false;
-            description "Describes the degree to which packets will be delivered out of sequence.
-                Does not apply to TDM as the TDM protocols maintain strict order.";
-        }
-        leaf unavailable-time-characteristic {
-            type string;
-            config false;
-            description "Describes the duration for which there may be no valid signal propagated.";
-        }
-        leaf server-integrity-process-characteristic {
-            type string;
-            config false;
-            description "Describes the effect of any server integrity enhancement process on the characteristics of the TopologicalEntity.";
-        }
-        description "Transfer intergrity characteristic covers expected/specified/acceptable characteristic of degradation of the transfered signal.
-            It includes all aspects of possible degradation of signal content as well as any damage of any form to the total TopologicalEntity and to the carried signals.
-            Note that the statement is of total impact to the TopologicalEntity so any partial usage of the TopologicalEntity (e.g. a signal that does not use full capacity) will only suffer its portion of the impact.";
-    }
-    grouping transfer-timing-pac {
-        list latency-characteristic {
-            key 'traffic-property-name';
-            config false;
-            min-elements 1;
-            uses latency-characteristic;
-            description "The effect on the latency of a queuing process. This only has significant effect for packet based systems and has a complex characteristic.";
-        }
-        description "A TopologicalEntity will suffer effects from the underlying physical realization related to the timing of the information passed by the TopologicalEntity.";
-    }
-    grouping validation-pac {
-        list validation-mechanism {
-            key 'validation-mechanism';
-            config false;
-            min-elements 1;
-            uses validation-mechanism;
-            description "Provides details of the specific validation mechanism(s) used to confirm the presence of an intended topologicalEntity.";
-        }
-        description "Validation covers the various adjacenct discovery and reachability verification protocols. Also may cover Information source and degree of integrity.";
-    }
-    grouping network-topology-service {
-        list topology {
-            uses topology-ref;
-            key 'topology-uuid';
-            config false;
-            description "none";
-        }
-        uses tapi-common:service-spec;
-        description "none";
-    }
-    grouping topology-context {
-        container nw-topology-service {
-            config false;
-            uses network-topology-service;
-            description "none";
-        }
-        list topology {
-            key 'uuid';
-            config false;
-            uses topology;
-            description "none";
-        }
-        description "none";
-    }
-    grouping inter-rule-group {
-        list rule {
-            key 'local-id';
-            min-elements 1;
-            uses rule;
-            description "none";
-        }
-        list associated-node-rule-group {
-            uses node-rule-group-ref;
-            key 'topology-uuid node-uuid node-rule-group-uuid';
-            min-elements 2;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:capacity-pac;
-        uses transfer-cost-pac;
-        uses transfer-timing-pac;
-        uses risk-parameter-pac;
-        description "none";
-    }
-    grouping node-rule-group {
-        list rule {
-            key 'local-id';
-            min-elements 1;
-            uses rule;
-            description "none";
-        }
-        list node-edge-point {
-            uses node-edge-point-ref;
-            key 'topology-uuid node-uuid node-edge-point-uuid';
-            min-elements 1;
-            description "none";
-        }
-        list composed-rule-group {
-            uses node-rule-group-ref;
-            key 'topology-uuid node-uuid node-rule-group-uuid';
-            description "none";
-        }
-        list inter-rule-group {
-            key 'uuid';
-            uses inter-rule-group;
-            description "none";
-        }
-        uses tapi-common:resource-spec;
-        uses tapi-common:capacity-pac;
-        uses transfer-cost-pac;
-        uses transfer-timing-pac;
-        uses risk-parameter-pac;
-        description "none";
-    }
-    grouping rule {
-        leaf rule-type {
-            type rule-type;
-            description "none";
-        }
-        leaf forwarding-rule {
-            type forwarding-rule;
-            description "none";
-        }
-        leaf override-priority {
-            type uint64;
-            description "none";
-        }
-        uses tapi-common:local-class;
-        description "none";
-    }
-
-   /**************************
-    * package type-definitions
-    **************************/
-    grouping cost-characteristic {
-        leaf cost-name {
-            type string;
-            description "The cost characteristic will related to some aspect of the TopologicalEntity (e.g. $ cost, routing weight). This aspect will be conveyed by the costName.";
-        }
-        leaf cost-value {
-            type string;
-            description "The specific cost.";
-        }
-        leaf cost-algorithm {
-            type string;
-            description "The cost may vary based upon some properties of the TopologicalEntity. The rules for the variation are conveyed by the costAlgorithm.";
-        }
-        description "The information for a particular cost characteristic.";
-    }
-    grouping latency-characteristic {
-        leaf traffic-property-name {
-            type string;
-            description "The identifier of the specific traffic property to which the queuing latency applies.";
-        }
-        leaf fixed-latency-characteristic {
-            type string;
-            config false;
-            description "A TopologicalEntity suffers delay caused by the realization of the servers (e.g. distance related; FEC encoding etc.) along with some client specific processing. This is the total average latency effect of the TopologicalEntity";
-        }
-        leaf queing-latency-characteristic {
-            type string;
-            description "The specific queuing latency for the traffic property.";
-        }
-        leaf jitter-characteristic {
-            type string;
-            config false;
-            description "High frequency deviation from true periodicity of a signal and therefore a small high rate of change of transfer latency.
-                Applies to TDM systems (and not packet).";
-        }
-        leaf wander-characteristic {
-            type string;
-            config false;
-            description "Low frequency deviation from true periodicity of a signal and therefore a small low rate of change of transfer latency.
-                Applies to TDM systems (and not packet).";
-        }
-        description "Provides information on latency characteristic for a particular stated trafficProperty.";
-    }
-    grouping risk-characteristic {
-        leaf risk-characteristic-name {
-            type string;
-            description "The name of the risk characteristic. The characteristic may be related to a specific degree of closeness.
-                For example a particular characteristic may apply to failures that are localized (e.g. to one side of a road) where as another characteristic may relate to failures that have a broader impact (e.g. both sides of a road that crosses a bridge).
-                Depending upon the importance of the traffic being routed different risk characteristics will be evaluated.";
-        }
-        leaf-list risk-identifier-list {
-            type string;
-            min-elements 1;
-            description "A list of the identifiers of each physical/geographic unit (with the specific risk characteristic) that is related to a segment of the TopologicalEntity.";
-        }
-        description "The information for a particular risk characteristic where there is a list of risk identifiers related to that characteristic.";
-    }
-    grouping validation-mechanism {
-        leaf validation-mechanism {
-            type string;
-            description "Name of mechanism used to validate adjacency";
-        }
-        leaf layer-protocol-adjacency-validated {
-            type string;
-            description "State of validatiion";
-        }
-        leaf validation-robustness {
-            type string;
-            description "Quality of validation (i.e. how likely is the stated validation to be invalid)";
-        }
-        description "Identifies the validation mechanism and describes the characteristics of that mechanism";
-    }
-    typedef forwarding-rule {
-        type enumeration {
-            enum MAY_FORWARD_ACROSS_GROUP {
-                description "none";
-            }
-            enum MUST_FORWARD_ACROSS_GROUP {
-                description "none";
-            }
-            enum CANNOT_FORWARD_ACROSS_GROUP {
-                description "none";
-            }
-            enum NO_STATEMENT_ON_FORWARDING {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef rule-type {
-        type enumeration {
-            enum FORWARDING {
-                description "none";
-            }
-            enum CAPACITY {
-                description "none";
-            }
-            enum COST {
-                description "none";
-            }
-            enum TIMING {
-                description "none";
-            }
-            enum RISK {
-                description "none";
-            }
-            enum GROUPING {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    grouping resilience-type {
-        leaf restoration-policy {
-            type restoration-policy;
-            description "none";
-        }
-        leaf protection-type {
-            type protection-type;
-            description "none";
-        }
-        description "none";
-    }
-    typedef restoration-policy {
-        type enumeration {
-            enum PER_DOMAIN_RESTORATION {
-                description "none";
-            }
-            enum END_TO_END_RESTORATION {
-                description "none";
-            }
-            enum NA {
-                description "none";
-            }
-        }
-        description "none";
-    }
-    typedef protection-type {
-        type enumeration {
-            enum NO_PROTECTON {
-                description "none";
-            }
-            enum ONE_PLUS_ONE_PROTECTION {
-                description "none";
-            }
-            enum ONE_PLUS_ONE_PROTECTION_WITH_DYNAMIC_RESTORATION {
-                description "none";
-            }
-            enum PERMANENT_ONE_PLUS_ONE_PROTECTION {
-                description "none";
-            }
-            enum ONE_FOR_ONE_PROTECTION {
-                description "none";
-            }
-            enum DYNAMIC_RESTORATION {
-                description "none";
-            }
-            enum PRE_COMPUTED_RESTORATION {
-                description "none";
-            }
-        }
-        description "none";
-    }
-
-   /**************************
-    * package interfaces
-    **************************/
-    rpc get-topology-details {
-        description "none";
-        input {
-            leaf topology-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container topology {
-                uses topology;
-                description "none";
-            }
-        }
-    }
-    rpc get-node-details {
-        description "none";
-        input {
-            leaf topology-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf node-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container node {
-                uses node;
-                description "none";
-            }
-        }
-    }
-    rpc get-node-edge-point-details {
-        description "none";
-        input {
-            leaf topology-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf node-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf ep-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container node-edge-point {
-                uses node-edge-point;
-                description "none";
-            }
-        }
-    }
-    rpc get-link-details {
-        description "none";
-        input {
-            leaf topology-id-or-name {
-                type string;
-                description "none";
-            }
-            leaf link-id-or-name {
-                type string;
-                description "none";
-            }
-        }
-        output {
-            container link {
-                uses link;
-                description "none";
-            }
-        }
-    }
-    rpc get-topology-list {
-        description "none";
-        output {
-            list topology {
-                key 'uuid';
-                uses topology;
-                description "none";
-            }
-        }
-    }
-}