Merge dev/fluorine work across to master
[unimgr.git] / api / src / main / yang / cl-unimgr-mef.yang
diff --git a/api/src/main/yang/cl-unimgr-mef.yang b/api/src/main/yang/cl-unimgr-mef.yang
deleted file mode 100755 (executable)
index a2edb65..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-/*\r
- * Copyright (c) 2015 Cable Television Laboratories, Inc. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL\r
- */\r
-\r
-// Constructed based on Adolfo's UML UNI model\r
-// UNI\r
-// + uniIdentifier : string\r
-// + physicalMedium : string = UNI Type 2 Physical Interface\r
-// + speed : string = Set (10M, 100M, 10M/100M, 10M/100M/1000M, 1G, 10G>\r
-// + mode : string = Full Duplex\r
-// + macLayer : string = IEEE 802.3-2005\r
-// + type : string\r
-// + uniMtuSize : int = [uniMtuSize >= 1522]\r
-\r
-module cl-unimgr-mef {\r
-\r
-    yang-version 1;\r
-    namespace "urn:opendaylight:params:xml:ns:yang:unimgr";\r
-    prefix "unimgr";\r
-\r
-    import ietf-yang-types { prefix "yang"; revision-date 2013-07-15; }\r
-    import ietf-inet-types { prefix "inet"; revision-date 2013-07-15; }\r
-    import network-topology { prefix "topo"; revision-date 2013-10-21; }\r
-    import yang-ext { prefix "ext"; }\r
-    import ovsdb { prefix "ovsdb"; revision-date 2015-01-05;}\r
-\r
-    revision "2015-10-12" {\r
-        description "Updated revision of the unimgr model.";\r
-    }\r
-\r
-    grouping service-speed {\r
-        choice speed {\r
-            case speed-10M {\r
-                leaf speed-10M {\r
-                    type empty;\r
-                }\r
-            }\r
-            case speed-100M {\r
-                leaf speed-100M {\r
-                    type empty;\r
-                }\r
-            }\r
-            case speed-1G {\r
-                leaf speed-1G {\r
-                    type empty;\r
-                }\r
-            }\r
-            case speed-10G {\r
-                leaf speed-10G {\r
-                    type empty;\r
-                }\r
-            }\r
-        }\r
-    }\r
-\r
-    // represent simplification of MEF Per Uni Attributes\r
-    grouping uni {\r
-        leaf ovsdb-node-ref {\r
-            type ovsdb:ovsdb-node-ref;\r
-            description "A reference to the ovsdb node.";\r
-        }\r
-        leaf physical-medium {\r
-            type string;\r
-            default "UNI TypeFull Duplex 2 Physical Interface";\r
-        }\r
-        leaf ip-address {\r
-            type inet:ip-address;\r
-        }\r
-        leaf mac-address {\r
-           type yang:mac-address;\r
-        }\r
-        container speed {\r
-            uses service-speed;\r
-        }\r
-        leaf mode {\r
-            type string;\r
-            default "Full Duplex";\r
-        }\r
-        leaf mac-layer {\r
-            type string;\r
-            default "IEEE 802.3-2005";\r
-        }\r
-        leaf type {\r
-            type string;\r
-        }\r
-        leaf mtu-size {\r
-            type uint64;\r
-            units byte;\r
-        }\r
-    }\r
-\r
-    // Represents simplification of MEF EVC Per Uni Atrributes\r
-    grouping evc {\r
-        list uni-source {\r
-            key "order";\r
-            leaf order {\r
-                type uint8;\r
-            }\r
-            leaf uni {\r
-                type instance-identifier;\r
-            }\r
-            leaf ip-address {\r
-                type inet:ip-address;\r
-            }\r
-        }\r
-        list uni-dest {\r
-            key "order";\r
-            leaf order {\r
-                type uint8;\r
-            }\r
-            leaf uni {\r
-                type instance-identifier;\r
-            }\r
-            leaf ip-address {\r
-                type inet:ip-address;\r
-            }\r
-        }\r
-        leaf cos-id {\r
-            type string;\r
-        }\r
-        container ingress-bw {\r
-            uses service-speed;\r
-        }\r
-        container egress-bw {\r
-            uses service-speed;\r
-        }\r
-    }\r
-\r
-    augment "/topo:network-topology/topo:topology/topo:node" {\r
-        description "Augmentation for UNI nodes under topology";\r
-        ext:augment-identifier "uni-augmentation";\r
-        uses uni;\r
-    }\r
-\r
-    augment "/topo:network-topology/topo:topology/topo:link" {\r
-        description "Augmentation for EVC Link under topology";\r
-        ext:augment-identifier "evc-augmentation";\r
-        uses evc;\r
-    }\r
-\r
-    augment "/topo:network-topology/topo:topology/topo:node" {\r
-        description "Augmentation for loopback address nodes under topology";\r
-        ext:augment-identifier "loopback-augmentation";\r
-        leaf loopback-address {\r
-         type inet:ip-address;\r
-        }\r
-    }\r
-\r
-}\r