Package org.openstack4j.model.network
Interface Port
-
- All Superinterfaces:
BasicResource,Buildable<PortBuilder>,IdEntity,ModelEntity,Resource,Serializable,TimeEntity
- All Known Implementing Classes:
NeutronPort
public interface Port extends Resource, TimeEntity, Buildable<PortBuilder>
A Network (Neutron) Port- Author:
- Jeremy Unruh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<? extends AllowedAddressPair>getAllowedAddressPairs()StringgetDeviceId()StringgetDeviceOwner()Set<? extends IP>getFixedIps()StringgetHostId()StringgetMacAddress()StringgetNetworkId()Map<String,Object>getProfile()List<String>getSecurityGroups()StategetState()StringgetTrunkPortParentId()StringgetTrunkPortType()StringgetTrunkPortVlanId()Map<String,Object>getVifDetails()StringgetVifType()StringgetvNicType()booleanisAdminStateUp()BooleanisPortSecurityEnabled()-
Methods inherited from interface org.openstack4j.model.common.BasicResource
getName, setName
-
Methods inherited from interface org.openstack4j.model.common.Resource
getTenantId, setTenantId
-
Methods inherited from interface org.openstack4j.model.common.TimeEntity
getCreatedTime, getUpdatedTime
-
-
-
-
Method Detail
-
getState
State getState()
- Returns:
- the current state of the port
-
isAdminStateUp
boolean isAdminStateUp()
- Returns:
- the administrative state of port. If false, port does not forward packets.
-
getNetworkId
String getNetworkId()
- Returns:
- the id of the network where this port is associated with
-
getDeviceId
String getDeviceId()
- Returns:
- the id of the device (e.g. server) using this port.
-
getDeviceOwner
String getDeviceOwner()
- Returns:
- the entity (e.g.: DHCP Agent) using this port.
-
getFixedIps
Set<? extends IP> getFixedIps()
- Returns:
- the set of fixed IPs this port has been assigned
-
getAllowedAddressPairs
Set<? extends AllowedAddressPair> getAllowedAddressPairs()
-
getMacAddress
String getMacAddress()
- Returns:
- the MacAddress of this port
-
getSecurityGroups
List<String> getSecurityGroups()
- Returns:
- the security group identifiers assigned to this port
-
getTrunkPortParentId
String getTrunkPortParentId()
- Returns:
- the parent ID of this port
-
getTrunkPortType
String getTrunkPortType()
- Returns:
- the trunk port type of this port
-
getTrunkPortVlanId
String getTrunkPortVlanId()
- Returns:
- the Vlan of this port
-
isPortSecurityEnabled
Boolean isPortSecurityEnabled()
- Returns:
- The port security status. A valid value is enabled (true) or disabled (false).
-
getHostId
String getHostId()
-
getVifType
String getVifType()
-
getvNicType
String getvNicType()
-
-