Update to MD-SAL APIs
[controller.git] / opendaylight / md-sal / model / model-flow-management / src / main / yang / flow-config.yang
1 module flow-management {
2     namespace "urn:opendaylight:flow:config";
3     prefix flow-cfg;
4
5     import yang-ext {prefix ext;}
6     import opendaylight-inventory {prefix inv;}
7     import opendaylight-flow-types {prefix flow;}
8
9     revision "2013-08-19" {
10         description "Initial revision of flow service";
11     }
12
13
14     grouping flow-entry {
15         leaf node {
16             type inv:node-ref;
17         }
18         uses flow:flow;
19     }
20
21     container flows {
22         list flow {
23             key "id";
24             
25             leaf id {
26                 type string;
27             }
28             uses flow:flow-entry;
29         }
30     }
31 }