Fix model compliance 51/68851/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Feb 2018 00:11:11 +0000 (01:11 +0100)
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Fri, 23 Mar 2018 07:20:38 +0000 (07:20 +0000)
Declared prefix should be unique within a module, as that is
the prefix that is used to refer to a module within itself.

Change-Id: I699c529831fd62854a50e46c105a3d7922d670f1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/l3vpn/src/main/yang/bgp-vpn-ipv4.yang
bgp/l3vpn/src/main/yang/bgp-vpn-ipv6.yang

index 76d6c2975b20f4fed25a2409be5622cc57e721b0..4fb28ffb8f4c5266afb733865c7d0e8227002df6 100644 (file)
@@ -1,6 +1,6 @@
 module bgp-vpn-ipv4 {
     namespace "urn:opendaylight:params:xml:ns:yang:bgp-vpn-ipv4";
-    prefix "bgp-vpn";
+    prefix "bgp-vpn-ipv4";
 
     import bgp-message { prefix bgp-msg; revision-date 2017-12-07; }
     import bgp-multiprotocol { prefix bgp-mp; revision-date 2017-12-07; }
index 8312658653b197e9ba3d3a8165500700ac0a0f40..290f9a6d02e1f2735446f3a29b80d96586603cca 100644 (file)
@@ -1,6 +1,6 @@
 module bgp-vpn-ipv6 {
     namespace "urn:opendaylight:params:xml:ns:yang:bgp-vpn-ipv6";
-    prefix "bgp-vpn";
+    prefix "bgp-vpn-ipv6";
 
     import bgp-message { prefix bgp-msg; revision-date 2017-12-07; }
     import bgp-multiprotocol { prefix bgp-mp; revision-date 2017-12-07; }