Merge ~jocave/plainbox-provider-resource:add-network-management-resource into plainbox-provider-resource:master
Proposed by
Jonathan Cave
Status: | Merged |
---|---|
Approved by: | Jonathan Cave |
Approved revision: | e4fa437b004ba75f7f2d30ab0af63d46e3b5b4b2 |
Merged at revision: | 170104f43398b70e04ddb111bc85cef6d0b29775 |
Proposed branch: | ~jocave/plainbox-provider-resource:add-network-management-resource |
Merge into: | plainbox-provider-resource:master |
Diff against target: |
153 lines (+139/-0) 2 files modified
bin/net_if_management.py (+125/-0) jobs/resource.pxu (+14/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maciej Kisielewski | Approve | ||
Sylvain Pineau (community) | Approve | ||
Review via email: mp+369051@code.launchpad.net |
Description of the change
Resource job that, for all network interfaces identified by udev (categories NETWORK and WIRELESS), applies a simple set of rules to work out what utility is responsible for managing it.
This includes parsing the netplan configuration files and testing to see if network-manager is available.
It is intended that this resource can than be used to filter network related jobs in test plans and hence eliminate the need to keep separate plans and launchers for specific utilities.
To post a comment you must log in.
very useful and well written, +1