1 module opendaylight-flow-table-statistics {
2 namespace "urn:opendaylight:flow:table:statistics";
5 import flow-capable-transaction {prefix tr;}
6 import yang-ext {prefix ext; revision-date "2013-07-09";}
7 import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
8 import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
9 import flow-node-inventory {prefix flow-node;revision-date "2013-08-19";}
10 import opendaylight-table-types {prefix table-types;revision-date "2013-10-26";}
11 import opendaylight-statistics-types {prefix stat-types;revision-date "2013-09-25";}
16 Email: avishnoi@in.ibm.com";
18 revision "2013-12-15" {
19 description "Initial revision of flow table statistics model";
22 //Augment flow table statistics data to the table
23 augment "/inv:nodes/inv:node/flow-node:table" {
24 ext:augment-identifier "flow-table-statistics-data";
25 uses flow-table-statistics;
28 grouping flow-table-statistics {
29 container flow-table-statistics {
31 uses stat-types:generic-table-statistics;
35 //RPC calls to fetch flow table statistics
36 grouping flow-table-and-statistics-map {
37 list flow-table-and-statistics-map {
40 type table-types:table-id;
42 uses stat-types:generic-table-statistics;
46 rpc get-flow-tables-statistics {
47 description "Fetch statistics of all the flow tables present on the tarnet node";
49 uses inv:node-context-ref;
52 uses flow-table-and-statistics-map;
53 uses tr:transaction-aware;
57 //Notification to receive table statistics update
59 notification flow-table-statistics-update {
60 description "Receive flow table statistics update";
66 uses flow-table-and-statistics-map;
67 uses tr:transaction-aware;