Hi, On Mon, Dec 26, 2011 at 07:33, David Anderson <[email protected]>wrote:
> We recently added some new features to support CERN's VM project. > Some of these may be of more general utility. > > 1) Web-based application graphics. > Previously, application graphics (both screensaver and window) > were produced using a separate program. > In this new approach, window graphics (i.e. the result of Show Graphics) > can be rendered in a browser. > Typically this would be done by having the main program implement a web > server. > A new API function > boinc_web_graphics_url(char* url) > allows the main program to specify the URL to which the browser should be > opened > (typically this will be of the form http://localhost:port, > where "port" is dynamically assigned). > > See: http://boinc.berkeley.edu/trac/wiki/GraphicsApi > > --------- > > 2) App versions that require constant network access. > You can now specify > <needs_network/> > in the version.xml file for an app version. > This tells the BOINC client to only schedule jobs using that app version > if network access is allowed > (i.e. it hasn't been suspended by the user or disallowed by preferences). > Enforced in 7.0.4+ clients. > > See: http://boinc.berkeley.edu/trac/wiki/AppVersionNew > > --------- > > 3) Port-forwarding in the Vbox wrapper. > This feature supports network access to VM-based apps > (e.g., access to a web server running within the VM). > If you include > <pf_guest_port>N</pf_guest_port> > in your vbox_job.xml file, vboxwrapper will get a host port number, > and set up forwarding from the host port to the guest port. > It will register this as the web graphics URL (see above) > and also write the host port to a file in the slot directory. > > http://boinc.berkeley.edu/trac/wiki/VboxApps Will be possible to use the same port across all the hosts? I mean, the problem of having all the time a different port number is that it will be very difficult to implement browser extensions for the web applications. You mentioned in one conversation that the BOINC core client is basically a web server, so maybe the port number could be obtained via an asynchronous HTTP AJAX call <http://api.jquery.com/jQuery.ajax/> using jQuery and process the output. What do you think? (the AJAX call using jQuery supports XML, but it will be desirable to support also JSON as this type of data do not require to be parsed, saving a lot of time and memory). > > --------- > > 4) Other vboxwrapper features > <enable_floppyio/> > causes vboxwrapper to create a file that's mapped into the VM > as a floppy disk image. > By default the contents of init_data.xml is placed here, > allowing VM apps to access things like proxy settings. > <job_duration>N</job_duration> > specifies a maximum elapsed time in seconds. > After this, vboxwrapper will kill the VM and exit normally. > > -- David > Daniel > _______________________________________________ > boinc_dev mailing list > [email protected] > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev > To unsubscribe, visit the above URL and > (near bottom of page) enter your email address. > -- ·························································································································································· http://github.com/teleyinex http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ·························································································································································· _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
