1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 12:04:15 +00:00
Commit graph

245 commits

Author SHA1 Message Date
catborise
65769eb894 intances reformat code. Fix typo error 2018-07-19 09:39:41 +03:00
catborise
db67157907 redundant default bus statement 2018-07-19 09:22:41 +03:00
catborise
654dcddf03 minor corrections 2018-07-18 15:46:11 +03:00
catborise
eb9160cadb minor correction 2018-07-18 15:26:15 +03:00
catborise
d44c65a3f4 unused/old bootstrap file deleted. instances.html make-up.. 2018-07-18 15:01:09 +03:00
catborise
30e2a66be7 Correction of requirements and add guestfs req. Minor cosmetic change instances 2018-07-18 11:22:23 +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
6a7f30d4a6 host details cpu bug fixed 2018-06-29 15:09:01 +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
Ing. Jan KRCMAR
19489cb08e fix 4404d59: clone instance cannot set new vname 2018-06-22 10:55:24 +02:00
Ing. Jan KRCMAR
5e8adec424 fix 920739c: instances/views/instance must initialize console_listen_address 2018-06-21 15:13:12 +02:00
Ing. Jan KRCMAR
464e7bee39 add vdiconsole datasource endpoint. provides vdi url for remote-viewer.
add instance/access/vdi panel
2018-06-21 14:53:35 +02:00
Ing. Jan KRCMAR
27a7a7a365 Merge branch 'master' of github.com:honza801/webvirtcloud 2018-06-19 13:07:07 +02:00
Ing. Jan KRCMAR
4404d5941b add settings.CLONE_INSTANCE_AUTO_NAME. add mechanism that automatically selects new vname, mac, disk image names. 2018-06-19 13:06:57 +02: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
40049540ee instances.html displays memory MB only in header. table sorts now int value, instead of string 2018-04-11 13:35:01 +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
839b8d420d instance view: added logs section to graphs (renamed graphs -> stats) 2017-12-11 15:07:01 +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
ede9bb6b10 Instance.created added. means the creation (clone) of machine. dafaults auto_now_add=True 2017-10-26 10:09:58 +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
ad3b4d817b migration implicit option: live (if wm is running), offline (if vm is off) 2017-09-15 10:30:45 +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
fdf383a647 added SHOW_ACCESS_ROOT_PASSWORD, SHOW_ACCESS_SSH_KEYS, SHOW_PROFILE_EDIT_PASSWORD -- hides specific forms 2017-06-27 09:22:09 +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
c5f86358be fix STATIC_URL in templates. static urls should be generated by "static" template tag 2017-06-06 14:49:11 +02:00
Ing. Jan KRCMAR
d715e996b0 templates/instance.html view redesign. smaller instance details, instance title added 2017-06-06 12:51:32 +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
6858448b60 fix multiple media selection in instance settings form 2017-04-20 14:45:01 +02:00
Ing. Jan KRCMAR
609651d707 disable page reloading while migrating vm and pleaseWaitDialog is displayed
fixes: http redirect after migrate does not jump to new compute node
2017-03-09 15:14:38 +01: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
Jacco Koning
14e8418472 Fix typos 2016-06-02 13:47:48 +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
Jan Krcmar
0b80b030fe add refresh button into instance view 2016-05-12 10:06:16 +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
572f7b12cd instances_filter cookie expires after 1 day 2016-05-06 14:40:24 +02:00
Jan Krcmar
c4ae3d2982 instances filter stores filter value into cookie and auto-fills/applies filter on document ready 2016-05-06 10:56:50 +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
fc71884cd4 please wait dialog added on migrate/clone event 2016-04-26 10:30:48 +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
6546fa2570 show instance title in instances view for non superuser 2016-03-24 14:51:29 +01:00
Jan Krcmar
e9e62e3c41 instance templates show clone button instead of poweron on instances list page 2016-03-23 15:18:20 +01: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
738993d97a bugfix: instances list block poweron when is_template for normal users 2016-03-23 12:44:24 +01:00
Jan Krcmar
7cdac17b53 instances list block poweron when is_template for normal users 2016-03-23 12:07:52 +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
c2b3938f2a add instances/migrations/0002_instance_is_template.py 2016-03-22 10:31:49 +01:00
Jan Krcmar
2aa81ccecb instance/clone adds title and description input fields 2016-02-24 13:08:43 +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
679f84f117 template/instance: correct placement of options tab panel div, should be after xmledit div 2016-02-24 12:44:14 +01:00
Jan Krcmar
e1b4fdf5de instances display virtual title under name 2016-02-23 15:03:33 +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
Jan Krcmar
2958a21ad1 instance/check_instance service endpoint added. checks for existing instance (returns json) 2016-02-11 14:37:26 +01:00
Jan Krcmar
a1d5edebe2 guess_mac_address reads /srv/webvirtcloud/dhcpd.conf 2016-02-11 12:56:36 +01:00
Jan Krcmar
96982ce58b instance/settings: inputs renamed according to action type (net -> clone-net-mac, net -> net-mac)
instance/network: correct multiple interfaces handling, add mac handling
2016-02-10 17:52:50 +01:00
Jan Krcmar
39f3c9e12b instance/clone added Guess mac address button. search for mac address of Clone Name via ajax request. Currently scans only local dhcpd configuration file. 2016-02-08 12:28:52 +01:00
Jan Krcmar
33916c6a82 instance/clone: changing clone name input changes disk image name according to clone name (similar approach as instances/views:show_clone_disk)
clone input boxes enlarged (class=col-sm-4)
2016-02-08 10:17:01 +01:00
Jan Krcmar
323e0a10d5 show_clone_disk generates cloned images name with "-*" suffix. fe: vname=vm1 vm1-root becomes vm1-clone-root (was vm1-root-clone) 2016-02-08 10:13:19 +01:00
Jan Krcmar
646bdbbe0e Added is_template attribute to instances. If true, instance cannot be started. 2016-01-20 15:40:09 +01:00
Jan Krcmar
4ab8561360 correct value=true of checked checkboxes 2016-01-20 14:49:49 +01:00
Jan Krcmar
d4fa71ff25 default true: live migration and delete original 2016-01-20 14:35:23 +01:00
Jan Krcmar
ca328a7527 instances/templates/instance.html checkbox delete_disk default checked 2016-01-15 15:09:23 +01:00
Jan Krcmar
50ddda98f2 settings tab for changing devices/interface/source/bridge added
TODO: handle multiple interfaces
2016-01-14 16:59:50 +01:00
Jan Krcmar
dac974ddab request.user.is_authenticated() substitued for @login_required decorator
settings.LOGIN_URL = /accounts/login
2015-12-22 15:09:02 +01:00
Jan Krcmar
04f3a76c05 resize disk image option added 2015-11-24 08:53:13 +00:00
Anatoliy Guskov
bccfbb0010 Fixed generate password for VNC 2015-10-08 09:32:38 +03:00
Anatoliy Guskov
16a3a61a2d Removed legend 2015-09-23 11:06:58 +03:00
Anatoliy Guskov
c0c5f70369 Fixed label pointer 2015-09-23 11:04:06 +03:00
Anatoliy Guskov
e0e644820e Fixed graphs tooltip 2015-09-23 11:01:28 +03:00
savichev
d12312a96f Add support get .vv file
Add support get .vv file for external application (virt-viewer)
2015-09-08 15:47:03 +05:00
Retspen
b819b91d19 Changed instance info in template and deleting process 2015-07-09 10:41:56 +03:00
Anatoliy Guskov
d73e8c72e7 Fix #33 2015-07-08 08:03:36 +03:00
Anatoliy Guskov
5cf7076ca1 Update views.py 2015-07-02 08:11:05 +03:00
Retspen
b8caf3f49a Fixed search bar on users 2015-06-16 11:53:42 +03:00
Retspen
0408e1d9cd Added function for public key to gstfsd 2015-05-27 16:23:49 +03:00
Anatoliy Guskov
d6a055002b Merge pull request #12 from hico-horiuchi/fix_open_console
Fix open_console at instances
2015-05-21 18:53:41 +03:00
Akihiko Horiuchi
873fd1333a Fix open_console at instances 2015-05-21 23:55:34 +09:00
Akihiko Horiuchi
172a805215 Show only UserInstances at instances 2015-05-21 23:48:04 +09:00
Retspen
23b4d22a72 Rebuilt bootstrap libvirt 2015-05-21 11:52:10 +03:00
Retspen
e312fafc3c User can change root password in instance 2015-05-20 16:44:30 +03:00
Retspen
1d22771519 Fixed #7 2015-05-18 22:00:30 +03:00
Daniele Viganò
7c79023579 Remove double "Add new instance" button 2015-05-16 12:04:36 +02:00
Retspen
ba556c2272 Fixed #3 2015-05-15 20:54:55 +03:00
Retspen
871e04fb03 Fixed some bugs 2015-05-13 09:42:20 +03:00
Retspen
a80d298f0a Fixed intances's CPU graph 2015-04-21 17:25:26 +03:00
Retspen
1fcb49ffc8 Fixed url hash 2015-04-21 15:40:18 +03:00
Retspen
86e1915a49 Fixed some bugs and redesigned html 2015-04-21 14:46:58 +03:00
Retspen
2aa5558df7 Fixed pep8 2015-04-06 10:51:50 +03:00
Retspen
b4e8da8671 Resoved problem with app template 2015-04-02 16:20:46 +03:00
Retspen
35da9ad193 Added 404 and fixed urls 2015-04-02 15:39:40 +03:00
Retspen
ea41412aac Move tempates 2015-04-02 11:48:40 +03:00
Retspen
8b39d4e429 Adde urls for app 2015-04-02 09:37:46 +03:00
Retspen
56f840c893 Fixed pep8 2015-03-27 17:12:15 +02:00
Retspen
be97a09dde Fixed buttons on inst pages 2015-03-27 11:53:13 +02:00
Retspen
7bb6782037 Fixed powercycle on instances page 2015-03-27 11:34:43 +02:00
Retspen
7803e3a57c Added settings-dev and updated Django 2015-03-25 22:30:57 +02:00
Retspen
6da9676299 Fixed graphs timer 2015-03-25 11:59:22 +02:00
Retspen
9497eb7c89 Added profile page 2015-03-24 14:45:38 +02:00
Retspen
a2b1fc499e Fixed hash in URL 2015-03-24 09:22:30 +02:00
Retspen
a2d1314a75 Fixed graphs when status !=1 2015-03-23 14:28:24 +02:00
Retspen
8d18d40295 Fixed graphs on instance page 2015-03-23 11:23:17 +02:00
Retspen
4a17f08740 Added graph scale for instance 2015-03-20 12:06:32 +02:00
Retspen
02ae7336ea Refactor users page 2015-03-18 17:13:44 +02:00
Retspen
1642100ef4 Added log func and fix buttons on instance page 2015-03-18 15:48:29 +02:00
Retspen
983dbaf91a Users permission 2015-03-16 11:57:55 +02:00
Retspen
ee1983b656 Added XML edit 2015-03-13 14:06:51 +02:00
Retspen
64b43f1385 Added some funcitons 2015-03-13 11:06:34 +02:00
Retspen
e1ce8b53ac Added sceleton for instancr page 2015-03-12 16:15:36 +02:00
Retspen
9b02c64ff4 Enabled instances buttons 2015-03-11 14:54:34 +02:00
Retspen
2e976fc101 Fixed users instances 2015-03-11 11:39:44 +02:00
Retspen
ed2b28c25e Add new forms and templates 2015-03-10 16:24:10 +02:00
Retspen
44c0e07c7e Added new design 2015-03-04 17:48:22 +02:00
Retspen
8f5ccb3519 Add new rule and tags 2015-03-03 16:53:10 +02:00
Retspen
55e93a9087 Add users and users VMs
;
2015-03-02 17:31:25 +02:00
Retspen
fa3df5bff3 Refactoring 2015-02-27 11:51:33 +02:00
Retspen
dd5f98cbe8 build new tree 2015-02-27 11:28:22 +02:00
Retspen
4d48e79341 Initial commit 2015-02-27 10:53:51 +02:00