[pve-devel] [PATCH pve-network 0/3] sdn: split vnets/zones/controllers plugins

Alexandre Derumier aderumier at odiso.com
Tue Oct 22 16:59:03 CEST 2019


Split code in different plugins (vnets/zones/controllers) for better maintenance
and readability

Alexandre Derumier (3):
  split transport/controllers/vnet to separate plugins
  api2 : split vnets/zones/controllers
  update documentation.txt

 PVE/API2/Network/Makefile                     |   1 -
 PVE/API2/Network/SDN.pm                       | 310 ++----------------
 PVE/API2/Network/SDN/Controllers.pm           | 288 ++++++++++++++++
 PVE/API2/Network/SDN/Makefile                 |   4 +-
 PVE/API2/Network/SDN/Vnets.pm                 | 265 +++++++++++++++
 PVE/API2/Network/SDN/Zones.pm                 | 291 ++++++++++++++++
 PVE/API2/Network/SDN/{ => Zones}/Content.pm   |   8 +-
 PVE/API2/Network/SDN/Zones/Makefile           |   8 +
 PVE/API2/Network/SDN/{ => Zones}/Status.pm    |  18 +-
 PVE/Network/SDN.pm                            | 297 +----------------
 PVE/Network/SDN/Controllers.pm                | 158 +++++++++
 .../FaucetPlugin.pm}                          |  14 +-
 .../FrrEvpnPlugin.pm}                         |  21 +-
 PVE/Network/SDN/Controllers/Makefile          |   8 +
 PVE/Network/SDN/Controllers/Plugin.pm         | 133 ++++++++
 PVE/Network/SDN/Makefile                      |   4 +-
 PVE/Network/SDN/VnetPlugin.pm                 |  92 ------
 PVE/Network/SDN/Vnets.pm                      |  59 ++++
 PVE/Network/SDN/Zones.pm                      | 227 +++++++++++++
 PVE/Network/SDN/{ => Zones}/EvpnPlugin.pm     |  10 +-
 PVE/Network/SDN/{ => Zones}/FaucetPlugin.pm   |   6 +-
 PVE/Network/SDN/Zones/Makefile                |   8 +
 PVE/Network/SDN/{ => Zones}/Plugin.pm         |  32 +-
 PVE/Network/SDN/{ => Zones}/QinQPlugin.pm     |  16 +-
 PVE/Network/SDN/{ => Zones}/VlanPlugin.pm     |  16 +-
 PVE/Network/SDN/{ => Zones}/VxlanPlugin.pm    |  18 +-
 test/documentation.txt                        |  22 +-
 test/generateconfig.pl                        |  15 +-
 28 files changed, 1577 insertions(+), 772 deletions(-)
 create mode 100644 PVE/API2/Network/SDN/Controllers.pm
 create mode 100644 PVE/API2/Network/SDN/Vnets.pm
 create mode 100644 PVE/API2/Network/SDN/Zones.pm
 rename PVE/API2/Network/SDN/{ => Zones}/Content.pm (88%)
 create mode 100644 PVE/API2/Network/SDN/Zones/Makefile
 rename PVE/API2/Network/SDN/{ => Zones}/Status.pm (83%)
 create mode 100644 PVE/Network/SDN/Controllers.pm
 rename PVE/Network/SDN/{FaucetControllerPlugin.pm => Controllers/FaucetPlugin.pm} (90%)
 rename PVE/Network/SDN/{EvpnControllerPlugin.pm => Controllers/FrrEvpnPlugin.pm} (95%)
 create mode 100644 PVE/Network/SDN/Controllers/Makefile
 create mode 100644 PVE/Network/SDN/Controllers/Plugin.pm
 delete mode 100644 PVE/Network/SDN/VnetPlugin.pm
 create mode 100644 PVE/Network/SDN/Vnets.pm
 create mode 100644 PVE/Network/SDN/Zones.pm
 rename PVE/Network/SDN/{ => Zones}/EvpnPlugin.pm (94%)
 rename PVE/Network/SDN/{ => Zones}/FaucetPlugin.pm (92%)
 create mode 100644 PVE/Network/SDN/Zones/Makefile
 rename PVE/Network/SDN/{ => Zones}/Plugin.pm (79%)
 rename PVE/Network/SDN/{ => Zones}/QinQPlugin.pm (88%)
 rename PVE/Network/SDN/{ => Zones}/VlanPlugin.pm (89%)
 rename PVE/Network/SDN/{ => Zones}/VxlanPlugin.pm (93%)

-- 
2.20.1




More information about the pve-devel mailing list