Search in sources :

Example 6 with PCEPStatefulCapability

use of org.opendaylight.protocol.pcep.ietf.stateful07.PCEPStatefulCapability in project bgpcep by opendaylight.

the class PCCTriggeredFullDBResyncTest method getCapabilities.

@Override
protected List<PCEPCapability> getCapabilities() {
    final List<PCEPCapability> caps = new ArrayList<>();
    caps.add(new PCEPStatefulCapability(true, true, true, false, true, false, true));
    return caps;
}
Also used : PCEPStatefulCapability(org.opendaylight.protocol.pcep.ietf.stateful07.PCEPStatefulCapability) ArrayList(java.util.ArrayList) PCEPCapability(org.opendaylight.protocol.pcep.PCEPCapability)

Example 7 with PCEPStatefulCapability

use of org.opendaylight.protocol.pcep.ietf.stateful07.PCEPStatefulCapability in project bgpcep by opendaylight.

the class PCCIncrementalSyncTest method getCapabilities.

@Override
protected List<PCEPCapability> getCapabilities() {
    final List<PCEPCapability> caps = new ArrayList<>();
    caps.add(new PCEPStatefulCapability(true, true, true, false, false, true, true));
    return caps;
}
Also used : PCEPStatefulCapability(org.opendaylight.protocol.pcep.ietf.stateful07.PCEPStatefulCapability) ArrayList(java.util.ArrayList) PCEPCapability(org.opendaylight.protocol.pcep.PCEPCapability)

Aggregations

PCEPStatefulCapability (org.opendaylight.protocol.pcep.ietf.stateful07.PCEPStatefulCapability)7 ArrayList (java.util.ArrayList)6 PCEPCapability (org.opendaylight.protocol.pcep.PCEPCapability)6 NioEventLoopGroup (io.netty.channel.nio.NioEventLoopGroup)1 InetSocketAddress (java.net.InetSocketAddress)1 Test (org.junit.Test)1 PCEPSessionProposalFactory (org.opendaylight.protocol.pcep.PCEPSessionProposalFactory)1 StatefulActivator (org.opendaylight.protocol.pcep.ietf.stateful07.StatefulActivator)1 BasePCEPSessionProposalFactory (org.opendaylight.protocol.pcep.impl.BasePCEPSessionProposalFactory)1 DefaultPCEPSessionNegotiatorFactory (org.opendaylight.protocol.pcep.impl.DefaultPCEPSessionNegotiatorFactory)1 PCEPDispatcherImpl (org.opendaylight.protocol.pcep.impl.PCEPDispatcherImpl)1 TlvsBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.open.object.open.TlvsBuilder)1