1. 07 Apr, 2011 6 commits
  2. 06 Apr, 2011 3 commits
  3. 05 Apr, 2011 14 commits
  4. 04 Apr, 2011 3 commits
  5. 03 Apr, 2011 2 commits
    • Giorgos Verigakis's avatar
      Move to OpenStack API v1.1 · d7495f79
      Giorgos Verigakis authored
      * Removes piston dependency.
      * Adds dateutil dependency.
      
      Fixes #183 - Implement /servers
      Fixes #185 - Implement /images
      Fixes #245 - Details in exception handlers
      Fixes #249 - Metadata handling
      Fixes #253 - Transition to OpenStack API v1.1
      Fixes #255 - Fix XML for addresses
      Fixes #287 - Piston related bug
      Fixes #289 - Support both XML and JSON
      Fixes #309 - GUI not refreshing
      Fixes #339 - Support API extensions
      Fixes #359 - action returns serviceUnavailable
      Fixes #361 - return dates with timezones
      Refs #301 - Sanitization of API
      Refs #315 - Replace API v1.1
      d7495f79
    • Vangelis Koukis's avatar
      Extend api/v1.1redux to support VNC OOB consoles · 0ac4ac5c
      Vangelis Koukis authored
      Add support in api/v1.1redux for OOB consoles using VNC, refs #349.
      More specifically:
       * Implement a new action ("console") for POST to /servers/id/action.
       * Extend api/servers.py to pass the Django request object to actions.
       * Import a version of the vncauthproxy control client under util/.
       * Extend the cloud command-line tool to support getting OOB console access.
      
      Example json: {"console": {"type": "VNC"}}
      Example XML:  <console type="VNC" />
      
      To service the call, the API will contact a running vncauthproxy to set up a
      time-limited port for VNC forwarding, where the client can connect.
      
      This is WIP. Still missing:
       * A patched version of vncauthproxy.
       * Client-side (GUI) support for requesting an OOB console.
      0ac4ac5c
  6. 02 Apr, 2011 1 commit
  7. 01 Apr, 2011 2 commits
  8. 31 Mar, 2011 2 commits
    • Markos Gogoulos's avatar
      fix flavors to use api 1.1redux · 491ba48a
      Markos Gogoulos authored
       * add cpu attribute returned on flavor(s) listing
       * use api 1.1redux on gui for flavors
      491ba48a
    • Markos Gogoulos's avatar
      implement server actions on gui for api/v1.1redux · 30f429cc
      Markos Gogoulos authored
       * implement server reboot/shutdown/start/destroy actions
       * fix ordering on imports (servers.py, actions.py)
       * actions.py: change type to reboot_type (reserverd word)
       * change vm.start_action to backend.start_action where needed
      (there is no vm.start_action any more)
       * create server action function in synnefo.js
      
      Refs #311
      30f429cc
  9. 30 Mar, 2011 3 commits
  10. 29 Mar, 2011 2 commits
  11. 28 Mar, 2011 2 commits
    • Vassilios Karakoidas's avatar
      Still refactoring, separating the logic and the ORM layer · e254f5ad
      Vassilios Karakoidas authored
        * Moved all tests (except one) into the logic app
        * Introduced (again) utils.py, moved miscellaneous functions there
        * models.py has now minimal functionality (ui->logic->db)
      e254f5ad
    • Faidon Liambotis's avatar
      Be consistent about the use of simplejson · 703ff9a3
      Faidon Liambotis authored
      simplejson was merged into Python 2.6's stdlib as json. To help with
      that and avoid external dependencies, Django provides a utils.simplejson
      module that either imports Python's json module or imports an embedded
      copy of simplejson.
      
      This was used inconsistenly through the tree, with users importing
      either that, or simplejson directly. This fixes all the call sites to
      use Django's version.
      
      A notable exception is util/rapi.py that was fixed to import
      simplejson/json conditionally without the Django helper so that the
      module can be upstream-Ganeti-friendly.
      703ff9a3