diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-05-01 16:56:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 16:56:56 -0400 |
commit | 70dbccbbb27f7cc3f2decd692d41403f0d745c62 (patch) | |
tree | 57c20f40bc8d225bb9532db9c0d6a95c6109fcac /Makefile | |
parent | 25698b144e3b6548ffc29ab14bed1882242b161a (diff) | |
download | vyos-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 'Makefile')
0 files changed, 0 insertions, 0 deletions