Commit Graph

1804 Commits

Author SHA1 Message Date
Dietmar Maurer
d36acebb14 pvestatd: cleanup, run PVE::RPCEnvironment->init() 2015-09-04 12:48:30 +02:00
Dietmar Maurer
b89ae9fc92 convert pvestatd into a PVE::Service class 2015-09-04 11:22:09 +02:00
Dietmar Maurer
e1bde2800b vzdump: improve bash completion 2015-09-04 09:12:10 +02:00
Dietmar Maurer
9a225ed513 vzdump: directly use CLIHandler to generate docs 2015-09-04 09:12:10 +02:00
Thomas Lamprecht
7c3e5095d2 Add CT service support and remove type parameter
The type parameter is not needed anymore because the service type
can be extracted by only using the unique vmid.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-03 12:53:40 +02:00
Emmanuel Kasper
8d92aacfe1 ext5migrate: adapt Backup items to new KVCombobox parent class
This allows the Backup to work with ExtJS5
2015-09-03 12:46:18 +02:00
Dietmar Maurer
558be2e57a vzdump: add bash completion support 2015-09-02 15:29:54 +02:00
Dietmar Maurer
0c1d23e06f improve changelog 2015-08-31 16:12:30 +02:00
Alexandre Derumier
87d2cfa519 pve-manager : novncindex : remove include inflator.js
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-31 16:10:54 +02:00
Thomas Lamprecht
9cd8a503a3 set size in the rootfs parameter on CT create
As the size parameter is now deprecated and was replaced with the
new rootfs parameter, use that one when creating an container.
So we don't get an 'parameter verification failed' error.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-08-31 12:48:16 +02:00
Dietmar Maurer
d760d5859e bump version to 4.0-32 2015-08-29 12:37:02 +02:00
Dietmar Maurer
f6b20cf988 aplinfo: allow version without -\d+ endings 2015-08-29 12:33:14 +02:00
Dietmar Maurer
23128bf39b bump version to 4.0-31 2015-08-28 12:08:40 +02:00
Alexandre Derumier
d51653b0ca allow iframe fullscreen
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-28 12:02:27 +02:00
Alexandre Derumier
532247b80e pve-manager : NoVncIndex : add inflator.js && fullscreen button
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-28 12:02:17 +02:00
Wolfgang Link
6c20e90f47 Add possibillity to distinguish container and vm on RBD Storage.
this is necessary because we use image files for both.
2015-08-26 15:33:22 +02:00
Emmanuel Kasper
d01aeb3431 Pass the list of of combobox items as a property
The original fix using a config Object was a bit overkill, this works well too , requires less code in the child classes, and is more consistent with rest of the code we have.
2015-08-26 05:59:27 +02:00
Emmanuel Kasper
30279be041 Remove Java applet from list of available console viewers.
We already did this for ExtJS4, just copying from there
2015-08-26 05:59:09 +02:00
Wolfgang Link
67469842a0 complete optional packet list for pveversion 2015-08-25 09:39:14 +02:00
Dietmar Maurer
f96ba76cd6 fix bug #690: workaround - list all storages
It is currently unclear howto restrict storages for container usage.
The 'rootdir' property does not work anymore, because we can now create
containers on normal VM image files.
2015-08-25 07:57:32 +02:00
Dietmar Maurer
3900f2d10b bump version to 4.0-30 2015-08-24 06:37:13 +02:00
Dietmar Maurer
c7b3410b39 use predefined text for default values 2015-08-20 11:03:47 +02:00
Dietmar Maurer
c9f915fff4 lxc GUI: add tty and console options 2015-08-20 10:59:18 +02:00
Dietmar Maurer
8759fc2ee9 bump version to 4.0-29 2015-08-18 16:46:27 +02:00
Emmanuel Kasper
511d1ae864 ext5migrate: move setting the Panel title into the class properties
Ext.applyIf(me, {
	    title: gettext('Search')
});
in initComponent() is not safe anymore with ExtJS5.
Since the 'title' property is existing at that stage (even if with a null or undefined value), Ext.applyIf will not update it.
2015-08-18 16:43:17 +02:00
Emmanuel Kasper
8c1c7742fe ext5migrate: enable striped row, it now works with ExtJS5 2015-08-18 16:42:58 +02:00
Emmanuel Kasper
c8e0699d5d ext5migrate: do not set a custome idProperty for the KeyValue model
ExtJS refuses with version to have an id set to an empty string, hence we can't
use our "key" property as a custom idProperty (an empty string for key is ok for us, and is used to set back a PVE property to its default value)

We always access the KeyValues entities via their Key property, so this change should be safe.
2015-08-18 16:40:11 +02:00
Emmanuel Kasper
d5301f2341 ext5migrate: pass the items we want in the ComboBox as a config property
Since ExtJS5, when doing such a declaration,

	Ext.applyIf(me, {
	    items: {
		xtype: 'pveKVComboBox',
		comboItems: data,
	    }
	});

