getMachineIdentifier

in lib/fluent/plugin/filter_process_redfishalert.rb [72:81]


    def getMachineIdentifier(host)
      begin
        res = callRedfishGetAPI(host, @hwtDeviceURI[hardware])
        
      rescue NoMethodError => e
        res = callRedfishGetAPI(host, @alternativeRMCEndpointForSDFlex) if @hardware == "SDFLEX"
      end
      return res[@deviceIDField[hardware]]
    end