---
title: ptp
slug: enterprise-v6p1/ptp
createdAt: 2025-12-17T08:17:57.919Z
---

AsterNOS Model for ptp groups

# <font color="#1d50a2">YANG Tree Diagram</font>

```none
module: asternos-ptp
  +--rw ptp
     +--rw global
     |  +--rw enabled?     boolean
     |  +--rw log-level?   af-ptp-types:log-level-enumeration
     +--rw instances
        +--rw instance* [instance-number]
           +--rw instance-number    uint32
           +--rw default-ds
           |  +--rw clock-quality
           |  |  +--rw clock-class?      uint8
           |  |  +--rw clock-accuracy?   yang:hex-string
           |  +--rw two-step-flag?        boolean
           |  +--rw clock-identity?       af-ptp-types:clock-identity-type
           |  +--rw dscp?                 uint8
           |  +--rw priority?             uint8
           |  +--rw priority1?            uint8
           |  +--rw priority2?            uint8
           |  +--ro domain-number?        uint8
           |  +--rw instance-type?        af-ptp-types:instance-type
           |  +--rw network-transport?    af-ptp-types:network-transport-enumeration
           |  +--rw communication-mode?   af-ptp-types:communication-mode-enumeration
           |  +--rw source-ip-address?    inet:ip-address-no-zone
           |  +--rw profile?              af-ptp-types:ptp-profile-enumeration
           |  +--rw delay-mechanism?      af-ptp-types:delay-mechanism-enumeration
           |  +--rw minor-version?        uint8
           |  +--ro local-time?           uint64
           |  +--rw smpte
           |     +--rw sm-tlv-enable?                    boolean
           |     +--rw frame-rate-numerator?             uint32
           |     +--rw frame-rate-denominator?           uint32
           |     +--rw sm-tlv-drop-frame?                boolean
           |     +--rw sm-tlv-color-frame?               boolean
           |     +--ro grandmaster-lock-status?          string
           |     +--ro time-address-flags?               string
           |     +--ro current-local-offset?             string
           |     +--ro jump-seconds?                     string
           |     +--ro time-of-next-jump?                string
           |     +--ro time-of-next-jam?                 string
           |     +--ro time-of-previous-jam?             string
           |     +--ro previous-jam-local-time-offset?   string
           |     +--ro daylight-saving?                  string
           |     +--ro leap-seconds-jump?                string
           +--rw ports
           |  +--rw port* [port]
           |     +--rw port       if:interface-ref
           |     +--rw port-ds
           |        +--rw log-announce-interval?         int8
           |        +--rw announce-receipt-timeout?      uint8
           |        +--rw log-sync-interval?             int8
           |        +--rw log-min-delay-req-interval?    int8
           |        +--rw log-min-pdelay-req-interval?   int8
           |        +--rw asymmetry-correction?          int32
           |        +--rw dscp?                          uint8
           |        +--rw port-state?                    af-ptp-types:port-state-enumeration
           |        +--rw port-enable?                   boolean
           |        +--ro port-number?                   uint16
           |        +--rw unicast-master-table* [address]
           |        |  +--rw address    inet:ip-address-no-zone
           |        +--rw source-ip-address?             inet:ip-address-no-zone
           |        +--rw priority?                      uint8
           +--ro current-ds
           |  +--ro steps-removed?        uint16
           |  +--ro offset-from-master?   af-ptp-types:time-interval-type
           |  +--ro mean-path-delay?      af-ptp-types:time-interval-type
           |  +--ro servo-state?          af-ptp-types:servo-state-enumeration
           +--ro parent-ds
              +--ro parent-port-identity?        string
              +--ro grandmaster-identity?        af-ptp-types:clock-identity-type
              +--ro grandmaster-clock-quality
              |  +--ro clock-class?      uint8
              |  +--ro clock-accuracy?   yang:hex-string
              +--ro grandmaster-priority1?       uint8
              +--ro grandmaster-priority2?       uint8

  rpcs:
    +---x ptp-reset
    |  +--ro output
    |     +--ro status?   string
    +---x show-ptp-clock
    |  +---w input
    |  |  +---w instance-number?   uint32
    |  +--ro output
    |     +--ro data?   <anydata>
    +---x show-ptp-clock-sm-tlv
    |  +---w input
    |  |  +---w instance-number?   uint32
    |  +--ro output
    |     +--ro data?   <anydata>
    +---x show-ptp-interface
    |  +---w input
    |  |  +---w port?   if:interface-ref
    |  +--ro output
    |     +--ro data?   <anydata>
    +---x show-ptp-counters
    |  +--ro output
    |     +--ro data?   <anydata>
    +---x show-ptp-counters-interface
    |  +---w input
    |  |  +---w port?   if:interface-ref
    |  +--ro output
    |     +--ro data?   <anydata>
    +---x show-ptp-counters-instance
       +---w input
       |  +---w instance-number?   uint32
       +--ro output
          +--ro data?   <anydata>
```

