# File lib/hammer_cli_foreman/host.rb, line 138
      def extend_data(host)
        # FIXME: temporary fetching parameters until the api gets fixed.
        # Noramlly they should come in the host's json.
        # http://projects.theforeman.org/issues/5820
        host["parameters"] = get_parameters(host["id"])

        host["_bmc_interfaces"] =
          host["interfaces"].select{|intfs| intfs["type"] == "Nic::BMC" } rescue []
        host["_managed_interfaces"] =
          host["interfaces"].select{|intfs| intfs["type"] == "Nic::Managed" } rescue []
        host
      end