summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src
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
commitc69213f32827a3f2a65b19a402953445b40cee7d (patch)
treeb574fcb6a9889b792a7b163fce7c2c525f139fc6 /v3po/v3po2vpp/src
parent50df3ef61f342f265222c289497c3143212d2c12 (diff)
Fix L2Customizer log messages
Change-Id: Ia03bfaa071c07496233fccfff034e78837105611 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src')
-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);