Updated flow capable models and affected code
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / table-service.yang
1 module sal-table {
2     namespace "urn:opendaylight:table:service";
3     prefix table;
4
5     import yang-ext {prefix ext;}
6     import opendaylight-inventory {prefix inv;}    
7     import opendaylight-table-types {prefix table-type;}
8
9     revision "2013-10-26" {
10         description "Initial revision of table service";
11     }        
12     
13     /** Base configuration structure **/
14     grouping table-update {
15         container original-table {
16             uses table-type:table-features;
17         }
18         container updated-table {
19             uses table-type:table-features;
20         }
21     }
22     
23     rpc update-table {
24         input {
25             leaf node {
26                 ext:context-reference "inv:node-context";
27                 type inv:node-ref;
28             }
29             uses table-update;
30         }
31     }     
32 }