Replace exception.printStacktrace with write to log.
[controller.git] / opendaylight / sal / yang-prototype / sal / model / model-flow-service / src / main / yang / opendaylight-flow-service.yang
1 module opendaylight-flow-service {
2     namespace "urn:opendaylight:flow:service";
3     prefix flow;
4
5     import yang-ext {prefix ext;}
6     import opendaylight-inventory {prefix inv;}
7     import opendaylight-flow-base {prefix flowbase;}
8
9     revision "2013-08-19" {
10         description "Initial revision of flow service";
11     }
12
13     /** Base configuration structure **/
14     
15
16     grouping flow-update {
17         container original-flow {
18             uses flowbase:flow;
19         }
20         container updated-flow {
21             uses flowbase:flow;
22         }
23     }
24
25     rpc add-flow {
26         input {
27             uses flowbase:flow;
28         }
29     }
30
31     rpc remove-flow {
32         input {
33             uses flowbase:flow;
34         }
35     }
36
37     rpc update-flow {
38         input {
39             uses flow-update;
40         }
41     }
42
43     notification flow-added {
44         uses flowbase:flow;
45     }
46
47     notification flow-updated {
48         input {
49             uses flow-update;
50         }
51     }
52
53     notification flow-removed {
54         uses flowbase:flow;
55     }
56 }