Package com.morpheusdata.core.providers
Interface NetworkProvider.NetworkUpdateFacet
- All Superinterfaces:
PluginProvider.UpdateFacet<NetworkServer>
- Enclosing interface:
- NetworkProvider
public static interface NetworkProvider.NetworkUpdateFacet
extends PluginProvider.UpdateFacet<NetworkServer>
-
Method Summary
Modifier and TypeMethodDescriptionexecuteUpdate(NetworkServer networkServer, UpdateDefinition update) Execute the update against the target switches.postUpdate(NetworkServer networkServer, UpdateDefinition update) Finalize the update operation status against the target switches.refreshUpdate(NetworkServer networkServer, UpdateOperation updateOperation) Refresh the update operation status against the target switches.rollbackUpdate(NetworkServer networkServer, UpdateDefinition update) Rollback the update operation status against the target switches.validateUpdate(NetworkServer networkServer, UpdateDefinition update) Perform a validation of the update against the target switches.
-
Method Details
-
validateUpdate
ServiceResponse<UpdateOperation> validateUpdate(NetworkServer networkServer, UpdateDefinition update) Perform a validation of the update against the target switches.- Specified by:
validateUpdatein interfacePluginProvider.UpdateFacet<NetworkServer>- Parameters:
networkServer-update-
-
executeUpdate
ServiceResponse<UpdateOperation> executeUpdate(NetworkServer networkServer, UpdateDefinition update) Execute the update against the target switches.- Specified by:
executeUpdatein interfacePluginProvider.UpdateFacet<NetworkServer>- Parameters:
networkServer-update-- Returns:
- a ServiceResponse indicating the success or failure of the update operation
-
refreshUpdate
ServiceResponse<UpdateOperation> refreshUpdate(NetworkServer networkServer, UpdateOperation updateOperation) Refresh the update operation status against the target switches.- Specified by:
refreshUpdatein interfacePluginProvider.UpdateFacet<NetworkServer>- Parameters:
networkServer-
-
postUpdate
Finalize the update operation status against the target switches.- Specified by:
postUpdatein interfacePluginProvider.UpdateFacet<NetworkServer>- Parameters:
networkServer-update-- Returns:
- a ServiceResponse indicating the success or failure of the update operation
-
rollbackUpdate
ServiceResponse<UpdateOperation> rollbackUpdate(NetworkServer networkServer, UpdateDefinition update) Rollback the update operation status against the target switches.- Specified by:
rollbackUpdatein interfacePluginProvider.UpdateFacet<NetworkServer>- Parameters:
networkServer-update-- Returns:
- a ServiceResponse indicating the success or failure of the rollback operation
-