Cisco-IOS-XE-mdt-common-defs

This module contains a collection of common YANG definitions for streaming telemetry. Copyright (c) 2016-2020 by Cisco Systems, ...

  • Version: 2021-07-01

    Cisco-IOS-XE-mdt-common-defs@2021-07-01


    
      module Cisco-IOS-XE-mdt-common-defs {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-mdt-common-defs";
    
        prefix mdt-common-defs;
    
        import ietf-inet-types {
          prefix inet;
        }
        import cisco-semver {
          prefix cisco-semver;
        }
    
        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 common YANG
    definitions for streaming telemetry.
    Copyright (c) 2016-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2021-07-01" {
          description
            "- Add support for gRPC configured receivers";
          reference
            "3.1.0";
    
        }
    
        revision "2021-03-01" {
          description
            "- Changed status of receiver id.";
          reference
            "3.0.0";
    
        }
    
        revision "2020-11-01" {
          description
            "- Additional host and receiver parameter types";
          reference
            "2.2.0";
    
        }
    
        revision "2020-07-01" {
          description "- Add host type";
          reference
            "2.1.0";
    
        }
    
        revision "2019-05-01" {
          description
            "- Change connection ID VRF identifier.
    - Added semantic version";
          reference
            "2.0.0";
    
        }
    
        revision "2018-10-29" {
          description
            "Cleaned up spelling errors in descriptions.
    Add connection ID type.";
          reference
            "1.4.0";
    
        }
    
        revision "2018-03-19" {
          description
            "Recursive URI support for Native stream";
          reference
            "1.3.0";
    
        }
    
        revision "2018-02-12" {
          description
            "TRANSFORM support for Native stream";
          reference
            "1.2.0";
    
        }
    
        revision "2017-07-01" {
          description "Add support for VRFs";
          reference
            "1.1.0";
    
        }
    
        revision "2017-03-02" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "3.1.0";
        cisco-semver:module-version "3.0.0";
        cisco-semver:module-version "2.2.0";
        cisco-semver:module-version "2.1.0";
        cisco-semver:module-version "2.0.0";
        cisco-semver:module-version "1.4.0";
        cisco-semver:module-version "1.3.0";
        cisco-semver:module-version "1.2.0";
        cisco-semver:module-version "1.1.0";
        cisco-semver:module-version "1.0.0";
    
        typedef host-etype {
          type enumeration {
            enum "host-type-unspecified" {
              value 0;
              description
                "Host type is not specified";
            }
            enum "host-type-ip-addr" {
              value 1;
              description
                "Host is identified using an IP address";
            }
            enum "host-type-hostname" {
              value 2;
              description
                "Host is identified using hostname";
            }
          }
          description
            "Types of network host identifiers";
        }
    
        typedef mdt-rcvr-type {
          type enumeration {
            enum "rcvr-type-unspecified" {
              value 0;
              description
                "Receiver type is not specified";
            }
            enum "rcvr-type-protocol" {
              value 1;
              description
                "Receiver is a protocol based receiver";
            }
          }
          description "Types of receivers";
        }
    
        typedef prot-rcvr-protocol {
          type enumeration {
            enum "prot-rcvr-unspec" {
              value 0;
              description
                "Protocol type is not specified";
            }
            enum "native" {
              value 1;
              description "Native protocol";
            }
            enum "tls-native" {
              value 2;
              description "Native TLS protocol";
            }
            enum "cntp-tcp" {
              value 3;
              description "CNTP TCP protocol";
            }
            enum "cntp-tls" {
              value 4;
              description "CNTP TLS protocol";
            }
            enum "cloud-native" {
              value 5;
              description
                "Native Cloud protocol";
            }
            enum "grpc-tcp" {
              value 6;
              description "gRPC TCP protocol";
            }
            enum "grpc-tls" {
              value 7;
              description "gRPC TLS protocol";
            }
          }
          description "Types of protocols";
        }
    
        typedef mdt-sub-filter-type {
          type enumeration {
            enum "sub-filter-type-none" {
              value 0;
              description
                "Indicates that no filter has been specified";
            }
            enum "sub-filter-type-xpath" {
              value 1;
              description
                "Xpath defining the data items of interest.
    A limited set of the Xpath 1.0 expressions is
    supported";
            }
            enum "sub-filter-type-tdl-uri" {
              value 2;
              description
                "TDL-URI defining the data items of interest";
            }
            enum "sub-filter-type-tdl-transform" {
              value 3;
              description
                "tdl-transform define transform scheme
    to be subscribed";
            }
            enum "sub-filter-type-nested-uri" {
              value 4;
              description
                "Nested-URI defining the data items of interest";
            }
          }
          description
            "Types of subscription filters";
        }
    
        typedef mdt-sub-update-trigger {
          type enumeration {
            enum "sub-upd-trig-none" {
              value 0;
              description
                "Indicates trigger has not been specified";
            }
            enum "sub-upd-trig-periodic" {
              value 1;
              description
                "Subscription is triggered on a periodic basis";
            }
            enum "sub-upd-trig-on-change" {
              value 2;
              description
                "Subscription is triggered when a value changes";
            }
          }
          description
            "Types of subscription update triggers";
        }
      }  // module Cisco-IOS-XE-mdt-common-defs
    

© 2023 YumaWorks, Inc. All rights reserved.