Skip to content

Show RPC name in transaction description for inline rpc templates - #257

Merged
olofhagsand merged 1 commit into
clicon:mainfrom
denniswa:main
Oct 12, 2026
Merged

olofhagsand merged 1 commit into
clicon:mainfrom
denniswa:main

Conversation

@denniswa

@denniswa denniswa commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

An inline device-template-apply (type RPC) was recorded as "rpc-device template (inline)" in "show transactions", so there was no way to tell which RPC it ran. A named template already shows its name.

For an inline template, use the name of the RPC element in its config as the description, e.g. "get-bgp-neighbor-information (inline)". The RPC name comes first because the brief "show transactions" table truncates the description to 24 characters. Named templates and all other transactions are unchanged.

An inline device-template-apply (type RPC) was recorded as
"rpc-device template (inline)" in "show transactions", so there was no
way to tell which RPC it ran. A named template already shows its name.

For an inline template, use the name of the RPC element in its config as
the description, e.g. "get-bgp-neighbor-information (inline)". The RPC
name comes first because the brief "show transactions" table truncates
the description to 24 characters. Named templates and all other
transactions are unchanged.
@olofhagsand
olofhagsand merged commit 33bc4ba into clicon:main Oct 12, 2026
5 checks passed
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