public interface LogicalSwitchClient
Modifier and Type | Method and Description |
---|---|
TaskResourceV2 |
createLogicalSwitch(RestParams params,
AddLogicalSwitch addLogicalSwitch,
boolean aSync)
Creates a logical switch according to the provided
LogicalSwitch
object. |
TaskResourceV2 |
deleteLogicalSwitch(RestParams params,
String resourceId,
boolean aSync)
Removes a logical switch identified by the provided resource identifier.
|
LogicalSwitchCollection |
getAllLogicalSwitches(RestParams params)
Retrieves the logical switch details for all the logical switches
under the current HPE OneView.
|
String |
getId(RestParams params,
String name)
Retrieves the logical switch resource identifier for the specified logical switch name.
|
LogicalSwitch |
getLogicalSwitch(RestParams params,
String resourceId)
Retrieves the
LogicalSwitch details for the specified
logical switch resource identifier. |
LogicalSwitch |
getLogicalSwitchByName(RestParams params,
String name)
Retrieves the
LogicalSwitch details for the specified
logical switch name. |
TaskResourceV2 |
refreshLogicalSwitch(RestParams params,
String resourceId,
boolean aSync)
Executes a refresh action for a logical switch identified by the provided
resource identifier.
|
TaskResourceV2 |
updateLogicalSwitch(RestParams params,
String resourceId,
AddLogicalSwitch addLogicalSwitch,
boolean aSync)
Updates a logical switch according to the provided
LogicalSwitch
object. |
LogicalSwitch getLogicalSwitch(RestParams params, String resourceId)
LogicalSwitch
details for the specified
logical switch resource identifier.params
- structure containing the connection details.resourceId
- logical switch identifier as seen in HPE OneView.LogicalSwitch
object containing the details.LogicalSwitch getLogicalSwitchByName(RestParams params, String name)
LogicalSwitch
details for the specified
logical switch name.params
- structure containing the connection details.name
- logical switch name as seen in HPE OneView.LogicalSwitch
object containing the details.LogicalSwitchCollection getAllLogicalSwitches(RestParams params)
params
- structure containing the connection details.LogicalSwitchCollection
object containing the details
for all the logical switches found in HPE OneView.TaskResourceV2 createLogicalSwitch(RestParams params, AddLogicalSwitch addLogicalSwitch, boolean aSync)
LogicalSwitch
object. The request can be processed asynchronously or synchronously.params
- structure containing the connection details.addLogicalSwitch
- object containing the logical switch details.aSync
- flag to indicate whether the request should be
processed asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 updateLogicalSwitch(RestParams params, String resourceId, AddLogicalSwitch addLogicalSwitch, boolean aSync)
LogicalSwitch
object. The request can be processed asynchronously or synchronously.params
- structure containing the connection details.resourceId
- logical switch identifier as seen in HPE OneView.addLogicalSwitch
- object containing the logical switch details.aSync
- flag to indicate whether the request should be
processed asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 deleteLogicalSwitch(RestParams params, String resourceId, boolean aSync)
params
- structure containing the connection details.resourceId
- logical switch identifier as seen in HPE OneView.aSync
- flag to indicate whether the request should be
processed asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 refreshLogicalSwitch(RestParams params, String resourceId, boolean aSync)
params
- structure containing the connection details.resourceId
- logical switch identifier as seen in HPE OneView.aSync
- flag to indicate whether the request should be
processed asynchronously or synchronously.TaskResourceV2
containing the task status for the process.String getId(RestParams params, String name)
params
- structure containing the connection details.name
- logical switch name as seen in HPE OneView.Copyright © 2016. All rights reserved.