~usc-isi/nova/hpc-trunk

« back to all changes in this revision

Viewing changes to bin/nova-vncproxy

  • Committer: ISI Hudson Server
  • Date: 2011-09-11 07:03:22 UTC
  • mfrom: (662.621.266 nova)
  • Revision ID: isi_hudson_server-20110911070322-sh5nfh3bbyzd795f
merged nova trunk 1549

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
    else:
108
108
        with_auth = auth.VNCNovaAuthMiddleware(with_logging)
109
109
 
110
 
    server = wsgi.Server("VNC Proxy",
111
 
                         with_auth,
112
 
                         host=FLAGS.vncproxy_host,
113
 
                         port=FLAGS.vncproxy_port)
114
 
    server.start_tcp(handle_flash_socket_policy, 843, host=FLAGS.vncproxy_host)
115
 
    service.serve(server)
 
110
    wsgi_server = wsgi.Server("VNC Proxy",
 
111
                              with_auth,
 
112
                              host=FLAGS.vncproxy_host,
 
113
                              port=FLAGS.vncproxy_port)
 
114
    wsgi_server.start_tcp(handle_flash_socket_policy,
 
115
                          843,
 
116
                          host=FLAGS.vncproxy_host)
 
117
    server = service.Service.create(binary='nova-vncproxy')
 
118
    service.serve(wsgi_server, server)
116
119
    service.wait()