cloud-init
cloud-init copied to clipboard
cloudinit.net refactor
Update
Rather than listing individual functions/methods per bug, let's use this as a parent issue to refactor what remains:
- [ ] : _get_current_rename_info
- [ ] : _rename_interfaces
- [ ] : device_devid
- [ ] : device_driver
- [ ] : extract_physdevs
- [ ] : find_fallback_nic
- [ ] : generate_fallback_config
- [ ] : get_devicelist
- [ ] : get_ib_hwaddrs_by_interface
- [ ] : get_ib_interface_hwaddr
- [ ] : get_interfaces
- [ ] : get_interfaces_by_mac
- [ ] : get_master
- [ ] : is_bond
- [ ] : is_bridge
- [ ] : is_renamed
- [ ] : is_up
- [ ] : is_vlan
- [ ] : master_is_bridge_or_bond
- [ ] : get_dev_features
- [ ] : has_netfail_standby_feature
- [ ] : is_netfailover
- [ ] : is_netfail_master
- [ ] : is_netfail_primary
- [ ] : is_netfail_standby
Original Description
This bug was originally filed in Launchpad as LP: #1884600
Launchpad details
affected_projects = [] assignee = None assignee_name = None date_closed = None date_created = 2020-06-22T20:29:30.032924+00:00 date_fix_committed = None date_fix_released = None id = 1884600 importance = wishlist is_complete = False lp_url = https://bugs.launchpad.net/cloud-init/+bug/1884600 milestone = None owner = oddbloke owner_name = Dan Watkins private = False status = triaged submitter = oddbloke submitter_name = Dan Watkins tags = ['net-refactor'] duplicates = []
Launchpad user Dan Watkins(oddbloke) wrote on 2020-06-22T20:29:30.032924+00:00
This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details.
[0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html#cloudinit-net-cloudinit-distros-networking-hierarchy