diff options
author | Chris Patterson <cpatterson@microsoft.com> | 2022-02-14 14:53:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 13:53:36 -0600 |
commit | 32fcbb580d6eacb06c901bc291e0fa118bb9b646 (patch) | |
tree | dae2663e521288317bcd00137f85435f9696d68d /packages/redhat | |
parent | 1d3ddaf93378d1de6be34c7e6430e9b64d42b3f7 (diff) | |
download | vyos-cloud-init-32fcbb580d6eacb06c901bc291e0fa118bb9b646.tar.gz vyos-cloud-init-32fcbb580d6eacb06c901bc291e0fa118bb9b646.zip |
sources/azure: validate IMDS network configuration metadata (#1257)
Due to race conditions and caching, IMDS may return stale or incomplete
metadata. Add some validation to detect these scenarios and report
appropriate telemetry.
Introduce normalize_mac_address() to allow for comparison of mac
addresses, replacing that found inline in:
_generate_network_config_from_imds_metadata()
Add validation of final fetch of IMDS metadata.
Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Diffstat (limited to 'packages/redhat')
0 files changed, 0 insertions, 0 deletions