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/ +/821885 /opendev. org/openstack/ python- tripleoclient/ commit/ 0f1c96f11ff3f86 3cc237629c17e10 52df06df3f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 0f1c96f11ff3f86 3cc237629c17e10 52df06df3f
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