Cisco-IOS-XR-ptp-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR ptp package operational data. Copyright (c) 2013-2020...

  • Version: 2020-09-07

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


    
      submodule Cisco-IOS-XR-ptp-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-ptp-oper {
            prefix Cisco-IOS-XR-ptp-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 submodule contains a collection of YANG definitions
         for Cisco IOS-XR ptp package 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";
    
        typedef Ptp-leap-seconds-source {
          type uint8;
          description "Ptp leap seconds source";
        }
    
        typedef Ptp-clock-leap-seconds {
          type uint8;
          description "Ptp clock leap seconds";
        }
    
        typedef Ptp-msg-version {
          type uint8;
          description "Ptp msg version";
        }
    
        typedef Ptp-bag-delay-mechanism {
          type enumeration {
            enum "e2e" {
              value 0;
              description
                "End to end delay mechanism";
            }
            enum "p2p" {
              value 1;
              description
                "Peer to peer delay mechanism";
            }
          }
          description "Delay Mechanism";
        }
    
        typedef Ptp-platform-servo-status {
          type enumeration {
            enum
              "ptp-platform-servo-status-unknown" {
              value 0;
              description
                "ptp platform servo status unknown";
            }
            enum
              "ptp-platform-servo-status-freerun" {
              value 1;
              description
                "ptp platform servo status freerun";
            }
            enum
              "ptp-platform-servo-status-acquiring" {
              value 2;
              description
                "ptp platform servo status acquiring";
            }
            enum
              "ptp-platform-servo-status-freq-locked" {
              value 3;
              description
                "ptp platform servo status freq locked";
            }
            enum
              "ptp-platform-servo-status-phase-aligned" {
              value 4;
              description
                "ptp platform servo status phase aligned";
            }
            enum
              "ptp-platform-servo-status-hold-over" {
              value 5;
              description
                "ptp platform servo status hold over";
            }
          }
          description
            "Ptp platform servo status";
        }
    
        typedef Ptp-bag-telecom-clock {
          type enumeration {
            enum "grandmaster" {
              value 0;
              description "Grandmaster";
            }
            enum "boundary" {
              value 1;
              description "Boundary";
            }
            enum "slave" {
              value 2;
              description "Slave";
            }
          }
          description "Telecom Clock";
        }
    
        typedef Ptp-bag-optional-string {
          type string;
          description "Ptp bag optional string";
        }
    
        typedef Ptp-bag-profile {
          type enumeration {
            enum "default" {
              value 0;
              description
                "1588v2 profile (default)";
            }
            enum "g82651" {
              value 1;
              description "G.8265.1 profile";
            }
            enum "g82751" {
              value 2;
              description "G.8275.1 profile";
            }
            enum "g82752" {
              value 3;
              description "G.8275.2 profile";
            }
          }
          description "Profile";
        }
    
        typedef Ptp-bag-restrict-port-state {
          type enumeration {
            enum "any" {
              value 0;
              description "Any";
            }
            enum "slave-only" {
              value 1;
              description "Slave only";
            }
            enum "master-only" {
              value 2;
              description "Master only";
            }
          }
          description "Restrict Port State";
        }
    
        typedef Im-state-enum {
          type enumeration {
            enum "im-state-not-ready" {
              value 0;
              description "im state not ready";
            }
            enum "im-state-admin-down" {
              value 1;
              description "im state admin down";
            }
            enum "im-state-down" {
              value 2;
              description "im state down";
            }
            enum "im-state-up" {
              value 3;
              description "im state up";
            }
            enum "im-state-shutdown" {
              value 4;
              description "im state shutdown";
            }
            enum "im-state-err-disable" {
              value 5;
              description "im state err disable";
            }
            enum "im-state-down-immediate" {
              value 6;
              description
                "im state down immediate";
            }
            enum "im-state-down-immediate-admin" {
              value 7;
              description
                "im state down immediate admin";
            }
            enum "im-state-down-graceful" {
              value 8;
              description
                "im state down graceful";
            }
            enum "im-state-begin-shutdown" {
              value 9;
              description
                "im state begin shutdown";
            }
            enum "im-state-end-shutdown" {
              value 10;
              description
                "im state end shutdown";
            }
            enum "im-state-begin-error-disable" {
              value 11;
              description
                "im state begin error disable";
            }
            enum "im-state-end-error-disable" {
              value 12;
              description
                "im state end error disable";
            }
            enum "im-state-begin-down-graceful" {
              value 13;
              description
                "im state begin down graceful";
            }
            enum "im-state-reset" {
              value 14;
              description "im state reset";
            }
            enum "im-state-operational" {
              value 15;
              description "im state operational";
            }
            enum "im-state-not-operational" {
              value 16;
              description
                "im state not operational";
            }
            enum "im-state-unknown" {
              value 17;
              description "im state unknown";
            }
            enum "im-state-last" {
              value 18;
              description "im state last";
            }
          }
          description "Im state enum";
        }
    
        typedef Ptp-bag-port-state {
          type enumeration {
            enum "initializing" {
              value 0;
              description "Initializing state";
            }
            enum "listen" {
              value 1;
              description "Listen state";
            }
            enum "passive" {
              value 2;
              description "Passive state";
            }
            enum "pre-master" {
              value 3;
              description "Pre-Master state";
            }
            enum "master" {
              value 4;
              description "Master state";
            }
            enum "uncalibrated" {
              value 5;
              description "Uncalibrated state";
            }
            enum "slave" {
              value 6;
              description "Slave state";
            }
            enum "faulty" {
              value 7;
              description "Faulty state";
            }
          }
          description "Port State";
        }
    
        typedef Ptp-delay-asymmetry {
          type int32;
          description "Ptp delay asymmetry";
        }
    
        typedef Bag-in6-addr {
          type inet:ipv6-address;
          description "Bag in6 addr";
        }
    
        typedef Ptp-bag-encap {
          type enumeration {
            enum "unknown" {
              value 0;
              description
                "Unknown encapsulation";
            }
            enum "ethernet" {
              value 1;
              description
                "Ethernet encapsulation";
            }
            enum "ipv4" {
              value 2;
              description "IPv4 encapsulation";
            }
            enum "ipv6" {
              value 3;
              description "IPv6 encapsulation";
            }
          }
          description "Encapsulation";
        }
    
        typedef Ptp-domain-num {
          type uint8;
          description "Ptp domain num";
        }
    
        typedef Ptp-bag-communication-model {
          type enumeration {
            enum "unicast" {
              value 0;
              description
                "Unication communication";
            }
            enum "mixed-mode" {
              value 1;
              description
                "Mixed-mode communication";
            }
            enum "multicast" {
              value 2;
              description
                "Multicast communication";
            }
          }
          description "Communication Model";
        }
    
        typedef Ptp-bag-clock-leap-seconds {
          type enumeration {
            enum "none" {
              value 0;
              description "No leap second";
            }
            enum "leap59" {
              value 1;
              description
                "The last minute of the day has 59 seconds";
            }
            enum "leap61" {
              value 2;
              description
                "The last minute of the day has 61 seconds";
            }
          }
          units "second";
          description "Leap Seconds";
        }
    
        typedef Ptp-bag-clock-timescale {
          type enumeration {
            enum "ptp" {
              value 0;
              description "PTP timescale";
            }
            enum "arb" {
              value 1;
              description "ARB timescale";
            }
          }
          description "Timescale";
        }
    
        typedef Ptp-bag-clock-time-source {
          type enumeration {
            enum "unknown" {
              value 0;
              description "Unknown";
            }
            enum "atomic" {
              value 16;
              description "Atomic clock";
            }
            enum "gps" {
              value 32;
              description "GPS clock";
            }
            enum "terrestrial-radio" {
              value 48;
              description "Terrestrial Radio";
            }
            enum "ptp" {
              value 64;
              description
                "Precision Time Protocol";
            }
            enum "ntp" {
              value 80;
              description
                "Network Time Protocol";
            }
            enum "hand-set" {
              value 96;
              description "Hand set";
            }
            enum "other" {
              value 144;
              description "Other Time Source";
            }
            enum "internal-oscillator" {
              value 160;
              description "Internal Oscillator";
            }
          }
          description "Time source";
        }
    
        typedef Ptp-clock-oslv {
          type uint16;
          description "Ptp clock oslv";
        }
    
        typedef Ptp-clock-accuracy {
          type uint8;
          description "Ptp clock accuracy";
        }
    
        typedef Ptp-clock-class {
          type uint8;
          description "Ptp clock class";
        }
    
        typedef Ptp-clock-priority {
          type uint8;
          description "Ptp clock priority";
        }
    
        typedef Ptp-clock-id1 {
          type uint64;
          description "Ptp clock id1";
        }
    
        typedef Ptp-port-num {
          type uint16;
          description "Ptp port num";
        }
      }  // submodule Cisco-IOS-XR-ptp-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.