Provide Add Path support for all AFI/SAFI
[bgpcep.git] / bgp / l3vpn / src / main / java / org / opendaylight / protocol / bgp / l3vpn / ipv4 / VpnIpv4NlriParser.java
index 79747bc18350aa33195b5e9af1a605dd545b8e1a..0da7f548c5a58853e5f16067927ddbe0be274d19 100644 (file)
@@ -14,8 +14,8 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.mult
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev171207.update.attributes.mp.reach.nlri.AdvertizedRoutesBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev171207.update.attributes.mp.unreach.nlri.WithdrawnRoutes;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev171207.update.attributes.mp.unreach.nlri.WithdrawnRoutesBuilder;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev171207.L3vpnIpv4Destination;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev171207.l3vpn.ipv4.destination.VpnIpv4DestinationBuilder;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev180329.L3vpnIpv4Destination;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev180329.l3vpn.ipv4.destination.VpnIpv4DestinationBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.rev180329.l3vpn.ip.destination.type.VpnDestination;
 
 final class VpnIpv4NlriParser extends AbstractVpnNlriParser {
@@ -32,21 +32,21 @@ final class VpnIpv4NlriParser extends AbstractVpnNlriParser {
     @Override
     protected List<VpnDestination> getWithdrawnVpnDestination(DestinationType dstType) {
         return getVpnDestination(dstType, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4
-                .rev171207.update.attributes.mp.unreach.nlri.withdrawn.routes.destination.type
+                .rev180329.update.attributes.mp.unreach.nlri.withdrawn.routes.destination.type
                 .DestinationVpnIpv4Case.class);
     }
 
     @Override
     protected List<VpnDestination> getAdvertizedVpnDestination(DestinationType dstType) {
         return getVpnDestination(dstType, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4
-                .rev171207.update.attributes.mp.reach.nlri.advertized.routes.destination.type
+                .rev180329.update.attributes.mp.reach.nlri.advertized.routes.destination.type
                 .DestinationVpnIpv4Case.class);
     }
 
     @Override
     protected WithdrawnRoutes getWithdrawnRoutesByDestination(List<VpnDestination> dst) {
         return new WithdrawnRoutesBuilder().setDestinationType(
-            new org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev171207.update
+            new org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev180329.update
                     .attributes.mp.unreach.nlri.withdrawn.routes.destination.type.DestinationVpnIpv4CaseBuilder()
                     .setVpnIpv4Destination(new VpnIpv4DestinationBuilder()
                             .setVpnDestination(dst).build()).build()).build();
@@ -55,7 +55,7 @@ final class VpnIpv4NlriParser extends AbstractVpnNlriParser {
     @Override
     protected AdvertizedRoutes getAdvertizedRoutesByDestination(List<VpnDestination> dst) {
         return new AdvertizedRoutesBuilder().setDestinationType(
-            new org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev171207.update
+            new org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.vpn.ipv4.rev180329.update
                     .attributes.mp.reach.nlri.advertized.routes.destination.type.DestinationVpnIpv4CaseBuilder()
                     .setVpnIpv4Destination(new VpnIpv4DestinationBuilder()
                             .setVpnDestination(dst).build()).build()).build();