[pve-devel] [PATCH v2 00/11] [common] network interfaces internal API change

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Jun 25 11:54:23 CEST 2015


Changes since [PATCH] version 1:

*) Dropped unused JSONSchema patch
*) Non-/greedy regex fixed
*) $once/$done simplified in write_etc_network_interfaces
*) squashed patches fixing patch-induced issues
*) Bridge port merging now uses spaces instead of newlines

Wolfgang Bumiller (11):
  read_etc_network_interfaces: less strict parsing
  removed write-only $gateway variable
  read_etc_network_interfaces: improved parsing
  write_etc_network_interfaces: updated header comment
  PVE::INotify: testable interface parser
  read_etc_interfaces: missing iface initialization
  /etc/network/interfaces: deal with OVS allow- lines
  importing etc_network_interfaces tests
  PVE::INotify::write_network_interfaces: readability
  write_network_interfaces: improved sorting
  tests: list/create/update network interfaces

 Makefile                                           |   3 +
 src/PVE/INotify.pm                                 | 268 +++++++++++++++------
 test/Makefile                                      |  12 +
 test/etc_network_interfaces/Makefile               |   7 +
 test/etc_network_interfaces/base                   |  16 ++
 test/etc_network_interfaces/brbase                 |  26 ++
 test/etc_network_interfaces/loopback               |  14 ++
 test/etc_network_interfaces/proc_net_dev           |   5 +
 test/etc_network_interfaces/proc_net_if_inet6      |   3 +
 test/etc_network_interfaces/runtest.pl             | 208 ++++++++++++++++
 test/etc_network_interfaces/t.base.pl              |  12 +
 test/etc_network_interfaces/t.bridge-v4-v6.pl      |  84 +++++++
 test/etc_network_interfaces/t.create_network.pl    |  91 +++++++
 test/etc_network_interfaces/t.keep-option-order.pl |  28 +++
 test/etc_network_interfaces/t.list-interfaces.pl   | 109 +++++++++
 test/etc_network_interfaces/t.ovs_bridge_allow.pl  | 116 +++++++++
 .../t.unhandled-interfaces-to-manual.pl            |  25 ++
 test/etc_network_interfaces/t.update_network.pl    | 116 +++++++++
 18 files changed, 1071 insertions(+), 72 deletions(-)
 create mode 100644 test/Makefile
 create mode 100644 test/etc_network_interfaces/Makefile
 create mode 100644 test/etc_network_interfaces/base
 create mode 100644 test/etc_network_interfaces/brbase
 create mode 100644 test/etc_network_interfaces/loopback
 create mode 100644 test/etc_network_interfaces/proc_net_dev
 create mode 100644 test/etc_network_interfaces/proc_net_if_inet6
 create mode 100755 test/etc_network_interfaces/runtest.pl
 create mode 100644 test/etc_network_interfaces/t.base.pl
 create mode 100644 test/etc_network_interfaces/t.bridge-v4-v6.pl
 create mode 100644 test/etc_network_interfaces/t.create_network.pl
 create mode 100644 test/etc_network_interfaces/t.keep-option-order.pl
 create mode 100644 test/etc_network_interfaces/t.list-interfaces.pl
 create mode 100644 test/etc_network_interfaces/t.ovs_bridge_allow.pl
 create mode 100644 test/etc_network_interfaces/t.unhandled-interfaces-to-manual.pl
 create mode 100644 test/etc_network_interfaces/t.update_network.pl

-- 
2.1.4





More information about the pve-devel mailing list