[PVE1.3] 'Unlimited' virtual bridges / vlans patch

spone

New Member
Aug 30, 2009
13
0
1
Since I needed more than the predefined 9 virtual bridges/vlans, I decided to dive into the source code and modify some stuff, allowing me to create up to 999 virtual bridges.

It might also be useful so some of you.

How to apply:
Download the attached file archive to your Proxmox server and put it in /root for example.

Code:
mv BridgeVlanPatch.zip BridgeVlanPatch.tar
tar xvf BridgeVlanPatch.tar 
patch -p0 /usr/share/perl5/PVE/QemuServer.pm ./Perl5PVEQemuServerPm.patch
patch -p0 /usr/share/perl5/PVE/Utils.pm ./Perl5PVEUtilsPm.patch
patch -p0 /usr/share/pve-manager/root/qemu/hardware.htm ./PveManagerRootQemuHardwareHtm.patch
patch -p0 /usr/share/pve-manager/root/system/index.htm ./PveManagerRootSystemIndexHtm.patch
sh ./createBridgeScripts.sh
The 1.4 release will probably break this, but chances are that you're still able to apply the patch if these particular code snippets don't change. This patch is made for pve-manager/1.3/4023.
 

Attachments

Last edited:
The attachment above could not be opened in WinZip but was possible in 7-Zip v4.65. Re-zipped it for universal unzipping with a Readme.txt containing this post. The attachment in the above post should actually be renamed to BridgeVlanPatch.tar and then be used - the code window in the above post actually does this in it's first line which I had not noticed in the first instance and hence this post.
 

Attachments

Last edited:
Thanx for posting. Now i can convert the last VMWARE Machine with 20 VLANS to an OpenVZ Container.

Regards, Valle

@proxmox-team: please add this patch to release 1.4 if this patch is clean ;-)
 
Maybe I should have said that the zip was not meant for opening as a zip file but mainly for circumventing the forum's restrictions concerning file uploads, hence the file rename command on the first line of my instructions, like valshare said ;)
 
Just uploaded new versions to the 'pvetest' repository (V1.4 beta) which includes that functionality - please test.
 
Just uploaded new versions to the 'pvetest' repository (V1.4 beta) which includes that functionality - please test.


Sorry i cant find it, i would like to help and test, but cant find the repository.

//Coffe
 
Hi Tom,
Sorry i did think you where talking about a cvs repository :) .

icon11.gif
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!