X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmodel%2Fmodel-flow-service%2Fsrc%2Fmain%2Fyang%2Ftable-service.yang;h=3a6f20f77d9554dda1812311e7510414d1a6658a;hb=292bc87b66ab44f9d5d81587c25a5bd1d68dc766;hp=e740f961d5a83d234342a94aa151d476f001b9cf;hpb=723a5d5b870e81f4f0fe0fa5641b31fe4a609e93;p=controller.git diff --git a/opendaylight/md-sal/model/model-flow-service/src/main/yang/table-service.yang b/opendaylight/md-sal/model/model-flow-service/src/main/yang/table-service.yang index e740f961d5..3a6f20f77d 100644 --- a/opendaylight/md-sal/model/model-flow-service/src/main/yang/table-service.yang +++ b/opendaylight/md-sal/model/model-flow-service/src/main/yang/table-service.yang @@ -5,13 +5,15 @@ module sal-table { import yang-ext {prefix ext; revision-date "2013-07-09";} import opendaylight-inventory {prefix inv;revision-date "2013-08-19";} import opendaylight-table-types {prefix table-type;revision-date "2013-10-26";} + import flow-capable-transaction {prefix tr;} revision "2013-10-26" { description "Initial revision of table service"; - } + } /** Base configuration structure **/ grouping table-update { + uses "inv:node-context-ref"; container original-table { uses table-type:table-features; } @@ -22,11 +24,11 @@ module sal-table { rpc update-table { input { - leaf node { - ext:context-reference "inv:node-context"; - type inv:node-ref; - } uses table-update; + uses tr:transaction-aware; + } + output { + uses tr:transaction-aware; } } } \ No newline at end of file