canonical / cloud-init

Official upstream for the cloud-init: cloud instance initialization
https://cloud-init.io/
Other
3.01k stars 887 forks source link

chore: update netplan import semantics and related tests #5805

Closed TheRealFalcon closed 1 month ago

TheRealFalcon commented 1 month ago

Proposed Commit Message

chore: update netplan import semantics and related tests

The way the netplan API was being imported caused test issues.
Imports were moved and tests updated accordingly.

Fixes GH-5804

Additional Context

To reproduce in a virtualenv, symlink the netplan API (should be at /usr/lib/python3/dist-packages/netplan) into your virtualenv's site-packages.

Test Steps

Merge type