*/
package org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.action;
-import java.math.BigInteger;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
for (final Address address : addresses) {
final SetNwDstActionCase action = prepareSetNwDstActionCase(address);
ActionSetNwDstReactor.getInstance().convert(action,
- OFConstants.OFP_VERSION_1_3, target, BigInteger.ONE);
+ OFConstants.OFP_VERSION_1_3, target);
final Object mEntry = target.getActionChoice();
/*
Assert.assertNotNull(mEntry);
if (address instanceof Ipv4) {
ActionSetNwDstReactor.getInstance().convert(action,
- OFConstants.OFP_VERSION_1_0, target, BigInteger.ONE);
+ OFConstants.OFP_VERSION_1_0, target);
// Assert.assertNotNull(target.getAugmentation(IpAddressAction.class).getIpAddress());
} else {
try {
ActionSetNwDstReactor.getInstance().convert(action,
- OFConstants.OFP_VERSION_1_0, target, BigInteger.ONE);
+ OFConstants.OFP_VERSION_1_0, target);
Assert.fail("address of this type must not pass the reactor: " + address.getClass().getName());
} catch (final Exception e) {
//expected