Class: OneviewSDK::API500::Synergy::Interconnect

Inherits:
C7000::Interconnect show all
Defined in:
lib/oneview-sdk/resource/api500/synergy/interconnect.rb

Overview

Interconnect resource implementation on API500 Synergy

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

Class Method Summary collapse

Methods inherited from C7000::Interconnect

#get_pluggable_module_information

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

Class Method Details

Retrieves the interconnect link topologies

Parameters:

Returns:

  • (Array)

    All the Interconnect Link Topologies



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

def self.get_link_topologies(client)
  OneviewSDK::API300::Synergy::Interconnect.get_link_topologies(client)
end

Retrieves the interconnect link topology with the name

Parameters:

  • client (OneviewSDK::Client)

    The client object for the OneView appliance

  • name (String)

    Switch type name

Returns:

  • (Array)

    Switch type



32
33
34
# File 'lib/oneview-sdk/resource/api500/synergy/interconnect.rb', line 32

def self.get_link_topology(client, name)
  OneviewSDK::API300::Synergy::Interconnect.get_link_topology(client, name)
end