Search in sources :

Example 1 with RSVPActivator

use of org.opendaylight.protocol.rsvp.parser.impl.RSVPActivator in project bgpcep by opendaylight.

the class LinkstateAttributeParserTest method setUp.

@Before
public final void setUp() {
    this.context = new SimpleRSVPExtensionProviderContext();
    this.rsvpActivator = new RSVPActivator();
    this.rsvpActivator.start(this.context);
    this.parser = new LinkstateAttributeParser(false, this.context.getRsvpRegistry());
}
Also used : LinkstateAttributeParser(org.opendaylight.protocol.bgp.linkstate.impl.attribute.LinkstateAttributeParser) RSVPActivator(org.opendaylight.protocol.rsvp.parser.impl.RSVPActivator) SimpleRSVPExtensionProviderContext(org.opendaylight.protocol.rsvp.parser.spi.pojo.SimpleRSVPExtensionProviderContext) Before(org.junit.Before)

Example 2 with RSVPActivator

use of org.opendaylight.protocol.rsvp.parser.impl.RSVPActivator in project bgpcep by opendaylight.

the class TEObjectTest method setUp.

@Before
public void setUp() {
    this.act = new RSVPActivator();
    this.context = new SimpleRSVPExtensionProviderContext();
    this.act.start(this.context);
}
Also used : RSVPActivator(org.opendaylight.protocol.rsvp.parser.impl.RSVPActivator) SimpleRSVPExtensionProviderContext(org.opendaylight.protocol.rsvp.parser.spi.pojo.SimpleRSVPExtensionProviderContext) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)2 RSVPActivator (org.opendaylight.protocol.rsvp.parser.impl.RSVPActivator)2 SimpleRSVPExtensionProviderContext (org.opendaylight.protocol.rsvp.parser.spi.pojo.SimpleRSVPExtensionProviderContext)2 LinkstateAttributeParser (org.opendaylight.protocol.bgp.linkstate.impl.attribute.LinkstateAttributeParser)1