summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-05-09 10:21:42 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-05-09 11:10:00 +0000
commitc8b9bfa834a5ff76b6ce133b2d1e492bf2f314e6 (patch)
treeca372945aef1da2bf418e019f40c3985f94167bc
parent6627d1ff52b6df780bac4a6f56a3f4587ee4847b (diff)
Fix L2Customizer log messages
Change-Id: Ia03bfaa071c07496233fccfff034e78837105611 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
-rw-r--r--v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/interfaces/L2Customizer.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/interfaces/L2Customizer.java b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/interfaces/L2Customizer.java
index 3bc04f81d..ee731e7a4 100644
--- a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/interfaces/L2Customizer.java
+++ b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/v3po/translate/v3po/interfaces/L2Customizer.java
@@ -102,7 +102,7 @@ public class L2Customizer extends FutureJVppCustomizer implements ChildWriterCus
private void setL2(final InstanceIdentifier<L2> id, final int swIfIndex, final String ifcName, final L2 vppL2)
throws VppApiInvocationException, WriteFailedException {
- LOG.debug("Setting L2 for interface: %s", ifcName);
+ LOG.debug("Setting L2 for interface: {}", ifcName);
// Nothing besides interconnection here
setInterconnection(id, swIfIndex, ifcName, vppL2);
}
@@ -128,12 +128,11 @@ public class L2Customizer extends FutureJVppCustomizer implements ChildWriterCus
private void setBridgeBasedL2(final int swIfIndex, final String ifcName, final BridgeBased bb)
throws VppApiInvocationException {
- LOG.debug("Setting bridge based interconnection(bridge-domain=%s) for interface: %s",
+ LOG.debug("Setting bridge based interconnection(bridge-domain={}) for interface: {}",
bb.getBridgeDomain(), ifcName);
String bdName = bb.getBridgeDomain();
- // FIXME need BridgeDomainContext here
int bdId = bridgeDomainContext.getIndex(bdName);
checkArgument(bdId > 0, "Unable to set Interconnection for Interface: %s, bridge domain: %s does not exist",
ifcName, bdName);
@@ -173,7 +172,7 @@ public class L2Customizer extends FutureJVppCustomizer implements ChildWriterCus
throws VppApiInvocationException {
String outSwIfName = ic.getXconnectOutgoingInterface();
- LOG.debug("Setting xconnect based interconnection(outgoing ifc=%s) for interface: %s", outSwIfName,
+ LOG.debug("Setting xconnect based interconnection(outgoing ifc={}) for interface: {}", outSwIfName,
ifcName);
int outSwIfIndex = interfaceContext.getIndex(outSwIfName);