huawei-ifit-statistics

IFIT statistics.

  • Version: 2021-09-13

    huawei-ifit-statistics@2021-09-13


    
      module huawei-ifit-statistics {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-ifit-statistics";
    
        prefix ifit-statistics;
    
        import huawei-ifit {
          prefix ifit;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-extension {
          prefix ext;
        }
    
        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 "IFIT statistics.";
    
        revision "2021-09-13" {
          description
            "Add new leafs of to-cp and discard statistics.";
          reference
            "Huawei private.";
    
        }
    
        revision "2021-07-14" {
          description
            "Add new container:ifit-native-ip-statistics.";
          reference
            "Huawei private.";
    
        }
    
        revision "2021-04-19" {
          description "Added Type map-flag.";
          reference
            "Huawei private.";
    
        }
    
        revision "2021-03-25" {
          description
            "Modify leaf length, the leaf name is tunnel-if-index.";
          reference
            "Huawei private.";
    
        }
    
        revision "2021-02-25" {
          description
            "Add new leafs of gtp measurement.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-08-28" {
          description
            "Add new container:flow-vpws-statistics.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-08-10" {
          description "Add new leaf:evpl-id.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-07-25" {
          description
            "Modify description: add new leafs of perpacket delay.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-03-05" {
          description "Modify description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-12-28" {
          description "Add new leaf: if-index.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-10-12" {
          description
            "Add new containers: flow-peer-ip-statistics and flow-locator-statistics.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-05-17" {
          description "Init revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "ifit";
    
        typedef address-family {
          type enumeration {
            enum "ipv4" {
              value 0;
              description "IPv4 address family.";
            }
            enum "ipv6" {
              value 1;
              description "IPv6 address family.";
            }
          }
          description
            "The type of IP address family.";
        }
    
        typedef vpn-type {
          type enumeration {
            enum "vpn" {
              value 0;
              description "L3VPN or L3EVPN.";
            }
            enum "evpn-vpws" {
              value 1;
              description "EVPN VPWS.";
            }
            enum "vpnv4" {
              value 2;
              description "L3VPNv4 or L3EVPNv4.";
            }
            enum "vpnv6" {
              value 3;
              description "L3VPNv6 or L3EVPNv6.";
            }
          }
          description "Type of VPN.";
        }
    
        typedef flow-direction {
          type enumeration {
            enum "ingress" {
              value 1;
              description
                "Ingress of an IFIT flow.";
            }
            enum "transit-input" {
              value 2;
              description
                "TransitInput of an IFIT flow.";
            }
            enum "transit-output" {
              value 3;
              description
                "TransitOutput of an IFIT flow.";
            }
            enum "egress" {
              value 4;
              description
                "Egress of an IFIT flow.";
            }
            enum "egress-to-cpu" {
              value 5;
              description
                "Egress to cpu of an IFIT flow.";
            }
            enum "egress-normal-drop" {
              value 6;
              description
                "Egress normal drop of an IFIT flow.";
            }
          }
          description
            "Direction of an IFIT flow.";
        }
    
        typedef ifit-gtp-mode {
          type enumeration {
            enum "disabled" {
              value 0;
              description
                "The IFIT GTP measurement is disabled.";
            }
            enum "enable" {
              value 1;
              description
                "The IFIT GTP measurement is enabled.";
            }
            enum "sn-enable" {
              value 2;
              description
                "The IFIT GTPU-SN measurement is enabled.";
            }
          }
          description
            "Mode of the IFIT GTP measurement.";
        }
    
        typedef map-flag {
          type enumeration {
            enum "disabled" {
              value 0;
              description
                "The IFIT port mapping is disabled.";
            }
            enum "ingress-enable" {
              value 1;
              description
                "The IFIT ingress port mapping is enabled.";
            }
            enum "egress-enable" {
              value 2;
              description
                "The IFIT egress port mapping is enabled.";
            }
            enum "ingress-egress-enable" {
              value 3;
              description
                "The IFIT ingress and egress port mapping is enabled.";
            }
          }
          description
            "Mapping Flag of an IFIT flow.";
        }
    
        typedef app-name {
          type string {
            length "0..256";
          }
          description "App-name is like string.";
        }
    
        typedef role-type {
          type enumeration {
            enum "in-point" {
              value 1;
              description
                "In point of an IFIT flow.";
            }
            enum "mid-input" {
              value 2;
              description
                "Middle point of an IFIT flow.";
            }
            enum "out-point" {
              value 3;
              description
                "Out point of an IFIT flow.";
            }
          }
          description
            "The role type of an IFIT statistic data.";
        }
      }  // module huawei-ifit-statistics
    

© 2023 YumaWorks, Inc. All rights reserved.