Skip to content

Update gNMI default plaintext port from 8080 to 8082#7

Closed
hdwhdw wants to merge 1 commit into
masterfrom
gnmi-default-port-8082
Closed

Update gNMI default plaintext port from 8080 to 8082#7
hdwhdw wants to merge 1 commit into
masterfrom
gnmi-default-port-8082

Conversation

@hdwhdw

@hdwhdw hdwhdw commented Apr 1, 2026

Copy link
Copy Markdown
Owner

Problem

The gNMI container default port is changing from 8080 to 8082 to avoid collision with the telemetry container. Test defaults need to match.

Change

Update all gNMI plaintext port defaults from 8080 to 8082 across test infrastructure.

Files Changed

  • tests/common/grpc_config.pyDEFAULT_PLAINTEXT_PORT constant
  • tests/common/helpers/gnmi_utils.py — GNMIEnvironment fallback defaults
  • tests/conftest.py--gnmi_port CLI argument default
  • tests/zmq/test_gnmi_zmq.py — hardcoded port and process grep
  • spytest/spytest/gnmi/__init__.py — configure/reinit defaults
  • spytest/spytest/gnmi/conf.yaml — YAML config
  • spytest/apis/system/gnmi.py — gnmi_get/gnmi_set/gnmi_cli defaults
  • spytest/spytest/net.py — device connection default

Match the sonic-buildimage change that moves the gNMI container
default port from 8080 to 8082. Update all test defaults, fixtures,
CLI argument defaults, and SPyTest configuration to use port 8082
for plaintext gNMI connections.

Signed-off-by: Dawei Huang <daweihuang@microsoft.com>
@mssonicbld

Copy link
Copy Markdown

/azp run

@hdwhdw hdwhdw closed this Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants