« Previous | Next » 

Revision ccbd9f9b

IDccbd9f9b6589b465a371b7e07ddbcf2221483a41

Added by Markos Gogoulos about 13 years ago

Initial attempt to implement the ui-->RS API-->rapi architecture

main changes are:

  • handlers.py: added function VirtualMachineName that returns the VirtualMachine, given it's id. added some ORM for the server list
    (commented at the moment, uncomment and add the db on settings.py to try it). added delete() on ServerHandler that calls rapi to destroy a machine
  • settings.py.dist: edited GANETI_CLUSTER_INFO tuple (ip,host,user,pass)
  • ui/templates/list.html: added destroy class that sends a DELETE http method to the machine to be deleted (via api/handlers.py/ServerHandler.delete)
  • ui/templates/machines.html added some tests for DELETE/POST. While DELETE is working, POST is not at the moment

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences