Group ADD had some fixes.
[openflowplugin.git] / test-provider / src / main / java / org / opendaylight / openflowplugin / test / OpenflowpluginGroupTestCommandProvider.java
index 90c861f49b6f25c56a07be6ee0ae20512a2cec7a..9c3aa93432981a3269faca36d31605bcef0f4dab 100644 (file)
@@ -85,14 +85,17 @@ public class OpenflowpluginGroupTestCommandProvider implements CommandProvider {
         BucketBuilder bucket = new BucketBuilder();
         bucket.setOrder(12);
         group.setKey(key);
-        group.setInstall(false);
+        group.setInstall(false);       
         group.setId(id);
         PopVlanActionBuilder vlanAction = new PopVlanActionBuilder();
         ActionBuilder action = new ActionBuilder();
         action.setAction(vlanAction.build());
         List<Action> actions = new ArrayList<Action>();
         actions.add(action.build());        
-        bucket.setAction(actions);          
+        bucket.setAction(actions);    
+        bucket.setWatchGroup((long) 123);
+        bucket.setWatchPort((long) 1234);
+        bucket.setWeight(123);
         group.setGroupType(GroupTypes.GroupSelect);
         group.setGroupName(originalGroupName);
         group.setBarrier(false);