Skip to content

Conversation

@alx242
Copy link
Collaborator

@alx242 alx242 commented Dec 17, 2025

Add documentation for ignore-display-when pipe command with examples

@alx242 alx242 force-pushed the alex/eng-33217-ignore-display-when-doc branch from a2cb015 to fa30809 Compare December 17, 2025 14:20
@alx242 alx242 requested review from ahcsco and cohult December 17, 2025 15:47
The `ignore-display-when` pipe command is intended to expose data nodes that have been hidden by the `tailf:display-when` expression. This pipe command can also be used in combination with various display targets.
The following example is for a leaf `hidden-empty-leaf` that has a `tailf:display-when` expression that is evaluated to `false` still can be forced to get exposed in the CLI by use of the `ignore-display-when` pipe command:
Copy link
Collaborator

@bbcsco bbcsco Jan 22, 2026

Choose a reason for hiding this comment

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

Suggested change
The following example is for a leaf `hidden-empty-leaf` that has a `tailf:display-when` expression that is evaluated to `false` still can be forced to get exposed in the CLI by use of the `ignore-display-when` pipe command:
The following example is for a leaf `hidden-empty-leaf` that has a `tailf:display-when` expression that evaluates to `false` but can still be forced to get exposed in the CLI by use of the `ignore-display-when` pipe command:

admin@ncs(config)# show configuration | ignore-display-when
devices device foo0
config
foo:bar hidden-empty-leaf
Copy link
Collaborator

Choose a reason for hiding this comment

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

Possibly nitpick: would it be nicer without foo: prefix (like users getting default output)?

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