huawei-qos-board

Quality of service for board.

  • Version: 2020-06-11

    huawei-qos-board@2020-06-11


    
      module huawei-qos-board {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-qos-board";
    
        prefix qos-board;
    
        import huawei-extension {
          prefix ext;
        }
        import huawei-devm {
          prefix devm;
        }
        import huawei-devm-vnf {
          prefix devm-vnf;
        }
        import huawei-license {
          prefix lcs;
        }
        import huawei-qos {
          prefix qos;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
         Bantian, Longgang
         Shenzhen 518129
         People's Republic of China
         Website: http://www.huawei.com
         Email: support@huawei.com";
    
        description
          "Quality of service for board.";
    
        revision "2020-06-11" {
          description
            "Modify descriptions and add units.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-05-07" {
          description
            "Modify descriptions and add new nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-02-28" {
          description
            "Modify descriptions and add new nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-11-05" {
          description
            "Add pq-schedule-prioritys, pq-schedule-priority-on-cards and multicast-port-queues.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-09-20" {
          description "Add new nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-06" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "qos";
    
        typedef policy-match-type {
          type enumeration {
            enum "ip-layer-push" {
              value 0;
              description
                "MF traffic classification based only on IP Layer (Layer 3) information for incoming traffic on the public network.";
            }
            enum "ip-layer-pop" {
              value 7;
              description
                "MF traffic classification based only on IP Layer (Layer 3) information for outgoing traffic on the public network.";
            }
            enum "mpls-layer-push" {
              value 3;
              description
                "MF classification based on both IP and MPLS information for incoming traffic on the public network.";
            }
            enum "mpls-layer-pop" {
              value 6;
              description
                "MF classification based on both IP and MPLS information for outgoing traffic on the public network.";
            }
            enum "mpls-layer-l2-inbound" {
              value 4;
              description
                "MF traffic classification based on MPLS information for outgoing traffic on the public network in Layer 2 forwarding scenarios.";
            }
            enum "ipv6-address-rule-mask" {
              value 1;
              description
                "MF traffic classification based on the mask of IPv6 address.";
            }
            enum "protocol-mc-reserved" {
              value 2;
              description
                "Match Layer 3 protocol packets with reserved multicast addresses against ACLs.";
            }
            enum "rule-packet" {
              value 5;
              description
                "Enable packet type-based filtering for MF classification.";
            }
          }
          description "Policy math type.";
        }
    
        typedef pq-schedule-priority-type {
          type enumeration {
            enum "high" {
              value 0;
              description "High.";
            }
            enum "low" {
              value 1;
              description "Low.";
            }
          }
          description
            "PQ schedule priority mode.";
        }
    
        typedef channel-alarm-type {
          type enumeration {
            enum "bandwidth" {
              value 1;
              description "Bandwidth.";
            }
            enum "quantity" {
              value 0;
              description "Quantity.";
            }
          }
          description "Channel alarm type.";
        }
    
        typedef channel-alarm-pool-type {
          type enumeration {
            enum "pool-0" {
              value 1;
              description "Pool 0.";
            }
            enum "pool-1" {
              value 2;
              description "Pool 1.";
            }
          }
          description "Pool ID.";
        }
    
        typedef channel-profile-precision-type {
          type enumeration {
            enum "up" {
              value 1;
              description "Up.";
            }
            enum "down" {
              value 2;
              description "Down.";
            }
          }
          description "Precision type.";
        }
    
        typedef multicast-priority-type {
          type enumeration {
            enum "both" {
              value 2;
              description "Both.";
            }
            enum "high" {
              value 1;
              description "High.";
            }
            enum "low" {
              value 0;
              description "Low.";
            }
          }
          description "Multicast priority type.";
        }
    
        typedef match-type {
          type enumeration {
            enum "destination-user" {
              value 1;
              description "Destination user.";
            }
            enum "interface-acl" {
              value 2;
              description "Interface ACL.";
            }
          }
          description "Match type.";
        }
    
        typedef limit-type {
          type enumeration {
            enum "unlimited" {
              value 1;
              description "Unlimited bandwidth.";
            }
            enum "limited" {
              value 0;
              description "Limited bandwidth.";
            }
          }
          description "Is bandwidth limited.";
        }
    
        typedef switch-flag {
          type enumeration {
            enum "enable" {
              value 0;
              description "Enable.";
            }
            enum "disable" {
              value 1;
              description "Disable.";
            }
          }
          description "Switch flag.";
        }
      }  // module huawei-qos-board
    

© 2023 YumaWorks, Inc. All rights reserved.