Class InterfacemgrProvider
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.InterfacemgrProvider
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IInterfaceManager
@Singleton public class InterfacemgrProvider extends java.lang.Object implements java.lang.AutoCloseable, IInterfaceManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
InterfacemgrProvider.ParentRefUpdateWorker
-
Constructor Summary
Constructors Constructor Description InterfacemgrProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, IdManagerService idManager, InterfaceManagerRpcService interfaceManagerRpcService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator, InterfaceManagerCommonUtils interfaceManagerCommonUtils, InterfaceMetaUtils interfaceMetaUtils, IfmConfig ifmConfig, IfmDiagStatusProvider ifmStatusProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation bridge)
void
addNodeIidForInterface(java.lang.String interfaceName, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
void
addTerminationPointForInterface(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation terminationPoint)
void
bindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
void
bindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo, TypedWriteTransaction<Datastore.Configuration> tx)
void
close()
com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode)
com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal)
void
createVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode)
Create a VLAN interface.void
createVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal)
Create a VLAN interface.java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus>
getBfdStateCache()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation
getBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
java.util.Map
getBridgeRefEntryMap()
java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>
getChildInterfaces(java.lang.String parentInterface)
Retrieve an interface's children.java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>
getChildInterfaces(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String parentInterface)
Retrieve an interface's children.org.opendaylight.controller.md.sal.binding.api.DataBroker
getDataBroker()
java.lang.String
getDpidForInterface(java.lang.String interfaceName)
java.lang.String
getDpidForInterface(java.lang.String interfaceName, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeInstanceId)
org.opendaylight.yangtools.yang.common.Uint64
getDpnForInterface(java.lang.String ifName)
org.opendaylight.yangtools.yang.common.Uint64
getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf)
java.lang.String
getEndpointIpForDpn(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService
getEntityOwnershipService()
java.util.List<ActionInfo>
getInterfaceEgressActions(java.lang.String ifName)
InterfaceInfo
getInterfaceInfo(java.lang.String interfaceName)
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface
getInterfaceInfoFromConfigDataStore(java.lang.String interfaceName)
Retrieve the interface information from the configuration datastore.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface
getInterfaceInfoFromConfigDataStore(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName)
Retrieve the interface information from the configuration datastore.InterfaceInfo
getInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName)
InterfaceInfo
getInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName, InterfaceInfo.InterfaceType interfaceType)
InterfaceInfo
getInterfaceInfoFromOperationalDSCache(java.lang.String interfaceName)
This API is currently used only for CLI usage.long
getLogicalTunnelSelectGroupId(int lportTag)
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
getNodeIidForInterface(java.lang.String interfaceName)
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation
getOvsdbBridgeForInterface(java.lang.String interfaceName)
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation
getOvsdbBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
java.lang.String
getParentRefNameForInterface(java.lang.String interfaceName)
java.lang.Long
getPortForInterface(java.lang.String ifName)
java.lang.Long
getPortForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf)
java.lang.String
getPortNameForInterface(java.lang.String dpnId, java.lang.String interfaceName)
java.lang.String
getPortNameForInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, java.lang.String interfaceName)
java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>
getPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
java.util.Map<java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeBase>,java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>>
getPortsOnBridgeByType(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
Get all termination points by type on a given DPN.org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation
getTerminationPoint(java.lang.String interfaceName)
java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>
getTerminationPointCache()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation
getTerminationPointForInterface(java.lang.String interfaceName)
java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>
getTunnelPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
Get all termination points of type tunnel on a given DPN.java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>
getVlanInterfaces()
java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>
getVxlanInterfaces()
boolean
isExternalInterface(java.lang.String interfaceName)
Determine whether an interface is external.boolean
isExternalInterface(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName)
Determine whether an interface is external.boolean
isItmDirectTunnelsEnabled()
boolean
isServiceBoundOnInterfaceForEgress(short servicePriority, java.lang.String interfaceName)
boolean
isServiceBoundOnInterfaceForIngress(short servicePriority, java.lang.String interfaceName)
InterfaceInfo
populateInterfaceInfo(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)
void
removeBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
void
removeNodeIidForInterface(java.lang.String interfaceName)
void
removeTerminationPointForInterface(java.lang.String interfaceName)
void
start()
void
unbindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
void
updateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface)
void
updateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface, boolean readInterfaceBeforeWrite)
-
-
-
Constructor Detail
-
InterfacemgrProvider
@Inject public InterfacemgrProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, IdManagerService idManager, InterfaceManagerRpcService interfaceManagerRpcService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator, InterfaceManagerCommonUtils interfaceManagerCommonUtils, InterfaceMetaUtils interfaceMetaUtils, IfmConfig ifmConfig, IfmDiagStatusProvider ifmStatusProvider)
-
-
Method Detail
-
start
public void start()
-
close
@PreDestroy public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
getEntityOwnershipService
public org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService getEntityOwnershipService()
-
getDataBroker
public org.opendaylight.controller.md.sal.binding.api.DataBroker getDataBroker()
-
getPortForInterface
public java.lang.Long getPortForInterface(java.lang.String ifName)
- Specified by:
getPortForInterface
in interfaceIInterfaceManager
-
getPortForInterface
public java.lang.Long getPortForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf)
- Specified by:
getPortForInterface
in interfaceIInterfaceManager
-
getInterfaceInfo
public InterfaceInfo getInterfaceInfo(java.lang.String interfaceName)
- Specified by:
getInterfaceInfo
in interfaceIInterfaceManager
-
getInterfaceInfoFromOperationalDataStore
public InterfaceInfo getInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName, InterfaceInfo.InterfaceType interfaceType)
- Specified by:
getInterfaceInfoFromOperationalDataStore
in interfaceIInterfaceManager
-
getInterfaceInfoFromOperationalDataStore
public InterfaceInfo getInterfaceInfoFromOperationalDataStore(java.lang.String interfaceName)
- Specified by:
getInterfaceInfoFromOperationalDataStore
in interfaceIInterfaceManager
-
populateInterfaceInfo
public InterfaceInfo populateInterfaceInfo(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifState)
-
getInterfaceInfoFromOperationalDSCache
public InterfaceInfo getInterfaceInfoFromOperationalDSCache(java.lang.String interfaceName)
Description copied from interface:IInterfaceManager
This API is currently used only for CLI usage. Please be careful that this API can return stale entries since it is just a cache read.- Specified by:
getInterfaceInfoFromOperationalDSCache
in interfaceIInterfaceManager
-
getInterfaceInfoFromConfigDataStore
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore(java.lang.String interfaceName)
Description copied from interface:IInterfaceManager
Retrieve the interface information from the configuration datastore.- Specified by:
getInterfaceInfoFromConfigDataStore
in interfaceIInterfaceManager
- Parameters:
interfaceName
- The interface name.- Returns:
- The interface information.
-
getInterfaceInfoFromConfigDataStore
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
Description copied from interface:IInterfaceManager
Retrieve the interface information from the configuration datastore.- Specified by:
getInterfaceInfoFromConfigDataStore
in interfaceIInterfaceManager
- Parameters:
tx
- The transaction to use.interfaceName
- The interface name.- Returns:
- The interface information.
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- if an exception occurs while reading from the datastore.
-
createVLANInterface
public void createVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode) throws InterfaceAlreadyExistsException
Description copied from interface:IInterfaceManager
Create a VLAN interface.- Specified by:
createVLANInterface
in interfaceIInterfaceManager
- Throws:
InterfaceAlreadyExistsException
-
createVLANInterface
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode) throws InterfaceAlreadyExistsException
- Specified by:
createVLANInterface
in interfaceIInterfaceManager
- Throws:
InterfaceAlreadyExistsException
-
createVLANInterface
public void createVLANInterface(java.lang.String interfaceName, java.lang.String portName, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal) throws InterfaceAlreadyExistsException
Description copied from interface:IInterfaceManager
Create a VLAN interface.- Specified by:
createVLANInterface
in interfaceIInterfaceManager
- Throws:
InterfaceAlreadyExistsException
-
createVLANInterface
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> createVLANInterface(java.lang.String interfaceName, java.lang.String portName, java.lang.Integer vlanId, java.lang.String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal) throws InterfaceAlreadyExistsException
- Specified by:
createVLANInterface
in interfaceIInterfaceManager
- Throws:
InterfaceAlreadyExistsException
-
isServiceBoundOnInterfaceForIngress
public boolean isServiceBoundOnInterfaceForIngress(short servicePriority, java.lang.String interfaceName)
- Specified by:
isServiceBoundOnInterfaceForIngress
in interfaceIInterfaceManager
-
isServiceBoundOnInterfaceForEgress
public boolean isServiceBoundOnInterfaceForEgress(short servicePriority, java.lang.String interfaceName)
- Specified by:
isServiceBoundOnInterfaceForEgress
in interfaceIInterfaceManager
-
bindService
public void bindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
- Specified by:
bindService
in interfaceIInterfaceManager
-
bindService
public void bindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo, TypedWriteTransaction<Datastore.Configuration> tx)
- Specified by:
bindService
in interfaceIInterfaceManager
-
unbindService
public void unbindService(java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
- Specified by:
unbindService
in interfaceIInterfaceManager
-
getDpnForInterface
public org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf)
- Specified by:
getDpnForInterface
in interfaceIInterfaceManager
-
getDpnForInterface
public org.opendaylight.yangtools.yang.common.Uint64 getDpnForInterface(java.lang.String ifName)
- Specified by:
getDpnForInterface
in interfaceIInterfaceManager
-
getEndpointIpForDpn
public java.lang.String getEndpointIpForDpn(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
- Specified by:
getEndpointIpForDpn
in interfaceIInterfaceManager
-
getInterfaceEgressActions
public java.util.List<ActionInfo> getInterfaceEgressActions(java.lang.String ifName)
- Specified by:
getInterfaceEgressActions
in interfaceIInterfaceManager
-
getVlanInterfaces
public java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVlanInterfaces()
- Specified by:
getVlanInterfaces
in interfaceIInterfaceManager
-
getVxlanInterfaces
public java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVxlanInterfaces()
- Specified by:
getVxlanInterfaces
in interfaceIInterfaceManager
-
getChildInterfaces
public java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getChildInterfaces(java.lang.String parentInterface)
Description copied from interface:IInterfaceManager
Retrieve an interface's children.- Specified by:
getChildInterfaces
in interfaceIInterfaceManager
- Parameters:
parentInterface
- The parent interface.- Returns:
- The child interfaces.
-
getChildInterfaces
public java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getChildInterfaces(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String parentInterface) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
Description copied from interface:IInterfaceManager
Retrieve an interface's children.- Specified by:
getChildInterfaces
in interfaceIInterfaceManager
- Parameters:
tx
- The transaction to use.parentInterface
- The parent interface.- Returns:
- The child interfaces.
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- if an exception occurs while reading from the datastore.
-
isExternalInterface
public boolean isExternalInterface(java.lang.String interfaceName)
Description copied from interface:IInterfaceManager
Determine whether an interface is external.- Specified by:
isExternalInterface
in interfaceIInterfaceManager
- Parameters:
interfaceName
- The interface name.- Returns:
true
if the interface is external,false
if it isn't.
-
isExternalInterface
public boolean isExternalInterface(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, java.lang.String interfaceName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
Description copied from interface:IInterfaceManager
Determine whether an interface is external.- Specified by:
isExternalInterface
in interfaceIInterfaceManager
- Parameters:
tx
- The transaction to use.interfaceName
- The interface name.- Returns:
true
if the interface is external,false
if it isn't.- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- if an exception occurs while reading from the datastore.
-
getPortNameForInterface
public java.lang.String getPortNameForInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, java.lang.String interfaceName)
- Specified by:
getPortNameForInterface
in interfaceIInterfaceManager
-
getPortNameForInterface
public java.lang.String getPortNameForInterface(java.lang.String dpnId, java.lang.String interfaceName)
- Specified by:
getPortNameForInterface
in interfaceIInterfaceManager
-
getTerminationPointCache
public java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getTerminationPointCache()
- Specified by:
getTerminationPointCache
in interfaceIInterfaceManager
-
getBfdStateCache
public java.util.Map<java.lang.String,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus> getBfdStateCache()
- Specified by:
getBfdStateCache
in interfaceIInterfaceManager
-
addTerminationPointForInterface
public void addTerminationPointForInterface(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation terminationPoint)
-
getTerminationPoint
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation getTerminationPoint(java.lang.String interfaceName)
-
removeTerminationPointForInterface
public void removeTerminationPointForInterface(java.lang.String interfaceName)
-
addNodeIidForInterface
public void addNodeIidForInterface(java.lang.String interfaceName, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
-
removeNodeIidForInterface
public void removeNodeIidForInterface(java.lang.String interfaceName)
-
getNodeIidForInterface
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getNodeIidForInterface(java.lang.String interfaceName)
-
getDpidForInterface
public java.lang.String getDpidForInterface(java.lang.String interfaceName)
-
getDpidForInterface
public java.lang.String getDpidForInterface(java.lang.String interfaceName, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeInstanceId)
-
addBridgeForNodeIid
public void addBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation bridge)
-
removeBridgeForNodeIid
public void removeBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
-
getBridgeForNodeIid
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
-
getParentRefNameForInterface
public java.lang.String getParentRefNameForInterface(java.lang.String interfaceName)
- Specified by:
getParentRefNameForInterface
in interfaceIInterfaceManager
-
updateInterfaceParentRef
public void updateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface)
- Specified by:
updateInterfaceParentRef
in interfaceIInterfaceManager
-
updateInterfaceParentRef
public void updateInterfaceParentRef(java.lang.String interfaceName, java.lang.String parentInterface, boolean readInterfaceBeforeWrite)
- Specified by:
updateInterfaceParentRef
in interfaceIInterfaceManager
-
getTerminationPointForInterface
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation getTerminationPointForInterface(java.lang.String interfaceName)
- Specified by:
getTerminationPointForInterface
in interfaceIInterfaceManager
-
getOvsdbBridgeForInterface
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getOvsdbBridgeForInterface(java.lang.String interfaceName)
- Specified by:
getOvsdbBridgeForInterface
in interfaceIInterfaceManager
-
getOvsdbBridgeForNodeIid
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getOvsdbBridgeForNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
- Specified by:
getOvsdbBridgeForNodeIid
in interfaceIInterfaceManager
-
getPortsOnBridge
public java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
- Specified by:
getPortsOnBridge
in interfaceIInterfaceManager
-
getTunnelPortsOnBridge
public java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getTunnelPortsOnBridge(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
Get all termination points of type tunnel on a given DPN.- Specified by:
getTunnelPortsOnBridge
in interfaceIInterfaceManager
- Parameters:
dpnId
- Datapath Node Identifier- Returns:
- If the data at the supplied path exists, returns a list of all termination point Augmentations of type tunnel
-
getPortsOnBridgeByType
public java.util.Map<java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeBase>,java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>> getPortsOnBridgeByType(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
Get all termination points by type on a given DPN.- Specified by:
getPortsOnBridgeByType
in interfaceIInterfaceManager
- Parameters:
dpnId
- Datapath Node Identifier- Returns:
- If the data at the supplied path exists, returns a Map where key is interfaceType and value is list of termination points of given type
-
getLogicalTunnelSelectGroupId
public long getLogicalTunnelSelectGroupId(int lportTag)
- Specified by:
getLogicalTunnelSelectGroupId
in interfaceIInterfaceManager
-
isItmDirectTunnelsEnabled
public boolean isItmDirectTunnelsEnabled()
- Specified by:
isItmDirectTunnelsEnabled
in interfaceIInterfaceManager
-
getBridgeRefEntryMap
public java.util.Map getBridgeRefEntryMap()
- Specified by:
getBridgeRefEntryMap
in interfaceIInterfaceManager
-
-