* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn;
+package org.opendaylight.protocol.bgp.l3vpn.unicast;
import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn;
+package org.opendaylight.protocol.bgp.l3vpn.unicast;
import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn;
+package org.opendaylight.protocol.bgp.l3vpn.unicast;
import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn;
+package org.opendaylight.protocol.bgp.l3vpn.unicast;
import com.google.common.collect.Lists;
import java.util.List;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn;
+package org.opendaylight.protocol.bgp.l3vpn.unicast;
import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import java.util.ArrayList;
import java.util.List;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import java.util.Collections;
import java.util.List;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
-import org.opendaylight.protocol.bgp.l3vpn.AbstractVpnNextHopParserSerializer;
+import org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnNextHopParserSerializer;
import org.opendaylight.protocol.util.Ipv4Util;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev180329.next.hop.c.next.hop.Ipv4NextHopCase;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import java.util.List;
-import org.opendaylight.protocol.bgp.l3vpn.AbstractVpnNlriParser;
+import org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnNlriParser;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.destination.DestinationType;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.update.attributes.mp.reach.nlri.AdvertizedRoutes;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.update.attributes.mp.reach.nlri.AdvertizedRoutesBuilder;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import java.util.Collections;
import java.util.List;
import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer;
-import org.opendaylight.protocol.bgp.l3vpn.AbstractVpnRIBSupport;
+import org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnRIBSupport;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.destination.DestinationType;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import java.util.ArrayList;
import java.util.List;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import java.util.Collections;
import java.util.List;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
-import org.opendaylight.protocol.bgp.l3vpn.AbstractVpnNextHopParserSerializer;
+import org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnNextHopParserSerializer;
import org.opendaylight.protocol.util.Ipv6Util;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev180329.next.hop.c.next.hop.Ipv6NextHopCase;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import java.util.List;
-import org.opendaylight.protocol.bgp.l3vpn.AbstractVpnNlriParser;
+import org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnNlriParser;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.destination.DestinationType;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.update.attributes.mp.reach.nlri.AdvertizedRoutes;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.update.attributes.mp.reach.nlri.AdvertizedRoutesBuilder;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import java.util.Collections;
import java.util.List;
import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer;
-import org.opendaylight.protocol.bgp.l3vpn.AbstractVpnRIBSupport;
+import org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnRIBSupport;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.destination.DestinationType;
# under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
-org.opendaylight.protocol.bgp.l3vpn.TableTypeActivator
\ No newline at end of file
+org.opendaylight.protocol.bgp.l3vpn.unicast.TableTypeActivator
\ No newline at end of file
# under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
-org.opendaylight.protocol.bgp.l3vpn.ipv4.BgpIpv4Activator
-org.opendaylight.protocol.bgp.l3vpn.ipv6.BgpIpv6Activator
+org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.BgpIpv4Activator
+org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.BgpIpv6Activator
# under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
-org.opendaylight.protocol.bgp.l3vpn.ipv4.RibIpv4Activator
-org.opendaylight.protocol.bgp.l3vpn.ipv6.RibIpv6Activator
+org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.RibIpv4Activator
+org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.RibIpv6Activator
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
- <bean id="BGPIpv4Activator" class="org.opendaylight.protocol.bgp.l3vpn.ipv4.BgpIpv4Activator"/>
+ <bean id="BGPIpv4Activator" class="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.BgpIpv4Activator"/>
- <bean id="RIBIpv4Activator" class="org.opendaylight.protocol.bgp.l3vpn.ipv4.RibIpv4Activator"/>
+ <bean id="RIBIpv4Activator" class="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.RibIpv4Activator"/>
<service ref="BGPIpv4Activator" interface="org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator"
- odl:type="org.opendaylight.protocol.bgp.l3vpn.ipv4.BgpIpv4Activator"/>
+ odl:type="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.BgpIpv4Activator"/>
<service ref="RIBIpv4Activator" interface="org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderActivator"
- odl:type="org.opendaylight.protocol.bgp.l3vpn.ipv4.RibIpv4Activator"/>
+ odl:type="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.RibIpv4Activator"/>
- <bean id="BGPIpv6Activator" class="org.opendaylight.protocol.bgp.l3vpn.ipv6.BgpIpv6Activator"/>
+ <bean id="BGPIpv6Activator" class="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.BgpIpv6Activator"/>
- <bean id="RIBIpv6Activator" class="org.opendaylight.protocol.bgp.l3vpn.ipv6.RibIpv6Activator"/>
+ <bean id="RIBIpv6Activator" class="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.RibIpv6Activator"/>
<service ref="BGPIpv6Activator" interface="org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator"
- odl:type="org.opendaylight.protocol.bgp.l3vpn.ipv6.BgpIpv6Activator"/>
+ odl:type="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.BgpIpv6Activator"/>
<service ref="RIBIpv6Activator" interface="org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderActivator"
- odl:type="org.opendaylight.protocol.bgp.l3vpn.ipv6.RibIpv6Activator"/>
+ odl:type="org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.RibIpv6Activator"/>
- <bean id="TableTypeActivator" class="org.opendaylight.protocol.bgp.l3vpn.TableTypeActivator"/>
+ <bean id="TableTypeActivator" class="org.opendaylight.protocol.bgp.l3vpn.unicast.TableTypeActivator"/>
<service ref="TableTypeActivator" interface="org.opendaylight.protocol.bgp.openconfig.spi.BGPTableTypeRegistryProviderActivator"
- odl:type="org.opendaylight.protocol.bgp.l3vpn.TableTypeActivator"/>
+ odl:type="org.opendaylight.protocol.bgp.l3vpn.unicast.TableTypeActivator"/>
</blueprint>
\ No newline at end of file
import java.util.Optional;
import org.junit.Assert;
import org.junit.Test;
+import org.opendaylight.protocol.bgp.l3vpn.unicast.TableTypeActivator;
import org.opendaylight.protocol.bgp.openconfig.spi.SimpleBGPTableTypeRegistryProvider;
import org.opendaylight.protocol.bgp.parser.BgpTableTypeImpl;
import org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.AfiSafiType;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv4;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv4.VpnIpv4NlriParserTest.DISTINGUISHER;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv4.VpnIpv4NlriParserTest.IPV4_PREFIX;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv4.VpnIpv4NlriParserTest.IPV4_VPN;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv4.VpnIpv4NlriParserTest.LABEL_STACK;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.VpnIpv4NlriParserTest.DISTINGUISHER;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.VpnIpv4NlriParserTest.IPV4_PREFIX;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.VpnIpv4NlriParserTest.IPV4_VPN;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.VpnIpv4NlriParserTest.LABEL_STACK;
import static org.opendaylight.protocol.bgp.parser.spi.PathIdUtil.NON_PATH_ID;
import com.google.common.collect.ImmutableSet;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.protocol.bgp.l3vpn.ipv6;
+package org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv6.VpnIpv6NlriParserTest.DISTINGUISHER;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv6.VpnIpv6NlriParserTest.IPV6PREFIX;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv6.VpnIpv6NlriParserTest.IPV6_VPN;
-import static org.opendaylight.protocol.bgp.l3vpn.ipv6.VpnIpv6NlriParserTest.LABEL_STACK;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.VpnIpv6NlriParserTest.DISTINGUISHER;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.VpnIpv6NlriParserTest.IPV6PREFIX;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.VpnIpv6NlriParserTest.IPV6_VPN;
+import static org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.VpnIpv6NlriParserTest.LABEL_STACK;
import static org.opendaylight.protocol.bgp.parser.spi.PathIdUtil.NON_PATH_ID;
import com.google.common.collect.ImmutableSet;
= new org.opendaylight.protocol.bgp.labeled.unicast.BGPActivator();
labeledActivator.start(ctx);
- final org.opendaylight.protocol.bgp.l3vpn.ipv4.BgpIpv4Activator bgpIpv4Activator
- = new org.opendaylight.protocol.bgp.l3vpn.ipv4.BgpIpv4Activator();
+ final org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.BgpIpv4Activator bgpIpv4Activator
+ = new org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.BgpIpv4Activator();
bgpIpv4Activator.start(ctx);
- final org.opendaylight.protocol.bgp.l3vpn.ipv6.BgpIpv6Activator bgpIpv6Activator
- = new org.opendaylight.protocol.bgp.l3vpn.ipv6.BgpIpv6Activator();
+ final org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.BgpIpv6Activator bgpIpv6Activator
+ = new org.opendaylight.protocol.bgp.l3vpn.unicast.ipv6.BgpIpv6Activator();
bgpIpv6Activator.start(ctx);
return new BGPDispatcherImpl(ctx.getMessageRegistry(), new NioEventLoopGroup(), new NioEventLoopGroup(),