# <font color="#1d50a2">Resources</font>

## <font color="#1d50a2">Resource List</font>

| **Path**                                                                   | **Access** |
| -------------------------------------------------------------------------- | ---------- |
| /ptp                                                                       | Read-Write |
| /ptp/global                                                                | Read-Write |
| /ptp/global/enabled                                                        | Read-Write |
| /ptp/global/log-level                                                      | Read-Write |
| /ptp/instances                                                             | Read-Write |
| /ptp/instances/instance                                                    | Read-Write |
| /ptp/instances/instance/instance-number                                    | Read-Write |
| /ptp/instances/instance/default-ds                                         | Read-Write |
| /ptp/instances/instance/default-ds/clock-quality                           | Read-Write |
| /ptp/instances/instance/default-ds/clock-quality/clock-class               | Read-Write |
| /ptp/instances/instance/default-ds/clock-quality/clock-accuracy            | Read-Write |
| /ptp/instances/instance/default-ds/two-step-flag                           | Read-Write |
| /ptp/instances/instance/default-ds/clock-identity                          | Read-Write |
| /ptp/instances/instance/default-ds/dscp                                    | Read-Write |
| /ptp/instances/instance/default-ds/priority                                | Read-Write |
| /ptp/instances/instance/default-ds/priority1                               | Read-Write |
| /ptp/instances/instance/default-ds/priority2                               | Read-Write |
| /ptp/instances/instance/default-ds/domain-number                           | Read-Only  |
| /ptp/instances/instance/default-ds/instance-type                           | Read-Write |
| /ptp/instances/instance/default-ds/network-transport                       | Read-Write |
| /ptp/instances/instance/default-ds/communication-mode                      | Read-Write |
| /ptp/instances/instance/default-ds/source-ip-address                       | Read-Write |
| /ptp/instances/instance/default-ds/profile                                 | Read-Write |
| /ptp/instances/instance/default-ds/delay-mechanism                         | Read-Write |
| /ptp/instances/instance/default-ds/minor-version                           | Read-Write |
| /ptp/instances/instance/default-ds/local-time                              | Read-Only  |
| /ptp/instances/instance/default-ds/smpte                                   | Read-Write |
| /ptp/instances/instance/default-ds/smpte/sm-tlv-enable                     | Read-Write |
| /ptp/instances/instance/default-ds/smpte/frame-rate-numerator              | Read-Write |
| /ptp/instances/instance/default-ds/smpte/frame-rate-denominator            | Read-Write |
| /ptp/instances/instance/default-ds/smpte/sm-tlv-drop-frame                 | Read-Write |
| /ptp/instances/instance/default-ds/smpte/sm-tlv-color-frame                | Read-Write |
| /ptp/instances/instance/default-ds/smpte/grandmaster-lock-status           | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/time-address-flags                | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/current-local-offset              | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/jump-seconds                      | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/time-of-next-jump                 | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/time-of-next-jam                  | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/time-of-previous-jam              | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/previous-jam-local-time-offset    | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/daylight-saving                   | Read-Only  |
| /ptp/instances/instance/default-ds/smpte/leap-seconds-jump                 | Read-Only  |
| /ptp/instances/instance/ports                                              | Read-Write |
| /ptp/instances/instance/ports/port                                         | Read-Write |
| /ptp/instances/instance/ports/port/port                                    | Read-Write |
| /ptp/instances/instance/ports/port/port-ds                                 | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/log-announce-interval           | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/announce-receipt-timeout        | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/log-sync-interval               | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/log-min-delay-req-interval      | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/log-min-pdelay-req-interval     | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/asymmetry-correction            | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/dscp                            | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/port-state                      | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/port-enable                     | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/port-number                     | Read-Only  |
| /ptp/instances/instance/ports/port/port-ds/unicast-master-table            | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/unicast-master-table/address    | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/source-ip-address               | Read-Write |
| /ptp/instances/instance/ports/port/port-ds/priority                        | Read-Write |
| /ptp/instances/instance/current-ds                                         | Read-Only  |
| /ptp/instances/instance/current-ds/steps-removed                           | Read-Only  |
| /ptp/instances/instance/current-ds/offset-from-master                      | Read-Only  |
| /ptp/instances/instance/current-ds/mean-path-delay                         | Read-Only  |
| /ptp/instances/instance/current-ds/servo-state                             | Read-Only  |
| /ptp/instances/instance/parent-ds                                          | Read-Only  |
| /ptp/instances/instance/parent-ds/parent-port-identity                     | Read-Only  |
| /ptp/instances/instance/parent-ds/grandmaster-identity                     | Read-Only  |
| /ptp/instances/instance/parent-ds/grandmaster-clock-quality                | Read-Only  |
| /ptp/instances/instance/parent-ds/grandmaster-clock-quality/clock-class    | Read-Only  |
| /ptp/instances/instance/parent-ds/grandmaster-clock-quality/clock-accuracy | Read-Only  |
| /ptp/instances/instance/parent-ds/grandmaster-priority1                    | Read-Only  |
| /ptp/instances/instance/parent-ds/grandmaster-priority2                    | Read-Only  |

