X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=model%2Fmodel-flow-service%2Fsrc%2Fmain%2Fyang%2Fflow-capable-transaction.yang;h=fa62de826ca646bf0ba845eaa4d9eece0589e139;hb=611180ac770b6038b526c54994701db16d1a8567;hp=160291cf21a3f494daa221bb961290a35687127a;hpb=20c6d51283ad86f229b9f77977acfeb86902f902;p=openflowplugin.git diff --git a/model/model-flow-service/src/main/yang/flow-capable-transaction.yang b/model/model-flow-service/src/main/yang/flow-capable-transaction.yang index 160291cf21..fa62de826c 100644 --- a/model/model-flow-service/src/main/yang/flow-capable-transaction.yang +++ b/model/model-flow-service/src/main/yang/flow-capable-transaction.yang @@ -6,27 +6,33 @@ module flow-capable-transaction { 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"; + revision "2015-03-04" { + description "Transaction support for openflow, contains: + - barrier rpc + - tentative transaction support structures"; } typedef transaction-id { type uint64; } - // This refers to MD-SAL transaction reference. grouping transaction-metadata { + description "Refers to MD-SAL transaction reference."; leaf transaction-uri { type inet:uri; } } grouping transaction-aware { + status deprecated; + leaf transaction-id { type transaction-id; } } grouping multipart-transaction-aware { + status deprecated; + uses transaction-aware; leaf moreReplies { @@ -35,28 +41,13 @@ module flow-capable-transaction { } } - rpc get-next-transaction-id { - input { - leaf node { - ext:context-reference "inv:node-context"; - type inv:node-ref; - } - } - output { - uses transaction-aware; - } - } - - // Barier request? - rpc finish-transaction { + rpc send-barrier { + description "barrier request"; input { leaf node { ext:context-reference "inv:node-context"; type inv:node-ref; } - leaf transaction-id { - type transaction-id; - } } } }