Cisco-IOS-XR-ethernet-sat-cfg

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

  • Version: 2020-04-15

    Cisco-IOS-XR-ethernet-sat-cfg@2020-04-15


      module Cisco-IOS-XR-ethernet-sat-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-sat-cfg";
    
        prefix ethernet-sat-cfg;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ethernet-sat-datatypes {
          prefix dt1;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
    
        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 configuration.
         
         This module contains definitions
         for the following management objects:
           service-activation-test: Service Activation Testing global
             configuration
         
         This YANG module augments the
           Cisco-IOS-XR-ifmgr-cfg
         module with configuration data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-04-15" {
          description
            "Fixed must conditions bug.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        container service-activation-test {
          description
            "Service Activation Testing global configuration";
          container profiles {
            description
              "Table for profile configuration";
            list profile {
              key "profile-name";
              description
                "Profile configuration";
              container color-aware {
                description
                  "Set the SAT color aware config";
                leaf cir-value {
                  type uint32 {
                    range "1..4294967295";
                  }
                  must
                    "(../cir-units and ../set-dei) or (../cir-units and ../eir-cos) or (../cir-units and ../set-dei and ../eir-cos)";
                  description "CIR value";
                }
    
                leaf cir-units {
                  type dt1:Sat-inf-rate-units;
                  must
                    "(../cir-value and ../set-dei) or (../cir-value and ../eir-cos) or (../cir-value and ../set-dei and ../eir-cos)";
                  description "CIR units";
                }
    
                leaf set-dei {
                  type boolean;
                  must
                    "../cir-value and ../cir-units";
                  description
                    "Set DEI in EIR packets";
                }
    
                leaf eir-cos {
                  type uint32 {
                    range "0..7";
                  }
                  must
                    "../cir-value and ../cir-units";
                  description
                    "CoS value in EIR packets";
                }
              }  // container color-aware
    
              container cos {
                presence
                  "Indicates a cos node is configured.";
                description
                  "Set the SAT CoS config";
                leaf outer-cos {
                  type uint32 {
                    range "0..7";
                  }
                  mandatory true;
                  description "Outer CoS value";
                }
    
                leaf inner-cos {
                  type uint32 {
                    range "0..7";
                  }
                  description "Inner CoS value";
                }
              }  // container cos
    
              container duration {
                presence
                  "Indicates a duration node is configured.";
                description
                  "Set the SAT duration config";
                leaf value {
                  type uint32 {
                    range "1..1440";
                  }
                  mandatory true;
                  description "Duration value";
                }
    
                leaf units {
                  type dt1:Sat-duration-units;
                  mandatory true;
                  description "Duration units";
                }
    
                leaf per-step {
                  type boolean;
                  description "Per-step flag";
                }
              }  // container duration
    
              container information-rate {
                description
                  "Set the SAT information rate config";
                leaf fixed-value {
                  type uint32 {
                    range "1..4294967295";
                  }
                  must
                    "../units and not(../minimum or ../step or ../maximum)";
                  description
                    "Fixed information rate value";
                }
    
                leaf minimum {
                  type uint32 {
                    range "1..4294967295";
                  }
                  must
                    "../step and ../maximum and ../units and not(../fixed-value)";
                  description
                    "Minimum information rate";
                }
    
                leaf step {
                  type uint32 {
                    range "1..4294967295";
                  }
                  must
                    "../minimum and ../maximum and ../units and not(../fixed-value)";
                  description
                    "Information rate step";
                }
    
                leaf maximum {
                  type uint32 {
                    range "1..4294967295";
                  }
                  must
                    "../minimum and ../step and ../units and not(../fixed-value)";
                  description
                    "Maximum information rate";
                }
    
                leaf units {
                  type dt1:Sat-inf-rate-units;
                  must
                    "../fixed-value or (../minimum and ../step and ../maximum)";
                  description
                    "Information rate units";
                }
              }  // container information-rate
    
              container packet-size {
                description
                  "Set the SAT packet size config";
                leaf emix {
                  type empty;
                  must "not(../size)";
                  description
                    "Use EMIX profile flag";
                }
    
                leaf sequence {
                  type string;
                  must
                    "../emix and not(../size)";
                  description "EMIX Sequence";
                }
    
                leaf user-defined-frame-size {
                  type uint32 {
                    range "64..10236";
                  }
                  must
                    "../emix and ../sequence and not(../size)";
                  description
                    "User Defined Frame Size";
                }
    
                leaf size {
                  type uint32 {
                    range "1..10236";
                  }
                  units "byte";
                  must
                    "not(../emix or ../sequence or ../user-defined-frame-size)";
                  description
                    "Packet size in bytes";
                }
    
                leaf pseudo-random {
                  type empty;
                  must
                    "../emix or ../size and not(../hex-pattern)";
                  description
                    "Use pseudo-random data for packet contents";
                }
    
                leaf hex-pattern {
                  type uint32 {
                    range "0..255";
                  }
                  must
                    "../emix or ../size and not(../pseudo-random)";
                  description
                    "Hex pattern used as packet contents";
                }
              }  // container packet-size
    
              leaf enable {
                type empty;
                description "Enable the profile";
              }
    
              leaf description {
                type string {
                  length "1..63";
                }
                description
                  "Set the SAT description config";
              }
    
              leaf mode {
                type dt1:Sat-mode;
                description
                  "Set the SAT mode config";
              }
    
              leaf profile-name {
                type xr:Cisco-ios-xr-string {
                  length "1..63";
                }
                description "Profile";
              }
            }  // list profile
          }  // container profiles
        }  // container service-activation-test
      }  // module Cisco-IOS-XR-ethernet-sat-cfg
    

© 2024 YumaWorks, Inc. All rights reserved.