catborise
b178bad93e
instance network page reconfigured. libxml2 artifacts cleaned. Some minor makeups
2018-07-24 13:52:47 +03:00
catborise
e7ecf29359
volume filename extensions reorganized.
2018-07-20 13:42:13 +03:00
catborise
7862fa8fdf
variable typo fix
2018-07-20 09:54:26 +03:00
catborise
db67157907
redundant default bus statement
2018-07-19 09:22:41 +03:00
catborise
0778116a40
instances view changed. memory usage converted to progress-bar. some bandi007 changes applied
2018-07-18 10:08:02 +03:00
catborise
20e8b876e4
instance template change to instances as group of hosts. bootstrap.min.css and js updated. some info added.
2018-06-28 16:55:36 +03:00
Anatoliy Guskov
920739c4c5
Merge branch 'master' into master
2018-06-15 19:13:41 +03:00
Ing. Jan KRCMAR
22d03da60f
add views/instance/settings/vnc listen addresses
...
configures console listen addresses for instance
update webvirtcloud/settings.py QEMU_CONSOLE_LISTEN_ADDRESSES according to template, before use
instances/views.py remove include webvirtcloud.settings (duplicate)
2018-06-15 14:13:50 +02:00
HongWeipeng
078905df8a
fix:sorted btween 'dict' and 'dict'
2018-06-11 12:41:46 +08:00
Ing. Jan KRCMAR
6e5e10594c
SHOW_PROFILE_EDIT_PASSWORD, SHOW_ACCESS_ROOT_PASSWORD, SHOW_ACCESS_SSH_KEYS in settings.py are not inherited in templates. they are now forwarded directly into views.
2018-05-07 10:51:23 +02:00
Ing. Jan KRCMAR
c58374ea2e
instance view order Computes by name
2018-04-27 14:12:56 +02:00
Ing. Jan KRCMAR
41095ffb6d
sshkeys view can send keys in plain format
2018-04-05 16:26:17 +02:00
Ing. Jan KRCMAR
1ad2f03b52
add delete_instance function in instances.view
2018-03-16 08:18:22 +01:00
Ing. Jan KRCMAR
6cbad06f2c
instances/view/instance do not refresh media_iso when no media present
2018-02-15 10:54:39 +01:00
Ing. Jan KRCMAR
15d7216368
page speed serving enhancements
...
handle xml doc enhancements
2018-02-14 15:22:57 +01:00
Ing. Jan KRCMAR
6d153a6acf
users with can_clone_instances ability are allowed to change_options of vm
2017-10-26 15:51:10 +02:00
Ing. Jan KRCMAR
2ef672ffb5
user.is_staff can do resize of all machines
2017-10-05 07:58:01 +02:00
Ing. Jan KRCMAR
d4158a33ee
instance owner view: add owner button, delete owner button
2017-09-15 12:40:37 +02:00
Ing. Jan KRCMAR
53f5518706
added new feature: create and attach new volume to existing instance
...
move wvmCreate.get_cache_modes() to wvmConnect
add wvmConnect.get_busses(), wvmConnect.get_image_formats(), used in forms
add corresponding default values to settings (INSTANCE_VOLUME_DEFAULT_FORMAT INSTANCE_VOLUME_DEFAULT_BUS INSTANCE_VOLUME_DEFAULT_CACHE)
2017-07-19 15:34:03 +02:00
Ing. Jan KRCMAR
fd87cfd86e
fix disk_size NoneType while determining vm disks size
2017-06-26 14:45:12 +02:00
Ing. Jan KRCMAR
437be0df99
instance clone validate mac address
2017-06-15 11:57:31 +02:00
Ing. Jan KRCMAR
4d08f956fb
add /instance/sshkeys/ endpoint for retrieving instance owners ssh keys
2017-05-11 10:46:39 +02:00
Ing. Jan KRCMAR
b7457a4362
automatic remove instances with the same name
...
sometimes (fe. after manual migrations) some instances appear
multiple times in the database. this patch removes them from
the database while refreshing instance uuid. only under superuser.
records log message.
2017-04-20 14:47:05 +02:00
Ing. Jan KRCMAR
b5f9f638f1
autostart stays persistent after instance migration
2017-03-09 14:26:55 +01:00
Ing. Jan KRCMAR
20d0e5a09d
add offline migration option
2017-01-04 13:14:30 +01:00
Ing. Jan KRCMAR
48371ff92d
deleting instance with disk causes also delete of all corresponding snapshots. previously deleting instance with snapshots ended with error and probably also database inconsistency.
2016-11-04 09:33:49 +01:00
Ing. Jan KRCMAR
ed4cb864ad
Merge remote-tracking branch 'qdaniel/master'
2016-09-12 10:57:14 +02:00
Ing. Jan KRCMAR
525d42a74d
instances/views.py check instance name, alloweed r^[a-zA-Z0-9-]+$
2016-09-06 13:01:45 +02:00
Daniel Rieper
29b722ff41
Merge branch 'master' of https://github.com/honza801/webvirtcloud
...
Conflicts:
instances/templates/instance.html
instances/views.py
2016-07-29 13:05:54 +02:00
Ing. Jan KRCMAR
08cc19900c
guess_clone_name fix. should check hostname, not fqdn.
...
guess_clone_name calls guess_mac_address in instance view
2016-06-08 13:37:26 +02:00
Ing. Jan KRCMAR
f484598414
add guess button for cloned instance name. this reads dhcp conf and uses settings.CLONE_INSTANCE_DEFAULT_PREFIX.
2016-05-27 14:13:24 +02:00
Valentin Samir
7efbfec17f
Add an option to allow an user to change VNC settings
2016-05-09 12:09:21 +02:00
Valentin Samir
7b3fcd17ea
Check user permission before delete or resize
...
Else a user without these permission could delete or resize and instance
by forging a good post request.
2016-05-09 12:07:30 +02:00
Valentin Samir
e75fc99449
Create instances with a random generated vnc password by default
2016-05-08 12:24:43 +02:00
Jan Krcmar
e966e6c030
add user information per instance on the instances list
...
wider .container (900px)
2016-05-02 12:23:18 +02:00
Jan Krcmar
e45c712d67
add instance/options/users tab. lists all owners of the instance
2016-04-28 12:50:11 +02:00
Jan Krcmar
db1ab88f51
Merge remote-tracking branch 'retspen/master'
...
Conflicts:
conf/requirements.txt
2016-04-21 13:34:27 +02:00
Jan Krcmar
0e7c5c25b7
fix instance compute node after migration
2016-04-21 13:08:20 +02:00
Benjamin Renard
e1d3be17f1
Fix pep8 errors
2016-04-16 15:06:39 +02:00
Jan Krcmar
f8e681dbf4
added user disk quota limit
...
added quota warning in instance page
2016-03-31 13:12:52 +02:00
Jan Krcmar
16ef164ed9
correct instance summary display after unsuccessfull resize
2016-03-23 14:29:40 +01:00
Jan Krcmar
1e84dcbbc9
instance resize check_user_quota correct cpu/memory resize amount. only differrence from current state should be provided for the function
2016-03-23 14:11:23 +01:00
Jan Krcmar
bc0552e12e
not superuser delete instance causes delete for all corresponding user_instances (not only current user)
2016-03-23 13:47:04 +01:00
Jan Krcmar
8148620025
instances.views.check_user_quota correct cpu/memory sum
...
instance resize respects quota
2016-03-23 13:25:28 +01:00
Jan Krcmar
c51e986b8c
clone check_user_quota correct application logic
2016-03-23 12:04:15 +01:00
Jan Krcmar
317c2a85ae
user can now clone instances, admin can specify user quotas (instances,cpus,memory)
...
user can only select predefined instance names, mac and disk names are selected automatically
2016-03-23 09:00:42 +01:00
Jan Krcmar
6c4a3a93e3
instance/clone view: generation of clone_data algorithm enhanced
...
if disk or meta in post: results always true, so removed. this pushes all POST data to conn.clone_instance()
2016-02-24 12:50:43 +01:00
Jan Krcmar
2ceb456a4f
section #template renamed to #options, added title and description fields
2016-02-23 14:43:32 +01:00
Jan Krcmar
510e0e6ee5
guess_mac checks for existing dhcp_file
2016-02-11 14:48:41 +01:00
Jan Krcmar
16510dee59
instance/clone block new instance creating if instance with same name found
2016-02-11 14:46:42 +01:00