Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detail explanation for format in yang action #75

Open
tahigash opened this issue Mar 23, 2022 · 0 comments
Open

detail explanation for format in yang action #75

tahigash opened this issue Mar 23, 2022 · 0 comments
Assignees

Comments

@tahigash
Copy link
Contributor

tahigash commented Mar 23, 2022

need more explanation for format in yang action.
doc link : https://pubhub.devnetcloud.com/media/pyats-development-guide/docs/writeblitz/details/yang.html#format-options

format:
  request_mode:    # [STREAM, ONCE, POLL] gNMI subscription mode
  sub_mode:        # [ON_CHANGE, SAMPLE] gNMI subscription sub_mode
  encoding:        # [JSON, JSON_IETF] gNMI val encoding
  prefix:          # [true | false] gNMI message requires PATH prefix
  origin:          # [openconfig | rfc7951 | <device defined> ] gNMI origin
  base64:          # [true | false] gNMI set "val" requires Base64 encoding
  sample_interval: # number of seconds between sampling
  stream_max:      # seconds to stop stream (default: 0, no max)
  auto-validate:   # [true | false] automatically validate config messages
  negative-test:   # [true | false] expecting device to return an error
  pause:           # pause N seconds between each test (default: 0, no pause)
  sequence:        # [true | false] return values and return sequence verified

for example, sequence will change the return. but no detail at this point.

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

No branches or pull requests

2 participants