Bug 4202: Migrate also toaster to use mdsal project
[controller.git] / opendaylight / md-sal / sal-dom-config / src / main / yang / opendaylight-md-sal-common.yang
index b7a0bc0b99723bfa5849539c05403b9c2bc5e148..ac2f924408fefe346473b786a7cf65dffa269f4d 100644 (file)
@@ -1,71 +1,71 @@
-module opendaylight-md-sal-common {\r
-       yang-version 1;\r
-    namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:common";\r
-    prefix "md-sal-common";\r
-    \r
-    description\r
-        "Common definition for MD-SAL.";\r
\r
-    revision "2013-10-28" {\r
-        description\r
-            "Initial revision";\r
-    }\r
-    \r
-    grouping rpc-routing-table {\r
-        \r
-        leaf routing-context {\r
-            type string;\r
-        }\r
-        list routes {\r
-            leaf path {\r
-                type string;\r
-            }\r
-            leaf destination {\r
-                type string;\r
-            }\r
-        }\r
-    \r
-    }\r
-\r
-    grouping rpc-router {\r
-        leaf module {\r
-            type string;\r
-        }\r
-        container routing-tables {\r
-            list routing-table {\r
-                uses rpc-routing-table;\r
-            }\r
-        }\r
-    }\r
-\r
-    grouping rpc-state {\r
-        list rpc-router {\r
-            uses rpc-router;\r
-        }\r
-    }\r
-    \r
-    grouping notification-state {\r
-        container notifications {\r
-            leaf published {\r
-                type uint32;\r
-            }\r
-        }\r
-    }\r
-    \r
-    grouping data-state {\r
-        container transactions {\r
-            leaf created {\r
-                type uint32;\r
-            }\r
-            leaf submitted {\r
-                type uint32;\r
-            }\r
-            leaf successful {\r
-                type uint32;\r
-            }\r
-            leaf failed {\r
-                type uint32;\r
-            }\r
-        }\r
-    }\r
+module opendaylight-md-sal-common {
+       yang-version 1;
+    namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:common";
+    prefix "md-sal-common";
+    
+    description
+        "Common definition for MD-SAL.";
+    revision "2013-10-28" {
+        description
+            "Initial revision";
+    }
+    
+    grouping rpc-routing-table {
+        
+        leaf routing-context {
+            type string;
+        }
+        list routes {
+            leaf path {
+                type string;
+            }
+            leaf destination {
+                type string;
+            }
+        }
+    
+    }
+
+    grouping rpc-router {
+        leaf module {
+            type string;
+        }
+        container routing-tables {
+            list routing-table {
+                uses rpc-routing-table;
+            }
+        }
+    }
+
+    grouping rpc-state {
+        list rpc-router {
+            uses rpc-router;
+        }
+    }
+    
+    grouping notification-state {
+        container notifications {
+            leaf published {
+                type uint32;
+            }
+        }
+    }
+    
+    grouping data-state {
+        container transactions {
+            leaf created {
+                type uint32;
+            }
+            leaf submitted {
+                type uint32;
+            }
+            leaf successful {
+                type uint32;
+            }
+            leaf failed {
+                type uint32;
+            }
+        }
+    }
 }
\ No newline at end of file