code: def cli(env, sortby, cpu, columns, datacenter, name, memory, disk, tag):
      
      mgr = SoftLayer.DedicatedHostManager(env.client)
      hosts = mgr.list_instances(cpus=cpu,
                                 datacenter=datacenter,
                                 hostname=name,
                                 memory=memory,
                                 disk=disk,
                                 tags=tag,
                                 mask=columns.mask())
  
      table = formatting.Table(columns.columns)
      table.sortby = sortby
  
      for host in hosts:
          table.add_row([value or formatting.blank()
                         for value in columns.row(host)])
  
      env.fout(table)
docs: List dedicated host.