Class NetworkInterface
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.commercial.sync.model.AbstractDataEntity
-
- org.neotropic.kuwaiba.modules.commercial.sync.connectors.ssh.bdi.entities.NetworkInterface
-
public class NetworkInterface extends AbstractDataEntity
An entity class that represents a network interface that can be used in a bridge domain- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neotropic.kuwaiba.modules.commercial.sync.model.AbstractDataEntity
AbstractDataEntity.DATA_TYPE
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_BDI
If the interface is a bridge domain interfacestatic int
TYPE_GENERIC_SUBINTERFACE
If the interface is a generic subinterface (mapped as a VirtualPort)static int
TYPE_SERVICE_INSTANCE
If the interface is a service instancestatic int
TYPE_UNKNOWN
If it's not possible to determine the type of interface associated to the bridge domainstatic int
TYPE_VFI
If the interface is a VFI-
Fields inherited from class org.neotropic.kuwaiba.modules.commercial.sync.model.AbstractDataEntity
name, value
-
-
Constructor Summary
Constructors Constructor Description NetworkInterface(String name, int networkInterfaceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNetworkInterfaceType()
AbstractDataEntity.DATA_TYPE
getType()
void
setNetworkInterfaceType(int networkInterfaceType)
-
Methods inherited from class org.neotropic.kuwaiba.modules.commercial.sync.model.AbstractDataEntity
getName, getValue, setName, setValue
-
-
-
-
Field Detail
-
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
If it's not possible to determine the type of interface associated to the bridge domain- See Also:
- Constant Field Values
-
TYPE_BDI
public static final int TYPE_BDI
If the interface is a bridge domain interface- See Also:
- Constant Field Values
-
TYPE_SERVICE_INSTANCE
public static final int TYPE_SERVICE_INSTANCE
If the interface is a service instance- See Also:
- Constant Field Values
-
TYPE_VFI
public static final int TYPE_VFI
If the interface is a VFI- See Also:
- Constant Field Values
-
TYPE_GENERIC_SUBINTERFACE
public static final int TYPE_GENERIC_SUBINTERFACE
If the interface is a generic subinterface (mapped as a VirtualPort)- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NetworkInterface
public NetworkInterface(String name, int networkInterfaceType)
-
-
Method Detail
-
getType
public AbstractDataEntity.DATA_TYPE getType()
- Specified by:
getType
in classAbstractDataEntity
-
getNetworkInterfaceType
public int getNetworkInterfaceType()
-
setNetworkInterfaceType
public void setNetworkInterfaceType(int networkInterfaceType)
-
-