From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
	by lore.proxmox.com (Postfix) with ESMTPS id C81401FF37F
	for <inbox@lore.proxmox.com>; Thu, 18 Apr 2024 22:49:47 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 14CF733B8F;
	Thu, 18 Apr 2024 22:49:47 +0200 (CEST)
To: pve-devel@lists.proxmox.com
Date: Thu, 18 Apr 2024 22:49:32 +0200
In-Reply-To: <20240418204933.58521-1-jcdra1@gmail.com>
References: <20240418204933.58521-1-jcdra1@gmail.com>
MIME-Version: 1.0
Message-ID: <mailman.709.1713473386.450.pve-devel@lists.proxmox.com>
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Post: <mailto:pve-devel@lists.proxmox.com>
From: Johannes Cornelis Draaijer via pve-devel <pve-devel@lists.proxmox.com>
Precedence: list
Cc: Johannes Cornelis Draaijer <jcdra1@gmail.com>
X-Mailman-Version: 2.1.29
X-BeenThere: pve-devel@lists.proxmox.com
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
Subject: [pve-devel] [PATCH pve-container 1/2] api: lxc: add 'interfaces'
 endpoint to the index
Content-Type: multipart/mixed; boundary="===============5250773469716084037=="
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

--===============5250773469716084037==
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <jcdra1@gmail.com>
X-Original-To: pve-devel@lists.proxmox.com
Delivered-To: pve-devel@lists.proxmox.com
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 9D02199B76
	for <pve-devel@lists.proxmox.com>; Thu, 18 Apr 2024 22:49:45 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 7E9E533839
	for <pve-devel@lists.proxmox.com>; Thu, 18 Apr 2024 22:49:45 +0200 (CEST)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229])
	(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
	for <pve-devel@lists.proxmox.com>; Thu, 18 Apr 2024 22:49:45 +0200 (CEST)
Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2dae975d0dcso24412281fa.1
        for <pve-devel@lists.proxmox.com>; Thu, 18 Apr 2024 13:49:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1713473378; x=1714078178; darn=lists.proxmox.com;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to;
        bh=Nzf54sDCLmhmCX7rDJAqkm9YPs5M2wu0RRtAJt8FzD0=;
        b=OU7V0OkBR+i3VKzYNlHlumG3J5uskAXK75TWR7OaTN3ZZvsF7uZ83hTk3MuUDhE1ht
         S+HX/jKEzoLH1162QenDCTykKb2nCIYUljehdp9CR4xj6OHYWaDgI6zfHO/NxPIR9BDt
         z9xBSBQqLfDhK6HgSc23c+u1n9iA1sEqBE2XsiGOtDGJt4aS62flx4oSrQKDpfb5xOKq
         r2ZwYoL+ExN00AJQbgYmlUv9OlFQSef0eStB2sqAdePUIKxE4caRNb3lh1t0OGhm0o7Z
         Uan68RhwKoiAVmD4sMeveNLTEwzNdsBfrhHXBWEHm9MER2yfNhheJvFoLvwXwJhn+uJz
         34iQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1713473378; x=1714078178;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to;
        bh=Nzf54sDCLmhmCX7rDJAqkm9YPs5M2wu0RRtAJt8FzD0=;
        b=Omc8BtR9aZUOXdWCX+jxdO8B71IgqjLgupF/6PoY1vTlR5lGkjj2wUZ6NKIOhw8DGI
         GS/3Avzc3QOPqpNDaxzuIGhndx4CWTPC3jE4nzVhrVs7Frk7fPXpz7oRpKhY0ENq3r0K
         UynoJVtcoHk960DMI78Lvu36UWqof8Tm+QeFpM26E7ECTjMsE518hDDK//S52AE13H99
         /790wHliBT7DpSETYKVf0FM1CEAz5pQlkAfljA9YM1aEo/RLy8EVInv4T1ioSGGibOYA
         leNliAtsaTIfw72M0tfCtSYZ0wYDYfLPwgyaZrtqK8ugPHkHh/Lxeg1oJ+kX5mVBgTs3
         blNw==
X-Gm-Message-State: AOJu0Yy6B0mgdfDd868rSsK0nm6/U4xkT4Kg2GdpSy9mxkGzIdOKlmkz
	DsffHXEIjd3eqlTGn+G/9RFtCWbhJx3fKmgIXtIOY9EufLf2Pcm4zfrzpg==
X-Google-Smtp-Source: AGHT+IEJeH0I6Txf+krfsB3Z3OZ6HWqWUCu4NBFz4C56hgs9bVUtUCaA4IZ2xaYd9+tvsz6b42TMRg==
X-Received: by 2002:a2e:a983:0:b0:2d8:4892:bee2 with SMTP id x3-20020a2ea983000000b002d84892bee2mr97215ljq.20.1713473377546;
        Thu, 18 Apr 2024 13:49:37 -0700 (PDT)
Received: from desktop.lan ([2a01:799:1817:b300::ec5])
        by smtp.gmail.com with ESMTPSA id t9-20020a2e8e69000000b002dbb1a5d7f4sm254602ljk.1.2024.04.18.13.49.36
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 18 Apr 2024 13:49:36 -0700 (PDT)
From: Johannes Cornelis Draaijer <jcdra1@gmail.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-container 1/2] api: lxc: add 'interfaces' endpoint to the index
Date: Thu, 18 Apr 2024 22:49:32 +0200
Message-Id: <20240418204933.58521-2-jcdra1@gmail.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20240418204933.58521-1-jcdra1@gmail.com>
References: <20240418204933.58521-1-jcdra1@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-SPAM-LEVEL: Spam detection results:  0
	BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
	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
	DKIM_VALID_AU            -0.1 Message has a valid DKIM or DK signature from author's domain
	DKIM_VALID_EF            -0.1 Message has a valid DKIM or DK signature from envelope-from domain
	DMARC_PASS               -0.1 DMARC pass policy
	FREEMAIL_ENVFROM_END_DIGIT   0.25 Envelope-from freemail username ends in digit
	FREEMAIL_FROM           0.001 Sender email is commonly abused enduser mail provider
	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

Signed-off-by: Johannes Cornelis Draaijer <jcdra1@gmail.com>
---
 src/PVE/API2/LXC.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index fd42ccf..89ba64c 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -590,6 +590,7 @@ __PACKAGE__->register_method({
 	    { subdir => 'firewall' },
 	    { subdir => 'snapshot' },
 	    { subdir => 'resize' },
+	    { subdir => 'interfaces' }
 	    ];
 
 	return $res;
-- 
2.34.1



--===============5250773469716084037==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

--===============5250773469716084037==--