cuttlefish: Wire up Netsim UDS socket (--grpc_uds_path) - #2851
Open
AlpineOolong wants to merge 1 commit into
Open
cuttlefish: Wire up Netsim UDS socket (--grpc_uds_path)#2851AlpineOolong wants to merge 1 commit into
AlpineOolong wants to merge 1 commit into
Conversation
Databean
approved these changes
Jul 14, 2026
AlpineOolong
force-pushed
the
feat/netsim-uds-socket
branch
2 times, most recently
from
July 14, 2026 15:38
1e1407a to
897aa77
Compare
AlpineOolong
force-pushed
the
feat/netsim-uds-socket
branch
from
July 14, 2026 19:57
897aa77 to
14d9f8e
Compare
AlpineOolong
force-pushed
the
feat/netsim-uds-socket
branch
from
July 15, 2026 22:32
14d9f8e to
b778d01
Compare
AlpineOolong
force-pushed
the
feat/netsim-uds-socket
branch
4 times, most recently
from
August 4, 2026 04:43
9659b07 to
21487cb
Compare
Exposes `enable_netsim_nfc()` on CuttlefishConfig instead of netsim_radio_enabled
to simplify netsim nfc checking, avoiding passing --grpc_uds_path unconditionally.
Bug: 525044943
Test: bazel build //base/cvd/cuttlefish/...
TAG=agy
CONV=97998051-73aa-44c8-83ac-51de8d5fd83d
AlpineOolong
force-pushed
the
feat/netsim-uds-socket
branch
from
August 4, 2026 04:44
21487cb to
189cbef
Compare
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.
Inject GrpcSocketCreator into NetsimServerComponent (NetsimServer) and pass --grpc_uds_path=<instance_dir>/grpc_socket/NetsimControlServer.sock when launching netsimd.
This establishes the Unix Domain Socket communication path required for local gRPC service discovery and control (such as CasimirControlService and ServerReflection) while keeping --netsim_nfc disabled by default (#define CF_DEFAULTS_NETSIM_NFC false).
Objective: Verify that adding GrpcSocketCreator and --grpc_uds_path introduces zero regressions to default Cuttlefish behavior and cleanly establishes the Unix Domain Socket when explicitly opted into via --netsim_nfc=true.
Phase 1.1: Local Build & Unit/Host Presubmits
Test: m run_cvd
Bug: 526689247