module flow-capable-transaction { namespace "urn:opendaylight:flow:transaction"; prefix type; import opendaylight-inventory {prefix inv; revision-date "2013-08-19";} import yang-ext {prefix ext; revision-date "2013-07-09";} revision "2013-11-03" { description "Initial revision"; } typedef transaction-id { type uint64; } grouping transaction-aware { leaf transaction-id { type transaction-id; } } 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 { input { leaf node { ext:context-reference "inv:node-context"; type inv:node-ref; } leaf transaction-id { type transaction-id; } } } }