X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fmodel%2Fmodel-flow-service%2Fsrc%2Fmain%2Fyang%2Fgroup-service.yang;h=6cc1537ebc11c5d8f05a5921badbe79c300c8a12;hb=c541f7868e6e2d654b8080b5426bb12a39bddf11;hp=bb010353280b8fa281c0901dde2e8d771f62ac13;hpb=3285cd1a1de458050eb43dee5508658d3525272e;p=controller.git diff --git a/opendaylight/md-sal/model/model-flow-service/src/main/yang/group-service.yang b/opendaylight/md-sal/model/model-flow-service/src/main/yang/group-service.yang index bb01035328..6cc1537ebc 100644 --- a/opendaylight/md-sal/model/model-flow-service/src/main/yang/group-service.yang +++ b/opendaylight/md-sal/model/model-flow-service/src/main/yang/group-service.yang @@ -31,8 +31,11 @@ module sal-group { rpc add-group { input { + leaf group-ref { + type group-type:group-ref; + } uses node-group; - uses tr:transaction-aware; + uses tr:transaction-aware; } output { uses tr:transaction-aware; @@ -41,8 +44,11 @@ module sal-group { rpc remove-group { input { - uses group-update; - uses tr:transaction-aware; + leaf group-ref { + type group-type:group-ref; + } + uses node-group; + uses tr:transaction-aware; } output { uses tr:transaction-aware; @@ -51,8 +57,11 @@ module sal-group { rpc update-group { input { + leaf group-ref { + type group-type:group-ref; + } uses group-update; - uses tr:transaction-aware; + uses tr:transaction-aware; } output { uses tr:transaction-aware; @@ -60,14 +69,26 @@ module sal-group { } notification group-added { + leaf group-ref { + type group-type:group-ref; + } uses node-group; + uses tr:transaction-aware; } notification group-updated { + leaf group-ref { + type group-type:group-ref; + } uses node-group; + uses tr:transaction-aware; } notification group-removed { + leaf group-ref { + type group-type:group-ref; + } uses node-group; + uses tr:transaction-aware; } } \ No newline at end of file