The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7682
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
From d137c71998632fa6fd5f4613a1948cfbfca29109 Mon Sep 17 00:00:00 2001 From: Thomas Parrott <thomas.parr...@canonical.com> Date: Wed, 22 Jul 2020 16:47:01 +0100 Subject: [PATCH] api: Adds network_types API extension Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com> --- doc/api-extensions.md | 9 +++++++++ shared/version/api.go | 1 + 2 files changed, 10 insertions(+) diff --git a/doc/api-extensions.md b/doc/api-extensions.md index f3c8e2d936..8e79a6722a 100644 --- a/doc/api-extensions.md +++ b/doc/api-extensions.md @@ -1123,3 +1123,12 @@ attached to a SPICE unix socket of the target virtual machine. Add `limits.disk` to the available project configuration keys. If set, it limits the total amount of disk space that instances volumes, custom volumes and images volumes can use in the project. + +## network\_types +Adds support for additional network types (`macvlan` and `sriov`) using the existing network `Type` field. + +Also adds `parent` configuration key for these new network types to specify which parent interface should be used +for creating NIC device interfaces on top of. + +Also adds `network` configuration key support for `macvlan` and `sriov` NIC types to allow them to specify the +associated network of the same type that they should use as the basis for the NIC device. diff --git a/shared/version/api.go b/shared/version/api.go index 43931942bc..2bd2fa1bfa 100644 --- a/shared/version/api.go +++ b/shared/version/api.go @@ -220,6 +220,7 @@ var APIExtensions = []string{ "resources_gpu_mdev", "console_vga_type", "projects_limits_disk", + "network_types", } // APIExtensionsCount returns the number of available API extensions.
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel