public interface IInterfaceManager
Modifier and Type | Method and Description |
---|---|
void |
bindService(String interfaceName,
Class<? extends ServiceModeBase> serviceMode,
BoundServices serviceInfo) |
void |
bindService(String interfaceName,
Class<? extends ServiceModeBase> serviceMode,
BoundServices serviceInfo,
TypedWriteTransaction<Datastore.Configuration> tx) |
void |
createVLANInterface(String interfaceName,
String portName,
BigInteger dpId,
Integer vlanId,
String description,
IfL2vlan.L2vlanMode l2vlanMode)
|
void |
createVLANInterface(String interfaceName,
String portName,
BigInteger dpId,
Integer vlanId,
String description,
IfL2vlan.L2vlanMode l2vlanMode,
boolean isExternal)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
createVLANInterface(String interfaceName,
String portName,
Integer vlanId,
String description,
IfL2vlan.L2vlanMode l2vlanMode) |
com.google.common.util.concurrent.ListenableFuture<Void> |
createVLANInterface(String interfaceName,
String portName,
Integer vlanId,
String description,
IfL2vlan.L2vlanMode l2vlanMode,
boolean isExternal) |
Map<String,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus> |
getBfdStateCache() |
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,
String parentInterface)
Retrieve an interface's children.
|
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> |
getChildInterfaces(String parentInterface)
Deprecated.
Use
getChildInterfaces(ReadTransaction, String) instead. |
BigInteger |
getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf) |
BigInteger |
getDpnForInterface(String ifName) |
String |
getEndpointIpForDpn(BigInteger dpnId) |
List<ActionInfo> |
getInterfaceEgressActions(String ifName) |
InterfaceInfo |
getInterfaceInfo(String intInfo) |
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,
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(String interfaceName)
Deprecated.
|
InterfaceInfo |
getInterfaceInfoFromOperationalDataStore(String interfaceName) |
InterfaceInfo |
getInterfaceInfoFromOperationalDataStore(String interfaceName,
InterfaceInfo.InterfaceType interfaceType) |
InterfaceInfo |
getInterfaceInfoFromOperationalDSCache(String interfaceName)
This API is currently used only for CLI usage.
|
long |
getLogicalTunnelSelectGroupId(int lportTag) |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation |
getOvsdbBridgeForInterface(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) |
String |
getParentRefNameForInterface(String interfaceName) |
Long |
getPortForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf) |
Long |
getPortForInterface(String ifName) |
String |
getPortNameForInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId,
String interfaceName) |
String |
getPortNameForInterface(String dpnId,
String interfaceName) |
List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> |
getPortsOnBridge(BigInteger dpnId) |
Map<Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeBase>,List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>> |
getPortsOnBridgeByType(BigInteger dpnId) |
Map<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(String interfaceName) |
List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> |
getTunnelPortsOnBridge(BigInteger dpnId) |
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> |
getVlanInterfaces() |
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> |
getVxlanInterfaces() |
boolean |
isExternalInterface(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx,
String interfaceName)
Determine whether an interface is external.
|
boolean |
isExternalInterface(String interfaceName)
Deprecated.
Use
isExternalInterface(ReadTransaction, String) instead. |
boolean |
isItmDirectTunnelsEnabled() |
boolean |
isServiceBoundOnInterfaceForEgress(short servicePriority,
String interfaceName) |
boolean |
isServiceBoundOnInterfaceForIngress(short servicePriority,
String interfaceName) |
void |
unbindService(String interfaceName,
Class<? extends ServiceModeBase> serviceMode,
BoundServices serviceInfo) |
void |
updateInterfaceParentRef(String interfaceName,
String parentInterface) |
void |
updateInterfaceParentRef(String interfaceName,
String parentInterface,
boolean readInterfaceBeforeWrite) |
Long getPortForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intf)
BigInteger getDpnForInterface(String ifName)
BigInteger getDpnForInterface(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface intrf)
String getEndpointIpForDpn(BigInteger dpnId)
List<ActionInfo> getInterfaceEgressActions(String ifName)
InterfaceInfo getInterfaceInfo(String intInfo)
InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName, InterfaceInfo.InterfaceType interfaceType)
InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName)
InterfaceInfo getInterfaceInfoFromOperationalDSCache(String interfaceName)
@Deprecated org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface getInterfaceInfoFromConfigDataStore(String interfaceName)
getInterfaceInfoFromConfigDataStore(ReadTransaction, String)
.interfaceName
- The interface name.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, String interfaceName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
tx
- The transaction to use.interfaceName
- The interface name.org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- if an exception occurs while reading from the datastore.@Deprecated void createVLANInterface(String interfaceName, String portName, BigInteger dpId, Integer vlanId, String description, IfL2vlan.L2vlanMode l2vlanMode) throws InterfaceAlreadyExistsException
InterfaceAlreadyExistsException
com.google.common.util.concurrent.ListenableFuture<Void> createVLANInterface(String interfaceName, String portName, Integer vlanId, String description, IfL2vlan.L2vlanMode l2vlanMode) throws InterfaceAlreadyExistsException
InterfaceAlreadyExistsException
@Deprecated void createVLANInterface(String interfaceName, String portName, BigInteger dpId, Integer vlanId, String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal) throws InterfaceAlreadyExistsException
InterfaceAlreadyExistsException
com.google.common.util.concurrent.ListenableFuture<Void> createVLANInterface(String interfaceName, String portName, Integer vlanId, String description, IfL2vlan.L2vlanMode l2vlanMode, boolean isExternal) throws InterfaceAlreadyExistsException
InterfaceAlreadyExistsException
boolean isServiceBoundOnInterfaceForIngress(short servicePriority, String interfaceName)
boolean isServiceBoundOnInterfaceForEgress(short servicePriority, String interfaceName)
void bindService(String interfaceName, Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
void bindService(String interfaceName, Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo, TypedWriteTransaction<Datastore.Configuration> tx)
void unbindService(String interfaceName, Class<? extends ServiceModeBase> serviceMode, BoundServices serviceInfo)
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVlanInterfaces()
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getVxlanInterfaces()
@Deprecated List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> getChildInterfaces(String parentInterface)
getChildInterfaces(ReadTransaction, String)
instead.parentInterface
- The parent interface.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, String parentInterface) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
tx
- The transaction to use.parentInterface
- The parent interface.org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- if an exception occurs while reading from the datastore.@Deprecated boolean isExternalInterface(String interfaceName)
isExternalInterface(ReadTransaction, String)
instead.interfaceName
- The interface name.true
if the interface is external, false
if it isn't.boolean isExternalInterface(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx, String interfaceName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
tx
- The transaction to use.interfaceName
- The interface name.true
if the interface is external, false
if it isn't.org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- if an exception occurs while reading from the datastore.String getPortNameForInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, String interfaceName)
Map<String,org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getTerminationPointCache()
Map<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.OvsdbTerminationPointAugmentation getTerminationPointForInterface(String interfaceName)
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation getOvsdbBridgeForInterface(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)
List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getPortsOnBridge(BigInteger dpnId)
List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation> getTunnelPortsOnBridge(BigInteger dpnId)
Map<Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeBase>,List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation>> getPortsOnBridgeByType(BigInteger dpnId)
void updateInterfaceParentRef(String interfaceName, String parentInterface)
void updateInterfaceParentRef(String interfaceName, String parentInterface, boolean readInterfaceBeforeWrite)
long getLogicalTunnelSelectGroupId(int lportTag)
boolean isItmDirectTunnelsEnabled()
Copyright © 2019 OpenDaylight. All rights reserved.