ipi-ptp
+--rw ptp {feature-list:HAVE_PTP_HW_OFFLOAD}?
+--rw ptp-instances
| +--rw ptp-instance* [instance-type]
| +--rw instance-type -> ../config/instance-type
| +--rw config
| | +--rw instance-type? uint8
| | +--rw profile ipi-ptp-types:ptp_profile_t
| +--rw default-data-set {feature-list:HAVE_DUNE}?
| | +--rw config
| | | +--rw l2-pkt-forward? empty
| | | +--rw domain? uint8
| | | +--rw servo-config? ipi-ptp-types:ptp_servo_config_type_t
| | | +--rw external-clock-holdover-duration? uint16
| | | +--rw system-clock-sync? uint16
| | | +--rw ptp-clock-sync? empty
| | | +--rw ptsf-wtr-duration? uint16
| | | +--rw g8265p1-wtr-duration? uint64
| | | +--rw g8265p1-option? ipi-ptp-types:ptp_g8265p1_option_type_t
| | | +--rw reserved-vlan-base? uint16
| | | +--rw two-step? empty {feature-list:HAVE_PTP_HW_OFFLOAD_CUSTOM1}?
| | | +--rw clock-type-tgm? ipi-ptp-types:ptp_clock_type_tgm_t
| | | +--rw one-way? empty
| | | +--rw number-ports? uint8
| | | +--rw pps-pulse-offset? int16
| | | +--rw pps-in-smx-tod-type? ipi-ptp-types:ptp_1pss_in_smx_tod_type_t
| | | +--rw priority-2? uint8
| | | +--rw slave-only? empty
| | | +--rw local-priority? uint8
| | | +--rw max-steps-removed? uint8
| | +--ro state
| | | +--ro l2-pkt-forward? empty
| | | +--ro domain? uint8
| | | +--ro servo-config? ipi-ptp-types:ptp_servo_config_type_t
| | | +--ro external-clock-holdover-duration? uint16
| | | +--ro system-clock-sync? uint16
| | | +--ro ptp-clock-sync? empty
| | | +--ro ptsf-wtr-duration? uint16
| | | +--ro g8265p1-wtr-duration? uint64
| | | +--ro g8265p1-option? ipi-ptp-types:ptp_g8265p1_option_type_t
| | | +--ro reserved-vlan-base? uint16
| | | +--ro two-step? empty {feature-list:HAVE_PTP_HW_OFFLOAD_CUSTOM1}?
| | | +--ro clock-type-tgm? ipi-ptp-types:ptp_clock_type_tgm_t
| | | +--ro one-way? empty
| | | +--ro number-ports? uint8
| | | +--ro pps-pulse-offset? int16
| | | +--ro pps-in-smx-tod-type? ipi-ptp-types:ptp_1pss_in_smx_tod_type_t
| | | +--ro priority-2? uint8
| | | +--ro slave-only? empty
| | | +--ro local-priority? uint8
| | | +--ro max-steps-removed? uint8
| | | +--ro clock-identity? string
| | +--rw servo-history
| | | +--rw config!
| | | | +--rw servo-history-enabled empty
| | | | +--rw servo-history-interval uint8
| | | +--ro state
| | | +--ro servo-history-enabled empty
| | | +--ro servo-history-interval uint8
| | +--rw clock-quality
| | | +--rw config
| | | | +--rw clock-class? uint8
| | | | +--rw clock-accuracy? uint8
| | | | +--rw offset-scaled-log-variance? uint16
| | | +--ro state
| | | +--ro clock-class? uint8
| | | +--ro clock-accuracy? uint8
| | | +--ro offset-scaled-log-variance? uint16
| | +--rw gps-offset
| | +--rw config!
| | | +--rw offset-seconds int8
| | | +--rw offset-nano-seconds int16
| | +--ro state
| | +--ro offset-seconds int8
| | +--ro offset-nano-seconds int16
| +--rw ports {feature-list:HAVE_DUNE}?
| | +--rw port* [port-number]
| | +--rw port-number -> ../config/port-number
| | +--rw config
| | | +--rw port-number? uint16
| | | +--rw local-priority? uint8
| | | +--rw description? cml-data-types:cml_line_t
| | | +--rw transport-type? ipi-ptp-types:ptp_encap_type_t
| | | +--rw non-forwardable-mac-addr? empty
| | | +--rw source-ipv6-link-local-address? empty {feature-list:HAVE_IPV6}?
| | | +--rw log-min-delay-req-interval? int8
| | | +--rw log-announce-interval? int8
| | | +--rw announce-receipt-timeout? uint8
| | | +--rw log-sync-interval? int8
| | | +--rw time-to-live? uint8
| | | +--rw ip-dscp? uint8
| | | +--rw unicast-grant-duration? uint16
| | | +--rw delay-mechanism? ipi-ptp-types:ptp_delay_mechanism_t
| | | +--rw version-number? int8
| | | +--rw master-only? empty
| | | +--rw grandmaster-priority-2? uint8
| | +--ro state
| | | +--ro port-number? uint16
| | | +--ro local-priority? uint8
| | | +--ro description? cml-data-types:cml_line_t
| | | +--ro transport-type? ipi-ptp-types:ptp_encap_type_t
| | | +--ro non-forwardable-mac-addr? empty
| | | +--ro source-ipv6-link-local-address? empty {feature-list:HAVE_IPV6}?
| | | +--ro log-min-delay-req-interval? int8
| | | +--ro log-announce-interval? int8
| | | +--ro announce-receipt-timeout? uint8
| | | +--ro log-sync-interval? int8
| | | +--ro time-to-live? uint8
| | | +--ro ip-dscp? uint8
| | | +--ro unicast-grant-duration? uint16
| | | +--ro delay-mechanism? ipi-ptp-types:ptp_delay_mechanism_t
| | | +--ro version-number? int8
| | | +--ro master-only? empty
| | | +--ro grandmaster-priority-2? uint8
| | | +--ro port-state? ipi-ptp-types:ptp_port_state_t
| | | +--ro peer-mean-path-delay? ipi-ptp-types:ptp_time_interval_t
| | | +--ro signal-fail? boolean
| | | +--ro port-identity? string
| | +--rw clock-quality
| | | +--rw config
| | | | +--rw clock-class? uint8
| | | | +--rw clock-accuracy? uint8
| | | | +--rw offset-scaled-log-variance? uint16
| | | +--ro state
| | | +--ro clock-class? uint8
| | | +--ro clock-accuracy? uint8
| | | +--ro offset-scaled-log-variance? uint16
| | +--rw asymmetry-delay
| | | +--rw config!
| | | | +--rw delay-asymmetry-msec int8
| | | | +--rw delay-asymmetry-nsec int32
| | | +--ro state
| | | +--ro delay-asymmetry-msec int8
| | | +--ro delay-asymmetry-nsec int32
| | +--rw network-interfaces
| | | +--rw network-interface* [network-interface]
| | | +--rw network-interface -> ../config/network-interface
| | | +--rw config
| | | | +--rw network-interface? ipi-ptp-types:ptp_network_interface_t
| | | | +--rw vlan-physical-interface-name? cml-data-types:cml_ifname_t
| | | | +--rw vlan-physical-dot1q-vlan-id? uint16
| | | | +--rw dot1q-vlan-id? uint16
| | | | +--rw dot1ad-vlan-id? uint16
| | | | +--rw inner-dot1q-vlan-id? uint16
| | | +--ro state
| | | +--ro network-interface? ipi-ptp-types:ptp_network_interface_t
| | | +--ro vlan-physical-interface-name? cml-data-types:cml_ifname_t
| | | +--ro vlan-physical-dot1q-vlan-id? uint16
| | | +--ro dot1q-vlan-id? uint16
| | | +--ro dot1ad-vlan-id? uint16
| | | +--ro inner-dot1q-vlan-id? uint16
| | +--rw master-ipv4-addresses
| | | +--rw master-ipv4-address* [master-clock-source-ipv4-address]
| | | +--rw master-clock-source-ipv4-address -> ../config/master-clock-source-ipv4-address
| | | +--rw config
| | | | +--rw master-clock-source-ipv4-address? inet:ipv4-address
| | | | +--rw master-ipv4-address-priority? uint8
| | | +--ro state
| | | +--ro master-clock-source-ipv4-address? inet:ipv4-address
| | | +--ro master-ipv4-address-priority? uint8
| | +--rw master-ipv6-addresses
| | | +--rw master-ipv6-address* [master-clock-source-ipv6-address]
| | | +--rw master-clock-source-ipv6-address -> ../config/master-clock-source-ipv6-address
| | | +--rw config
| | | | +--rw master-clock-source-ipv6-address? inet:ipv6-address
| | | | +--rw master-ipv6-address-priority? uint8
| | | +--ro state
| | | +--ro master-clock-source-ipv6-address? inet:ipv6-address
| | | +--ro master-ipv6-address-priority? uint8
| | +--rw statistics
| | | +--ro state
| | | +--ro packets-transmitted? yang:counter32
| | | +--ro packets-received? yang:counter32
| | | +--ro packets-discarded? yang:counter32
| | +--ro foreign-data-sets
| | | +--ro foreign-data-set* [foreign-master-id]
| | | +--ro foreign-master-id -> ../state/foreign-master-id
| | | +--ro state
| | | +--ro foreign-master-id? uint8
| | | +--ro current? boolean
| | | +--ro ipv4-address? inet:ipv4-address
| | | +--ro ipv6-address? inet:ipv6-address {feature-list:HAVE_IPV6}?
| | | +--ro l2-address? yang:mac-address
| | | +--ro clock-identity? string
| | | +--ro port-id? string
| | | +--ro clock-class? uint8
| | | +--ro clock-accuracy? uint8
| | | +--ro offset-scaled-log-variance? uint16
| | | +--ro priority-1? uint8
| | | +--ro priority-2? uint8
| | | +--ro steps-removed? uint16
| | | +--ro pdv-scaled-allan-variance? uint64
| | +--ro peer-data-sets
| | | +--ro peer-data-set* [peer-id]
| | | +--ro peer-id -> ../state/peer-id
| | | +--ro state
| | | +--ro peer-id? uint8
| | | +--ro ipv4-address? inet:ipv4-address
| | | +--ro ipv6-address? inet:ipv6-address {feature-list:HAVE_IPV6}?
| | | +--ro l2-address? yang:mac-address
| | | +--ro clock-identity? string
| | | +--ro received-announce? yang:counter64
| | | +--ro received-sync? yang:counter64
| | | +--ro received-followup? yang:counter64
| | | +--ro received-reject? yang:counter64
| | | +--ro received-delay-request? yang:counter64
| | | +--ro received-delay-response? yang:counter64
| | | +--ro received-management? yang:counter64
| | | +--ro received-signaling? yang:counter64
| | | +--ro transmitted-announce? yang:counter64
| | | +--ro transmitted-sync? yang:counter64
| | | +--ro transmitted-followup? yang:counter64
| | | +--ro transmitted-delay-request? yang:counter64
| | | +--ro transmitted-delay-response? yang:counter64
| | | +--ro transmitted-management? yang:counter64
| | | +--ro transmitted-signaling? yang:counter64
| | +--ro master-data-sets
| | | +--ro master-data-set* [master-id]
| | | +--ro master-id -> ../state/master-id
| | | +--ro state
| | | +--ro master-id? uint8
| | | +--ro ipv4-address? inet:ipv4-address
| | | +--ro ipv6-address? inet:ipv6-address {feature-list:HAVE_IPV6}?
| | +--ro slave-data-sets
| | | +--ro slave-data-set* [slave-id]
| | | +--ro slave-id -> ../state/slave-id
| | | +--ro state
| | | +--ro slave-id? uint8
| | | +--ro ipv4-address? inet:ipv4-address
| | | +--ro ipv6-address? inet:ipv6-address {feature-list:HAVE_IPV6}?
| | | +--ro clock-identity? string
| | | +--ro delay-mechanism? ipi-ptp-types:ptp_delay_mechanism_t
| | | +--ro log-announce-interval? int8
| | | +--ro log-sync-interval? int8
| | | +--ro log-delay-request-interval? int8
| | +--rw drop-counters
| | +--ro state
| | +--ro domain-mismatch? yang:counter32
| | +--ro memory-alloc-failure? yang:counter32
| | +--ro pkt-len-too-short? yang:counter32
| | +--ro pkt-rcvd-on-bad-port-state? yang:counter32
| | +--ro pkt-profile-mismatch? yang:counter32
| | +--ro clock-port-mismatch? yang:counter32
| | +--ro ptp-packet-parsing-failure? yang:counter32
| | +--ro delreq-from-unknown-slave? yang:counter32
| | +--ro announce-on-master-only-port? yang:counter32
| | +--ro invalid-steps-removed-field? yang:counter32
| | +--ro unknown-unicast-master? yang:counter32
| | +--ro announce-on-gps-ptp-port? yang:counter32
| | +--ro sync-rcvd-invalid? yang:counter32
| | +--ro sync-rcvd-without-master? yang:counter32
| +--rw time-of-day {feature-list:HAVE_DUNE}?
| | +--rw config
| | | +--rw io-type? ipi-ptp-types:ptp_clock_io_type_t
| | +--ro state
| | +--ro io-type? ipi-ptp-types:ptp_clock_io_type_t
| +--rw ptp-servo {feature-list:HAVE_DUNE}?
| | +--ro state
| | +--ro config-state? ipi-ptp-types:ptp_config_state_t
| | +--ro servo-config? string {feature-list:HAVE_PTP_HW_OFFLOAD_CUSTOM1}?
| | +--ro previous-state? ipi-ptp-types:ptp_servo_state_t
| | +--ro current-state? ipi-ptp-types:ptp_servo_state_t
| | +--ro previous-servo-state? ipi-ptp-types:ptp_servo_state_custom_t {feature-list:HAVE_PTP_HW_OFFLOAD_CUSTOM1_OR_HAVE_PTP_HW_OFFLOAD_CUSTOM2}?
| | +--ro current-servo-state? ipi-ptp-types:ptp_servo_state_custom_t {feature-list:HAVE_PTP_HW_OFFLOAD_CUSTOM1_OR_HAVE_PTP_HW_OFFLOAD_CUSTOM2}?
| | +--ro duration? string
| | +--ro apts-mode? ipi-ptp-types:ptp_servo_apts_mode_t
| | +--ro freq-correction? decimal64
| | +--ro phase-correction? decimal64
| | +--ro mean-path-delay? ipi-ptp-types:ptp_time_interval_t
| | +--ro apts-gps-to-ptp-offset? ipi-ptp-types:ptp_time_interval_t
| | +--ro offset-from-master? decimal64
| | +--ro sync-packet-rate? uint32
| | +--ro delay-packet-rate? uint32
| +--rw current-data-set {feature-list:HAVE_DUNE}?
| | +--ro state
| | +--ro steps-removed? uint8
| | +--ro offset-from-master? ipi-ptp-types:ptp_time_interval_t
| | +--ro offset-from-master-in-nsec? decimal64
| | +--ro mean-path-delay? ipi-ptp-types:ptp_time_interval_t
| +--rw parent-data-set {feature-list:HAVE_DUNE}?
| | +--ro state
| | | +--ro parent-stats-enabled? boolean
| | | +--ro parent-offset-scaled-log-variance? uint16
| | | +--ro parent-phase-change-rate? uint32
| | | +--ro grandmaster-identity? ipi-ptp-types:ptp_clock_identity_t
| | | +--ro grandmaster-priority-1? uint8
| | | +--ro grandmaster-priority-2? uint8
| | | +--ro port-identity
| | | | +--ro clock-identity? string
| | | | +--ro port-number? uint16
| | | +--ro grandmaster-clock-quality
| | | +--ro clock-class? uint8
| | | +--ro clock-accuracy? uint8
| | | +--ro offset-scaled-log-variance? uint16
| | +--rw port-identity
| | | +--ro state
| | | +--ro clock-identity? string
| | | +--ro port-number? uint16
| | +--rw grandmaster-clock-quality
| | +--ro state
| | +--ro clock-class? uint8
| | +--ro clock-accuracy? uint8
| | +--ro offset-scaled-log-variance? uint16
| +--rw time-properties {feature-list:HAVE_DUNE}?
| | +--ro state
| | +--ro current-utc-offset-valid? boolean
| | +--ro current-utc-offset? int16
| | +--ro leap59? empty
| | +--ro leap61? empty
| | +--ro time-traceable? empty
| | +--ro frequency-traceable? empty
| | +--ro ptp-timescale? empty
| | +--ro time-source? ipi-ptp-types:ptp_time_source_t
| | +--ro ptp-time-of-day? string
| +--rw statistics {feature-list:HAVE_DUNE}?
| | +--ro state
| | +--ro packets-transmitted? yang:counter32
| | +--ro packets-received? yang:counter32
| | +--ro packets-discarded? yang:counter32
| | +--ro ipv4-packets-received? yang:counter32
| | +--ro ipv6-packets-received? yang:counter32 {feature-list:HAVE_IPV6}?
| | +--ro l2-packets-received? yang:counter32
| | +--ro rx-queue-overflows? yang:counter32
| +--ro servo-history-data {feature-list:HAVE_DUNE}?
| | +--ro servo-history-data-entry* [entry-id]
| | +--ro entry-id -> ../state/entry-id
| | +--ro state
| | +--ro entry-id? uint8
| | +--ro timestamp? string
| | +--ro phase-correction? decimal64
| | +--ro frequency-correction? decimal64
| +--rw utc-offset-dates
| +--rw utc-offset-date* [utc-date]
| | +--rw utc-date -> ../config/utc-date
| | +--rw config
| | | +--rw utc-date? string
| | | +--rw offset-seconds uint8
| | +--ro state
| | +--ro utc-date? string
| | +--ro offset-seconds uint8
| +--rw baseline
| +--rw config
| | +--rw baseline-seconds? uint8
| +--ro state
| +--ro baseline-seconds? uint8
+--rw debug
| +--rw config
| | +--rw enable? empty
| +--ro state
| +--ro enable? empty
| +--ro terminal-debug-status? cml-data-types:cml_on_off_t
+--rw interfaces
+--rw interface* [interface-name]
+--rw interface-name -> ../config/interface-name
+--rw config
| +--rw interface-name? -> /ipi-interface:interfaces/interface/name
| +--rw hw-timestamp? empty {feature-list:HAVE_DUNE}?
+--ro state
+--ro interface-name? -> /ipi-interface:interfaces/interface/name
+--ro hw-timestamp? empty {feature-list:HAVE_DUNE}?
rpcs:
+---x ptp-clear-statistics {feature-list:HAVE_PTP_HW_OFFLOAD,feature-list:HAVE_DUNE}?
| +---w input
| +---w clear-clock uint8
+---x ptp-terminal-debug-on {feature-list:HAVE_PTP_HW_OFFLOAD,feature-list:HAVE_DUNE}?
+---x ptp-terminal-debug-off {feature-list:HAVE_PTP_HW_OFFLOAD,feature-list:HAVE_DUNE}?
notifications:
+---n ptp-servo-state-change-notify {feature-list:HAVE_PTP_HW_OFFLOAD,feature-list:HAVE_DUNE}?
| +--ro severity? cml-data-types:cml_notif_severity_t
| +--ro eventClass? cml-data-types:cml_notif_class_t
| +--ro instance-type? uint8
| +--ro previous-state? ipi-ptp-types:ptp_servo_state_t
| +--ro current-state? ipi-ptp-types:ptp_servo_state_t
+---n ptp-servo-state-change-custom1-notify {feature-list:HAVE_DUNE,feature-list:HAVE_PTP_HW_OFFLOAD_CUSTOM1_OR_HAVE_PTP_HW_OFFLOAD_CUSTOM2}?
+--ro severity? cml-data-types:cml_notif_severity_t
+--ro eventClass? cml-data-types:cml_notif_class_t
+--ro instance-type? uint8
+--ro previous-servo-state? ipi-ptp-types:ptp_servo_state_custom_t
+--ro current-servo-state? ipi-ptp-types:ptp_servo_state_custom_t