Class NovaInterfaceAttachment
- java.lang.Object
-
- org.openstack4j.openstack.compute.domain.NovaInterfaceAttachment
-
- All Implemented Interfaces:
Serializable,InterfaceAttachment,ModelEntity
public class NovaInterfaceAttachment extends Object implements InterfaceAttachment
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNovaInterfaceAttachment.NovaFixedIpstatic classNovaInterfaceAttachment.NovaInterfaceAttachments-
Nested classes/interfaces inherited from interface org.openstack4j.model.compute.InterfaceAttachment
InterfaceAttachment.FixedIp
-
-
Constructor Summary
Constructors Constructor Description NovaInterfaceAttachment()NovaInterfaceAttachment(String portId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends InterfaceAttachment.FixedIp>getFixedIps()List of Fixed IpAddressesStringgetMacAddr()The interface MacAddressStringgetNetId()The network identifierStringgetPortId()The port aka interface identifierPortStategetPortState()The current port stateStringtoString()
-
-
-
Constructor Detail
-
NovaInterfaceAttachment
public NovaInterfaceAttachment()
-
NovaInterfaceAttachment
public NovaInterfaceAttachment(String portId)
-
-
Method Detail
-
getFixedIps
public List<? extends InterfaceAttachment.FixedIp> getFixedIps()
Description copied from interface:InterfaceAttachmentList of Fixed IpAddresses- Specified by:
getFixedIpsin interfaceInterfaceAttachment- Returns:
- list of fix addresses
-
getMacAddr
public String getMacAddr()
Description copied from interface:InterfaceAttachmentThe interface MacAddress- Specified by:
getMacAddrin interfaceInterfaceAttachment- Returns:
- the MacAddress for this Interface
-
getNetId
public String getNetId()
Description copied from interface:InterfaceAttachmentThe network identifier- Specified by:
getNetIdin interfaceInterfaceAttachment- Returns:
- the network identifier associated to this interface
-
getPortId
public String getPortId()
Description copied from interface:InterfaceAttachmentThe port aka interface identifier- Specified by:
getPortIdin interfaceInterfaceAttachment- Returns:
- the port/interface identifier
-
getPortState
public PortState getPortState()
Description copied from interface:InterfaceAttachmentThe current port state- Specified by:
getPortStatein interfaceInterfaceAttachment- Returns:
- the port state
-
-