Cisco-IOS-XR-ethernet-sat-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ethernet-sat package operational data. This module conta...

  • Version: 2019-04-05

    Cisco-IOS-XR-ethernet-sat-oper@2019-04-05


    
      module Cisco-IOS-XR-ethernet-sat-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-sat-oper";
    
        prefix ethernet-sat-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ethernet-sat-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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 ethernet-sat package operational data.
         
         This module contains definitions
         for the following management objects:
           service-activation-test: SAT operational data
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        container service-activation-test {
          config false;
          description "SAT operational data";
          container test-statuses {
            description
              "Table for interfaces with SAT permissions";
            list test-status {
              key "interface-name";
              description
                "SAT status on the interface";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              container profile {
                description "Test profile";
                container destination {
                  description "destination";
                  leaf macaddr {
                    type yang:hex-string;
                    description "macaddr";
                  }
                }  // container destination
    
                container duration {
                  description "duration";
                  leaf is-per-step {
                    type int32;
                    description "is per step";
                  }
    
                  leaf seconds {
                    type uint32;
                    description "seconds";
                  }
                }  // container duration
    
                container ir-range {
                  description "ir range";
                  leaf units {
                    type Sat-ir-units;
                    description "units";
                  }
    
                  leaf min-value {
                    type uint32;
                    description "min value";
                  }
    
                  leaf max-value {
                    type uint32;
                    description "max value";
                  }
    
                  leaf step-size {
                    type uint32;
                    description "step size";
                  }
                }  // container ir-range
    
                container color-aware {
                  description "color aware";
                  container eir-cos {
                    description "eir cos";
                    leaf is-set {
                      type int32;
                      description "is set";
                    }
    
                    leaf value {
                      type uint8;
                      description "value";
                    }
                  }  // container eir-cos
    
                  leaf is-color-aware {
                    type int32;
                    description "is color aware";
                  }
    
                  leaf cir-units {
                    type Sat-ir-units;
                    description "cir units";
                  }
    
                  leaf cir-value {
                    type uint32;
                    description "cir value";
                  }
    
                  leaf eir-dei {
                    type int32;
                    description "eir dei";
                  }
                }  // container color-aware
    
                container packet-contents {
                  description "packet contents";
                  leaf emix {
                    type int32;
                    description "emix";
                  }
    
                  leaf sequence {
                    type string {
                      length "0..33";
                    }
                    description "sequence";
                  }
    
                  leaf u-value {
                    type uint32;
                    description "u value";
                  }
    
                  leaf size {
                    type uint32;
                    description "size";
                  }
    
                  leaf pseudo-random {
                    type int32;
                    description "pseudo random";
                  }
    
                  leaf hex-pattern {
                    type uint8;
                    description "hex pattern";
                  }
                }  // container packet-contents
    
                container outer-cos {
                  description "outer cos";
                  leaf is-set {
                    type int32;
                    description "is set";
                  }
    
                  leaf value {
                    type uint8;
                    description "value";
                  }
                }  // container outer-cos
    
                container inner-cos {
                  description "inner cos";
                  leaf is-set {
                    type int32;
                    description "is set";
                  }
    
                  leaf value {
                    type uint8;
                    description "value";
                  }
                }  // container inner-cos
    
                leaf name {
                  type string;
                  description "name";
                }
    
                leaf desc {
                  type string;
                  description "desc";
                }
    
                leaf direction {
                  type Sat-direction;
                  description "direction";
                }
    
                leaf mode {
                  type Sat-mode;
                  description "mode";
                }
              }  // container profile
    
              leaf interface-handle {
                type xr:Interface-name;
                description "Interface handle";
              }
    
              leaf interface-name-xr {
                type string;
                description "Interface name";
              }
    
              leaf state {
                type Sat-ma-state;
                description "Test state";
              }
    
              leaf permissions {
                type Sat-ma-permit;
                description "Permissions";
              }
    
              leaf abort-reason {
                type string;
                description
                  "Abort reason for aborted SAT";
              }
    
              leaf seconds-remaining {
                type uint32;
                units "second";
                description
                  "Seconds remaining on a running SAT";
              }
    
              leaf current-phase-number {
                type uint32;
                description
                  "During a SAT, the current phase number (starting
    from 1)";
              }
    
              leaf has-results-mid-phase {
                type int32;
                description
                  "Shows if the platform provide results during a
    SAT phase";
              }
    
              list phase {
                description "Test phases";
                container results {
                  description
                    "Results for this phase";
                  container cir {
                    description "cir";
                    leaf tx-packets {
                      type uint64;
                      description "tx packets";
                    }
    
                    leaf rx-packets {
                      type uint64;
                      description "rx packets";
                    }
    
                    leaf tx-bytes {
                      type uint64;
                      description "tx bytes";
                    }
    
                    leaf rx-bytes {
                      type uint64;
                      description "rx bytes";
                    }
    
                    leaf frames-lost {
                      type uint64;
                      description "frames lost";
                    }
    
                    leaf fd-min {
                      type uint64;
                      description "fd min";
                    }
    
                    leaf fd-max {
                      type uint64;
                      description "fd max";
                    }
    
                    leaf fd-mean {
                      type uint64;
                      description "fd mean";
                    }
    
                    leaf fdv-min {
                      type uint64;
                      description "fdv min";
                    }
    
                    leaf fdv-max {
                      type uint64;
                      description "fdv max";
                    }
    
                    leaf fdv-avg {
                      type uint64;
                      description "fdv avg";
                    }
    
                    leaf fdv-not-supported {
                      type int32;
                      description
                        "fdv not supported";
                    }
    
                    leaf out-of-order-pkt-cnt {
                      type uint64;
                      description
                        "out of order pkt cnt";
                    }
    
                    leaf err-pkt-cnt {
                      type uint64;
                      description "err pkt cnt";
                    }
                  }  // container cir
    
                  container eir {
                    description "eir";
                    leaf tx-packets {
                      type uint64;
                      description "tx packets";
                    }
    
                    leaf rx-packets {
                      type uint64;
                      description "rx packets";
                    }
    
                    leaf tx-bytes {
                      type uint64;
                      description "tx bytes";
                    }
    
                    leaf rx-bytes {
                      type uint64;
                      description "rx bytes";
                    }
    
                    leaf frames-lost {
                      type uint64;
                      description "frames lost";
                    }
    
                    leaf fd-min {
                      type uint64;
                      description "fd min";
                    }
    
                    leaf fd-max {
                      type uint64;
                      description "fd max";
                    }
    
                    leaf fd-mean {
                      type uint64;
                      description "fd mean";
                    }
    
                    leaf fdv-min {
                      type uint64;
                      description "fdv min";
                    }
    
                    leaf fdv-max {
                      type uint64;
                      description "fdv max";
                    }
    
                    leaf fdv-avg {
                      type uint64;
                      description "fdv avg";
                    }
    
                    leaf fdv-not-supported {
                      type int32;
                      description
                        "fdv not supported";
                    }
    
                    leaf out-of-order-pkt-cnt {
                      type uint64;
                      description
                        "out of order pkt cnt";
                    }
    
                    leaf err-pkt-cnt {
                      type uint64;
                      description "err pkt cnt";
                    }
                  }  // container eir
                }  // container results
    
                leaf ir-units {
                  type Sat-ir-units;
                  description
                    "Information rate units";
                }
    
                leaf ir-value {
                  type uint32;
                  description
                    "Information rate value";
                }
              }  // list phase
            }  // list test-status
          }  // container test-statuses
        }  // container service-activation-test
      }  // module Cisco-IOS-XR-ethernet-sat-oper
    

© 2023 YumaWorks, Inc. All rights reserved.