Class: XClarityClient::Client
- Inherits:
-
Object
- Object
- XClarityClient::Client
- Includes:
- Mixins::AiccMixin, Mixins::CabinetMixin, Mixins::CanisterMixin, Mixins::ChassiMixin, Mixins::CmmMixin, Mixins::CompliancePolicyMixin, Mixins::ConfigPatternMixin, Mixins::ConfigProfileMixin, Mixins::ConfigTargetMixin, Mixins::DiscoverMixin, Mixins::DiscoverRequestMixin, Mixins::EventMixin, Mixins::FanMixin, Mixins::FanMuxMixin, Mixins::FfdcMixin, Mixins::GlobalSettingMixin, Mixins::HostPlatformMixin, Mixins::JobMixin, Mixins::ManageRequestMixin, Mixins::NodeMixin, Mixins::OsImageMixin, Mixins::PersistedResultMixin, Mixins::PowerSupplyMixin, Mixins::RemoteAccessMixin, Mixins::RemoteFileServerMixin, Mixins::ScalableComplexMixin, Mixins::StorageMixin, Mixins::SwitchMixin, Mixins::UnmanageRequestMixin, Mixins::UpdateCompMixin, Mixins::UpdateRepoMixin, Mixins::UserMixin
- Defined in:
- lib/xclarity_client/client.rb
Overview
Facade that exposes the lib features
Instance Method Summary collapse
-
#initialize(config) ⇒ Client
constructor
A new instance of Client.
- #validate_configuration ⇒ Object
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, #export_firmware_updates, #read_update_repo, #refresh_update_repo
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
Methods included from Mixins::PowerSupplyMixin
#discover_power_supplies, #fetch_power_supplies
Methods included from Mixins::PersistedResultMixin
Methods included from Mixins::OsImageMixin
#get_osimages, #import_osimage
Methods included from Mixins::NodeMixin
#blink_loc_led, #discover_nodes, #fetch_nodes, #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, #turn_off_loc_led, #turn_on_loc_led
Methods included from Mixins::JobMixin
#cancel_job, #delete_job, #discover_jobs, #fetch_jobs, #get_job
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
Methods included from Mixins::FanMuxMixin
#discover_fan_muxes, #fetch_fan_muxes
Methods included from Mixins::FanMixin
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
Methods included from Mixins::ConfigTargetMixin
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
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
Constructor Details
#initialize(config) ⇒ Client
Returns a new instance of Client.
39 40 41 |
# File 'lib/xclarity_client/client.rb', line 39 def initialize(config) @config = config end |
Instance Method Details
#validate_configuration ⇒ Object
43 44 45 |
# File 'lib/xclarity_client/client.rb', line 43 def validate_configuration XClarityCredentialsValidator.new(@config).validate end |