History | View | Annotate | Download (18.5 kB)
Add deleted states in Flavor and SynnefoUser
A database migration is needed.
Refs #1055
Merge branch 'images'
Add Admin account type
Make testbed user Admin by default.
Add forgoten Ganeti op-status opcodes
Refs: #1031
Add support for extdump Images
Add support for ntfsdump images
Extend API to report build progress
Extend the API layer to report server build progress,make the buildpercentage field a mandatory field with default value,in the relevant South migration.
Update handling of 'ganeti-create-progress' notifs
Update handling of 'ganeti-create-progress' notification messages: * update format of 'ganeti-create-progress' notifications * update relevant unit test accordingly * numerous PEP8 fixes in logic and api test code
Process build progress update notifications
Catch build progress update messages from AMQP, process and store them in the database. Test to store the processing operations
Refs: #885
Fix copy-paste error
Small changes in invitation code
-Autoredirect invited user to application root-Print debug message with invitation URL-Fix error in Invitations.__unicode__
Configurable number of invitations per invitation level
Refs: #439
Conflicts: README.deploy db/fixtures/images.json
Merge branch 'api-current' into helpdesk-gui
Conflicts: aai/shibboleth.py
Merge branch 'logging' into api-current
Conflicts: logic/backend.py
Per user invitation limits
refs: #705
Minor refactoring
Conflicts: settings.py.dist
Add a PROTECTED firewall profile
Refs #659
Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current
Conflicts: api/images.py api/networks.py contrib/ganeti-hooks/kvm-vif-bridge db/fixtures/images.json db/models.py logic/backend.py logic/tests.py settings.py.dist tools/cloud
Add helpdesk user group
Helpdesk users are registered statically using the HELPDESK user type.The middleware will only allow impersonation requests from helpdeskusers.
Add a public attribute to Images
list_images now returns images that either match the owner, orthat are marked as public.
Fixes #555
Database migration needed.
License headers for various files
refs #581
Adds fields tmp_auth_token and tmp_auth_token_expires to SynnefoUser
Support for creating one-off user tokens
Add the 'ntfsclone' Image format in models.py
Merge branches api-current and ui-0.4, minor fixes
Merge branches api-current and ui-0.4: * Fix merge conflicts * Fix minor bug in reconciliation mgmt command * Add comments in settings.py.dist * minor PEP8 fixes
Merge branch 'images-0.4'
Make Network and NetworkLink relation explicit
DB migration needed.
Bugfixes
Connect networks API with the Ganeti
A database migration is needed....
Allow owner in networks to be null
Database migration is needed.
Refactor networks
Add initial support for different Image formats
Initial support for choosing between different Image formats:
Add expires field for auth token
Refs: #483
Initial commit for Image Support in Synnefo
Add Image Support in Synnefo, more specifically: * Add fixtures for 4 actual images * Add two more fields in Image model (backend_id, format) * Commit South migration for Image model * Modify create_instance() in logic/backend.py to pass OS parameters...
Construct a username from a real name
Skeleton invitations app code and model
Ignore uknown Ganeti opcodes in dispatcher
Have the backend notification handler ignore unknown Ganeti opcodes,such as OP_INSTANCE_QUERY_DATA and OP_INSTANCE_SET_PARAMS.
Add initial networks support
Refs #409
Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current
Migration, default values for fields in SynnefoUser
Raise if vm is deleted or being built
Fixes #351
Merge branch 'master' into auth-mechanism
Clarify the units of ram and disk
Conflicts: api/fixtures/api_test_data.json api/tests.py
Make most tests pass
Fixes to pass some shibboleth related tests
Fix bugs in api/server.py:create_server()
Fix bugs in server creation, in api/server.py:create_server().More specifically: * Make sure to save() the vm object before calling vm.backend_id * Delete the vm instance if the RAPI call fails for any reason * Use different variable names for the server name at the API level...
Authentication token duration settings and autogeneration
Make tests fail gracefully with assertions.
Also correct spelling of the word shibboleth
Add metadata support in Images
Removed description and size from Image model.
Fix create user test case
Some code and fixture data for authentication
Added comment regarding VirtualMachine model
Some coding before enlighting discussion w/ faidon
All VirtualMachine fields are now pubic
charger.py works with the refacctored code
Still refactoring, separating the logic and the ORM layer
Merge branch 'master' into logic-refactoring
Conflicts: db/models.py
return DELETED in _get_rsapi_state - Fixes #293
remove description fields for VM, Image
Ref #185
Removed unused import
Test are now working for db, logic modules
Minor fix in FlavorCost model
Move _get_costs (internal method) to credits.py
Internal method calculate_cost moved to utils.py
Move process_backend_msg to beckend.py
Moved id_from_instance_name static method to utils.py
Refactored charge (from VM model) and fixed unit tests
Moved SynnefoUser methods to logic.credits
Add ability to report REBOOT state
Extend the rsapi_state property of the VirtualMachine modelto report the machine is in REBOOT when there is a pendingOP_INSTANCE_REBOOT request to the Ganeti backend.
Implement unit tests for all charge() related methods
Merge branch 'master' of https://code.grnet.gr/git/synnefo
partial auto-refresh
Several model function now use transactions
set self.suspended to false when starting vm
Make owner a not null ForeignKey in VirtualMachine
Make owner a required, not null foreign key in VirtualMachine.Also fix fixtures and the implementation of POST /servers to includea proper owner value (everything gets to be owned by the single SynnefoUser...
Fixed a minor bug in models.py
Remove user field from SynnefoUser, minor fixes
Remove the "user" ForeignKey() field from the SynnefoUser model, sincewe do not use Django's auth mechanism.More specifically: * remove user ForeignKey() field * update fixtures for initial data, DB and API tests...
Revert breakage caused by _update_state() commits
Try to revert the breakage caused by commits * dac4356407c446943ff029d1fe931516f3ba4c07 * 27816aaeab44c059466834a556a78931e5b0a9ee * 3ca38a07a0d23fd9bec0c4bc423df863dcf6509c
which caused self.save() to be called in VirtualMachine.__init__()...
Many fixes and refactoring in models
Added update_state() method (fixes)
Added update_state() method
Implemented Charger Functionality
The code needs still lots of testing
allow the destruction of suspended vms
Changed models to match current specification
removed get_vmid and vm_id from Image
since sourcevm field has been added
Add the 'size' field in the Image model
The 'size' field was added in the Image model.It shows the Image's size in MBs
Fix bug in VirtualMachine.start_action().
Modify start_action() to set self.deleted/suspended.
fixed bug on start_action (needed self.deleted instead of deleted)
Add deleted field VirtualMachine model.
Add a 'deleted' field in VirtualMachine model. Remove 'inactive' field.Update the start_action() method to manage deleted/suspended fields forthe DESTROY and SUSPEND action respectively.