[Nexthop] Add usb0 and eth0.4088 NetworkManager profiles#1380
Open
siddarth-nexthop wants to merge 1 commit into
Open
[Nexthop] Add usb0 and eth0.4088 NetworkManager profiles#1380siddarth-nexthop wants to merge 1 commit into
siddarth-nexthop wants to merge 1 commit into
Conversation
Add NetworkManager profiles for the two private host-to-BMC links (`usb0` and `eth0.4088`) so they are brought up automatically at boot, instead of being configured at test time. - `usb0` profile: static `fe80::2/64`, matching the BMC's `fe80::1` peer. - `eth0.4088` profile: VLAN 4088 on `eth0`, link-local IPv6. - `config.sh`: widen the existing `chmod 600` to cover all `*.nmconnection` profiles so the new files are loaded by NetworkManager.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit runSummary
Add NetworkManager profiles for the two private host-to-BMC links (
usb0andeth0.4088) so they are brought up automatically at boot instead of being configured at test time.usb0profile: staticfe80::2/64, matching the BMC'sfe80::1peer.eth0.4088profile: VLAN 4088 oneth0, link-local IPv6.config.sh: widen the existingchmod 600to cover all*.nmconnectionprofiles so the new files are loaded by NetworkManager.Test Plan
Verified end-to-end on a Minipack3 DUT, freshly PXE-prepared with the build produced by this change. No manual
nmclicommands were run after boot.On the resulting image:
/etc/NetworkManager/system-connections/with mode0600eth0,usb0, andeth0.4088automaticallyusb0came up with staticfe80::2/64eth0.4088was created oneth0with IPv6 link-localusb0andeth0.4088Representative output: