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)
(cherry picked from commit aa9996e13947058dea13692947bb35807b1f6b65)
Reviewed: https:/ /review. opendev. org/c/openstack /python- tripleoclient/ +/821887 /opendev. org/openstack/ python- tripleoclient/ commit/ a6fcdbf0df3864a f08a123caf35628 d482d2234a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit a6fcdbf0df3864a f08a123caf35628 d482d2234a
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) dea13692947bb35 807b1f6b65)
Change-Id: I5f5cec5a1622be
(cherry picked from commit 253bd6e7db425f2
(cherry picked from commit 06a82e0ebf5a9e2
(cherry picked from commit aa9996e13947058