[pve-devel] [PATCH v2 pve-cluster 1/1] add sdn vnets/zones/controllers.cfg

Alexandre DERUMIER aderumier at odiso.com
Tue Nov 26 14:19:30 CET 2019


>>those paths would also need the sdn/ folder prefix? 
oh yes, you're right, sorry.
I'll send v3

----- Mail original -----
De: "Thomas Lamprecht" <t.lamprecht at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>, "aderumier" <aderumier at odiso.com>
Envoyé: Mardi 26 Novembre 2019 14:06:21
Objet: Re: [pve-devel] [PATCH v2 pve-cluster 1/1] add sdn vnets/zones/controllers.cfg

On 11/26/19 10:00 AM, Alexandre Derumier wrote: 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com> 
> --- 
> data/PVE/Cluster.pm | 9 +++++++-- 
> data/src/status.c | 8 ++++++-- 
> 2 files changed, 13 insertions(+), 4 deletions(-) 
> 
> diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm 
> index 2057162..c1d8b09 100644 
> --- a/data/PVE/Cluster.pm 
> +++ b/data/PVE/Cluster.pm 
> @@ -63,8 +63,13 @@ my $observed = { 
> 'ha/fence.cfg' => 1, 
> 'status.cfg' => 1, 
> 'ceph.conf' => 1, 
> - 'sdn.cfg' => 1, 
> - 'sdn.cfg.new' => 1, 
> + 'sdn/vnets.cfg' => 1, 
> + 'sdn/vnets.cfg.new' => 1, 
> + 'sdn/zones.cfg' => 1, 
> + 'sdn/zones.cfg.new' => 1, 
> + 'sdn/controllers.cfg' => 1, 
> + 'sdn/controllers.cfg.new' => 1, 
> + 
> }; 
> 
> sub base_dir { 
> diff --git a/data/src/status.c b/data/src/status.c 
> index 62eaa76..7376468 100644 
> --- a/data/src/status.c 
> +++ b/data/src/status.c 
> @@ -94,8 +94,12 @@ static memdb_change_t memdb_change_array[] = { 
> { .path = "status.cfg" }, 
> { .path = "replication.cfg" }, 
> { .path = "ceph.conf" }, 
> - { .path = "sdn.cfg" }, 
> - { .path = "sdn.cfg.new" }, 
> + { .path = "vnets.cfg" }, 
> + { .path = "vnets.cfg.new" }, 
> + { .path = "zones.cfg" }, 
> + { .path = "zones.cfg.new" }, 
> + { .path = "controllers.cfg" }, 
> + { .path = "controllers.cfg.new" }, 

those paths would also need the sdn/ folder prefix? 

> }; 
> 
> static GMutex mutex; 
> 




More information about the pve-devel mailing list