actionList.add(new SetNwDst(NetUtils.parseInetAddress(sstr.group(1)))); continue;
if (((SetNwDst) action).getAddress() instanceof Inet6Address) { return true;
} else if (action instanceof SetNwDst) { SetNwDst and = (SetNwDst) action; actions.append(action.getType().toString()).append(" = ").append(and.getAddressAsString()).append("<br>"); } else if (action instanceof SetNwTos) { SetNwTos ant = (SetNwTos) action;
actionList.add(new SetNwDst(InetAddress.getByName("1.1.1.1"))); } catch (UnknownHostException e) {
private static SetNwDstActionCase _toAction(final SetNwDst sourceAction) { return new SetNwDstActionCaseBuilder() .setSetNwDstAction(new SetNwDstActionBuilder().setAddress(MDFlowMapping.toInetAddress(sourceAction.getAddress())).build()) .build(); }
actions.add(new SetNwDst(newIP)); actions.add(new Output(oport)); actions.add(new PopVlan());
case SET_NW_DST: actionMatch.setField(MatchType.NW_DST, ((SetNwDst) action) .getAddress()); break; case SET_TP_SRC:
match.setField(MatchType.TP_DST, dest.getPort()); actions.add(new SetNwDst(InetAddress.getByName(destMachineIp))); actions.add(new SetDlDst(destMachineMac));
OFActionNetworkLayerDestination ofAction = new OFActionNetworkLayerDestination(); ofAction.setNetworkAddress(NetUtils.byteArray4ToInt(a .getAddress().getAddress())); actionsList.add(ofAction); actionsLength += OFActionNetworkLayerAddress.MINIMUM_LENGTH;
targetAction.add(new SetNwDst(inetAddress));
logger.error("", e); salAction = new SetNwDst(ip); } else if (ofAction instanceof OFActionNetworkTypeOfService) { salAction = new SetNwTos(