X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmodel%2Fmodel-flow-service%2Fsrc%2Fmain%2Fyang%2Fflow-capable-transaction.yang;h=160291cf21a3f494daa221bb961290a35687127a;hp=1c675f015dfd4a4964214bb289c4b765a05b1846;hb=9e8add2114ce1c3fd18a860af6e7419270611209;hpb=3720603339c7b3614235a90ce5215636aa373ad5 diff --git a/opendaylight/md-sal/model/model-flow-service/src/main/yang/flow-capable-transaction.yang b/opendaylight/md-sal/model/model-flow-service/src/main/yang/flow-capable-transaction.yang index 1c675f015d..160291cf21 100644 --- a/opendaylight/md-sal/model/model-flow-service/src/main/yang/flow-capable-transaction.yang +++ b/opendaylight/md-sal/model/model-flow-service/src/main/yang/flow-capable-transaction.yang @@ -1,17 +1,17 @@ module flow-capable-transaction { - namespace "urn:opendaylight:flow:transaction"; + namespace "urn:opendaylight:flow:transaction"; prefix type; import opendaylight-inventory {prefix inv; revision-date "2013-08-19";} import ietf-inet-types {prefix inet; revision-date "2010-09-24";} import yang-ext {prefix ext; revision-date "2013-07-09";} - + revision "2013-11-03" { description "Initial revision"; } typedef transaction-id { - type uint64; + type uint64; } // This refers to MD-SAL transaction reference. grouping transaction-metadata { @@ -19,13 +19,22 @@ module flow-capable-transaction { type inet:uri; } } - + grouping transaction-aware { leaf transaction-id { type transaction-id; } } + grouping multipart-transaction-aware { + uses transaction-aware; + + leaf moreReplies { + type boolean; + default false; + } + } + rpc get-next-transaction-id { input { leaf node { @@ -34,7 +43,7 @@ module flow-capable-transaction { } } output { - uses transaction-aware; + uses transaction-aware; } } @@ -50,4 +59,4 @@ module flow-capable-transaction { } } } -} \ No newline at end of file +}