Class FibDSWriter
- java.lang.Object
-
- org.opendaylight.netvirt.bgpmanager.FibDSWriter
-
@Singleton public class FibDSWriter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FibDSWriter(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, BgpUtil bgpUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntryToFibMap(java.lang.String rd, java.lang.String prefix, java.lang.String nextHop)
void
addFibEntryToDS(java.lang.String rd, java.lang.String prefix, java.util.List<java.lang.String> nextHopList, VrfEntryBase.EncapType encapType, org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.yangtools.yang.common.Uint32 l3vni, java.lang.String gatewayMacAddress, RouteOrigin origin)
void
addMacEntryToDS(java.lang.String rd, java.lang.String macAddress, java.lang.String prefix, java.util.List<java.lang.String> nextHopList, VrfEntryBase.EncapType encapType, org.opendaylight.yangtools.yang.common.Uint32 l2vni, java.lang.String gatewayMacAddress, RouteOrigin origin)
void
clearFibMap()
void
removeFibEntryFromDS(java.lang.String rd, java.lang.String prefix)
void
removeMacEntryFromDS(java.lang.String rd, java.lang.String macAddress)
void
removeOrUpdateFibEntryFromDS(java.lang.String rd, java.lang.String prefix, java.lang.String nextHop)
void
removeVrfFromDS(java.lang.String rd)
void
removeVrfSubFamilyFromDS(java.lang.String rd, AddressFamily addressFamily)
-
-
-
Constructor Detail
-
FibDSWriter
@Inject public FibDSWriter(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, BgpUtil bgpUtil)
-
-
Method Detail
-
clearFibMap
public void clearFibMap()
-
addEntryToFibMap
public void addEntryToFibMap(java.lang.String rd, java.lang.String prefix, java.lang.String nextHop)
-
addFibEntryToDS
public void addFibEntryToDS(java.lang.String rd, java.lang.String prefix, java.util.List<java.lang.String> nextHopList, VrfEntryBase.EncapType encapType, org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.yangtools.yang.common.Uint32 l3vni, java.lang.String gatewayMacAddress, RouteOrigin origin)
-
addMacEntryToDS
public void addMacEntryToDS(java.lang.String rd, java.lang.String macAddress, java.lang.String prefix, java.util.List<java.lang.String> nextHopList, VrfEntryBase.EncapType encapType, org.opendaylight.yangtools.yang.common.Uint32 l2vni, java.lang.String gatewayMacAddress, RouteOrigin origin)
-
removeFibEntryFromDS
public void removeFibEntryFromDS(java.lang.String rd, java.lang.String prefix)
-
removeMacEntryFromDS
public void removeMacEntryFromDS(java.lang.String rd, java.lang.String macAddress)
-
removeOrUpdateFibEntryFromDS
public void removeOrUpdateFibEntryFromDS(java.lang.String rd, java.lang.String prefix, java.lang.String nextHop)
-
removeVrfSubFamilyFromDS
public void removeVrfSubFamilyFromDS(java.lang.String rd, AddressFamily addressFamily)
-
removeVrfFromDS
public void removeVrfFromDS(java.lang.String rd)
-
-