History | View | Annotate | Download (12.2 kB)
helpdesk: Update tests
use existing cyclades db factories instead of json fixtures which are painfulto maintain
helpdesk: Use 'mock' library to bypass auth
Use mock to library to bypass astakos authentication in helpdesk views.
helpdesk: Fix helpdesk tests
snf-cyclades-app: Use astakosclient
Move astakos lib from snf-common to snf-django-lib
Allow helpdesk users to shutdown/start vms
Include an additional action to helpdesk view. Based on the currentstatus of the virtual machine helpdesk user is allowed to start it orshut it down.
This comes handy since in most cases vm suspension needs to be...
Helpdesk tests update
- Include suspend/release suspension tests- Mock astakos displayname/uuid resolving methods- Update fixtures with user uuids- Test vmid lookup
Helpdesk application improvements
- Additional setting HELPDESK_ENABLED to be able to enable/disable helpdesk views.- Fix fixtures to play along with new network models- Include helpdesk default settings module
Support ip to account lookup
as an alternative method to helpdesk details view. If network interfaceexists with the passed ip, the details of the owner of the machine linked tothe network interface will be displayed.
Helpdesk api fix
handle prefix that contains text after "@".
Helpdesk improvements
- New json view to return a list of existing users with a prefix ending with "@" to be used for autocompletion in helpdesk account name input.- Proper non existing account handling. If no vms or private networks exist for the specified account notify helpdesk user that the account...
Helpdesk application tests
Remove obsolete files that were restored due to merge
Renamed snf-app to snf-cyclades-app