public interface TrunkService extends RestService
| Modifier and Type | Method and Description |
|---|---|
Trunk |
addTrunkSubport(String trunkId,
TrunkSubport subPort)
Adds a subport to the specified Trunk
|
Trunk |
create(Trunk trunk)
Creates a trunk
|
ActionResponse |
delete(String trunkId)
Delete a trunk
|
Trunk |
get(String trunkId)
Get a trunk by ID
|
List<? extends Trunk> |
list()
Lists all trunks
|
List<NeutronTrunkSubport> |
listTrunkSubports(String trunkId)
List the subports associated with the trunk
|
Trunk |
removeTrunkSubport(String trunkId,
String portId)
Removes subport from the specified trunk
|
Trunk |
update(Trunk trunk)
Updates a trunk object
|
Trunk create(Trunk trunk)
trunk - the trunk to createActionResponse delete(String trunkId)
trunkId - ID of the trunkTrunk get(String trunkId)
trunkId - the trunk IDTrunk update(Trunk trunk)
trunk - the trunk object to updateList<NeutronTrunkSubport> listTrunkSubports(String trunkId)
trunkId - trunk IDTrunk addTrunkSubport(String trunkId, TrunkSubport subPort)
trunkId - ID of the trunksubPort - subport object to addCopyright © 2020. All rights reserved.