import sal-flow {prefix flow;}
import opendaylight-statistics-types {prefix stat-types;}
+
revision "2013-08-19" {
description "Initial revision of flow service";
}
rpc get-node-connector-statistics {
input {
leaf node {
- ext:context-reference "node-context";
+ ext:context-reference "inv:node-context";
type inv:node-ref;
}
leaf node-connector {
}
}
- notification node-connector-statistics-updated {
- uses stat-types:node-connector-statistics;
- }
-
rpc get-flow-statistics {
input {
leaf node {
- ext:context-reference "node-context";
+ ext:context-reference "inv:node-context";
type inv:node-ref;
}
uses flow-types:flow;
}
}
+ 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;
}
rpc get-flow-table-statistics {
input {
leaf node {
- ext:context-reference "node-context";
+ ext:context-reference "inv:node-context";
type inv:node-ref;
}
}
uses flow-types:flow-table-statistics;
}
-}
\ No newline at end of file
+ notification node-connector-statistics-updated {
+ uses stat-types:node-connector-statistics;
+ }
+
+
+}