## <font color="#1d50a2">Detailed Nodes</font>

### <font color="#1d50a2">/ptp</font>

**Path**
/ptp

**Node Type**
container

**Description**
The PTP struct containing all attributes of PTP data set, other optional PTP attributes can be augmented as well.

**Access**
Read-Write

### <font color="#1d50a2">/ptp/global</font>

**Path**
/ptp/global

**Node Type**
container

**Access**
Read-Write

### <font color="#1d50a2">/ptp/global/enabled</font>

**Path**
/ptp/global/enabled

**Node Type**
leaf

**Description**
PTP status, true means PTP is enabled, false means PTP is disabled

**Access**
Read-Write

**Data Type**
\<YANG type boolean>

**Constraints**
Valid in \[true, false]

### <font color="#1d50a2">/ptp/global/log-level</font>

**Path**
/ptp/global/log-level

**Node Type**
leaf

**Description**
The log level of the ptp4l level, default is info.

**Access**
Read-Write

**Data Type**
\<YANG type log-level-enumeration>

**Constraints**

Enumeration with options:
debug
info
notice
warning
error

### <font color="#1d50a2">/ptp/instances</font>

**Path**
/ptp/instances

**Node Type**
container

**Description**
YANG container that is used to get all PTP Instances. YANG does not allow get of all elements in a YANG list, so a YANG container wrapping the YANG list is provided for that purpose. The naming convention uses plural for the wrapping YANG container, and singular for the YANG list.

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance</font>

**Path**
/ptp/instances/instance

**Node Type**
list

**Description**
List of one or more PTP data sets in the device
Each PTP data set represents a distinct instance of PTP implementation in the device (i.e., distinct Ordinary Clock or Boundary Clock).

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance/instance-number</font>

**Path**
/ptp/instances/instance/instance-number

**Node Type**
leaf

**Description**
The instance number of the current PTP instance.
This instance number is used for management purposes only. This instance number does not represent the PTP domain number and is not used in PTP messages.

**Access**
Read-Write

**Data Type**
\<YANG type uint32>

**Mandatory**
Yes

### <font color="#1d50a2">/ptp/instances/instance/default-ds</font>

**Path**
/ptp/instances/instance/default-ds

**Node Type**
container

**Description**
The default data set of the PTP Instance.

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance/default-ds/clock-quality</font>

**Path**
/ptp/instances/instance/default-ds/clock-quality

**Node Type**
container

**Description**
The IEEE Std 1588 clockQuality of the PTP Instance.
PTP Instances with better quality are more likely to become the Grandmaster PTP Instance.

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance/default-ds/clock-quality/clock-class</font>