the comboItems property is passed in the parent class as a config object,
instead of being directly available via this.comboItems

Since using a config object is the recommended way of passing parameters
int the ExtJS class model, adapt the parent class to use the new paradigm.
2015-08-18 16:38:36 +02:00
Dietmar Maurer
b8d5dcf5ae correctly display lxc templates 2015-08-18 09:43:15 +02:00
Dietmar Maurer
62fb1d2d65 lxc GUI: implement console mode option 2015-08-17 12:49:45 +02:00
Wolfgang Link
043f17dc74 fix bug #684: Fix Typo 2015-08-17 10:59:40 +02:00
Wolfgang Link
4905626e31 fix bug #682: change at the Gui the used disk size.
in the pvesm and pvesh we are giving the correct size of the used space from a disk.
this change make the output of Gui and CLI consistent.
2015-08-17 09:47:36 +02:00
Wolfgang Bumiller
957a59b308 Ceph: fix old interfaces access in find_node_ip
Fixes #681
2015-08-12 09:43:03 +02:00
Wolfgang Bumiller
c182eb5891 bridgevlanport: replace sed pipe with substitution
The previous code stripped *all* combinations of zero or
more letters and digits followed by a dot of an interface
name to retrieve the VLANID. At the same time the supposedly
opposite code for IF_VLAN_RAW_DEVICE only actually extracts
the part up to the *first* dot. Thus an interface named
'a.b.0' would have a VLANID of 0 and a raw device name of
just 'a'.
I also don't see a reason to limit the removed portions to
alphanumeric characters. I.e. an interface named tap-test.0
would result in a VLANID of 'tap-0' and an
IF_VLAN_RAW_DEVICE of 'test'.

A simple shell substitution seems to do a much better job
and is more efficient than forking out two processes with a
pipe.
2015-08-11 10:26:35 +02:00
Dietmar Maurer
eafe236e8a pveversion: add criu package 2015-08-10 09:55:00 +02:00
Wolfgang Link
241c6f94c5 Add extra optional list to pveversion
if the packet on the opt list is not installed, it will not shown.
2015-08-10 09:53:18 +02:00
Dietmar Maurer
ce73ba1eef bump version to 4.0-28 2015-08-07 12:14:14 +02:00
Dietmar Maurer
5ceec1f57b allow all storages with content type 'images' for containers
New LXC containers can use raw images, so the distinction between 'images'
and 'rootdir' does not really makes sense now.
2015-08-07 10:34:56 +02:00
Emmanuel Kasper
abb96ea4a4 add some green to the icon to indicate more clearly when LXC and KVMs are running 2015-08-06 11:32:12 +02:00
Dietmar Maurer
3a337ea2ce bump version to 4.0-27 2015-08-06 11:30:50 +02:00
Dietmar Maurer
5af09e2471 update LXC GUI (support new rootfs and size parameter). 2015-08-06 10:34:54 +02:00
Dietmar Maurer
3d1bc0de00 bump version to 4.0-26 2015-07-31 11:17:05 +02:00
Wolfgang Bumiller
548db92416 add dhcp and slaac options to lxc network config 2015-07-31 10:51:01 +02:00
Alen Grizonic
a00a9ffd80 bug #659 (pool support) fix
lxc added to additional GUI pool functions (also for ExtJS5)

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
2015-07-30 11:39:11 +02:00
Dietmar Maurer
ea92d8b613 bridgevlan: avoid bash regex 2015-07-30 11:28:50 +02:00
Thomas Lamprecht
cc61ea3661 Use JSONSchema to parse vzdump config
Instead of a lot of hardcoded if's use JSONSchema::parse_config to
parse and validate vzdump.conf. To do that $confdesc was extended
to match a valid schema.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-30 11:27:49 +02:00
Emmanuel Kasper
398459d1e9 ext5migrate: set buttons property directly instead of calling applyIf
It seems that in ExtJS5 the prototype of the Window component already sets
some default values to me.buttons and me.layout, hence calling applyIf
on these properties will silently fail.

me.layout is already set to 'auto' by the framework, we don't need to set
that anymore.
2015-07-30 09:04:56 +02:00
Emmanuel Kasper
6d4e7e14d2 Move subscription tab to the outmost right of the node tab panel
This brings consistency with the datacenter tab panel.
2015-07-30 09:04:38 +02:00
Emmanuel Kasper
74dacdae26 remove debugging traces 2015-07-30 09:03:55 +02:00
Wolfgang Bumiller
5301228562 fix a remote_node_ip calling context
Using remote_node_ip to build a hash needs to explicitly
request a scalar context.
2015-07-30 08:58:04 +02:00