Merge ~jocave/checkbox-support:netplan-yaml-str-parse into checkbox-support:master
Proposed by
Jonathan Cave
Status: | Merged |
---|---|
Approved by: | Jonathan Cave |
Approved revision: | 8bbdc3837b3df6ffa2899aa87ad3ef94afe5cba9 |
Merged at revision: | 5c34f8154b289238186baf6a2b3cb4a95558bae6 |
Proposed branch: | ~jocave/checkbox-support:netplan-yaml-str-parse |
Merge into: | checkbox-support:master |
Diff against target: |
135 lines (+50/-45) 1 file modified
checkbox_support/parsers/netplan.py (+50/-45) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maciej Kisielewski | Approve | ||
Paul Larson | Approve | ||
Review via email: mp+370324@code.launchpad.net |
Description of the change
Update the netplan parser to allow providing some yaml as string directly. This is useful if you want to provide a config for something other than the system that the code is running on e.g. in some unit tests.
To post a comment you must log in.
some minor nitpicks and a commented out func def that I think you meant to remove, otherwise looks fine to me