**Path**
/ptp/instances/instance/default-ds/clock-quality/clock-class

**Node Type**
leaf

**Description**
The clockClass denotes the traceability of the time or frequency distributed by the clock.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/clock-quality/clock-accuracy</font>

**Path**
/ptp/instances/instance/default-ds/clock-quality/clock-accuracy

**Node Type**
leaf

**Description**
The clockAccuracy indicates the expected accuracy of the clock, range 0 to 0xFE.

**Access**
Read-Write

**Data Type**
\<YANG type hex-string>

**Constraints**
A hexadecimal string with octets represented as hex digits separated by colons. The canonical representation uses lowercase characters.

### <font color="#1d50a2">/ptp/instances/instance/default-ds/two-step-flag</font>

**Path**
/ptp/instances/instance/default-ds/two-step-flag

**Node Type**
leaf

**Description**
When set to true, the PTP Instance is two-step, otherwise the PTP Instance is one-step.

**Access**
Read-Write

**Data Type**
\<YANG type boolean>

**Constraints**
Valid in \[true, false]

### <font color="#1d50a2">/ptp/instances/instance/default-ds/clock-identity</font>

**Path**
/ptp/instances/instance/default-ds/clock-identity

**Node Type**
leaf

**Description**
The clockIdentity of the local clock.

**Access**
Read-Write

**Data Type**
\<YANG type clock-identity-type>

**Constraints**
Derived data type to identify a clock, format: \[0-9a-fA-F]&#x7B;6}.\[0-9a-fA-F]&#x7B;4}.\[0-9a-fA-F]&#x7B;6} should be like: xxxxxx.xxxx.xxxxxx

### <font color="#1d50a2">/ptp/instances/instance/default-ds/dscp</font>

**Path**
/ptp/instances/instance/default-ds/dscp

**Node Type**
leaf

**Description**
DSCP of ptp packets in this instance.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

**Constraints**
Valid range: 0 to 63

### <font color="#1d50a2">/ptp/instances/instance/default-ds/priority</font>

**Path**
/ptp/instances/instance/default-ds/priority

**Node Type**
leaf

**Description**
The priority of the PTP Instance.
Since priority is one of the comparisons performed by the Alternative Best Master Clock Algorithm (ABMCA), this leaf's configuration can be used to explicitly select a Grandmaster PTP Instance.
Lower values take precedence.
The value of priority shall be configurable to any value in the range 1 to 255, unless restricted by limits established by the applicable PTP Profile.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

**Constraints**
Valid range: 1 to 255

### <font color="#1d50a2">/ptp/instances/instance/default-ds/priority1</font>

**Path**
/ptp/instances/instance/default-ds/priority1

**Node Type**
leaf

**Description**
The IEEE Std 1588 priority1 of the PTP Instance.
Since priority1 is one of the first comparisons performed by the Best Master Clock Algorithm (BMCA), this leaf's configuration can be used to explicitly select a Grandmaster PTP Instance.
Lower values take precedence.
The value of priority1 shall be configurable to any value in the range 0 to 255, unless restricted by limits established by the applicable PTP Profile.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/priority2</font>

**Path**
/ptp/instances/instance/default-ds/priority2

**Node Type**
leaf

**Description**
The IEEE Std 1588 priority2 of the PTP Instance.
The priority2 member is compared by the Best Master
Clock Algorithm (BMCA) after priority1 and clockQuality.
Lower values take precedence.
The value of priority2 shall be configurable to any value in the range 0 to 255, unless restricted by limits established by the applicable PTP Profile.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/domain-number</font>

**Path**
/ptp/instances/instance/default-ds/domain-number

**Node Type**
leaf

**Description**
The IEEE Std 1588 domainNumber of the PTP Instance.
A domain consists of one or more PTP Instances communicating with each other as defined by the protocol.
A domain shall define the scope of PTP message communication, state, operations, data sets, and timescale.

**Access**
Read-Only

**Data Type**
\<YANG type uint8>

**Constraints**
Valid range: 0 to 127

### <font color="#1d50a2">/ptp/instances/instance/default-ds/instance-type</font>

**Path**
/ptp/instances/instance/default-ds/instance-type

**Node Type**
leaf

**Description**
The clock type of PTP instance.

**Access**
Read-Write

