43 lines
2.0 KiB
Diff
43 lines
2.0 KiB
Diff
|
From 332bb23bcfde801edf792e6c629ec350be07b952 Mon Sep 17 00:00:00 2001
|
||
|
From: James Falcon <james.falcon@canonical.com>
|
||
|
Date: Tue, 19 Mar 2024 14:24:11 -0500
|
||
|
Subject: [PATCH 3/3] fix: Undeprecate 'network' in schema route definition
|
||
|
(#5072)
|
||
|
|
||
|
RH-Author: Ani Sinha <anisinha@redhat.com>
|
||
|
RH-MergeRequest: 73: fix: Undeprecate 'network' in schema route definition (#5072)
|
||
|
RH-Jira: RHEL-29709
|
||
|
RH-Acked-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
||
|
RH-Acked-by: Cathy Avery <cavery@redhat.com>
|
||
|
RH-Commit: [1/1] 61c660be43fd25999bca0cfd66d7b2150fee5a14 (anisinha/cloud-init)
|
||
|
|
||
|
It is passed through to our v1 schema from OpenStack network_data.json
|
||
|
|
||
|
Fixes GH-5051
|
||
|
|
||
|
(cherry picked from commit ff40d1af8a6de3ee27937382ec4ceea931d80a88)
|
||
|
Signed-off-by: Ani Sinha <anisinha@redhat.com>
|
||
|
---
|
||
|
cloudinit/config/schemas/schema-network-config-v1.json | 5 +----
|
||
|
1 file changed, 1 insertion(+), 4 deletions(-)
|
||
|
|
||
|
diff --git a/cloudinit/config/schemas/schema-network-config-v1.json b/cloudinit/config/schemas/schema-network-config-v1.json
|
||
|
index 56dc27c9..64c492a4 100644
|
||
|
--- a/cloudinit/config/schemas/schema-network-config-v1.json
|
||
|
+++ b/cloudinit/config/schemas/schema-network-config-v1.json
|
||
|
@@ -445,10 +445,7 @@
|
||
|
},
|
||
|
"network": {
|
||
|
"type": "string",
|
||
|
- "description": "IPv4 network address with CIDR netmask notation or IPv6 with prefix length. Alias for ``destination`` and only read when ``destination`` key is absent.",
|
||
|
- "deprecated": true,
|
||
|
- "deprecated_version": "23.3",
|
||
|
- "deprecated_description": "Use ``destination`` instead."
|
||
|
+ "description": "IPv4 network address with CIDR netmask notation or IPv6 with prefix length. Alias for ``destination`` and only read when ``destination`` key is absent. This exists for OpenStack support. OpenStack route definitions are passed through to v1 config and OpenStack's ``network_data.json`` uses ``network`` instead of ``destination``."
|
||
|
},
|
||
|
"destination": {
|
||
|
"type": "string",
|
||
|
--
|
||
|
2.39.3
|
||
|
|