make net_config_override of undercloud.conf work with yaml
On setting net_config_override parameter, the undercloud uses
a JSON or YAML format template to configure the networking
with os-net-config and ignores the network parameters set in
undercloud.conf. We can use this parameter when we want to
configure bonding or add an option to the interface.
This patch will allow net_config_override to work with a json
or a yaml as an input.
Closes-Bug: #1927090
Change-Id: I5f5cec5a1622be4983b4d0db392453d1c489fa40
(cherry picked from commit 253bd6e7db425f2340e8b47319cd527a5210333d)
(cherry picked from commit 06a82e0ebf5a9e2016bf17d1c272e650e11e9fe6)
Reviewed: https:/ /review. opendev. org/c/openstack /python- tripleoclient/ +/821886 /opendev. org/openstack/ python- tripleoclient/ commit/ 17b333dc94c221a c71d7ec3f60148c 0a0672377f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 17b333dc94c221a c71d7ec3f60148c 0a0672377f
Author: Srinivas Atmakuri <email address hidden>
Date: Tue May 4 17:15:32 2021 +0530
make net_config_override of undercloud.conf work with yaml
On setting net_config_override parameter, the undercloud uses conf. We can use this parameter when we want to
a JSON or YAML format template to configure the networking
with os-net-config and ignores the network parameters set in
undercloud.
configure bonding or add an option to the interface.
This patch will allow net_config_override to work with a json
or a yaml as an input.
Closes-Bug: #1927090 4983b4d0db39245 3d1c489fa40 340e8b47319cd52 7a5210333d) 016bf17d1c272e6 50e11e9fe6)
Change-Id: I5f5cec5a1622be
(cherry picked from commit 253bd6e7db425f2
(cherry picked from commit 06a82e0ebf5a9e2