This show up as red in Eclipse, but the CLI mvn build misses these; I
suspect that this is because the exact Checkstyle version used in the
Eclipse plugin likely is a little newer, and thus stricter, than the one
we currently use in the CLI mvn build. (I have double checked that
other Checkstyle violations do still fail the build, these appear to be
corner cases.)
We should probably upgrade the CS version we have in odlparent.
Change-Id: Ib169df06b8d96dd2b8980ed33e59fcc9f1820d81
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
}
static void updateFlowCapableNodeConnectorState(DataBroker dataBroker, String interfaceName,
}
static void updateFlowCapableNodeConnectorState(DataBroker dataBroker, String interfaceName,
- Class<? extends InterfaceType> ifType, boolean isLive)
- throws TransactionCommitFailedException {
+ Class<? extends InterfaceType> ifType, boolean isLive) throws TransactionCommitFailedException {
WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
BigInteger dpnId = Tunnel.class.equals(ifType) ? DPN_ID_2 : DPN_ID_1;
long portNo = Tunnel.class.equals(ifType) ? PORT_NO_1 : PORT_NO_1;
WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
BigInteger dpnId = Tunnel.class.equals(ifType) ? DPN_ID_2 : DPN_ID_1;
long portNo = Tunnel.class.equals(ifType) ? PORT_NO_1 : PORT_NO_1;
}
static void removeFlowCapableNodeConnectorState(DataBroker dataBroker, Class<? extends InterfaceType> ifType)
}
static void removeFlowCapableNodeConnectorState(DataBroker dataBroker, Class<? extends InterfaceType> ifType)
- throws TransactionCommitFailedException {
+ throws TransactionCommitFailedException {
WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
BigInteger dpnId = Tunnel.class.equals(ifType) ? DPN_ID_2 : DPN_ID_1;
long portNo = Tunnel.class.equals(ifType) ? PORT_NO_1 : PORT_NO_1;
WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
BigInteger dpnId = Tunnel.class.equals(ifType) ? DPN_ID_2 : DPN_ID_1;
long portNo = Tunnel.class.equals(ifType) ? PORT_NO_1 : PORT_NO_1;
- static void removeNode(DataBroker dataBroker)
- throws TransactionCommitFailedException {
+ static void removeNode(DataBroker dataBroker) throws TransactionCommitFailedException {
WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
InstanceIdentifier<Node> nodeInstanceIdentifier = InstanceIdentifier.builder(Nodes.class)
.child(Node.class, new NodeKey(IfmUtil.buildDpnNodeId(DPN_ID_2))).build();
WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
InstanceIdentifier<Node> nodeInstanceIdentifier = InstanceIdentifier.builder(Nodes.class)
.child(Node.class, new NodeKey(IfmUtil.buildDpnNodeId(DPN_ID_2))).build();
*/
package org.opendaylight.genius.interfacemanager.shell;
*/
package org.opendaylight.genius.interfacemanager.shell;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.karaf.shell.commands.Command;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.karaf.shell.commands.Command;
*/
package org.opendaylight.genius.interfacemanager.shell;
*/
package org.opendaylight.genius.interfacemanager.shell;
import org.apache.karaf.shell.commands.Command;
import org.apache.karaf.shell.console.OsgiCommandSupport;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.apache.karaf.shell.commands.Command;
import org.apache.karaf.shell.console.OsgiCommandSupport;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;