Updated Flow Capable Models & AD SAL Compatibility mapping
[controller.git] / opendaylight / md-sal / model / model-flow-statistics / src / main / yang / flow-statistics.yang
index c4f151f0abd867aa7c945dd05e67aafca5e1f490..fb6f82d05bb1b74e3db340617104ba2afbb81ac7 100644 (file)
@@ -8,6 +8,7 @@ module opendaylight-flow-statistics {
     import sal-flow {prefix flow;}
     import opendaylight-statistics-types {prefix stat-types;}
 
+
     revision "2013-08-19" {
         description "Initial revision of flow service";
     }
@@ -27,10 +28,6 @@ module opendaylight-flow-statistics {
         }
     }
 
-    notification node-connector-statistics-updated {
-        uses stat-types:node-connector-statistics;
-    }
-
     rpc get-flow-statistics {
         input {
             leaf node {
@@ -44,6 +41,34 @@ module opendaylight-flow-statistics {
         }
     }
 
+    rpc get-all-flow-statistics {
+        input {
+            leaf node {
+                ext:context-reference "inv:node-context";
+                type inv:node-ref;
+            }
+        }
+        output {
+            list flow-statistics {
+                uses flow-types:flow-statistics;
+            }
+        }
+    }
+
+    rpc get-all-node-connector-statistics {
+        input {
+            leaf node {
+                ext:context-reference "inv:node-context";
+                type inv:node-ref;
+            }
+        }
+        output {
+            list node-connector-statistics {
+                uses stat-types:node-connector-statistics;
+            }
+        }
+    }
+
     notification flow-statistics-updated {
         uses flow-types:flow-statistics;
     }
@@ -67,4 +92,9 @@ module opendaylight-flow-statistics {
         uses flow-types:flow-table-statistics;
     }
 
+    notification node-connector-statistics-updated {
+        uses stat-types:node-connector-statistics;
+    }
+
+
 }