From c4c0d7509e2d7ab1caacdd9b73e693d7cdf7271b Mon Sep 17 00:00:00 2001 From: Sandeep Bansal Date: Tue, 24 Jul 2018 11:44:19 -0700 Subject: [PATCH] config-windows: Added support for network namespace Signed-off-by: Sandeep Bansal --- config-windows.md | 4 +++- schema/config-windows.json | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config-windows.md b/config-windows.md index 5e9ea3b1c..52798772b 100644 --- a/config-windows.md +++ b/config-windows.md @@ -125,6 +125,7 @@ The following parameters can be specified: * **`allowUnqualifiedDNSQuery`** *(bool, OPTIONAL)* - specifies if unqualified DNS name resolution is allowed. * **`DNSSearchList`** *(array of strings, OPTIONAL)* - comma separated list of DNS suffixes to use for name resolution. * **`networkSharedContainerName`** *(string, OPTIONAL)* - name (ID) of the container that we will share with the network stack. +* **`networkNamespace`** *(string, OPTIONAL)* - name (ID) of the network namespace that will be used for the container. If a network namespace is specified no other parameter must be specified. ### Example @@ -139,7 +140,8 @@ The following parameters can be specified: "a.com", "b.com" ], - "networkSharedContainerName": "containerName" + "networkSharedContainerName": "containerName", + "networkNamespace": "168f3daf-efc6-4377-b20a-2c86764ba892" } } ``` diff --git a/schema/config-windows.json b/schema/config-windows.json index 264cf2746..68b51e902 100644 --- a/schema/config-windows.json +++ b/schema/config-windows.json @@ -71,6 +71,9 @@ }, "networkSharedContainerName": { "type": "string" + }, + "networkNamespace": { + "type": "string" } } },