summaryrefslogtreecommitdiff
path: root/tools/ds-identify
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-05-01 16:56:56 -0400
committerGitHub <noreply@github.com>2020-05-01 16:56:56 -0400
commit70dbccbbb27f7cc3f2decd692d41403f0d745c62 (patch)
tree57c20f40bc8d225bb9532db9c0d6a95c6109fcac /tools/ds-identify
parent25698b144e3b6548ffc29ab14bed1882242b161a (diff)
downloadvyos-cloud-init-70dbccbbb27f7cc3f2decd692d41403f0d745c62.tar.gz
vyos-cloud-init-70dbccbbb27f7cc3f2decd692d41403f0d745c62.zip
DataSourceEc2: use metadata's NIC ordering to determine route-metrics (#342)
We want to set route-metrics such that NICs are configured with the priority that they are given in the network metadata that we receive from the IMDS. (This switches away from using MAC ordering.) This also required the following test changes: * reverse the sort order of the MACs in test data (so that they would trigger the bug being fixed) * fix up the key names in `NIC2_MD` (which were under_scored instead of dash-separated) * use a full interface dict (rather than a minimal one) for `TestConvertEc2MetadataNetworkConfig` LP: #1876312
Diffstat (limited to 'tools/ds-identify')
0 files changed, 0 insertions, 0 deletions