**Data Type**
\<YANG type instance-type>

**Constraints**
Enumeration with options:
bc
oc
tc
t-gm
t-tsc
t-bc
t-tc
t-tsc-p
t-bc-p

### <font color="#1d50a2">/ptp/instances/instance/default-ds/network-transport</font>

**Path**
/ptp/instances/instance/default-ds/network-transport

**Node Type**
leaf

**Description**
The network transport used for communication

**Access**
Read-Write

**Data Type**
\<YANG type network-transport-enumeration>

**Constraints**
Enumeration with options:
ethernet
udpv4
udpv6

### <font color="#1d50a2">/ptp/instances/instance/default-ds/communication-mode</font>

**Path**
/ptp/instances/instance/default-ds/communication-mode

**Node Type**
leaf

**Description**
The communication mode used by the ptp instance.

**Access**
Read-Write

**Data Type**
\<YANG type communication-mode-enumeration>

**Constraints**
Enumeration with options:
multicast
unicast
mixed

### <font color="#1d50a2">/ptp/instances/instance/default-ds/source-ip-address</font>

**Path**
/ptp/instances/instance/default-ds/source-ip-address

**Node Type**
leaf

**Description**
The source ip address of ptp packet.

**Access**
Read-Write

**Data Type**
\<YANG type ip-address-no-zone>

**Constraints**
Multiple constraints:

- An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.
- An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

### <font color="#1d50a2">/ptp/instances/instance/default-ds/profile</font>

**Path**
/ptp/instances/instance/default-ds/profile

**Node Type**
leaf

**Description**
The protocol standard used by ptp instance.

**Access**
Read-Write

**Data Type**
\<YANG type ptp-profile-enumeration>

**Constraints**
Enumeration with options:
1588v2
smpte-2059-2
g8275.1
g8275.2
aes67

### <font color="#1d50a2">/ptp/instances/instance/default-ds/delay-mechanism</font>

**Path**
/ptp/instances/instance/default-ds/delay-mechanism

**Node Type**
leaf

**Description**
The propagation delay measuring option used by the transparent clock.

**Access**
Read-Write

**Data Type**
\<YANG type delay-mechanism-enumeration>

**Constraints**
Enumeration with options:
e2e
p2p

### <font color="#1d50a2">/ptp/instances/instance/default-ds/minor-version</font>

**Path**
/ptp/instances/instance/default-ds/minor-version

**Node Type**
leaf

**Description**
The minor version of the PTP Instance.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

**Constraints**
Valid range: 0 to 1

### <font color="#1d50a2">/ptp/instances/instance/default-ds/local-time</font>

**Path**
/ptp/instances/instance/default-ds/local-time

**Node Type**
leaf

**Description**
The local time of the this instance's clock in nanoseconds.

**Access**
Read-Only

**Data Type**
\<YANG type uint64>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte</font>

**Path**

/ptp/instances/instance/default-ds/smpte

**Node Type**

container

**Description**

The smpte-2059-2 profile data.

**Access**

Read-Write

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/sm-tlv-enable</font>

**Path**
/ptp/instances/instance/default-ds/smpte/sm-tlv-enable

**Node Type**
leaf

**Description**
Enable smpte smpte sm-tlv. default is false.

**Access**
Read-Write

**Data Type**
\<YANG type boolean>

**Constraints**
Valid in \[true, false]

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/frame-rate-numerator</font>

**Path**
/ptp/instances/instance/default-ds/smpte/frame-rate-numerator

**Node Type**
leaf

**Description**
The numerator of the frame rate.

**Access**
Read-Write

**Data Type**
\<YANG type uint32>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/frame-rate-denominator</font>

**Path**
/ptp/instances/instance/default-ds/smpte/frame-rate-denominator

**Node Type**
leaf

**Description**
The denominator of the frame rate.

**Access**
Read-Write

**Data Type**
\<YANG type uint32>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/sm-tlv-drop-frame</font>

**Path**
/ptp/instances/instance/default-ds/smpte/sm-tlv-drop-frame

**Node Type**
leaf

**Description**
Enable smpte smpte sm-tlv drop frame. default is false.

**Access**
Read-Write

**Data Type**
\<YANG type boolean>

