summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorasakkurr <asakkurr@microsoft.com>2018-11-12 17:16:09 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2018-11-12 17:16:09 +0000
commitd910ecd15de642d73a36e935704e54370f93c45b (patch)
tree03a33a7165781298692d1634950d9aa5bf9dc95d /tox.ini
parent3b332c93f765c9208f7e059d8a0c2463f7ffe12a (diff)
downloadvyos-cloud-init-d910ecd15de642d73a36e935704e54370f93c45b.tar.gz
vyos-cloud-init-d910ecd15de642d73a36e935704e54370f93c45b.zip
azure: fix regression introduced when persisting ephemeral dhcp lease
In commitish 9073951 azure datasource tried to leverage stale DHCP information obtained from EphemeralDHCPv4 context manager to report updated provisioning status to the fabric earlier in the boot process. Unfortunately the stale ephemeral network configuration had already been torn down in preparation to bring up IMDS network config so the report attempt failed on timeout. This branch introduces obtain_lease and clean_network public methods on EphemeralDHCPv4 to allow for setup and teardown of ephemeral network configuration without using a context manager. Azure datasource now uses this to persist ephemeral network configuration across multiple contexts during provisioning to avoid multiple DHCP roundtrips.
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions