Class InterfaceInfo
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.globals.InterfaceInfo
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
LogicalGroupInterfaceInfo
,VlanInterfaceInfo
public class InterfaceInfo extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InterfaceInfo.InterfaceAdminState
static class
InterfaceInfo.InterfaceOpState
static class
InterfaceInfo.InterfaceType
-
Field Summary
Fields Modifier and Type Field Description protected InterfaceInfo.InterfaceAdminState
adminState
protected org.opendaylight.yangtools.yang.common.Uint64
dpId
protected long
groupId
protected java.lang.String
interfaceName
protected int
interfaceTag
protected InterfaceInfo.InterfaceType
interfaceType
protected boolean
isUntaggedVlan
protected long
l2domainGroupId
protected java.lang.String
macAddress
protected InterfaceInfo.InterfaceOpState
opState
protected java.lang.String
portName
protected int
portNo
-
Constructor Summary
Constructors Constructor Description InterfaceInfo(java.lang.String portName)
InterfaceInfo(org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.String portName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterfaceInfo.InterfaceAdminState
getAdminState()
@Nullable org.opendaylight.yangtools.yang.common.Uint64
getDpId()
long
getGroupId()
java.lang.String
getInterfaceName()
int
getInterfaceTag()
InterfaceInfo.InterfaceType
getInterfaceType()
long
getL2domainGroupId()
java.lang.String
getMacAddress()
InterfaceInfo.InterfaceOpState
getOpState()
java.lang.String
getPortName()
int
getPortNo()
boolean
isOperational()
boolean
isUntaggedVlan()
void
setAdminState(InterfaceInfo.InterfaceAdminState adminState)
void
setDpId(org.opendaylight.yangtools.yang.common.Uint64 dpId)
void
setGroupId(long groupId)
void
setInterfaceName(java.lang.String interfaceName)
void
setInterfaceTag(int interfaceTag)
void
setInterfaceType(InterfaceInfo.InterfaceType lportType)
void
setL2domainGroupId(long l2domainGroupId)
void
setMacAddress(java.lang.String macAddress)
void
setOpState(InterfaceInfo.InterfaceOpState opState)
void
setPortName(java.lang.String portName)
void
setPortNo(int portNo)
void
setUntaggedVlan(boolean untaggedVlan)
-
-
-
Field Detail
-
interfaceType
protected InterfaceInfo.InterfaceType interfaceType
-
interfaceTag
protected int interfaceTag
-
dpId
protected org.opendaylight.yangtools.yang.common.Uint64 dpId
-
adminState
protected InterfaceInfo.InterfaceAdminState adminState
-
opState
protected InterfaceInfo.InterfaceOpState opState
-
groupId
protected long groupId
-
l2domainGroupId
protected long l2domainGroupId
-
portNo
protected int portNo
-
portName
protected java.lang.String portName
-
interfaceName
protected java.lang.String interfaceName
-
isUntaggedVlan
protected boolean isUntaggedVlan
-
macAddress
protected java.lang.String macAddress
-
-
Method Detail
-
getInterfaceName
public java.lang.String getInterfaceName()
-
setInterfaceName
public void setInterfaceName(java.lang.String interfaceName)
-
isOperational
public boolean isOperational()
-
getInterfaceType
public InterfaceInfo.InterfaceType getInterfaceType()
-
setInterfaceType
public void setInterfaceType(InterfaceInfo.InterfaceType lportType)
-
getInterfaceTag
public int getInterfaceTag()
-
setInterfaceTag
public void setInterfaceTag(int interfaceTag)
-
setUntaggedVlan
public void setUntaggedVlan(boolean untaggedVlan)
-
isUntaggedVlan
public boolean isUntaggedVlan()
-
getDpId
public @Nullable org.opendaylight.yangtools.yang.common.Uint64 getDpId()
-
setDpId
public void setDpId(org.opendaylight.yangtools.yang.common.Uint64 dpId)
-
getAdminState
public InterfaceInfo.InterfaceAdminState getAdminState()
-
setAdminState
public void setAdminState(InterfaceInfo.InterfaceAdminState adminState)
-
getOpState
public InterfaceInfo.InterfaceOpState getOpState()
-
setOpState
public void setOpState(InterfaceInfo.InterfaceOpState opState)
-
getGroupId
public long getGroupId()
-
setGroupId
public void setGroupId(long groupId)
-
getL2domainGroupId
public long getL2domainGroupId()
-
setL2domainGroupId
public void setL2domainGroupId(long l2domainGroupId)
-
getPortNo
public int getPortNo()
-
setPortNo
public void setPortNo(int portNo)
-
setPortName
public void setPortName(java.lang.String portName)
-
getPortName
public java.lang.String getPortName()
-
getMacAddress
public java.lang.String getMacAddress()
-
setMacAddress
public void setMacAddress(java.lang.String macAddress)
-
-