@Singleton public final class InterfaceMetaUtils extends Object
Constructor and Description |
---|
InterfaceMetaUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
IdManagerService idManager,
BatchingUtils batchingUtils) |
Modifier and Type | Method and Description |
---|---|
void |
addBridgeEntryToCache(BigInteger dpnId,
BridgeEntry bridgeEntry) |
void |
addBridgeEntryToCache(BridgeEntry bridgeEntry) |
void |
addBridgeRefEntryToCache(BigInteger dpnId,
BridgeRefEntry bridgeRefEntry) |
void |
addBridgeRefEntryToCache(BridgeRefEntry bridgeRefEntry) |
static void |
addBridgeRefToBridgeInterfaceEntry(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeRef ovsdbBridgeRef,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
boolean |
bridgeExists(BridgeRefEntry bridgeRefEntry) |
void |
createBridgeInterfaceEntryInConfigDS(BigInteger dpId,
String childInterface) |
static void |
createBridgeRefEntry(BigInteger dpnId,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bridgeIid,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
createLportTagInterfaceMap(String infName,
Integer ifIndex) |
static void |
createTunnelToInterfaceMap(String infName,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction,
IfTunnel ifTunnel) |
static void |
createTunnelToInterfaceMap(String tunnelInstanceId,
String infName,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction) |
void |
deleteBridgeInterfaceEntry(BridgeEntryKey bridgeEntryKey,
List<BridgeInterfaceEntry> bridgeInterfaceEntries,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeEntry> bridgeEntryIid,
String interfaceName) |
static void |
deleteBridgeRefEntry(BigInteger dpnId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
BridgeEntry |
getBridgeEntryFromCache(BigInteger dpnId) |
BridgeEntry |
getBridgeEntryFromConfigDS(BigInteger dpnId) |
BridgeEntry |
getBridgeEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeEntry> bridgeEntryInstanceIdentifier) |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeEntry> |
getBridgeEntryIdentifier(BridgeEntryKey bridgeEntryKey) |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeInterfaceEntry> |
getBridgeInterfaceEntryIdentifier(BridgeEntryKey bridgeEntryKey,
BridgeInterfaceEntryKey bridgeInterfaceEntryKey) |
BridgeRefEntry |
getBridgeRefEntryFromCache(BigInteger dpnId) |
BridgeRefEntry |
getBridgeRefEntryFromOperDS(BigInteger dpId) |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeRefEntry> |
getBridgeRefEntryIdentifier(BridgeRefEntryKey bridgeRefEntryKey) |
BridgeRefEntry |
getBridgeReferenceForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceInfo) |
InterfaceChildEntry |
getInterfaceChildEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceChildEntry> intfChildIid) |
InterfaceChildEntry |
getInterfaceChildEntryFromConfigDS(InterfaceParentEntryKey interfaceParentEntryKey,
InterfaceChildEntryKey interfaceChildEntryKey) |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceChildEntry> |
getInterfaceChildEntryIdentifier(InterfaceParentEntryKey interfaceParentEntryKey,
InterfaceChildEntryKey interfaceChildEntryKey) |
static String |
getInterfaceForTunnelInstanceIdentifier(String tunnelInstanceId,
org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> intfId) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(InterfaceParentEntryKey interfaceParentEntryKey) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(String interfaceName) |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> |
getInterfaceParentEntryIdentifier(InterfaceParentEntryKey interfaceParentEntryKey) |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeRef |
getOvsdbBridgeRef(BigInteger dpId) |
List<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> |
getTerminationPointsOnBridge(BigInteger dpnId) |
void |
removeFromBridgeEntryCache(BigInteger dpnId) |
void |
removeFromBridgeEntryCache(BridgeEntry bridgeEntry) |
void |
removeFromBridgeRefEntryCache(BigInteger dpnId) |
void |
removeFromBridgeRefEntryCache(BridgeRefEntry bridgeRefEntry) |
int |
removeLportTagInterfaceMap(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx,
String infName) |
static void |
removeTunnelToInterfaceMap(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction,
IfTunnel ifTunnel) |
@Inject public InterfaceMetaUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, IdManagerService idManager, BatchingUtils batchingUtils)
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeRefEntry> getBridgeRefEntryIdentifier(BridgeRefEntryKey bridgeRefEntryKey)
public BridgeRefEntry getBridgeRefEntryFromOperDS(BigInteger dpId)
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeRef getOvsdbBridgeRef(BigInteger dpId)
public BridgeRefEntry getBridgeReferenceForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceInfo)
public boolean bridgeExists(BridgeRefEntry bridgeRefEntry)
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeEntry> getBridgeEntryIdentifier(BridgeEntryKey bridgeEntryKey)
public BridgeEntry getBridgeEntryFromConfigDS(BigInteger dpnId)
public BridgeEntry getBridgeEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeEntry> bridgeEntryInstanceIdentifier)
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeInterfaceEntry> getBridgeInterfaceEntryIdentifier(BridgeEntryKey bridgeEntryKey, BridgeInterfaceEntryKey bridgeInterfaceEntryKey)
public void createBridgeInterfaceEntryInConfigDS(BigInteger dpId, String childInterface)
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> getInterfaceParentEntryIdentifier(InterfaceParentEntryKey interfaceParentEntryKey)
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceChildEntry> getInterfaceChildEntryIdentifier(InterfaceParentEntryKey interfaceParentEntryKey, InterfaceChildEntryKey interfaceChildEntryKey)
public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(String interfaceName)
public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(InterfaceParentEntryKey interfaceParentEntryKey)
public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> intfId)
public InterfaceChildEntry getInterfaceChildEntryFromConfigDS(InterfaceParentEntryKey interfaceParentEntryKey, InterfaceChildEntryKey interfaceChildEntryKey)
public InterfaceChildEntry getInterfaceChildEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceChildEntry> intfChildIid)
public int removeLportTagInterfaceMap(org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx, String infName)
public static void addBridgeRefToBridgeInterfaceEntry(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeRef ovsdbBridgeRef, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public static void createBridgeRefEntry(BigInteger dpnId, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bridgeIid, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public static void deleteBridgeRefEntry(BigInteger dpnId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public static void createTunnelToInterfaceMap(String tunnelInstanceId, String infName, org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction)
public static void createTunnelToInterfaceMap(String infName, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction, IfTunnel ifTunnel)
public static void removeTunnelToInterfaceMap(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction transaction, IfTunnel ifTunnel)
public static String getInterfaceForTunnelInstanceIdentifier(String tunnelInstanceId, org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
public void deleteBridgeInterfaceEntry(BridgeEntryKey bridgeEntryKey, List<BridgeInterfaceEntry> bridgeInterfaceEntries, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeEntry> bridgeEntryIid, String interfaceName)
public List<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> getTerminationPointsOnBridge(BigInteger dpnId)
public void addBridgeEntryToCache(BigInteger dpnId, BridgeEntry bridgeEntry)
public void addBridgeEntryToCache(BridgeEntry bridgeEntry)
public void removeFromBridgeEntryCache(BigInteger dpnId)
public void removeFromBridgeEntryCache(BridgeEntry bridgeEntry)
public BridgeEntry getBridgeEntryFromCache(BigInteger dpnId)
public void addBridgeRefEntryToCache(BigInteger dpnId, BridgeRefEntry bridgeRefEntry)
public void addBridgeRefEntryToCache(BridgeRefEntry bridgeRefEntry)
public void removeFromBridgeRefEntryCache(BigInteger dpnId)
public void removeFromBridgeRefEntryCache(BridgeRefEntry bridgeRefEntry)
public BridgeRefEntry getBridgeRefEntryFromCache(BigInteger dpnId)
Copyright © 2019 OpenDaylight. All rights reserved.