Eliminate blueprint for southbound-cli commands
[openflowplugin.git] / model / model-flow-service / src / main / yang / flow-capable-transaction.yang
1 module flow-capable-transaction {
2     namespace "urn:opendaylight:flow:transaction";
3     prefix type;
4
5     import opendaylight-inventory {prefix inv; revision-date "2013-08-19";}
6     import ietf-inet-types {prefix inet; revision-date "2013-07-15";}
7     import yang-ext {prefix ext; revision-date "2013-07-09";}
8
9     revision "2015-03-04" {
10         description "Transaction support for openflow, contains:
11          - barrier rpc
12          - tentative transaction support structures";
13     }
14
15     typedef transaction-id {
16         type uint64;
17     }
18     grouping transaction-metadata {
19       description "Refers to MD-SAL transaction reference.";
20         leaf transaction-uri {
21             type inet:uri;
22         }
23     }
24
25     grouping transaction-aware {
26         status deprecated;
27
28         leaf transaction-id {
29             type transaction-id;
30         }
31     }
32
33     grouping multipart-transaction-aware {
34         status deprecated;
35
36         uses transaction-aware;
37
38         leaf moreReplies {
39             type boolean;
40             default false;
41         }
42     }
43
44     rpc send-barrier {
45         description "barrier request";
46         input {
47             leaf node {
48                 ext:context-reference "inv:node-context";
49                 type inv:node-ref;
50             }
51         }
52     }
53 }