Class: OneviewSDK::API500::C7000::Interconnect

Inherits:
OneviewSDK::API300::C7000::Interconnect show all
Includes:
ResourceHelper::ConfigurationOperation
Defined in:
lib/oneview-sdk/resource/api500/c7000/interconnect.rb

Overview

Interconnect resource implementation on API500 C7000

Constant Summary

Constants inherited from OneviewSDK::API200::Interconnect

OneviewSDK::API200::Interconnect::BASE_URI, OneviewSDK::API200::Interconnect::TYPE_URI, OneviewSDK::API200::Interconnect::UNIQUE_IDENTIFIERS

Constants inherited from Resource

Resource::BASE_URI, Resource::DEFAULT_REQUEST_HEADER, Resource::UNIQUE_IDENTIFIERS

Instance Attribute Summary

Attributes inherited from Resource

#api_version, #client, #data, #logger

Instance Method Summary collapse

Methods included from ResourceHelper::ConfigurationOperation

#configuration

Methods inherited from OneviewSDK::API300::C7000::Interconnect

#initialize

Methods inherited from OneviewSDK::API200::Interconnect

#create, #delete, get_type, get_types, #initialize, #name_servers, #patch, #reset_port_protection, #statistics, #update, #update_port

Methods inherited from Resource

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

Constructor Details

This class inherits a constructor from OneviewSDK::API300::C7000::Interconnect

Instance Method Details

#get_pluggable_module_informationHash

Gets all the Small Form-factor Pluggable (SFP) instances from an interconnect.

Returns:

  • (Hash)

    hash The Small Form-factor Pluggable (SFP) instances of the interconnect



23
24
25
26
27
# File 'lib/oneview-sdk/resource/api500/c7000/interconnect.rb', line 23

def get_pluggable_module_information
  ensure_client && ensure_uri
  response = @client.rest_get(@data['uri'] + '/pluggableModuleInformation')
  @client.response_handler(response)
end