**Constraints**
Valid in \[true, false]

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/sm-tlv-color-frame</font>

**Path**
/ptp/instances/instance/default-ds/smpte/sm-tlv-color-frame

**Node Type**
leaf

**Description**
Enable smpte smpte sm-tlv color frame. default is false.

**Access**
Read-Write

**Data Type**
\<YANG type boolean>

**Constraints**
Valid in \[true, false]

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/grandmaster-lock-status</font>

**Path**
/ptp/instances/instance/default-ds/smpte/grandmaster-lock-status

**Node Type**
leaf

**Description**
smpte sm-tlv grandmaster lock status.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/time-address-flags</font>

**Path**
/ptp/instances/instance/default-ds/smpte/time-address-flags

**Node Type**
leaf

**Description**
smpte sm-tlv time address flags.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/current-local-offset</font>

**Path**
/ptp/instances/instance/default-ds/smpte/current-local-offset

**Node Type**
leaf

**Description**
smpte sm-tlv current local offset.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/jump-seconds</font>

**Path**
/ptp/instances/instance/default-ds/smpte/jump-seconds

**Node Type**
leaf

**Description**
smpte sm-tlv jump seconds.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/time-of-next-jump</font>

**Path**
/ptp/instances/instance/default-ds/smpte/time-of-next-jump

**Node Type**
leaf

**Description**
smpte sm-tlv time of next jump.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/time-of-next-jam</font>

**Path**
/ptp/instances/instance/default-ds/smpte/time-of-next-jam

**Node Type**
leaf

**Description**
smpte sm-tlv time of next jam.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/time-of-previous-jam</font>

**Path**
/ptp/instances/instance/default-ds/smpte/time-of-previous-jam

**Node Type**
leaf

**Description**
smpte sm-tlv time of previous jam.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/previous-jam-local-time-offset</font>

**Path**
/ptp/instances/instance/default-ds/smpte/previous-jam-local-time-offset

**Node Type**
leaf

**Description**
smpte sm-tlv previous jam local time offset.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/daylight-saving</font>

**Path**
/ptp/instances/instance/default-ds/smpte/daylight-saving

**Node Type**
leaf

**Description**
smpte sm-tlv daylight saving.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/default-ds/smpte/leap-seconds-jump</font>

**Path**
/ptp/instances/instance/default-ds/smpte/leap-seconds-jump

**Node Type**
leaf

**Description**
smpte sm-tlv leap seconds jump.

**Access**
Read-Only

**Data Type**
\<YANG type string>

### <font color="#1d50a2">/ptp/instances/instance/ports</font>

**Path**
/ptp/instances/instance/ports

**Node Type**
container

**Description**
YANG container is used to get all ptp ports in this ptp instance.
YANG does not allow get all elements in a YANG list, so a YANG container wrapping the YANG list is provided for that purpose. The naming convention uses plural for the wrapping YANG container, and singular for the YANG list.

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance/ports/port</font>

**Path**
/ptp/instances/instance/ports/port

**Node Type**
list

**Description**
List of data for each PTP port in PTP instance.

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port</font>

**Path**
/ptp/instances/instance/ports/port/port

**Node Type**
leaf

**Description**
Reference to the configured underlying interface that is used by this PTP port (see RFC 8343).

**Access**
Read-Write

**Data Type**
\<YANG type interface-ref>

**Constraints**
LeafRef pointing to: asternos-interfaces\:interface-ref

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds</font>

**Path**
/ptp/instances/instance/ports/port/port-ds

**Node Type**
container

**Description**
Primary data set of the port

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/log-announce-interval</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/log-announce-interval

**Node Type**
leaf

**Description**
The base-2 logarithm of the mean announceInterval (mean time interval between successive Announce messages).
for smpte-2059-2, default is 0 (-3..1) for profile g8275.2, default is -3 (-3..0) for profile 1588v2, default is 1 (0..4) for profile aes67, default is 1 (0..4)

**Access**
Read-Write

**Data Type**
\<YANG type int8>

**Constraints**
Valid range: -3 to 4

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/announce-receipt-timeout</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/announce-receipt-timeout

**Node Type**
leaf

**Description**
The number of announceIntervals that have to pass without receipt of an Announce message before the occurrence of the event ANNOUNCE\_RECEIPT\_TIMEOUT\_EXPIRES.

