@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,
TypedWriteTransaction<Datastore.Configuration> tx) |
boolean |
bridgeExists(BridgeRefEntry bridgeRefEntry) |
void |
createBridgeInterfaceEntryInConfigDS(BigInteger dpId,
String childInterface) |
static void |
createBridgeRefEntry(BigInteger dpnId,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bridgeIid,
TypedWriteTransaction<Datastore.Operational> 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,
TypedWriteTransaction<Datastore.Operational> transaction,
IfTunnel ifTunnel) |
static void |
createTunnelToInterfaceMap(String tunnelInstanceId,
String infName,
TypedWriteTransaction<Datastore.Operational> transaction) |
void |
deleteBridgeInterfaceEntry(BridgeEntryKey bridgeEntryKey,
List<BridgeInterfaceEntry> bridgeInterfaceEntries,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BridgeEntry> bridgeEntryIid,
String interfaceName) |
static void |
deleteBridgeRefEntry(BigInteger dpnId,
TypedWriteTransaction<Datastore.Operational> 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 |
getBridgeRefEntryFromOperationalDS(BigInteger dpId) |
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,
TypedReadTransaction<Datastore.Operational> tx) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> intfId) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(InterfaceParentEntryKey interfaceParentEntryKey)
Deprecated.
|
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> intfId) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx,
InterfaceParentEntryKey interfaceParentEntryKey) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx,
String interfaceName) |
InterfaceParentEntry |
getInterfaceParentEntryFromConfigDS(String interfaceName)
Deprecated.
|
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(TypedWriteTransaction<Datastore.Operational> tx,
String infName) |
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,
TypedWriteTransaction<Datastore.Operational> 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 getBridgeRefEntryFromOperationalDS(BigInteger dpId)
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)
@Deprecated public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(String interfaceName)
public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, String interfaceName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
@Deprecated public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(InterfaceParentEntryKey interfaceParentEntryKey)
public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, InterfaceParentEntryKey interfaceParentEntryKey) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> intfId)
public InterfaceParentEntry getInterfaceParentEntryFromConfigDS(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterfaceParentEntry> intfId) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
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 int removeLportTagInterfaceMap(TypedWriteTransaction<Datastore.Operational> tx, String infName)
public static void addBridgeRefToBridgeInterfaceEntry(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeRef ovsdbBridgeRef, TypedWriteTransaction<Datastore.Configuration> tx)
public static void createBridgeRefEntry(BigInteger dpnId, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bridgeIid, TypedWriteTransaction<Datastore.Operational> tx)
public static void deleteBridgeRefEntry(BigInteger dpnId, TypedWriteTransaction<Datastore.Operational> tx)
public static void createTunnelToInterfaceMap(String tunnelInstanceId, String infName, TypedWriteTransaction<Datastore.Operational> 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, TypedWriteTransaction<Datastore.Operational> 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, TypedWriteTransaction<Datastore.Operational> transaction, IfTunnel ifTunnel)
public static String getInterfaceForTunnelInstanceIdentifier(String tunnelInstanceId, TypedReadTransaction<Datastore.Operational> tx) throws ExecutionException, InterruptedException
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.