def create_machine(backend_id, machine_id, options = {})
      data = { 'lb_machine' => machine_id }
      data['lb_options'] = options unless options.empty?
      conn.post("lb_backends/#{backend_id}/lb_machines", data)
    end
def create_machine(backend_id, machine_id, options = {})
      data = { 'lb_machine' => machine_id }
      data['lb_options'] = options unless options.empty?
      conn.post("lb_backends/#{backend_id}/lb_machines", data)
    end
Options are:
 port - The port the machine is serving http or https on. Defaults to the
        port the service is listening on.
 weight - The multiplier for what portion of the incoming traffic should be
          routed to this machine.
 maxconn - The maximum number of simultaneous connections allowed for this
           machine.
 backup - Only direct traffic to this node if all the other nodes are down.