From b8d02dfd8c125c9c634ca43d25b5250f264358c1 Mon Sep 17 00:00:00 2001 From: Tibor Král Date: Sun, 13 Jan 2019 15:38:26 +0100 Subject: HC2VPP-300: Unify namespaces of Interface-Role MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5b41d0984dd65f374a5ff1da3c9e68af8fb87dd8 Signed-off-by: Tibor Král --- interface-role/api/src/main/yang/interface-role@2017-06-15.yang | 2 +- .../io/fd/hc2vpp/iface/role/write/InterfaceRoleWriteCustomizer.java | 4 ++-- .../io/fd/hc2vpp/iface/role/write/InterfaceRoleWriterFactory.java | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interface-role/api/src/main/yang/interface-role@2017-06-15.yang b/interface-role/api/src/main/yang/interface-role@2017-06-15.yang index 6e4805fd0..d3cb3b20b 100644 --- a/interface-role/api/src/main/yang/interface-role@2017-06-15.yang +++ b/interface-role/api/src/main/yang/interface-role@2017-06-15.yang @@ -1,7 +1,7 @@ module interface-role { yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:interface:role"; + namespace "http://fd.io/hc2vpp/yang/interface-role"; prefix "if-role"; import ietf-interfaces { diff --git a/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriteCustomizer.java b/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriteCustomizer.java index 904829811..2d4b1463b 100644 --- a/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriteCustomizer.java +++ b/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriteCustomizer.java @@ -21,9 +21,9 @@ import io.fd.honeycomb.translate.spi.write.ListWriterCustomizer; import io.fd.honeycomb.translate.write.WriteContext; import io.fd.honeycomb.translate.write.WriteFailedException; import javax.annotation.Nonnull; +import org.opendaylight.yang.gen.v1.http.fd.io.hc2vpp.yang._interface.role.rev170615._interface.role.grouping.roles.Role; +import org.opendaylight.yang.gen.v1.http.fd.io.hc2vpp.yang._interface.role.rev170615._interface.role.grouping.roles.RoleKey; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface; -import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang._interface.role.rev170615._interface.role.grouping.roles.Role; -import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang._interface.role.rev170615._interface.role.grouping.roles.RoleKey; import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriterFactory.java b/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriterFactory.java index 6f6e5d6c3..8e9a37823 100644 --- a/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriterFactory.java +++ b/interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriterFactory.java @@ -20,11 +20,11 @@ import io.fd.honeycomb.translate.impl.write.GenericListWriter; import io.fd.honeycomb.translate.write.WriterFactory; import io.fd.honeycomb.translate.write.registry.ModifiableWriterRegistryBuilder; import javax.annotation.Nonnull; +import org.opendaylight.yang.gen.v1.http.fd.io.hc2vpp.yang._interface.role.rev170615.InterfaceRoleAugmentation; +import org.opendaylight.yang.gen.v1.http.fd.io.hc2vpp.yang._interface.role.rev170615._interface.role.grouping.Roles; +import org.opendaylight.yang.gen.v1.http.fd.io.hc2vpp.yang._interface.role.rev170615._interface.role.grouping.roles.Role; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface; -import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang._interface.role.rev170615.InterfaceRoleAugmentation; -import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang._interface.role.rev170615._interface.role.grouping.Roles; -import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang._interface.role.rev170615._interface.role.grouping.roles.Role; import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; public class InterfaceRoleWriterFactory implements WriterFactory { -- cgit 1.2.3-korg