diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-02-13 09:48:11 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-02-13 10:36:43 +0000 |
commit | 51b5027b786d4452940e2331bad2068fbf655547 (patch) | |
tree | 8acc58fa89c1cbe9ce0059463b836eb71ee48d8a /routing/routing-impl/src/main | |
parent | 43dfe4c3bdd859664c0d3eb6967c502f87713e31 (diff) |
HC2VPP-66: unit tests for SLAAC write
Change-Id: I0dd32f2d540a9187fbd97c3818470d2ee1ca47d7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'routing/routing-impl/src/main')
-rw-r--r-- | routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java index d8737ce07..e898c718c 100644 --- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java +++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java @@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory; /** * Dummy customizer for Interfaces node responsible for validation only. */ -public class RoutingInterfaceCustomizer implements ListWriterCustomizer<Interface, InterfaceKey> { +final class RoutingInterfaceCustomizer implements ListWriterCustomizer<Interface, InterfaceKey> { private static final Logger LOG = LoggerFactory.getLogger(RoutingInterfaceCustomizer.class); @@ -68,6 +68,6 @@ public class RoutingInterfaceCustomizer implements ListWriterCustomizer<Interfac org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface.class, new org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceKey( ifcName)); - checkArgument(writeContext.readAfter(id).isPresent(), "Interface %s is not configured"); + checkArgument(writeContext.readAfter(id).isPresent(), "Interface %s is not configured", ifcName); } } |