Skip to content

Commit

Permalink
OC-26.1 TestPlan: Extend NTP test to cover source IP (openconfig#1845)
Browse files Browse the repository at this point in the history
* Project import generated by Copybara.

PiperOrigin-RevId: 542642761

* Update binding.pb.go

* Update main.go

* Update metadata.pb.go

* Update deviations.go

* Update README.md

removing requirment to esxplicitly configure NTP port, since only standard NTP port 123 is in use

* Update feature.textproto

removing configuration of NTP port as only standard port is needed

---------

Co-authored-by: Rafal Szarecki <rszarecki@users.noreply.github.com>
Co-authored-by: sachendras <44847441+sachendras@users.noreply.github.com>
  • Loading branch information
3 people authored and frasieroh committed Oct 18, 2023
1 parent 48a9f8d commit 0090046
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions feature/system/ntp/feature.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,23 @@ config_path {
telemetry_path {
path: "/system/ntp/state/enabled"
}

config_path {
path: "/system/ntp/servers/server/config/address"
}
telemetry_path {
path: "/system/ntp/servers/server/state/address"
}

telemetry_path {
path: "/system/ntp/servers/server/state/port"
}
config_path {
path: "/system/ntp/servers/server/config/port"
path: "/system/ntp/servers/server/config/source-address"
}
telemetry_path {
path: "/system/ntp/servers/server/state/port"
path: "/system/ntp/servers/server/state/source-address"
}


# Counters
telemetry_path {
path: "/system/ntp/servers/server/state/offset"
Expand Down
5 changes: 5 additions & 0 deletions feature/system/ntp/tests/system_ntp_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ Ensure DUT can be configured as a Network Time Protocol (NTP) client.
* 4x IPv6 NTP server in non-default VRF
* 4x IPv4 & 4x IPv6 NTP server in non-default VRF

Note: [TODO]the source address of NTP need to be specified

## Config Parameter Coverage

* /system/ntp/config/enabled
* /system/ntp/servers/server/config/address
* [TODO]/system/ntp/servers/server/config/source-address
* /system/ntp/servers/server/config/network-instance

## Telemetry Parameter Coverage

* /system/ntp/servers/server/state/address
* [TODO]/system/ntp/servers/server/state/source-address
* [TODO]/system/ntp/servers/server/state/port
* /system/ntp/servers/server/state/network-instance

0 comments on commit 0090046

Please sign in to comment.