Cisco-IOS-XE-sd-vxlan-oper

This module contains a collection of YANG definitions for SD-VXLAN operational data. Copyright (c) 2018-2019 by Cisco Systems, I...

  • Version: 2020-03-01

    Cisco-IOS-XE-sd-vxlan-oper@2020-03-01


    
      module Cisco-IOS-XE-sd-vxlan-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-sd-vxlan-oper";
    
        prefix sd-vxlan-ios-xe-oper;
    
        import Cisco-IOS-XE-ios-common-oper {
          prefix ios-common-ios-xe-oper;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        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 YANG definitions
         for SD-VXLAN operational data.
         Copyright (c) 2018-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-03-01" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "1.0.0";
    
        typedef vxlan-rp-mode-enum {
          type enumeration {
            enum "mode-gpe" {
              value 0;
              description
                "VxLAN route profile mode of VxLAN generic protocol extension";
            }
            enum "mode-default-mac" {
              value 1;
              description
                "VxLAN route profile mode of VxLAN default MAC";
            }
          }
          description
            "VxLAN route profile mode enumeration";
        }
    
        typedef vxlan-rp-hash-mode-enum {
          type enumeration {
            enum "three-tuple" {
              value 0;
              description
                "Calculate outer UDP source Port based on inner source IP, destination IP and Protocol";
            }
            enum "three-tuple-frag" {
              value 1;
              description
                "Calculate outer UDP source Port by three-tuple mode for fragmented packets, or by five-tuple mode for non-fragmented packets";
            }
            enum "five-tuple" {
              value 2;
              description
                "Calculate outer UDP source port based on inner source IP, destination IP, source Port, destination Port, and Protocol";
            }
          }
          description
            "VxLAN route profile hash mode enumeration";
        }
    
        typedef vxlan-sr-summary-key-enum {
          type enumeration {
            enum
              "vxlan-static-route-summary-key" {
              value 0;
              description
                "VxLAN static route summary entry key";
            }
          }
          description
            "VxLAN static route summary entry key enumeration";
        }
    
        container sd-vxlan-oper-data {
          config false;
          description "VXLAN operational data";
          list per-vni-vrf-stats {
            key "vrf-name vni";
            description
              "Statistics for per VNI per VRF of VxLAN";
            leaf vrf-name {
              type string;
              description
                "Name of VRF the statistics belongs to";
            }
    
            leaf vni {
              type uint32;
              description
                "VNI the statistics belongs to";
            }
    
            leaf egress-packets {
              type uint64;
              units "packets";
              description
                "Number of egress packets per VNI per VRF for VxLAN";
            }
    
            leaf egress-bytes {
              type uint64;
              units "bytes";
              description
                "Number of egress bytes per VNI per VRF for VxLAN";
            }
    
            leaf ingress-packets {
              type uint64;
              units "packets";
              description
                "Number of ingress packets per VNI per VRF for VxLAN";
            }
    
            leaf ingress-bytes {
              type uint64;
              units "bytes";
              description
                "Number of ingress bytes per VNI per VRF for VxLAN";
            }
          }  // list per-vni-vrf-stats
    
          list per-vni-vrf-policer {
            key "vrf-name vni";
            description
              "Policer statistics for per VNI per VRF of VxLAN";
            leaf vrf-name {
              type string;
              description
                "Name of VRF the statistics belongs to";
            }
    
            leaf vni {
              type uint32;
              description
                "VNI the statistics belongs to";
            }
    
            leaf cir {
              type uint64;
              units "bits per seconds";
              description
                "Configured police confirm rate Bps";
            }
    
            leaf bc {
              type uint64;
              units "bytes";
              description
                "Configured burst size";
            }
    
            leaf confirmed-packets {
              type uint64;
              units "packets";
              description
                "Number of confirmed packets per VNI per VRF for VxLAN";
            }
    
            leaf confirmed-bytes {
              type uint64;
              units "bytes";
              description
                "Number of confirmed bytes per VNI per VRF for VxLAN";
            }
    
            leaf exceeded-packets {
              type uint64;
              units "packets";
              description
                "Number of exceeded packets per VNI per VRF for VxLAN";
            }
    
            leaf exceeded-bytes {
              type uint64;
              units "bytes";
              description
                "Number of exceeded bytes per VNI per VRF for VxLAN";
            }
          }  // list per-vni-vrf-policer
    
          list per-vni-stats {
            key "vni";
            description
              "Statistics for per VNI of VxLAN static routes";
            leaf vni {
              type uint32;
              description
                "VNI the statistics belongs to";
            }
    
            leaf vni-packets {
              type uint64;
              units "packets";
              description
                "Number of egress packets per VNI for SD VxLAN";
            }
    
            leaf vni-bytes {
              type uint64;
              units "bytes";
              description
                "Number of egress bytes per VNI for SD VxLAN";
            }
          }  // list per-vni-stats
    
          list per-vrf-pfx-stats {
            key "vrf-name";
            description
              "Statistics for per VRF per prefix of VxLAN";
            leaf vrf-name {
              type string;
              description
                "VRF name the statistics belongs to";
            }
    
            leaf ipv4-total-packets {
              type uint64;
              units "packets";
              description
                "IPv4 total packets per VRF";
            }
    
            leaf ipv4-total-bytes {
              type uint64;
              units "bytes";
              description
                "IPv4 total bytes per VRF";
            }
    
            leaf ipv6-total-packets {
              type uint64;
              units "packets";
              description
                "IPv6 total packets per VRF";
            }
    
            leaf ipv6-total-bytes {
              type uint64;
              units "bytes";
              description
                "IPv6 total bytes per VRF";
            }
    
            list per-vrf-pfx-v4 {
              key "prefix";
              description
                "Statistics of IPv4 routes";
              leaf prefix {
                type inet:ip-prefix;
                description
                  "Prefix the statistics belongs to";
              }
    
              leaf packets {
                type uint64;
                units "packets";
                description
                  "Number of egress packets per VRF per prefix for VxLAN";
              }
    
              leaf bytes {
                type uint64;
                units "bytes";
                description
                  "Number of egress bytes per VRF per prefix for VxLAN";
              }
            }  // list per-vrf-pfx-v4
    
            list per-vrf-pfx-v6 {
              key "prefix";
              description
                "Statistics of ipv6 routes";
              leaf prefix {
                type inet:ip-prefix;
                description
                  "Prefix the statistics belongs to";
              }
    
              leaf packets {
                type uint64;
                units "packets";
                description
                  "Number of egress packets per VRF per prefix for VxLAN";
              }
    
              leaf bytes {
                type uint64;
                units "bytes";
                description
                  "Number of egress bytes per VRF per prefix for VxLAN";
              }
            }  // list per-vrf-pfx-v6
          }  // list per-vrf-pfx-stats
    
          list static-route {
            key "vrf-name prefix";
            description
              "VxLAN static route entry data";
            leaf vrf-name {
              type string;
              description
                "VRF name the static route belongs to";
            }
    
            leaf prefix {
              type inet:ip-prefix;
              description
                "Prefix the static route belongs to";
            }
    
            list nexthop-entry {
              key "conn-id";
              description
                "Nexthop entries of the static route";
              leaf link-type {
                type ios-common-ios-xe-oper:ios-linktype;
                description
                  "Link type of the nexthop entry";
              }
    
              leaf vni {
                type uint32;
                description
                  "VNI of the nexthop entry";
              }
    
              leaf nh-addr {
                type inet:ip-address;
                description
                  "Nexthop address of the nexthop entry";
              }
    
              leaf bind-label {
                type uint32;
                description
                  "Binding label of the nexthop entry";
              }
    
              leaf conn-id {
                type uint32;
                description
                  "Connection ID of the nexthop entry";
              }
    
              leaf tunnel-name {
                type string;
                description
                  "Auto tunnel name of the nexthop entry";
              }
            }  // list nexthop-entry
          }  // list static-route
    
          list route-profile {
            key "name";
            description
              "VxLAN route profile data";
            leaf name {
              type string;
              description
                "Name of the VxLAN route profile entry";
            }
    
            leaf reserve-word-1 {
              type uint16;
              description
                "Reserved word 1(16 bits) of the VxLAN route profile entry";
            }
    
            leaf reserve-word-2 {
              type uint8;
              description
                "Reserved word 2(8 bits) of the VxLAN route profile entry";
            }
    
            leaf dscp {
              type uint8;
              description
                "DSCP value of the VxLAN route profile entry";
            }
    
            leaf src-mac {
              type yang:mac-address;
              description
                "Source MAC address of the VxLAN route profile entry";
            }
    
            leaf src-port-start {
              type uint16;
              description
                "Tunnel source port start of the VxLAN route profile entry";
            }
    
            leaf src-port-end {
              type uint16;
              description
                "Tunnel source port end of the VxLAN route profile entry";
            }
    
            leaf src-port-hash-mode {
              type vxlan-rp-hash-mode-enum;
              description
                "Tunnel source port hash mode of the VxLAN route profile entry";
            }
    
            leaf mode {
              type vxlan-rp-mode-enum;
              description
                "VxLAN mode of the VxLAN route profile entry";
            }
    
            leaf src-interface {
              type string;
              description
                "Tunnel source interface of the VxLAN route profile entry";
            }
    
            leaf dst-port {
              type uint16;
              description
                "VxLAN destination port of the VxLAN route profile entry";
            }
    
            leaf mtu {
              type uint16;
              description
                "Tunnel mtu of the VxLAN route profile entry";
            }
    
            leaf persistent {
              type boolean;
              description
                "Persistent of the VxLAN route profile entry";
            }
          }  // list route-profile
    
          list rp-auto-tunnel {
            key "name";
            description
              "VxLAN route profile auto tunnel data";
            leaf name {
              type string;
              description
                "Name of the VxLAN route profile auto tunnel entry";
            }
    
            leaf v4-auto-tunnel {
              type string;
              description
                "IPv4 auto tunnel of the VxLAN route profile auto tunnel entry";
            }
    
            leaf v6-auto-tunnel {
              type string;
              description
                "IPv6 auto tunnel of the VxLAN route profile auto tunnel entry";
            }
          }  // list rp-auto-tunnel
    
          list rp-tunnel-symmetric {
            key "name vrf-name";
            description
              "VxLAN route profile auto tunnel symmetric data";
            leaf name {
              type string;
              description
                "Name of the VxLAN route profile auto tunnel symmetric entry";
            }
    
            leaf vrf-name {
              type string;
              description
                "VRF name of the VxLAN route profile auto tunnel symmetric entry";
            }
    
            leaf v4-auto-tunnel {
              type string;
              description
                "IPv4 auto tunnel of the VxLAN route profile auto tunnel symmetric entry";
            }
    
            leaf v6-auto-tunnel {
              type string;
              description
                "IPv6 auto tunnel of the VxLAN route profile auto tunnel symmetric entry";
            }
          }  // list rp-tunnel-symmetric
    
          list bind-label-data {
            key "bind-label";
            description
              "VxLAN static route nexthop data lookup by bind label";
            leaf link-type {
              type ios-common-ios-xe-oper:ios-linktype;
              description
                "Link type of the nexthop entry";
            }
    
            leaf vni {
              type uint32;
              description
                "VNI of the nexthop entry";
            }
    
            leaf nh-addr {
              type inet:ip-address;
              description
                "Nexthop address of the nexthop entry";
            }
    
            leaf bind-label {
              type uint32;
              description
                "Binding label of the nexthop entry";
            }
    
            leaf conn-id {
              type uint32;
              description
                "Connection ID of the nexthop entry";
            }
    
            leaf tunnel-name {
              type string;
              description
                "Auto tunnel name of the nexthop entry";
            }
          }  // list bind-label-data
    
          list conn-id-data {
            key "conn-id";
            description
              "VxLAN static route nexthop data lookup by connection ID";
            leaf link-type {
              type ios-common-ios-xe-oper:ios-linktype;
              description
                "Link type of the nexthop entry";
            }
    
            leaf vni {
              type uint32;
              description
                "VNI of the nexthop entry";
            }
    
            leaf nh-addr {
              type inet:ip-address;
              description
                "Nexthop address of the nexthop entry";
            }
    
            leaf bind-label {
              type uint32;
              description
                "Binding label of the nexthop entry";
            }
    
            leaf conn-id {
              type uint32;
              description
                "Connection ID of the nexthop entry";
            }
    
            leaf tunnel-name {
              type string;
              description
                "Auto tunnel name of the nexthop entry";
            }
          }  // list conn-id-data
    
          list sr-summary-data {
            key "entry-key";
            description
              "VxLAN static route summary data";
            leaf entry-key {
              type vxlan-sr-summary-key-enum;
              description
                "Entry key of the VxLAN static route summary entry";
            }
    
            leaf prefix-cnt {
              type uint32;
              description
                "VxLAN static route prefix count";
            }
    
            leaf persist-prefix-cnt {
              type uint32;
              description
                "VxLAN static route persistent prefix count";
            }
    
            leaf route-profile-cnt {
              type uint32;
              description
                "VxLAN route profile count";
            }
    
            leaf vni-node-cnt {
              type uint32;
              description
                "VxLAN static route VNI node count";
            }
    
            leaf next-hop-cnt {
              type uint32;
              description
                "VxLAN static route next-hop count";
            }
    
            leaf auto-tunnel-cnt {
              type uint32;
              description
                "VxLAN static route auto-tunnel count";
            }
    
            leaf vni-vrf-node-cnt {
              type uint32;
              description
                "VxLAN static route VNI VRF node count";
            }
    
            leaf default-dst-mac {
              type yang:mac-address;
              description
                "VxLAN static route destination MAC address";
            }
    
            leaf auto-tunnel-start {
              type uint32;
              description
                "VxLAN static route auto-tunnel start";
            }
    
            leaf auto-tunnel-end {
              type uint32;
              description
                "VxLAN static route auto-tunnel end";
            }
    
            leaf p2p-accounting-policing {
              type boolean;
              description
                "VxLAN accounting-policing bind p2p-tunnel";
            }
          }  // list sr-summary-data
        }  // container sd-vxlan-oper-data
      }  // module Cisco-IOS-XE-sd-vxlan-oper
    

© 2023 YumaWorks, Inc. All rights reserved.