Package com.morpheusdata.core.providers
Interface NetworkProvider.NetworkConfigurationDriftCheckFacet
- All Superinterfaces:
PluginProvider.ConfigurationDriftCheckFacet<NetworkServer>
- Enclosing interface:
- NetworkProvider
public static interface NetworkProvider.NetworkConfigurationDriftCheckFacet
extends PluginProvider.ConfigurationDriftCheckFacet<NetworkServer>
-
Method Summary
Modifier and TypeMethodDescriptiongetConfigurationDriftDetails(NetworkServer networkServer, DriftState driftState) Retrieve details about the configuration that is required by a System plugin to crosscheck data against a whole system.runConfigurationDriftCheck(NetworkServer networkServer, CheckLevel checkLevel) Perform a configuration drift check on the target device.
-
Method Details
-
runConfigurationDriftCheck
ServiceResponse<DriftState> runConfigurationDriftCheck(NetworkServer networkServer, CheckLevel checkLevel) Perform a configuration drift check on the target device. This is useful for ensuring that the configuration within Morpheus matches the actual configuration on the target device.- Specified by:
runConfigurationDriftCheckin interfacePluginProvider.ConfigurationDriftCheckFacet<NetworkServer>- Parameters:
networkServer- the target device to check for configuration driftcheckLevel- the level of the drift check to perform (e.g., all, update)- Returns:
- a ServiceResponse with any errors if drift is detected or a success response if no drift is detected
-
getConfigurationDriftDetails
ServiceResponse<DriftState> getConfigurationDriftDetails(NetworkServer networkServer, DriftState driftState) Retrieve details about the configuration that is required by a System plugin to crosscheck data against a whole system.- Specified by:
getConfigurationDriftDetailsin interfacePluginProvider.ConfigurationDriftCheckFacet<NetworkServer>- Parameters:
networkServer- the target device to check- Returns:
- a ServiceResponse containing details about the configuration drift
-