Skip to content

Dial-out telemetry wildcard subscription support - #729

Open
Verma-Anukul wants to merge 3 commits into
sonic-net:masterfrom
Verma-Anukul:upstream/35281-wildcard-dialout
Open

Verma-Anukul wants to merge 3 commits into
sonic-net:masterfrom
Verma-Anukul:upstream/35281-wildcard-dialout

Conversation

@Verma-Anukul

@Verma-Anukul Verma-Anukul commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Split per review — this PR is dialout wildcard only now.

Other changes from the original branch:

Changes

  • Route dialout subscriptions via IsTargetDb() for dynamic DB/OC_YANG target selection
  • Propagate subscribe send failures through FailedSend() / SentOne()

Test plan

  • /azp run
  • go test ./dialout/dialout_client/... -count=1

@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@Verma-Anukul Verma-Anukul changed the title Wildcard support for dialout telemetry Dialout: wildcard support and dynamic DB vs OC_YANG target routing Aug 4, 2026
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@Verma-Anukul Verma-Anukul changed the title Dialout: wildcard support and dynamic DB vs OC_YANG target routing Fix dialout OC routing, openconfig origin normalization, and ONCE Subscribe RPC closure Aug 4, 2026
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Contributor

Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks!

---Powered by SONiC BuildBot

@Verma-Anukul

Copy link
Copy Markdown
Contributor Author

@hdwhdw
Please help in review

@Verma-Anukul

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 729 in repo sonic-net/sonic-gnmi

Verma-Anukul added a commit to Verma-Anukul/sonic-gnmi that referenced this pull request Aug 4, 2026
No functional change; retrigger Azure Pipelines for PR sonic-net#729.

Signed-off-by: Verma-Anukul <anukulverma2013@gmail.com>
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@hdwhdw
hdwhdw self-requested a review August 4, 2026 15:21

@hdwhdw hdwhdw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like at least 3 features to me. Can you split them?

Route dialout subscriptions via IsTargetDb() so DB and OC_YANG targets
are selected dynamically. Propagate subscribe send failures through
FailedSend()/SentOne() for proper client lifecycle handling.

Signed-off-by: Verma-Anukul <anukulverma2013@gmail.com>
Reorder third-party imports so gofmt passes in CI.

Signed-off-by: Verma-Anukul <anukulverma2013@gmail.com>
@Verma-Anukul
Verma-Anukul force-pushed the upstream/35281-wildcard-dialout branch from 594c76a to e82d361 Compare August 4, 2026 15:28
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@Verma-Anukul

Copy link
Copy Markdown
Contributor Author

This looks like at least 3 features to me. Can you split them?

Create new two PRs
#734
#735

@Verma-Anukul
Verma-Anukul requested a review from hdwhdw August 4, 2026 15:35
@Verma-Anukul Verma-Anukul changed the title Fix dialout OC routing, openconfig origin normalization, and ONCE Subscribe RPC closure Dial-out telemetry wildcard subscription support Aug 4, 2026
Reset in-memory telemetry client state between TestGNMIDialOutPublish
subtests so the pipe-separated CONFIG_DB key case is not broken by stale
subscriptions from the underscore-key case. Also add report_interval to
the YANG-canonical subtest for parity with the stream-mode wildcard case.

Signed-off-by: Verma-Anukul <anukulverma2013@gmail.com>
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@Verma-Anukul

Copy link
Copy Markdown
Contributor Author

@hdwhdw
Please review this PR

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.

3 participants