use of org.opendaylight.protocol.bgp.flowspec.BGPActivator in project bgpcep by opendaylight.
the class FSExtendedCommunitiesTest method setUp.
@Before
public void setUp() throws Exception {
final SimpleFlowspecExtensionProviderContext fsContext = new SimpleFlowspecExtensionProviderContext();
final FlowspecActivator activator = new FlowspecActivator(fsContext);
this.act = new BGPActivator(activator);
final BGPExtensionProviderContext context = new SimpleBGPExtensionProviderContext();
this.act.start(context);
this.registry = context.getExtendedCommunityRegistry();
}
Aggregations