Method: OneviewSDK::API200::ServerProfile#get_available_networks

Defined in:
lib/oneview-sdk/resource/api200/server_profile.rb

#get_available_networksHash

Gets all the available Ethernet and FC Networks, and Network Sets

Returns:

  • (Hash)

    A hash containing the lists of Ethernet Networks and FC Networks



115
116
117
118
# File 'lib/oneview-sdk/resource/api200/server_profile.rb', line 115

def get_available_networks
  query = { enclosure_group_uri: @data['enclosureGroupUri'], server_hardware_type_uri: @data['serverHardwareTypeUri'] }
  self.class.get_available_networks(@client, query)
end