import org.opendaylight.genius.mdsalutil.NwConstants;
import org.opendaylight.genius.mdsalutil.actions.ActionNxConntrack;
import org.opendaylight.genius.mdsalutil.actions.ActionNxConntrack.NxCtAction;
+import org.opendaylight.genius.mdsalutil.actions.ActionNxCtClear;
import org.opendaylight.genius.mdsalutil.actions.ActionNxResubmit;
import org.opendaylight.genius.mdsalutil.instructions.InstructionApplyActions;
import org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager;
List<NxCtAction> ctActionsList =
Lists.newArrayList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE));
actionsInfos.add(new ActionNxConntrack(2, 1, 0, elanId.intValue(), (short) 255, ctActionsList));
+ actionsInfos.add(new ActionNxCtClear());
}
List<InstructionInfo> instructions = getDispatcherTableResubmitInstructions(actionsInfos);
import org.opendaylight.genius.mdsalutil.NwConstants
import org.opendaylight.genius.mdsalutil.actions.ActionDrop
import org.opendaylight.genius.mdsalutil.actions.ActionNxConntrack
+import org.opendaylight.genius.mdsalutil.actions.ActionNxCtClear
import org.opendaylight.genius.mdsalutil.actions.ActionNxResubmit
import org.opendaylight.genius.mdsalutil.instructions.InstructionApplyActions
import org.opendaylight.genius.mdsalutil.instructions.InstructionGotoTable
new ActionNxConntrack(2, 1, 0, 5000, 255 as short,
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE))
),
+ new ActionNxCtClear(),
new ActionNxResubmit(220 as short)
])
]
new ActionNxConntrack(2, 1, 0, 5000, 255 as short,
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE))
),
+ new ActionNxCtClear(),
new ActionNxResubmit(220 as short)
])
]
new ActionNxConntrack(2, 1, 0, 5000, 255 as short,
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE))
),
+ new ActionNxCtClear(),
new ActionNxResubmit(17 as short)
])
]
new ActionNxConntrack(2, 1, 0, 5000, 255 as short,
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE))
),
+ new ActionNxCtClear(),
new ActionNxResubmit(17 as short)
])
]
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE)
)
),
+ new ActionNxCtClear(),
new ActionNxResubmit(220 as short)
])
]
new ActionNxConntrack(2, 1, 0, 5000, 255 as short,
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE))
),
+ new ActionNxCtClear(),
new ActionNxResubmit(220 as short)
])
]
new ActionNxConntrack(2, 1, 0, 5000, 255 as short,
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE))
),
+ new ActionNxCtClear(),
new ActionNxResubmit(17 as short)
])
]
new ActionNxConntrack(2, 1, 0, 5000, 255 as short,
Collections.singletonList(new ActionNxConntrack.NxCtMark(AclConstants.CT_MARK_EST_STATE))
),
+ new ActionNxCtClear(),
new ActionNxResubmit(17 as short)
])
]