libraries/resource_providers/api200/server_profile_provider.rb
def load_with_properties
        set_resource(:ServerHardware, @new_resource.server_hardware, :set_server_hardware)
        set_resource(:ServerHardwareType, @new_resource.server_hardware_type, :set_server_hardware_type)
        set_resource(:EnclosureGroup, @new_resource.enclosure_group, :set_enclosure_group)
        set_resource(:Enclosure, @new_resource.enclosure, :set_enclosure)
        set_resource(:FirmwareDriver, @new_resource.firmware_driver, :set_firmware_driver)
        set_connections(:EthernetNetwork, @new_resource.ethernet_network_connections)
        set_connections(:FCNetwork, @new_resource.fc_network_connections)
        set_connections(:FCoENetwork, @new_resource.fcoe_network_connections)
        set_connections(:NetworkSet, @new_resource.network_set_connections)
        build_volume_attachments
      end
# Loads the Server profile with all the external resources (if needed)
Loads the Server profile with all the external resources (if needed)
Loads the Server profile with all the external resources ( if needed )
def load_with_properties
        set_resource(:ServerHardware, @new_resource.server_hardware, :set_server_hardware)
        set_resource(:ServerHardwareType, @new_resource.server_hardware_type, :set_server_hardware_type)
        set_resource(:EnclosureGroup, @new_resource.enclosure_group, :set_enclosure_group)
        set_resource(:Enclosure, @new_resource.enclosure, :set_enclosure)
        set_resource(:FirmwareDriver, @new_resource.firmware_driver, :set_firmware_driver)
        set_connections(:EthernetNetwork, @new_resource.ethernet_network_connections)
        set_connections(:FCNetwork, @new_resource.fc_network_connections)
        set_connections(:FCoENetwork, @new_resource.fcoe_network_connections)
        set_connections(:NetworkSet, @new_resource.network_set_connections)
        build_volume_attachments
      end
def load_with_properties set_resource ( :ServerHardware , @new_resource . server_hardware , :set_server_hardware ) set_resource ( :ServerHardwareType , @new_resource . server_hardware_type , :set_server_hardware_type ) set_resource ( :EnclosureGroup , @new_resource . enclosure_group , :set_enclosure_group ) set_resource ( :Enclosure , @new_resource . enclosure , :set_enclosure ) set_resource ( :FirmwareDriver , @new_resource . firmware_driver , :set_firmware_driver ) set_connections ( :EthernetNetwork , @new_resource . ethernet_network_connections ) set_connections ( :FCNetwork , @new_resource . fc_network_connections ) set_connections ( :FCoENetwork , @new_resource . fcoe_network_connections ) set_connections ( :NetworkSet , @new_resource . network_set_connections ) build_volume_attachments end
Loads the Server profile with all the external resources (if needed)
Loads the Server profile with all the external resources ( if needed )