migrate sdnr features to phosphorus
[ccsdk/features.git] / sdnr / wt / devicemanager-onap / onf14 / provider / src / test / resources / ltp-augment-1-0.yang
diff --git a/sdnr/wt/devicemanager-onap/onf14/provider/src/test/resources/ltp-augment-1-0.yang b/sdnr/wt/devicemanager-onap/onf14/provider/src/test/resources/ltp-augment-1-0.yang
new file mode 100644 (file)
index 0000000..a1aae58
--- /dev/null
@@ -0,0 +1,102 @@
+module ltp-augment-1-0 {\r
+  yang-version 1.1;\r
+  namespace "urn:onf:yang:ltp-augment-1-0";\r
+  prefix ltp-augment;\r
+\r
+  import ietf-yang-types {\r
+    prefix yang;\r
+  }\r
+  import core-model-1-4 {\r
+    prefix core-model;\r
+  }\r
+\r
+  organization \r
+     "openBackhaul.com proposal to Open Networking Foundation (ONF)";\r
+  contact\r
+    "WG Web : https://github.com/openBackhaul/Overview\r
+    WG List: LtpAugment@openBackhaul.com\r
+    Editor : Thorsten Heinze\r
+    Email  : Thorsten.Heinze@openBackhaul.com";\r
+  description\r
+    "Copyright 2019 openBackhaul.com\r
+\r
+    Licensed under the Apache License, Version 2.0 (the 'License');\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an 'AS IS' BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.";\r
+\r
+  revision 2020-07-30 {\r
+    description \r
+      "Model for the Transport SDN Pilot at Telefonica Germany.\r
+      Please view https://github.com/openBackhaul/ltpAugment/issues for changes.";\r
+    reference \r
+      "https://github.com/openBackhaul/ltpAugment/tree/tsp: Model definition\r
+      https://github.com/openBackhaul/onfCoreIm/tree/tsp: ONF TR-512 Core IM incl. Profile and enhanced Equipment definition";\r
+  }\r
+\r
+  augment "/core-model:control-construct/core-model:logical-termination-point"{\r
+    uses ltp-augment-spec;\r
+    description\r
+      "none";\r
+  }\r
+\r
+  /****************************************\r
+  * grouping statements for object classes\r
+  **************************************/ \r
+    grouping ltp-augment-spec {\r
+      container ltp-augment-pac {\r
+        uses ltp-augment-pac;\r
+        description\r
+          "none";\r
+      }\r
+      description\r
+        "none";\r
+    }\r
+\r
+    grouping ltp-augment-pac {\r
+      container ltp-augment-configuration {\r
+        uses ltp-augment-configuration;\r
+        description\r
+          "none";\r
+      }\r
+      description\r
+        "none";\r
+    }\r
+\r
+    grouping ltp-augment-configuration {\r
+      leaf-list equipment {\r
+        type leafref {\r
+          path "/core-model:control-construct/core-model:equipment/core-model:uuid";\r
+          require-instance false;\r
+        }\r
+        config false;\r
+        description\r
+          "Equipment, which determines the characteristics of this interface (LTP).";\r
+      }\r
+      leaf connector {\r
+        type leafref {\r
+          path "/core-model:control-construct/core-model:equipment/core-model:connector/core-model:local-id";\r
+          require-instance false;\r
+        }\r
+        config false;\r
+        description\r
+          "Connector, where this interface (LTP) can be physically connected.";\r
+      }\r
+      description  \r
+        "none";\r
+    }\r
+\r
+  /****************************************\r
+  * typedef statements\r
+  **************************************/ \r
+\r
+  /*********************************************\r
+  * grouping statements for complex data types\r
+  *******************************************/ \r
+\r
+}\r