import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.VlanVidAction;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.Output;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.SetVlanVid;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.actions.list.Action;\r
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev130731.actions.grouping.Action;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.FlowWildcardsV10;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.MultipartReplyMessage;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.multipart.reply.multipart.reply.body.MultipartReplyAggregateCase;\r
Assert.assertEquals("Wrong byteCount",\r
new BigInteger(1, new byte[]{(byte) 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20}), \r
message.getFlowStats().get(0).getByteCount());\r
- Action action1 = message.getFlowStats().get(0).getActionsList().get(0).getAction();\r
+ Action action1 = message.getFlowStats().get(0).getAction().get(0);\r
Assert.assertEquals("Wrong action type", Output.class, action1.getType());\r
Assert.assertEquals("Wrong action port", 1, action1.getAugmentation(PortAction.class)\r
.getPort().getValue().intValue());\r
Assert.assertEquals("Wrong action port", 2, action1.getAugmentation(MaxLengthAction.class)\r
.getMaxLength().intValue());\r
- Action action2 = message.getFlowStats().get(0).getActionsList().get(1).getAction();\r
+ Action action2 = message.getFlowStats().get(0).getAction().get(1);\r
Assert.assertEquals("Wrong action type", SetVlanVid.class, action2.getType());\r
Assert.assertEquals("Wrong action port", 3, action2.getAugmentation(VlanVidAction.class)\r
.getVlanVid().intValue());\r