[pve-devel] [PATCH pve-common 0/3] network config improvements

Alexandre Derumier aderumier at odiso.com
Tue Jun 19 13:57:25 CEST 2018


This patches series cleanup /etc/network/interfaces

- replace network options _  by -
- replace slaves by bond-slaves
- add bridge-vids to vlan aware bridge

- allow read of old and modern syntax

both are compatible with ifupdown2 && ifupdown.

Changes will only by made when user edit the configuration 
(so, need to reboot with classic ifupdown)




Alexandre Derumier (3):
  Inotify : read network config : allow alternative options names
  Inotify : write network config : use modern syntax for options
  Inotify : write network config : add bridge-vids

 src/PVE/INotify.pm                              | 34 +++++++++++++-----
 test/etc_network_interfaces/t.bridge-v4-v6.pl   | 18 +++++-----
 test/etc_network_interfaces/t.create_network.pl | 12 +++----
 test/etc_network_interfaces/t.unknown_order.pl  | 48 ++++++++++++-------------
 test/etc_network_interfaces/t.update_network.pl | 12 +++----
 5 files changed, 71 insertions(+), 53 deletions(-)

-- 
2.11.0




More information about the pve-devel mailing list