Package org.openstack4j.model.compute
Interface InterfaceAttachment
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
NovaInterfaceAttachment
public interface InterfaceAttachment extends ModelEntity
Interface attachment model entity- Author:
- Jeremy Unruh
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceInterfaceAttachment.FixedIp
-
Method Summary
All Methods Instance Methods Abstract 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 state
-
-
-
Method Detail
-
getFixedIps
List<? extends InterfaceAttachment.FixedIp> getFixedIps()
List of Fixed IpAddresses- Returns:
- list of fix addresses
-
getMacAddr
String getMacAddr()
The interface MacAddress- Returns:
- the MacAddress for this Interface
-
getNetId
String getNetId()
The network identifier- Returns:
- the network identifier associated to this interface
-
getPortId
String getPortId()
The port aka interface identifier- Returns:
- the port/interface identifier
-
getPortState
PortState getPortState()
The current port state- Returns:
- the port state
-
-