5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-11 13:17:36 +03:00
Commit Graph

110 Commits

Author SHA1 Message Date
Dietmar Maurer
59b3f56336 fix bug #381: use persistent reservation file for ports 2013-05-13 07:21:56 +02:00
Dietmar Maurer
d415354b32 fix date in copyright message 2013-05-08 10:55:23 +02:00
Dietmar Maurer
8d3190617d bump version to 3.0-2
Note: The previous commit log was wrong - there is no 3.0-5 version
2013-05-06 11:49:29 +02:00
Dietmar Maurer
493004a2b9 implement shared file locks
bump version to 3.0-5
2013-04-25 11:35:35 +02:00
Dietmar Maurer
9e14b1b78a fix path for brctl to /sbin/brctl 2013-03-15 10:34:51 +01:00
Dietmar Maurer
cc9121d394 upid_read_status: scan 4096 bytes to extract status
Else we get 'unexpected status' if error message is longer than
1024 bytes (which happens quite often).
2013-03-15 10:18:54 +01:00
Dietmar Maurer
60f4e8c713 update README for wheezy 2013-03-15 10:18:21 +01:00
Alexandre Derumier
ba4af65b35 copy_bridge : copy multicast_snooping && multicast_querier
If we create new vlan bridge, we want to copy multicast options if user have tunned them

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-15 06:23:20 +01:00
Alexandre Derumier
d6f2623bb9 fix return !$rate
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-07 08:33:34 +01:00
Alexandre Derumier
a84b65c0da network : add tap_unplug
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-05 12:03:52 +01:00
Alexandre Derumier
f0c190eebe network : add tap_plug
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-05 12:02:23 +01:00
Alexandre Derumier
3aa99c7006 network: add tap_create
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-05 11:59:53 +01:00
Alexandre Derumier
957753df14 setup_tc_rate_limit : delete class and filter before update
also return after remove if rate is not defined

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-05 11:59:11 +01:00
Alexandre Derumier
edde1d4650 setup_tc_rate_limit : fix typo ingres -> ingress
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-05 11:48:16 +01:00
Alexandre Derumier
ec9ada188b Network : add tap_rate_limit
Moved from pve-bridge

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-05 11:48:02 +01:00
Dietmar Maurer
4b0f8c7a67 start 3.0 development
bump version to 3.0-1
2013-03-05 11:47:06 +01:00
Dietmar Maurer
7238ea8dbf bump version to 1.0-48 2013-02-25 06:21:26 +01:00
Damien PIQUET
23b5624575 Modified IPv4 validation function, included Net::IP
Signed-off-by: Damien PIQUET <piqudam@gmail.com>
2013-02-25 06:21:13 +01:00
Dietmar Maurer
a13c6f08a3 fix bug #335: correctly verify ipv4 network masks 2013-02-22 09:14:10 +01:00
Dietmar Maurer
ddd3d22425 add parser for /etc/iscsi/initiatorname.iscsi 2013-02-13 12:49:59 +01:00
Dietmar Maurer
bd8002ddcd bump version to 1.0-46 2013-02-13 10:57:52 +01:00
Dietmar Maurer
02c9a6b439 Revert "pve-common: PVE/Network: rework of activate_bridge_vlan"
This reverts commit fa49ab1a08.

This still cause problems with bonding device. Nobody really knows
whats wrong. Also, this is not fully compatible with existing setups.
2013-02-13 10:53:49 +01:00
Dietmar Maurer
0aaf0ca4bf revert tc rate filter changes 2013-02-01 10:13:11 +01:00
Dietmar Maurer
a01c54654f query KSM page sharing
bump version to 1.0-45
2013-02-01 09:05:18 +01:00
Dietmar Maurer
d2e14098f7 bmump version to 1.0-44 2013-01-28 11:57:48 +01:00
Stefan Priebe
fa49ab1a08 pve-common: PVE/Network: rework of activate_bridge_vlan
- use ip command instead of old vconfig
- activate gvrp by default (it doesn't harm if the switch does not support it or it is disabled)
- use bridge instead of raw ethernet device as vlan bridge

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-01-28 11:55:37 +01:00
Dietmar Maurer
ca402c9521 fix syntax error 2013-01-28 11:23:39 +01:00
Dietmar Maurer
fb572a9395 tc: use rate filter with mtu 64k
also see: http://www.redhat.com/archives/libvir-list/2012-June/msg01306.html
2013-01-28 07:00:04 +01:00
Dietmar Maurer
4235c2f396 correctly count sockets
Physical IDs may not start at 0.

bump version to 1.0-41
2012-12-31 08:24:49 +01:00
Dietmar Maurer
a417477c43 implement afterfork callback 2012-12-10 12:50:38 +01:00
Dietmar Maurer
3ce640abb3 bump version to 1.0-39 2012-10-31 13:55:26 +01:00
Stefan Priebe
6606fa124f PVE/AbstractMigrate: remove hardcoded blowfish cipher
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2012-10-31 13:54:33 +01:00
Dietmar Maurer
b5d12b0845 fix bug #273: retry flock if it fails with EINTR 2012-10-31 08:22:40 +01:00
Dietmar Maurer
e0cabd2caa fix bug #264: use option pipefail for shell commands
Normal unix shell pipe return the exits status of the last command.
If pipefail is enabled, the pipeline's return status is the value of
the last  (rightmost)  command to  exit  with a non-zero status, or zero
if all commands exit successfully.
2012-10-29 09:45:50 +01:00
Dietmar Maurer
ec6d95b45d new helper wait_for_vnc_port() 2012-10-24 08:56:18 +02:00
Dietmar Maurer
845f01b6c4 fix bug in read_memory_usage 2012-10-15 06:33:43 +02:00
Dietmar Maurer
88955a2e69 file_read_firstline: avoid warning with empty files 2012-10-02 08:05:33 +02:00
Dietmar Maurer
eb9e24df41 fix run_command: restore umask correctly 2012-09-26 13:18:19 +02:00
Dietmar Maurer
39ed346252 fix typo in error message 2012-09-25 06:09:04 +02:00
Dietmar Maurer
035c760b53 minor fix: remove debug output 2012-09-11 09:22:47 +02:00
Dietmar Maurer
4df6a1644a fix regex for network devices 2012-08-02 07:28:38 +02:00
Dietmar Maurer
36ac0df3f3 use rsync flags AX (preserve ACLs and xattr) 2012-06-14 09:08:48 +02:00
Dietmar Maurer
614a15c04f increase RELEASE to 2.1 2012-05-22 07:18:42 +02:00
Dietmar Maurer
212b08e8ec added SectionConfig.pm, base class for Storage and Auth plugins. 2012-05-21 11:55:59 +02:00
Dietmar Maurer
3702f038a2 use DNS compatible regex in upid parser 2012-04-20 08:33:21 +02:00
Dietmar Maurer
c10cc11237 add Turkish keyboard mappings 2012-04-11 08:35:47 +02:00
Dietmar Maurer
e6db55c0db fix bug #135: use DNS compatible naming for 'pve-node' 2012-04-02 14:12:44 +02:00
Dietmar Maurer
ce33e978f8 fix bug #135: allow single letter 'dns-name', allow to start name with numbers 2012-04-02 12:09:15 +02:00
Dietmar Maurer
74d1b045bd new function to setup tc rate limits. 2012-03-28 10:35:41 +02:00
Dietmar Maurer
b9436cda61 add vlan setup code to PVE::Network 2012-03-28 10:24:28 +02:00