Search in sources :

Example 1 with BGPActivator

use of org.opendaylight.protocol.bgp.evpn.impl.BGPActivator in project bgpcep by opendaylight.

the class PMSITunnelAttributeHandlerTest method setUp.

@Before
public void setUp() {
    final BGPExtensionProviderContext ctx = new SimpleBGPExtensionProviderContext();
    final org.opendaylight.protocol.bgp.parser.impl.BGPActivator inetActivator = new org.opendaylight.protocol.bgp.parser.impl.BGPActivator();
    inetActivator.start(ctx);
    final BGPActivator bgpActivator = new BGPActivator();
    bgpActivator.start(ctx);
    this.handler = ctx.getAttributeRegistry();
}
Also used : SimpleBGPExtensionProviderContext(org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleBGPExtensionProviderContext) SimpleBGPExtensionProviderContext(org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleBGPExtensionProviderContext) BGPExtensionProviderContext(org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderContext) ServiceLoaderBGPExtensionProviderContext(org.opendaylight.protocol.bgp.parser.spi.pojo.ServiceLoaderBGPExtensionProviderContext) BGPActivator(org.opendaylight.protocol.bgp.evpn.impl.BGPActivator) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 BGPActivator (org.opendaylight.protocol.bgp.evpn.impl.BGPActivator)1 BGPExtensionProviderContext (org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderContext)1 ServiceLoaderBGPExtensionProviderContext (org.opendaylight.protocol.bgp.parser.spi.pojo.ServiceLoaderBGPExtensionProviderContext)1 SimpleBGPExtensionProviderContext (org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleBGPExtensionProviderContext)1