Skip to content

Commit

Permalink
Merge pull request #398 from open-traffic-generator/port-timestamp
Browse files Browse the repository at this point in the history
Support for Port link state change timestamp
  • Loading branch information
PrasenjitAdhikary authored Dec 16, 2024
2 parents 611dadf + 0b00ac1 commit dfe2f15
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
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

0 comments on commit dfe2f15

Please sign in to comment.