Integrate micronet network daemon on hub image - #34
Merged
Conversation
Run micronet as the network microinit service, drop configure-dhcp, fetch a single micronet binary, and seed 10.0.10.1/24 on first boot. Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
Only stop micronet and dnsmasq on stop; leave dhclient and any acquired lease in place so a liveness restart does not tear down a working DHCP client before micronet reconciles on the next serve. Co-authored-by: Cursor <cursoragent@cursor.com>
Select dnsmasq/dhclient/iproute2, pin MICRONET_REF to feat/micronet-daemon, and stop the network service via micronet teardown. Add overlay packaging checks (make check) for pull requests. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
micronet serveas thenetworkmicroinit daemon; liveness viamicronet checkevery 20s.configure-dhcpservice and init script./usr/sbin/micronet(symlinks for legacyconfigure-ethernet/configure-dhcpnames).$DATA_DIR/etc/micronet.jsonfrom overlay (10.0.10.1/24) on first boot only.Test plan
dcc-bigfred/micronetfirst (or pinMICRONET_REFto this cycle’s commit/tag beforemake image).make imagewith updated micronet artifactmicronet statusshowsgatewayon empty event LAN; UI athttp://10.0.10.1micronet statusisclientorstatic, no local dnsmasqDepends on: dcc-bigfred/micronet#2