Fix model compliance 99/70099/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Feb 2018 00:11:11 +0000 (01:11 +0100)
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Mon, 26 Mar 2018 18:08:00 +0000 (18:08 +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 f29a3cf95d28e670e71256dc6de7f6bcedfc5143..c699a584e4b4ecd23549c8308491401563ce463f 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 2013-09-19; }
     import bgp-multiprotocol { prefix bgp-mp; revision-date 2013-09-19; }
index ac4edd8bc098c49d79862bbed89d8ad926c75bb2..aca3344cc67ff088ba9a76e1e9dff804c8afb608 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 2013-09-19; }
     import bgp-multiprotocol { prefix bgp-mp; revision-date 2013-09-19; }