From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id E306267287 for ; Tue, 12 Jan 2021 10:19:40 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D22F322322 for ; Tue, 12 Jan 2021 10:19:40 +0100 (CET) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 9BC4522318 for ; Tue, 12 Jan 2021 10:19:39 +0100 (CET) Received: by mail-wr1-x433.google.com with SMTP id 91so1656944wrj.7 for ; Tue, 12 Jan 2021 01:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=odiso-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:user-agent:mime-version :content-transfer-encoding; bh=xkcYwDUg3+tOPupMhhY93TSlUWMb1tUnjOC4uDZW8TE=; b=X/AjEDbgISeGf1Q13ibfQ7fNkx1PSqrb1L5IkmEe2h9mVfgbv2GhmChFQMKMSYa7Te g/TgysHF4jVYoKBcdDxxll0kdMdie9vj+XobCPXANTog+YX0EH2K4YEqcMg/70hEirgt VEkd1+V4Thf/waHNaJVM8fa7jt8yG7ibgioxWhTI/20AR4B0SI7tgWK2lezXwyg1Py4J R4OLjfjUp6J8zy4bnyd+WBi9ZZJn40vZYii3gf8vzmRLcju16OkAOX8z+hnrvIY4Phqh n7hlH5xIdPYCsfqDlFhuMpDftBBMp76zWudznliuzkrARQveT+XeDvSQVDq7zib7YRq/ FaCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:user-agent :mime-version:content-transfer-encoding; bh=xkcYwDUg3+tOPupMhhY93TSlUWMb1tUnjOC4uDZW8TE=; b=S85zgg0jQGX8FCIUkSpjkp6t90YihkJcO92GzekEEeFdLUvLhQ8jtNGxsj+46/a37y QE9dBJiVHYILfITSviaI5fBXt8xLsE9cn3zOxy4OrLzqvCkxQ1p4FbVxNEozUoCRgbgQ MyWrHvg4EjqiUfPQEhx0wdI+P7YKUTbgLXmKQ4Vv7cUONdXaYGi98azY7KhkyfIadFy0 xJP44mV8dr8wJOTVrKnBXdxU/hyxL/BN1E7H0v0QwaFmxoJCxSVhxItNBjRWqT9bvwwA on//koELMEu/xNtfZRrMnYMtEOF1rWPO0NnpRhaY56AX933Dzu1afHLIeCTM0vxWZ443 P2mQ== X-Gm-Message-State: AOAM530E0ZSq7+IUPeyPeMs+OlIyqRVJRoLrv2jJoPonVoAOKrfUBl/9 BbGJ+5lnF+GvrMCqnEtMgUdyoA== X-Google-Smtp-Source: ABdhPJwWreeMBmClLBryX25+Xlx40wkNhDLeSwQ+1b3Ww1dhlUt3tNSSQ2+f2W+7nZjUMlAV8m5GVw== X-Received: by 2002:adf:aa83:: with SMTP id h3mr3317969wrc.108.1610443173374; Tue, 12 Jan 2021 01:19:33 -0800 (PST) Received: from ?IPv6:2a0a:1580:0:1::100c? (ovpn1.odiso.net. [2a0a:1580:2000::3f]) by smtp.gmail.com with ESMTPSA id m5sm3814121wrz.18.2021.01.12.01.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 01:19:32 -0800 (PST) Message-ID: From: aderumier@odiso.com To: Thomas Lamprecht Cc: pve-devel Date: Tue, 12 Jan 2021 10:19:31 +0100 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.300 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] sdn: looking to unify .cfg files, need opinions about config format X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 09:19:40 -0000 Hi, I'm looking to unify sdn .cfg files with only 1 file, with something different than section config format. We have relationship like zones->vnets->subnets, so I was thinking about something like this: [zone myzone] type: vxlan option1: xxx option2: xxx [[vnet myvnet]] option1: xxx option2: xxx [[[subnet 10.0.0.0/8]]] option1: xxx option2: xxx [controller mycontroller] type: evpn option1: xxx option2: xxx [dns mydns] type: powerdns option1: xxx option2: xxx What do you think about this ? Another way could be a simple yaml config file. (but I think it's not really matching currents proxmox configs formats) Alexandre