def get_computer_network_details
      network_adapters = []
      response = rest_get('/redfish/v1/Systems/1/NetworkAdapters/')
      networks = response_handler(response)['links']['Member']
      networks.each do |network|
        response = rest_get(network['href'])
        detail = response_handler(response)
        physical_ports = []
        detail['PhysicalPorts'].each do |port|
          n = {
            'Name' => port['Name'],
            'StructuredName' => port['Oem']['Hp']['StructuredName'],
            'MacAddress' => port['MacAddress'],
            'State' => port['Status']['State']
          }
          physical_ports.push(n)
        end
        nets = {
          'Name' => detail['Name'],
          'StructuredName' => detail['StructuredName'],
          'PartNumber' => detail['PartNumber'],
          'State' => detail['Status']['State'],
          'Health' => detail['Status']['Health'],
          'PhysicalPorts' => physical_ports
        }
        network_adapters.push(nets)
      end
      {
        'NetworkAdapters' => network_adapters
      }
    end
def get_computer_network_details
      network_adapters = []
      response = rest_get('/redfish/v1/Systems/1/NetworkAdapters/')
      networks = response_handler(response)['links']['Member']
      networks.each do |network|
        response = rest_get(network['href'])
        detail = response_handler(response)
        physical_ports = []
        detail['PhysicalPorts'].each do |port|
          n = {
            'Name' => port['Name'],
            'StructuredName' => port['Oem']['Hp']['StructuredName'],
            'MacAddress' => port['MacAddress'],
            'State' => port['Status']['State']
          }
          physical_ports.push(n)
        end
        nets = {
          'Name' => detail['Name'],
          'StructuredName' => detail['StructuredName'],
          'PartNumber' => detail['PartNumber'],
          'State' => detail['Status']['State'],
          'Health' => detail['Status']['Health'],
          'PhysicalPorts' => physical_ports
        }
        network_adapters.push(nets)
      end
      {
        'NetworkAdapters' => network_adapters
      }
    end
Get the computer network details
 @raise [RuntimeError] if the request failed
 @return [Hash] computer_network_details