From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 55CAE1FF15C for ; Fri, 28 Nov 2025 12:08:51 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B5BF417E55; Fri, 28 Nov 2025 12:09:11 +0100 (CET) From: Stefan Hanreich To: pdm-devel@lists.proxmox.com Date: Fri, 28 Nov 2025 12:09:00 +0100 Message-ID: <20251128110905.104189-6-s.hanreich@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251128110905.104189-1-s.hanreich@proxmox.com> References: <20251128110905.104189-1-s.hanreich@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.172 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Subject: [pdm-devel] [PATCH proxmox-datacenter-manager v3 2/5] server: api: sdn: add mac-vrf endpoint X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" Q2FsbHMgdGhlIHJlc3BlY3RpdmUgUHJveG1veCBWRSBlbmRwb2ludCB0byBvYnRhaW4gc3RhdHVz IGluZ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Vk5FVF9TVUJESVJT KTsKKworICAgIHB1YiBjb25zdCBST1VURVI6IFJvdXRlciA9IFJvdXRlcjo6bmV3KCkubWF0Y2hf YWxsKCJ2bmV0IiwgJlZORVRfUk9VVEVSKTsKKworICAgICNbYXBpKAorICAgICAgICBpbnB1dDog eworICAgICAgICAgICAgcHJvcGVydGllczogeworICAgICAgICAgICAgICAgIHJlbW90ZTogeyBz Y2hlbWE6IFJFTU9URV9JRF9TQ0hFTUEgfSwKKyAgICAgICAgICAgICAgICBub2RlOiB7IHNjaGVt YTogTk9ERV9TQ0hFTUEgfSwKKyAgICAgICAgICAgICAgICB2bmV0OiB7IHNjaGVtYTogU0ROX0lE X1NDSEVNQSB9LAorICAgICAgICAgICAgfSwKKyAgICAgICAgfSwKKyAgICAgICAgcmV0dXJuczog eyB0eXBlOiBTZG5WbmV0TWFjVnJmIH0sCisgICAgKV0KKyAgICAvLy8gR2V0IHRoZSBNQUMtVlJG IGZvciBhbiBFVlBOIHZuZXQgZm9yIGEgbm9kZSBvbiBhIGdpdmVuIHJlbW90ZQorICAgIGFzeW5j IGZuIGdldF9tYWNfdnJmKAorICAgICAgICByZW1vdGU6IFN0cmluZywKKyAgICAgICAgbm9kZTog U3RyaW5nLAorICAgICAgICB2bmV0OiBTdHJpbmcsCisgICAgKSAtPiBSZXN1bHQ8VmVjPFNkblZu ZXRNYWNWcmY+LCBFcnJvcj4geworICAgICAgICBsZXQgKHJlbW90ZV9jb25maWcsIF8pID0gcGRt X2NvbmZpZzo6cmVtb3Rlczo6Y29uZmlnKCk/OworICAgICAgICBsZXQgcmVtb3RlID0gZ2V0X3Jl bW90ZSgmcmVtb3RlX2NvbmZpZywgJnJlbW90ZSk/OworICAgICAgICBsZXQgY2xpZW50ID0gY29u bmVjdCgmcmVtb3RlKT87CisKKyAgICAgICAgY2xpZW50CisgICAgICAgICAgICAuZ2V0X3ZuZXRf bWFjX3ZyZigmbm9kZSwgJnZuZXQpCisgICAgICAgICAgICAuYXdhaXQKKyAgICAgICAgICAgIC5t YXBfZXJyKHxlcnJ8IG1hdGNoIGVyciB7CisgICAgICAgICAgICAgICAgcHJveG1veF9jbGllbnQ6 OkVycm9yOjpBcGkoU3RhdHVzQ29kZTo6Tk9UX0lNUExFTUVOVEVELCBfbXNnKSA9PiB7CisgICAg ICAgICAgICAgICAgICAgIGFueWhvdyEoInJlbW90ZSB7fSBkb2VzIG5vdCBzdXBwb3J0IHRoZSB2 bmV0IG1hYy12cmYgQVBJIGNhbGwsIHBsZWFzZSB1cGdyYWRlIHRvIHRoZSBuZXdlc3QgdmVyc2lv biEiLCByZW1vdGUuaWQpCisgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAgIF8gPT4g ZXJyLmludG8oKQorICAgICAgICAgICAgfSkKKyAgICB9Cit9CisKK2NvbnN0IFNVQkRJUlM6IFN1 YmRpck1hcCA9ICZbKCJ2bmV0cyIsICZ2bmV0czo6Uk9VVEVSKSwgKCJ6b25lcyIsICZ6b25lczo6 Uk9VVEVSKV07CiAKIHB1YiBjb25zdCBST1VURVI6IFJvdXRlciA9IFJvdXRlcjo6bmV3KCkKICAg ICAuZ2V0KCZsaXN0X3N1YmRpcnNfYXBpX21ldGhvZCEoU1VCRElSUykpCi0tIAoyLjQ3LjMKCgpf X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwZG0tZGV2ZWwg bWFpbGluZyBsaXN0CnBkbS1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xpc3RzLnBy b3htb3guY29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wZG0tZGV2ZWwK