Class: OneviewSDK::API300::Synergy::LogicalSwitch

Inherits:
Object
  • Object
show all
Defined in:
lib/oneview-sdk/resource/api300/synergy/logical_switch.rb

Overview

Logical switch resource implementation for API300 Synergy (internal link set endpoints only)

Class Method Summary collapse

Class Method Details

Retrieves the internal link set with name

Parameters:

  • client (OneviewSDK::Client)

    The client object for the OneView appliance

  • name (String)

    The internal link set name

Returns:

  • (Array)

    Internal Link Set Array


29
30
31
# File 'lib/oneview-sdk/resource/api300/synergy/logical_switch.rb', line 29

def self.get_internal_link_set(client, name)
  OneviewSDK::API300::C7000::LogicalSwitch.get_internal_link_set(client, name)
end

Retrieves all internal link sets

Parameters:


21
22
23
# File 'lib/oneview-sdk/resource/api300/synergy/logical_switch.rb', line 21

def self.get_internal_link_sets(client)
  OneviewSDK::API300::C7000::LogicalSwitch.get_internal_link_sets(client)
end