[lxc-devel] [lxd/master] api: Add projects_networks

stgraber on Github lxc-bot at linuxcontainers.org
Mon Sep 21 16:55:23 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 370 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200921/088eb6a6/attachment.bin>
-------------- next part --------------
From f96a2cd91a908df865c9a6546e7c97cc7307aab3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Mon, 21 Sep 2020 12:55:03 -0400
Subject: [PATCH] api: Add projects_networks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #7907

Signed-off-by: St├ęphane Graber <stgraber at ubuntu.com>
---
 doc/api-extensions.md | 3 +++
 shared/version/api.go | 1 +
 2 files changed, 4 insertions(+)

diff --git a/doc/api-extensions.md b/doc/api-extensions.md
index 3edc55df21..615a8c047f 100644
--- a/doc/api-extensions.md
+++ b/doc/api-extensions.md
@@ -1151,3 +1151,6 @@ Also introduces two new global config keys that apply to all `ovn` networks and
 
  - network.ovn.integration\_bridge - the OVS integration bridge to use.
  - network.ovn.northbound\_connection - the OVN northbound database connection string.
+
+## projects\_networks
+Adds the `features.networks` config key to projects and the ability for a project to hold networks.
diff --git a/shared/version/api.go b/shared/version/api.go
index 1288a75238..85da3b0a87 100644
--- a/shared/version/api.go
+++ b/shared/version/api.go
@@ -224,6 +224,7 @@ var APIExtensions = []string{
 	"network_type_sriov",
 	"container_syscall_intercept_bpf_devices",
 	"network_type_ovn",
+	"projects_networks",
 }
 
 // APIExtensionsCount returns the number of available API extensions.


More information about the lxc-devel mailing list