Fixed discard-changes for mdsal netconf, mapping code cleanup.
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / sal-table.yang
1 module sal-table {
2     namespace "urn:opendaylight:table:service";
3     prefix table;
4
5     import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
6     import opendaylight-table-types {prefix table-type;revision-date "2013-10-26";}
7     import flow-capable-transaction {prefix tr;}
8
9     revision "2013-10-26" {
10         description "Initial revision of table service";
11     }
12     
13     /** Base configuration structure **/
14     grouping table-update {
15         uses "inv:node-context-ref";
16         container original-table {
17             uses table-type:table-features;
18         }
19         container updated-table {
20             uses table-type:table-features;
21         }
22     }
23     
24     rpc update-table {
25         input {
26             uses table-update;
27             uses tr:transaction-aware;
28         }
29         output {
30             uses tr:transaction-aware;
31         }
32     }
33     
34     notification table-updated {
35         uses "inv:node-context-ref";
36         uses tr:multipart-transaction-aware;
37         uses table-type:table-features;
38     }
39 }