summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Král <tibor.kral@pantheon.tech>2019-01-13 15:38:26 +0100
committerTibor Král <tibor.kral@pantheon.tech>2019-01-14 16:45:55 +0000
commitb8d02dfd8c125c9c634ca43d25b5250f264358c1 (patch)
tree9b099747c0e3a38090698071cc877055c22f2a51
parentc4f27369cae9d3e6c04ef5cf2dfdf70f72859a00 (diff)
HC2VPP-300: Unify namespaces of Interface-Role
Change-Id: I5b41d0984dd65f374a5ff1da3c9e68af8fb87dd8 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
-rw-r--r--interface-role/api/src/main/yang/interface-role@2017-06-15.yang2
-rw-r--r--interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriteCustomizer.java4
-rw-r--r--interface-role/impl/src/main/java/io/fd/hc2vpp/iface/role/write/InterfaceRoleWriterFactory.java6
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 {