Fixed as per comments by changed leaf name
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / group-service.yang
index 9106bca8a4826619f09062a3c3322b16e3551621..1626610059e328c515875deb416ee24615ea01c1 100644 (file)
@@ -31,6 +31,9 @@ module sal-group {
 
     rpc add-group {
         input {
+            leaf group-ref {
+                type group-type:group-ref;
+            }
             uses node-group;
             uses tr:transaction-aware;
         }
@@ -41,6 +44,9 @@ module sal-group {
 
     rpc remove-group {
         input {
+            leaf group-ref {
+                type group-type:group-ref;
+            }
             uses node-group;
             uses tr:transaction-aware;
         }
@@ -51,6 +57,9 @@ module sal-group {
 
     rpc update-group {
         input {
+            leaf group-ref {
+                type group-type:group-ref;
+            }
             uses group-update;
             uses tr:transaction-aware;
         }
@@ -61,13 +70,16 @@ module sal-group {
 
     notification group-added {
         uses node-group;
+        uses tr:transaction-aware;
     }
 
     notification group-updated {
         uses node-group;
+        uses tr:transaction-aware;
     }
 
     notification group-removed {
         uses node-group;
+        uses tr:transaction-aware;
     }    
 }
\ No newline at end of file