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

Support for Port link state change timestamp #398

Merged
merged 8 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions artifacts/openapi.html

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions artifacts/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions artifacts/otg.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions result/port.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ components:
x-field-uid: 11
bytes_rx_rate:
x-field-uid: 12
last_change:
x-field-uid: 13
x-field-uid: 2
Port.Metric:
type: object
Expand Down Expand Up @@ -142,3 +144,13 @@ components:
x-field-uid: 1
stopped:
x-field-uid: 2
last_change:
description: |-
The timestamp indicates the absolute time of the last
link state change of the test port (e.g., up-to-down transition).

The value is the timestamp in nanoseconds relative to
the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
type: integer
format: uint64
x-field-uid: 14