Cisco-IOS-XR-um-if-service-policy-qos-cfg

This module contains a collection of IOS-XR YANG model derived from CLI. Copyright (c) 2013-2020 by Cisco Systems, Inc. All ri...

  • Version: 2020-10-01

    Cisco-IOS-XR-um-if-service-policy-qos-cfg@2020-10-01


    
      module Cisco-IOS-XR-um-if-service-policy-qos-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-um-if-service-policy-qos-cfg";
    
        prefix um-if-service-policy-qos-cfg;
    
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-um-interface-cfg {
          prefix a1;
        }
        import tailf-common {
          prefix tailf;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "
         Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 W Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 1800 553-NETS
         
         E-mail: cs-yang@cisco.com
        ";
    
        description
          "
         This module contains a collection of IOS-XR YANG model derived from CLI.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.
        ";
    
        revision "2020-10-01" {
          description
            "Added augmentation to interface-preconfigure";
        }
    
        revision "2019-06-10" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-01-11" {
          description "Initial version";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        feature service-policy {
          description "Service policy";
        }
    
        feature account-user-def {
          description "User defined accounting";
        }
    
        feature shared-policy-instance {
          description
            "Configure a shared-policy-instance";
        }
    
        feature sub-parent-policy {
          description
            "Configure an svlan policy";
        }
    
        feature sub-group {
          description
            "Configure a subscriber-group";
        }
    
        feature sfrag-parent-policy {
          description
            "Apply service fragment policy";
        }
    
        feature ipsec-policy {
          description
            "service policy to be applied to encrypted traffic";
        }
    
        feature egress {
          description
            "Configure service policy for egress direction";
        }
    
        feature ingress {
          description
            "Configure service policy for ingress direction";
        }
    
        feature qfab {
          description "Configure switch fabric";
        }
    
        typedef service-policy-name-type {
          type string {
            pattern
              "[a-zA-Z0-9][a-zA-Z0-9._@$%+#:=<>\\\\-]{0,62}";
          }
        }
    
        typedef account-type {
          type enumeration {
            enum "layer1" {
              value 8;
              description
                "Turn on Layer 1 accounting";
            }
            enum "layer2" {
              value 1;
              description
                "Turn on Layer 2 accounting";
            }
            enum "nolayer2" {
              value 2;
              description
                "Turn off Layer 2 accounting";
            }
            enum "user-defined" {
              value 4;
              description
                "User defined accounting";
            }
          }
          description
            "This field is used to specify the type of Layer specific or user
           defined Qos accounting";
        }
    
        typedef l2-account-type {
          type enumeration {
            enum "layer2" {
              value 1;
              description
                "Turn on Layer 2 accounting";
            }
            enum "nolayer2" {
              value 2;
              description
                "Turn off Layer 2 accounting";
            }
            enum "user-defined" {
              value 4;
              description
                "User defined accounting";
            }
          }
          description
            "This field is used to specify the type of Layer specific or user
           defined Qos accounting";
        }
    
        container switch-fabric {
          if-feature qfab;
          description
            "switch fabric global command sub mode";
          container service-policy {
            description
              "Configure QFAB Service policy";
            leaf policy-name {
              type xr:Cisco-ios-xr-string {
                length "0..63";
              }
              description
                "Name of the QFAB service policy";
            }
          }  // container service-policy
        }  // container switch-fabric
      }  // module Cisco-IOS-XR-um-if-service-policy-qos-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.