**Access**
Read-Write

**Data Type**
\<YANG type int8>

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/log-sync-interval</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/log-sync-interval

**Node Type**
leaf

**Description**
The base-2 logarithm of the mean SyncInterval for multicast messages. The rates for unicast transmissions are negotiated separately on a per-port basis and are not constrained by this attribute.

**Access**
Read-Write

**Data Type**
\<YANG type int8>

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/log-min-delay-req-interval</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/log-min-delay-req-interval

**Node Type**
leaf

**Description**
The base-2 logarithm of the minDelayReqInterval (the minimum permitted mean time interval between successive Delay\_Req messages).

**Access**
Read-Write

**Data Type**
\<YANG type int8>

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/log-min-pdelay-req-interval</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/log-min-pdelay-req-interval

**Node Type**
leaf

**Description**
The base-2 logarithm of the minPdelayReqInterval (minimum permitted mean time interval between successive Pdelay\_Req messages).

**Access**
Read-Write

**Data Type**
\<YANG type int8>

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/asymmetry-correction</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/asymmetry-correction

**Node Type**
leaf

**Description**
Asymmetrical delay correction value on the interface.

**Access**
Read-Write

**Data Type**
\<YANG type int32>

**Constraints**
Valid range: -100000000 to 100000000

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/dscp</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/dscp

**Node Type**
leaf

**Description**
DSCP of ptp packets sent from the interface.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

**Constraints**
Valid range: 0 to 63

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/port-state</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/port-state

**Node Type**
leaf

**Description**
Current state associated with the port.

**Access**
Read-Write

**Data Type**
\<YANG type port-state-enumeration>

**Constraints**
Enumeration with options:
master
passive
slave
none

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/port-enable</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/port-enable

**Node Type**
leaf

**Description**
Indicates if the PTP Port is enabled for
PTP operation.
If the PTP Port is disabled, the PTP Port will not send or receive
PTP messages.

**Access**
Read-Write

**Data Type**
\<YANG type boolean>

**Constraints**
Valid in \[true, false]

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/port-number</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/port-number

**Node Type**
leaf

**Description**
The port-number is allocated by internal process and is used in ptp messages.

**Access**
Read-Only

**Data Type**
\<YANG type uint16>

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/unicast-master-table</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/unicast-master-table

**Node Type**
list

**Description**
The list of master ip address for this instance.

**Access**
Read-Write

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/unicast-master-table/address</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/unicast-master-table/address

**Node Type**
leaf

**Description**
The master ip address.

**Access**
Read-Write

**Data Type**
\<YANG type ip-address-no-zone>

**Constraints**
Multiple constraints:

- An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.
- An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/source-ip-address</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/source-ip-address

**Node Type**
leaf

**Description**
The source ip address of ptp packet.

**Access**
Read-Write

**Data Type**
\<YANG type ip-address-no-zone>

**Constraints**
Multiple constraints:

- An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.
- An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

### <font color="#1d50a2">/ptp/instances/instance/ports/port/port-ds/priority</font>

**Path**
/ptp/instances/instance/ports/port/port-ds/priority

**Node Type**
leaf

**Description**
The priority of the PTP Port.
Since priority is one of the comparisons performed by the Alternative Best Master Clock Algorithm (ABMCA), this leaf's configuration can be used to explicitly select a Grandmaster PTP Instance.
Lower values take precedence.
The value of priority shall be configurable to any value in the range 1 to 255, unless restricted by limits established by the applicable PTP Profile.

**Access**
Read-Write

**Data Type**
\<YANG type uint8>

**Constraints**
Valid range: 1 to 255

### <font color="#1d50a2">/ptp/instances/instance/current-ds</font>

**Path**
/ptp/instances/instance/current-ds

**Node Type**
container

**Description**
The current data set of the PTP instance.

**Access**
Read-Only

### <font color="#1d50a2">/ptp/instances/instance/current-ds/steps-removed</font>

**Path**
/ptp/instances/instance/current-ds/steps-removed

**Node Type**
leaf

**Description**
The number of communication paths traversed between this ptp instance and the grandmaster ptp instance

**Access**
Read-Only

**Data Type**
\<YANG type uint16>

