37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
|
|
From 90aa98210bdfdefc878efdc78b3e778bf5158026 Mon Sep 17 00:00:00 2001
|
||
|
|
From: jikai <jikai11@huawei.com>
|
||
|
|
Date: Thu, 16 Nov 2023 10:25:27 +0800
|
||
|
|
Subject: [PATCH 07/13] Restore subnet, gateway etc in ipam
|
||
|
|
|
||
|
|
Signed-off-by: jikai <jikai11@huawei.com>
|
||
|
|
---
|
||
|
|
src/json/schema/cni/net_conf.json | 12 ++++++++++++
|
||
|
|
1 file changed, 12 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/src/json/schema/cni/net_conf.json b/src/json/schema/cni/net_conf.json
|
||
|
|
index ccad8ba..ae8c8e4 100644
|
||
|
|
--- a/src/json/schema/cni/net_conf.json
|
||
|
|
+++ b/src/json/schema/cni/net_conf.json
|
||
|
|
@@ -29,6 +29,18 @@
|
||
|
|
"type": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
+ "subnet": {
|
||
|
|
+ "type": "string"
|
||
|
|
+ },
|
||
|
|
+ "gateway": {
|
||
|
|
+ "type": "string"
|
||
|
|
+ },
|
||
|
|
+ "rangeStart": {
|
||
|
|
+ "type": "string"
|
||
|
|
+ },
|
||
|
|
+ "rangeEnd": {
|
||
|
|
+ "type": "string"
|
||
|
|
+ },
|
||
|
|
"routes": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|