From c8b9bfa834a5ff76b6ce133b2d1e492bf2f314e6 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 9 May 2016 10:21:42 +0200 Subject: Fix L2Customizer log messages Change-Id: Ia03bfaa071c07496233fccfff034e78837105611 Signed-off-by: Marek Gradzki --- .../fd/honeycomb/v3po/translate/v3po/interfaces/L2Customizer.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'v3po/v3po2vpp') 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 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); -- cgit 1.2.3-korg