Search in sources :

Example 1 with RibReference

use of org.opendaylight.protocol.bgp.rib.RibReference in project bgpcep by opendaylight.

the class AbstractBgpTopologyProvider method createInstance.

private TopologyReferenceSingletonService createInstance(final Topology topology) {
    final RibReference ribReference = new DefaultRibReference(InstanceIdentifier.create(BgpRib.class).child(Rib.class, new RibKey(topology.getAugmentation(Topology1.class).getRibId())));
    final AbstractTopologyBuilder<?> topologyBuilder = createTopologyBuilder(this.dataBroker, ribReference, topology.getTopologyId());
    return new TopologyReferenceSingletonServiceImpl(topologyBuilder, this.deployer, topology);
}
Also used : RibKey(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.bgp.rib.RibKey) BgpRib(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.BgpRib) Rib(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.bgp.rib.Rib) DefaultRibReference(org.opendaylight.protocol.bgp.rib.DefaultRibReference) DefaultRibReference(org.opendaylight.protocol.bgp.rib.DefaultRibReference) RibReference(org.opendaylight.protocol.bgp.rib.RibReference)

Aggregations

DefaultRibReference (org.opendaylight.protocol.bgp.rib.DefaultRibReference)1 RibReference (org.opendaylight.protocol.bgp.rib.RibReference)1 BgpRib (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.BgpRib)1 Rib (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.bgp.rib.Rib)1 RibKey (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.bgp.rib.RibKey)1