Add TAPI Topology simulated network function type.
[sim/o1-interface.git] / ntsimulator / deploy / smo-nts-ng-topology-server / yang / tapi-dsr@2020-04-23.yang
diff --git a/ntsimulator/deploy/smo-nts-ng-topology-server/yang/tapi-dsr@2020-04-23.yang b/ntsimulator/deploy/smo-nts-ng-topology-server/yang/tapi-dsr@2020-04-23.yang
new file mode 100644 (file)
index 0000000..4a71f0d
--- /dev/null
@@ -0,0 +1,241 @@
+module tapi-dsr {\r
+    namespace "urn:onf:otcc:yang:tapi-dsr";\r
+    prefix tapi-dsr;\r
+    import tapi-common {\r
+        prefix tapi-common;\r
+    }\r
+    organization "ONF OTCC (Open Transport Configuration & Control) Project";\r
+    contact "\r
+         Project Web: <https://urldefense.com/v3/__https://wiki.opennetworking.org/display/OTCC/TAPI__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G39KDEbL$ >\r
+         Project List: <mailto:transport-api@opennetworking.org>\r
+         Editor: Karthik Sethuraman <mailto:karthik.sethuraman@necam.com>\r
+         Andrea Mazzini <mailto:andrea.mazzini@nokia.com>\r
+         Arturo Mayoral <mailto:arturo.mayoral@telefonica.com>\r
+         Nigel Davis <mailto:ndavis@ciena.com>";\r
+    description "\r
+        This module contains TAPI DSR Model definitions.\r
+        Source: TapiDsr.uml\r
+        - The TAPI YANG models included in this TAPI release are a *normative* part of the TAPI SDK.\r
+        - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]\r
+          <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/EagleUmlYang__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G4QHf0bG$ >\r
+          and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]\r
+          <https://urldefense.com/v3/__https://wiki.opennetworking.org/display/OIMT/UML*-*YANG*Guidelines__;Kysr!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G8IIivez$ >\r
+        - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.\r
+          As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.\r
+        - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.\r
+          The YANG model backward compatibility criteria are outlined in section 11 of <https://urldefense.com/v3/__https://tools.ietf.org/html/rfc7950__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G3bKxRf2$ >.\r
+          YANG models included in this release may not be backward compatible with previous TAPI releases.\r
+        Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.\r
+        License: This module is distributed under the Apache License 2.0";\r
+    revision 2020-04-23 {\r
+        description "ONF Transport API version 2.1.3.\r
+                   Changes included in this TAPI release (v2.1.3) are listed in\r
+                   <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/blob/develop_v2_1/CHANGE_LOG/change-log.2.1.3.md__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G7tqhxFK$ >";\r
+        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model\r
+                  <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G7KeAhLL$ >";\r
+    }\r
+    revision 2019-07-16 {\r
+        description "ONF Transport API version 2.1.2.\r
+                   Changes included in this TAPI release (v2.1.2) are listed in\r
+                   <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/blob/develop_v2_1/CHANGE_LOG/change-log.2.1.2.md__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G7eDS6-t$ >";\r
+        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model\r
+                  <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G7KeAhLL$ >";\r
+    }\r
+    revision 2018-12-10 {\r
+        description "ONF Transport API version 2.1.1.\r
+                   Changes included in this TAPI release (v2.1.1) are listed in\r
+                   <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.1.md__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G1ftwU5J$ >";\r
+        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model\r
+                  <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G7KeAhLL$ >";\r
+    }\r
+    revision 2018-10-16 {\r
+        description "ONF Transport API version 2.1.0.\r
+                   Changes included in this TAPI release (v2.1.0) are listed in\r
+                   <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G-5JStw4$ >";\r
+        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model\r
+                  <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G7KeAhLL$ >";\r
+    }\r
+    revision 2018-03-07 {\r
+        description "ONF Transport API version 2.0.2\r
+        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.\r
+        Changes in this revision: <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G1Yf4AAN$ >";\r
+        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model\r
+                  <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G27-pJK_$ >";\r
+    }\r
+    revision 2018-02-16 {\r
+        description "ONF Transport API version 2.0.1\r
+        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.\r
+        Changes in this revision: <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G8RnGvXg$ >";\r
+        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model\r
+                  <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6Gy6YoeAv$ >";\r
+    }\r
+    revision 2018-01-02 {\r
+        description "ONF Transport API version 2.0.0\r
+        This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.\r
+        Changes in this revision: <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6GyqYDgG_$ >";\r
+        reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model\r
+                  <https://urldefense.com/v3/__https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML__;!!OSsGDw!d_dJlNtYLmD585It0DKukzB2TS5KZqBZQ-pdI1D-6c6c5hRDotd6G1V9Thk9$ >";\r
+    }\r
+\r
+   /**************************\r
+    * package type-definitions\r
+    **************************/\r
+    identity DIGITAL_SIGNAL_TYPE {\r
+        base tapi-common:LAYER_PROTOCOL_QUALIFIER;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_GigE {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_10_GigE_LAN {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_10_GigE_WAN {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_40_GigE {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_100_GigE {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_FC_100 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_FC_200 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_FC_400 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_FC_800 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_FC_1200 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_FC_1600 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_FC_3200 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_STM_1 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_STM_4 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_STM_16 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_STM_64 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_STM_256 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OC_3 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OC_12 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OC_48 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OC_192 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OC_768 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OTU_1 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OTU_2 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OTU_2E {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OTU_3 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_OTU_4 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_GPON {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_XGPON {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_IB_SDR {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_IB_DDR {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_IB_QDR {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_SBCON_ESCON {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_DVB_ASI {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_SDI {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_SDI_1G5 {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    identity DIGITAL_SIGNAL_TYPE_SDI_3G {\r
+        base DIGITAL_SIGNAL_TYPE;\r
+        description "none";\r
+    }\r
+    typedef digital-signal-type {\r
+        type identityref {\r
+            base DIGITAL_SIGNAL_TYPE;\r
+        }\r
+        description "none";\r
+    }\r
+}\r