Class: XClarityClient::Client

Overview

Facade that exposes the lib features

Instance Method Summary collapse

Methods included from Mixins::ManagementServerMixin

#apply_management_server_updates, #delete_management_server_updates, #download_management_server_updates, #get_management_server_updates_info, #import_management_server_updates, #refresh_management_server_updates_catalog

Methods included from Mixins::UserMixin

#change_user_password, #discover_users, #fetch_users

Methods included from Mixins::UpdateCompMixin

#apply_firmware_update, #cancel_firmware_update, #discover_firmware_update_status, #discover_updatable_device_comp, #modify_power_state

Methods included from Mixins::UpdateRepoMixin

#acquire_firmware_updates, #delete_firmware_updates, #discover_update_repo, #download_exported_compliance_policies, #download_exported_firmware_updates, #export_compliance_policies, #export_firmware_updates, #import_compliance_policies, #import_firmware_updates, #read_update_repo, #refresh_update_repo_catalog, #refresh_uxsp_update_repo_catalog, #retrieve_compliance_policy_list, #supported_machine_types_detail, #track_task_status, #updates_info_by_machine_types, #uxsp_updates_info_by_machine_types, #validate_import_updates

Methods included from Mixins::ManageRequestMixin

#fetch_manage_request, #get_discovery_result, #get_job_progress, #manage_discovered_devices, #update_manage_request

Methods included from Mixins::UnmanageRequestMixin

#fetch_unmanage_request, #unmanage_discovered_devices

Methods included from Mixins::SwitchMixin

#discover_switches, #fetch_switches, #power_cycle_soft_switch

Methods included from Mixins::StorageMixin

#discover_storages, #fetch_storages

Methods included from Mixins::ScalableComplexMixin

#discover_scalableComplexes, #fetch_scalableComplexes

Methods included from Mixins::RemoteFileServerMixin

#create_remotefileserver_profile, #delete_remotefileserver_profile, #get_remotefileserver_profile, #get_remotefileserver_profiles

Methods included from Mixins::RemoteAccessMixin

#remote_control

Methods included from Mixins::PowerSupplyMixin

#discover_power_supplies, #fetch_power_supplies

Methods included from Mixins::PersistedResultMixin

#fetch_compliance_policies

Methods included from Mixins::OsImageMixin

#get_osimages, #import_osimage

Methods included from Mixins::NodeMixin

#blink_loc_led, #disable_media_mount_support_thinkserver, #discover_nodes, #enable_media_mount_support_thinkserver, #fetch_nodes, #mount_media_thinkserver, #mount_media_thinksystem, #power_off_node, #power_off_node_now, #power_on_node, #power_restart_node, #power_restart_node_controller, #power_restart_node_now, #power_restart_node_to_setup, #remove_all_mounted_medias_thinksystem, #retrieve_mounted_media_details, #turn_off_loc_led, #turn_on_loc_led, #unmount_media_thinkserver, #unmount_media_thinksystem

Methods included from Mixins::JobMixin

#cancel_job, #delete_job, #discover_jobs, #fetch_jobs

Methods included from Mixins::HostPlatformMixin

#deploy_osimage, #get_hostplatforms, #get_osimage_deployment_status

Methods included from Mixins::GlobalSettingMixin

#get_globalsettings, #set_globalsettings

Methods included from Mixins::FfdcMixin

#fetch_ffdc

Methods included from Mixins::FanMuxMixin

#discover_fan_muxes, #fetch_fan_muxes

Methods included from Mixins::FanMixin

#discover_fans, #fetch_fans

Methods included from Mixins::EventMixin

#discover_events, #fetch_events, #get_last_cn

Methods included from Mixins::DiscoverRequestMixin

#discover_manageable_devices, #monitor_discover_request

Methods included from Mixins::DiscoverMixin

#discover_devices_by_slp

Methods included from Mixins::ConfigTargetMixin

#fetch_config_target

Methods included from Mixins::ConfigProfileMixin

#activate_config_profile, #delete_config_profile, #discover_config_profile, #fetch_config_profile, #rename_config_profile, #unassign_config_profile

Methods included from Mixins::ConfigPatternMixin

#deploy_config_pattern, #discover_config_pattern, #export_config_pattern, #fetch_config_pattern, #import_config_pattern

Methods included from Mixins::CompliancePolicyMixin

#assign_compliance_policy, #delete_compliance_policy, #discover_application_firmware, #discover_compare_results, #discover_persisted_compare_results, #discover_update_policy

Methods included from Mixins::CmmMixin

#discover_cmms, #fetch_cmms

Methods included from Mixins::ChassiMixin

#blink_loc_led_chassis, #discover_chassis, #fetch_chassis, #turn_off_loc_led_chassis, #turn_on_loc_led_chassis

Methods included from Mixins::CanisterMixin

#discover_canisters, #fetch_canisters

Methods included from Mixins::CabinetMixin

#discover_cabinet, #fetch_cabinet

Methods included from Mixins::AiccMixin

#discover_aicc

Constructor Details

#initialize(config) ⇒ Client

Returns a new instance of Client.



40
41
42
# File 'lib/xclarity_client/client.rb', line 40

def initialize(config)
  @config = config
end

Instance Method Details

#validate_configurationObject



44
45
46
# File 'lib/xclarity_client/client.rb', line 44

def validate_configuration
  XClarityCredentialsValidator.new(@config).validate
end