Package org.openstack4j.model.network
Interface Trunk
-
- All Superinterfaces:
BasicResource,Buildable<TrunkBuilder>,IdEntity,ModelEntity,Resource,Serializable
- All Known Implementing Classes:
AbstractNeutronTrunk,NeutronTrunk,NeutronTrunkSubportAddRemove
public interface Trunk extends Resource, Buildable<TrunkBuilder>
A network Trunk- Author:
- Kashyap Jha
-
-
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 StringgetDescription()StringgetParentPort()StategetState()List<? extends TrunkSubport>getTrunkSubports()booleanisAdminStateUp()-
Methods inherited from interface org.openstack4j.model.common.BasicResource
getName, setName
-
Methods inherited from interface org.openstack4j.model.common.Resource
getTenantId, setTenantId
-
-
-
-
Method Detail
-
getState
State getState()
- Returns:
- the current state of the trunk
-
isAdminStateUp
boolean isAdminStateUp()
- Returns:
- the administrative state of the trunk
-
getParentPort
String getParentPort()
- Returns:
- the parent port ID of the trunk
-
getTrunkSubports
List<? extends TrunkSubport> getTrunkSubports()
- Returns:
- a list of subports associated with the trunk
-
getDescription
String getDescription()
- Returns:
- a string containing the description
-
-