Skip to content

detail explanation for format in yang action #75

@tahigash

Description

@tahigash

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions