Skip to content

Add support for NTP server #904

@troglobit

Description

@troglobit

Description

Currently Infix only supports running chronyd as an NTP client via configuration in ietf-system.yang.

This is a proposal to use RFC 9249, in a stripped down form, to add NTP server support as well using chronyd.

Original tree view, from the RFC, is available here: https://github.com/dhruvdhody/ietf-yang/blob/master/ietf-ntp.tree

Tree View

This is an initial, heavily cut down (deviated), tree view based on the RFC.

module: ietf-ntp
  +--rw ntp!
     +--rw port?                  inet:port-number {ntp-port}?
     +--rw refclock-master!
     |  +--rw master-stratum?     ntp-stratum
     +--rw interfaces
     |  +--rw interface* [name]
     |     +--rw name             if:interface-ref
     +--ro ntp-statistics
        +--ro packet-sent?        yang:counter32
        +--ro packet-sent-fail?   yang:counter32
        +--ro packet-received?    yang:counter32
        +--ro packet-dropped?     yang:counter32

Additional Information

No response

General Information

Anyone can help out by sponsoring development of new features or contributing pull requests.
Please use this issue for discussions related to the feature.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Blocked

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions