Class: OneviewSDK::API300::C7000::ManagedSAN

Inherits:
OneviewSDK::API200::ManagedSAN show all
Defined in:
lib/oneview-sdk/resource/api300/c7000/managed_san.rb

Overview

Managed SAN resource implementation for API300 C7000

Direct Known Subclasses

Synergy::ManagedSAN

Constant Summary

Constants inherited from OneviewSDK::API200::ManagedSAN

OneviewSDK::API200::ManagedSAN::BASE_URI

Constants inherited from Resource

Resource::BASE_URI, Resource::UNIQUE_IDENTIFIERS

Instance Attribute Summary

Attributes inherited from Resource

#api_version, #client, #data, #logger

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from OneviewSDK::API200::ManagedSAN

#create, #delete, #get_endpoints, #get_zoning_report, #set_refresh_state, #set_san_policy, #update

Methods inherited from Resource

#==, #[], #[]=, build_query, #create, #create!, #delete, #each, #eql?, #exists?, find_by, from_file, get_all, #initialize, #like?, #refresh, #retrieve!, #schema, schema, #set, #set_all, #to_file, #update

Constructor Details

This class inherits a constructor from OneviewSDK::Resource

Class Method Details

.get_wwn(client, wwn = nil) ⇒ Object

Retrieves interconnect types

Parameters:

  • client (OneviewSDK::Client)

    The client object for the OneView appliance

  • wwn (String) (defaults to: nil)

    The wwn of the switch from which the managed sans should be retrieved


23
24
25
26
# File 'lib/oneview-sdk/resource/api300/c7000/managed_san.rb', line 23

def self.get_wwn(client, wwn = nil)
  response = client.rest_get(BASE_URI + '?locate=' + wwn)
  client.response_handler(response)
end

Instance Method Details

#set_public_attributesObject

Method is not available

Raises:


30
31
32
# File 'lib/oneview-sdk/resource/api300/c7000/managed_san.rb', line 30

def set_public_attributes(*)
  unavailable_method
end