### <font color="#1d50a2">/ptp/instances/instance/current-ds/offset-from-master</font>

**Path**
/ptp/instances/instance/current-ds/offset-from-master

**Node Type**
leaf

**Description**
The current value of the time difference between a master and a slave clock as computed by the slave.

**Access**
Read-Only

**Data Type**
\<YANG type time-interval-type>

### <font color="#1d50a2">/ptp/instances/instance/current-ds/mean-path-delay</font>

**Path**
/ptp/instances/instance/current-ds/mean-path-delay

**Node Type**
leaf

**Description**
The current value of the mean propagation time between a master and a slave clock as computed by the slave.

**Access**
Read-Only

**Data Type**
\<YANG type time-interval-type>

### <font color="#1d50a2">/ptp/instances/instance/current-ds/servo-state</font>

**Path**
/ptp/instances/instance/current-ds/servo-state

**Node Type**
leaf

**Description**
The current state of the ptp clock.

**Access**
Read-Only

**Data Type**
\<YANG type servo-state-enumeration>

**Constraints**
Enumeration with options:
locked
unlocked

### <font color="#1d50a2">/ptp/instances/instance/parent-ds</font>

**Path**
/ptp/instances/instance/parent-ds

**Node Type**
container

**Description**
Provides data learned from the parent of this PTP instance.

**Access**
Read-Only

### <font color="#1d50a2">/ptp/instances/instance/parent-ds/parent-port-identity</font>

**Path**
/ptp/instances/instance/parent-ds/parent-port-identity

**Node Type**
leaf

**Description**
The portIdentity of the parent port.

**Access**
Read-Only

**Data Type**
\<YANG type string>

**Constraints**
String with length: 10

### <font color="#1d50a2">/ptp/instances/instance/parent-ds/grandmaster-identity</font>

**Path**
/ptp/instances/instance/parent-ds/grandmaster-identity

**Node Type**
leaf

**Description**
The clockIdentity attribute of the grandmaster clock.

**Access**
Read-Only

**Data Type**
\<YANG type clock-identity-type>

**Constraints**
Derived data type to identify a clock, format: \[0-9a-fA-F]&#x7B;6}.\[0-9a-fA-F]&#x7B;4}.\[0-9a-fA-F]&#x7B;6} should be like: xxxxxx.xxxx.xxxxxx

### <font color="#1d50a2">/ptp/instances/instance/parent-ds/grandmaster-clock-quality</font>

**Path**
/ptp/instances/instance/parent-ds/grandmaster-clock-quality

**Node Type**
container

**Description**
The clockQuality of the grandmaster clock.

**Access**
Read-Only

### <font color="#1d50a2">/ptp/instances/instance/parent-ds/grandmaster-clock-quality/clock-class</font>

**Path**
/ptp/instances/instance/parent-ds/grandmaster-clock-quality/clock-class

**Node Type**
leaf

**Description**
The clockClass denotes the traceability of the time or frequency distributed by the clock.

**Access**
Read-Only

**Data Type**
\<YANG type uint8>

### <font color="#1d50a2">/ptp/instances/instance/parent-ds/grandmaster-clock-quality/clock-accuracy</font>

**Path**
/ptp/instances/instance/parent-ds/grandmaster-clock-quality/clock-accuracy

**Node Type**
leaf

**Description**
The clockAccuracy indicates the expected accuracy of the clock, range 0 to 0xFE.

**Access**
Read-Only

**Data Type**
\<YANG type hex-string>

**Constraints**
A hexadecimal string with octets represented as hex digits separated by colons.The canonical representation uses lowercase characters.

### <font color="#1d50a2">/ptp/instances/instance/parent-ds/grandmaster-priority1</font>

**Path**
/ptp/instances/instance/parent-ds/grandmaster-priority1

**Node Type**
leaf

**Description**
The priority1 attribute of the grandmaster clock.

**Access**
Read-Only

**Data Type**
\<YANG type uint8>

### <font color="#1d50a2">/ptp/instances/instance/parent-ds/grandmaster-priority2</font>

**Path**
/ptp/instances/instance/parent-ds/grandmaster-priority2

**Node Type**
leaf

**Description**
The priority2 attribute of the grandmaster clock.

**Access**
Read-Only

**Data Type**
\<YANG type uint8>

