Cisco-IOS-XR-ptp-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ptp package operational data. This module contains defin...

  • Version: 2020-09-07

    Cisco-IOS-XR-ptp-oper@2020-09-07


    
      module Cisco-IOS-XR-ptp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ptp-oper";
    
        prefix ptp-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ptp-oper-sub1 {
          revision-date "2020-09-07";
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
    Customer Service
    
    Postal: 170 West Tasman Drive
    San Jose, CA 95134
    
    Tel: +1 800 553-NETS
    
    E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
    for Cisco IOS-XR ptp package operational data.
    
    This module contains definitions
    for the following management objects:
      ptp: PTP operational data
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-09-07" {
          description
            "Show command updates for APTS and virtual port";
        }
    
        revision "2020-02-06" {
          description
            "Added valid flags for receiver clock information, sender clock information and master entry properties.
    2019-12-18
    Added checksum related packet drop reasons and servo status enums.";
        }
    
        revision "2019-10-01" {
          description
            "Corrected enum names for servo.
    2019-09-30
    Added incompatible packet for non-negotiated setting in packet drop reasons.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-02-02" {
          description "Initial version.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.2.0";
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        container ptp {
          config false;
          description "PTP operational data";
          container nodes {
            description
              "Table for node-specific operational data";
            list node {
              key "node-name";
              description
                "Node-specific operational data for a given node";
              container node-interface-foreign-masters {
                description
                  "Table for node foreign master clock
    operational data";
                list node-interface-foreign-master {
                  key "interface-name";
                  description
                    "Node interface foreign master clock
    operational data";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  uses PTP-IF-CLOCK-INFO;
                }  // list node-interface-foreign-master
              }  // container node-interface-foreign-masters
    
              container summary {
                description
                  "Node summary operational data";
                uses PTP-SUMMARY-INFO;
              }  // container summary
    
              container node-interfaces {
                description
                  "Table for node interface operational data";
                list node-interface {
                  key "interface-name";
                  description
                    "Node interface operational data";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  uses PTP-IF-INFO;
                }  // list node-interface
              }  // container node-interfaces
    
              container node-interface-unicast-peers {
                description
                  "Table for node unicast peers operational data";
                list node-interface-unicast-peer {
                  key "interface-name";
                  description
                    "Node interface unicast peers operational data";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  uses PTP-IF-UNICAST-PEER-INFO;
                }  // list node-interface-unicast-peer
              }  // container node-interface-unicast-peers
    
              container packet-counters {
                description
                  "Node packet counter operational data";
                uses PTP-NODE-PACKET-COUNTER-INFO;
              }  // container packet-counters
    
              leaf node-name {
                type xr:Node-id;
                description "Node";
              }
            }  // list node
          }  // container nodes
    
          container summary {
            description
              "Summary operational data";
            uses PTP-SUMMARY-INFO;
          }  // container summary
    
          container interface-configuration-errors {
            description
              "Table for interface configuration error
    operational data";
            list interface-configuration-error {
              key "interface-name";
              description
                "Interface configuration error operational data";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              uses PTP-IF-CONFIG-ERRORS-ENTRY;
            }  // list interface-configuration-error
          }  // container interface-configuration-errors
    
          container interface-foreign-masters {
            description
              "Table for interface foreign master clock
    operational data";
            list interface-foreign-master {
              key "interface-name";
              description
                "Interface foreign master clock operational data";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              uses PTP-IF-CLOCK-INFO;
            }  // list interface-foreign-master
          }  // container interface-foreign-masters
    
          container interface-interops {
            description
              "Table for interface interop operational data";
            list interface-interop {
              key "interface-name";
              description
                "Interface interop operational data";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              uses PTP-IF-INTEROP-INFO;
            }  // list interface-interop
          }  // container interface-interops
    
          container local-clock {
            description
              "Local clock operational data";
            uses PTP-LOCAL-CLOCK-INFO;
          }  // container local-clock
    
          container interface-packet-counters {
            description
              "Table for interface packet counter operational
    data";
            list interface-packet-counter {
              key "interface-name";
              description
                "Interface packet counter operational data";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              uses PTP-IF-PACKET-COUNTER-INFO;
            }  // list interface-packet-counter
          }  // container interface-packet-counters
    
          container advertised-clock {
            description
              "Advertised clock operational data";
            uses PTP-ADVERTISED-CLOCK-INFO;
          }  // container advertised-clock
    
          container interfaces {
            description
              "Table for interface operational data";
            list interface {
              key "interface-name";
              description
                "Interface operational data";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              uses PTP-IF-INFO;
            }  // list interface
          }  // container interfaces
    
          container dataset {
            description "Global PTP datasets";
            container default-ds {
              description
                "defaultDS information as described in IEEE
    1588-2008";
              uses PTP-DEFAULT-DS-INFO;
            }  // container default-ds
    
            container current-ds {
              description
                "currentDS information as described in IEEE
    1588-2008";
              uses PTP-CURRENT-DS-INFO;
            }  // container current-ds
    
            container parent-ds {
              description
                "parentDS information as described in IEEE
    1588-2008";
              uses PTP-PARENT-DS-INFO;
            }  // container parent-ds
    
            container port-dses {
              description
                "Table for portDS information";
              list port-ds {
                key "interface-name";
                description "PortDS information";
                leaf interface-name {
                  type xr:Interface-name;
                  description "Interface name";
                }
    
                uses PTP-PORT-DS-INFO;
              }  // list port-ds
            }  // container port-dses
    
            container time-properties-ds {
              description
                "timePropertiesDS information as described in
    IEEE 1588-2008";
              uses PTP-TIME-PROPERTIES-DS-INFO;
            }  // container time-properties-ds
          }  // container dataset
    
          container global-configuration-error {
            description
              "Global configuration error operational data";
            uses PTP-GL-CONFIG-ERRORS-INFO;
          }  // container global-configuration-error
    
          container grandmaster {
            description
              "Grandmaster clock operational data";
            uses PTP-GRANDMASTER-INFO;
          }  // container grandmaster
    
          container interface-unicast-peers {
            description
              "Table for interface unicast peers operational
    data";
            list interface-unicast-peer {
              key "interface-name";
              description
                "Interface unicast peers operational data";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              uses PTP-IF-UNICAST-PEER-INFO;
            }  // list interface-unicast-peer
          }  // container interface-unicast-peers
    
          container utc-offset-info {
            description "UTC offset information";
            uses PTP-LEAP-SECONDS-INFO;
          }  // container utc-offset-info
        }  // container ptp
      }  // module Cisco-IOS-XR-ptp-oper
    

© 2023 YumaWorks, Inc. All rights reserved.