Cisco-IOS-XR-subscriber-ipsub-oper

This module contains a collection of YANG definitions for Cisco IOS-XR subscriber-ipsub package operational data. This module c...

  • Version: 2019-04-05

    Cisco-IOS-XR-subscriber-ipsub-oper@2019-04-05


    
      module Cisco-IOS-XR-subscriber-ipsub-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-subscriber-ipsub-oper";
    
        prefix subscriber-ipsub-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-subscriber-ipsub-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         for Cisco IOS-XR subscriber-ipsub package operational data.
         
         This module contains definitions
         for the following management objects:
           ip-subscriber: IP subscriber operational data
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.1";
    
        container ip-subscriber {
          config false;
          description
            "IP subscriber operational data";
          container nodes {
            description
              "IP subscriber operational data for a particular
             location";
            list node {
              key "node-name";
              description
                "Location. For eg., 0/1/CPU0";
              container summary {
                description
                  "IP subscriber interface summary";
                container access-interface-summary {
                  description
                    "Access interface summary statistics";
                  container initiators {
                    description
                      "Summary counts per initiator";
                    container dhcp {
                      description
                        "DHCP summary statistics";
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol";
                      }
                    }  // container dhcp
    
                    container packet-trigger {
                      description
                        "Packet trigger summary statistics";
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol";
                      }
                    }  // container packet-trigger
                  }  // container initiators
    
                  container ipv6-initiators {
                    description
                      "Summary counts per initiator for ipv6 session";
                    container dhcp {
                      description
                        "DHCP summary statistics";
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol";
                      }
                    }  // container dhcp
    
                    container packet-trigger {
                      description
                        "Packet trigger summary statistics";
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol";
                      }
                    }  // container packet-trigger
                  }  // container ipv6-initiators
    
                  leaf interfaces {
                    type uint32;
                    description
                      "Number of interfaces with subscriber
    configuration";
                  }
                }  // container access-interface-summary
    
                container interface-counts {
                  description
                    "Initiator interface counts";
                  container initiators {
                    description "Initiators";
                    container dhcp {
                      description "DHCP";
                      leaf invalid {
                        type uint32;
                        description "Invalid";
                      }
    
                      leaf initialized {
                        type uint32;
                        description
                          "Initialized";
                      }
    
                      leaf session-creation-started {
                        type uint32;
                        description
                          "Session creation started";
                      }
    
                      leaf control-policy-executing {
                        type uint32;
                        description
                          "Control policy executing";
                      }
    
                      leaf control-policy-executed {
                        type uint32;
                        description
                          "Control policy executed";
                      }
    
                      leaf session-features-applied {
                        type uint32;
                        description
                          "Session features applied";
                      }
    
                      leaf vrf-configured {
                        type uint32;
                        description
                          "VRF configured";
                      }
    
                      leaf adding-adjacency {
                        type uint32;
                        description
                          "Adding adjacency";
                      }
    
                      leaf adjacency-added {
                        type uint32;
                        description
                          "Adjacency added";
                      }
    
                      leaf up {
                        type uint32;
                        description "Up";
                      }
    
                      leaf down {
                        type uint32;
                        description "Down";
                      }
    
                      leaf disconnecting {
                        type uint32;
                        description
                          "Disconnecting";
                      }
    
                      leaf disconnected {
                        type uint32;
                        description
                          "Disconnected";
                      }
    
                      leaf error {
                        type uint32;
                        description "Error";
                      }
    
                      leaf total-interfaces {
                        type uint32;
                        description
                          "Total number of interfaces in all states";
                      }
                    }  // container dhcp
    
                    container packet-trigger {
                      description
                        "Packet trigger";
                      leaf invalid {
                        type uint32;
                        description "Invalid";
                      }
    
                      leaf initialized {
                        type uint32;
                        description
                          "Initialized";
                      }
    
                      leaf session-creation-started {
                        type uint32;
                        description
                          "Session creation started";
                      }
    
                      leaf control-policy-executing {
                        type uint32;
                        description
                          "Control policy executing";
                      }
    
                      leaf control-policy-executed {
                        type uint32;
                        description
                          "Control policy executed";
                      }
    
                      leaf session-features-applied {
                        type uint32;
                        description
                          "Session features applied";
                      }
    
                      leaf vrf-configured {
                        type uint32;
                        description
                          "VRF configured";
                      }
    
                      leaf adding-adjacency {
                        type uint32;
                        description
                          "Adding adjacency";
                      }
    
                      leaf adjacency-added {
                        type uint32;
                        description
                          "Adjacency added";
                      }
    
                      leaf up {
                        type uint32;
                        description "Up";
                      }
    
                      leaf down {
                        type uint32;
                        description "Down";
                      }
    
                      leaf disconnecting {
                        type uint32;
                        description
                          "Disconnecting";
                      }
    
                      leaf disconnected {
                        type uint32;
                        description
                          "Disconnected";
                      }
    
                      leaf error {
                        type uint32;
                        description "Error";
                      }
    
                      leaf total-interfaces {
                        type uint32;
                        description
                          "Total number of interfaces in all states";
                      }
                    }  // container packet-trigger
                  }  // container initiators
    
                  container ipv6-initiators {
                    description
                      "IPv6 Initiators";
                    container dhcp {
                      description "DHCP";
                      leaf invalid {
                        type uint32;
                        description "Invalid";
                      }
    
                      leaf initialized {
                        type uint32;
                        description
                          "Initialized";
                      }
    
                      leaf session-creation-started {
                        type uint32;
                        description
                          "Session creation started";
                      }
    
                      leaf control-policy-executing {
                        type uint32;
                        description
                          "Control policy executing";
                      }
    
                      leaf control-policy-executed {
                        type uint32;
                        description
                          "Control policy executed";
                      }
    
                      leaf session-features-applied {
                        type uint32;
                        description
                          "Session features applied";
                      }
    
                      leaf vrf-configured {
                        type uint32;
                        description
                          "VRF configured";
                      }
    
                      leaf adding-adjacency {
                        type uint32;
                        description
                          "Adding adjacency";
                      }
    
                      leaf adjacency-added {
                        type uint32;
                        description
                          "Adjacency added";
                      }
    
                      leaf up {
                        type uint32;
                        description "Up";
                      }
    
                      leaf down {
                        type uint32;
                        description "Down";
                      }
    
                      leaf disconnecting {
                        type uint32;
                        description
                          "Disconnecting";
                      }
    
                      leaf disconnected {
                        type uint32;
                        description
                          "Disconnected";
                      }
    
                      leaf error {
                        type uint32;
                        description "Error";
                      }
    
                      leaf total-interfaces {
                        type uint32;
                        description
                          "Total number of interfaces in all states";
                      }
                    }  // container dhcp
    
                    container packet-trigger {
                      description
                        "Packet trigger";
                      leaf invalid {
                        type uint32;
                        description "Invalid";
                      }
    
                      leaf initialized {
                        type uint32;
                        description
                          "Initialized";
                      }
    
                      leaf session-creation-started {
                        type uint32;
                        description
                          "Session creation started";
                      }
    
                      leaf control-policy-executing {
                        type uint32;
                        description
                          "Control policy executing";
                      }
    
                      leaf control-policy-executed {
                        type uint32;
                        description
                          "Control policy executed";
                      }
    
                      leaf session-features-applied {
                        type uint32;
                        description
                          "Session features applied";
                      }
    
                      leaf vrf-configured {
                        type uint32;
                        description
                          "VRF configured";
                      }
    
                      leaf adding-adjacency {
                        type uint32;
                        description
                          "Adding adjacency";
                      }
    
                      leaf adjacency-added {
                        type uint32;
                        description
                          "Adjacency added";
                      }
    
                      leaf up {
                        type uint32;
                        description "Up";
                      }
    
                      leaf down {
                        type uint32;
                        description "Down";
                      }
    
                      leaf disconnecting {
                        type uint32;
                        description
                          "Disconnecting";
                      }
    
                      leaf disconnected {
                        type uint32;
                        description
                          "Disconnected";
                      }
    
                      leaf error {
                        type uint32;
                        description "Error";
                      }
    
                      leaf total-interfaces {
                        type uint32;
                        description
                          "Total number of interfaces in all states";
                      }
                    }  // container packet-trigger
                  }  // container ipv6-initiators
                }  // container interface-counts
    
                list vrf {
                  description
                    "Array of VRFs with IPSUB interfaces";
                  leaf vrf-name {
                    type string;
                    description "IPv4 VRF";
                  }
    
                  leaf ipv6vrf-name {
                    type string;
                    description "IPv6 VRF";
                  }
    
                  leaf interfaces {
                    type uint64;
                    description
                      "Number of IP subscriber interfaces in the VRF
    table";
                  }
    
                  leaf ipv6-interfaces {
                    type uint64;
                    description
                      "Number of IPv6 subscriber interfaces in the VRF
    table";
                  }
                }  // list vrf
              }  // container summary
    
              container interfaces {
                description
                  "IP subscriber interface table";
                list interface {
                  key "interface-name";
                  description
                    "IP subscriber interface entry";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  container vrf {
                    description
                      "IPv4 VRF details";
                    leaf vrf-name {
                      type string;
                      description "VRF name";
                    }
    
                    leaf table-name {
                      type string;
                      description "Table";
                    }
                  }  // container vrf
    
                  container ipv6vrf {
                    description
                      "IPv6 VRF details";
                    leaf vrf-name {
                      type string;
                      description "VRF name";
                    }
    
                    leaf table-name {
                      type string;
                      description "Table";
                    }
                  }  // container ipv6vrf
    
                  leaf access-interface {
                    type xr:Interface-name;
                    description
                      "Access interface through which this subscriber
    is accessible";
                  }
    
                  leaf subscriber-ipv4-address {
                    type inet:ipv4-address;
                    description
                      "IPv4 Address of the subscriber";
                  }
    
                  leaf subscriber-ipv6-address {
                    type string;
                    description
                      "IPv6 Address of the subscriber";
                  }
    
                  leaf subscriber-mac-addres {
                    type yang:mac-address;
                    description
                      "MAC address of the subscriber";
                  }
    
                  leaf subscriber-label {
                    type uint32;
                    description
                      "Subscriber label for this subscriber interface";
                  }
    
                  leaf interface-creation-time {
                    type string;
                    description
                      "Interface creation time in month day hh:mm:ss
    format";
                  }
    
                  leaf age {
                    type string;
                    description
                      "Age in hh:mm:ss format";
                  }
    
                  leaf initiator {
                    type Ipsub-ma-intf-initiator-data;
                    description
                      "Protocol trigger for creation of this subscriber
    session";
                  }
    
                  leaf state {
                    type Ipsub-ma-intf-state-data;
                    description
                      "State of the subscriber session";
                  }
    
                  leaf old-state {
                    type Ipsub-ma-intf-state-data;
                    description
                      "Previous state of the subscriber session";
                  }
    
                  leaf last-state-change-time {
                    type string;
                    description
                      "Interface's last state change time in month day
    hh:mm:ss format";
                  }
    
                  leaf current-change-age {
                    type string;
                    description
                      "Current change age in hh:mm:ss format";
                  }
    
                  leaf ipv6-initiator {
                    type Ipsub-ma-intf-initiator-data;
                    description
                      "Protocol trigger for creation of this
    subscriber's IPv6 session";
                  }
    
                  leaf ipv6-state {
                    type Ipsub-ma-intf-state-data;
                    description
                      "State of the subscriber's IPv6 session";
                  }
    
                  leaf ipv6-old-state {
                    type Ipsub-ma-intf-state-data;
                    description
                      "Previous state of the subscriber's IPv6 session";
                  }
    
                  leaf ipv6-last-state-change-time {
                    type string;
                    description
                      "Interface's IPV6 last state change time in month
    day hh:mm:ss format";
                  }
    
                  leaf ipv6-current-change-age {
                    type string;
                    description
                      "IPV6 Current change age in hh:mm:ss format";
                  }
    
                  leaf is-l2-connected {
                    type boolean;
                    description
                      "True if L2 connected";
                  }
    
                  leaf session-type {
                    type string;
                    description "Session Type";
                  }
                }  // list interface
              }  // container interfaces
    
              container access-interfaces {
                description
                  "IP subscriber access interface table";
                list access-interface {
                  key "interface-name";
                  description
                    "IP subscriber access interface entry";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  container initiators {
                    description
                      "Configurational state-statistics for each
    initiating protocol enabled on this parent
    interface";
                    container dhcp {
                      description
                        "DHCP information";
                      leaf is-configured {
                        type boolean;
                        description
                          "Ture if the initiator is configred";
                      }
    
                      leaf unique-ip-check {
                        type boolean;
                        description
                          "True if check for subscriber address
    uniquenessduring first sign of life is enabled";
                      }
    
                      leaf sessions {
                        type uint32;
                        description
                          "Number of sessions currently up for each
    initiator";
                      }
    
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface";
                      }
    
                      leaf fsol-dropped-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped";
                      }
    
                      leaf fsol-dropped-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface that were
    dropped";
                      }
    
                      leaf fsol-dropped-packets-flow {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding creation rate";
                      }
    
                      leaf fsol-dropped-packets-session-limit {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding one or more of the
    configured session limits";
                      }
    
                      leaf fsol-dropped-packets-dup-addr {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to duplicate source address";
                      }
                    }  // container dhcp
    
                    container packet-trigger {
                      description
                        "packet trigger information";
                      leaf is-configured {
                        type boolean;
                        description
                          "Ture if the initiator is configred";
                      }
    
                      leaf unique-ip-check {
                        type boolean;
                        description
                          "True if check for subscriber address
    uniquenessduring first sign of life is enabled";
                      }
    
                      leaf sessions {
                        type uint32;
                        description
                          "Number of sessions currently up for each
    initiator";
                      }
    
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface";
                      }
    
                      leaf fsol-dropped-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped";
                      }
    
                      leaf fsol-dropped-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface that were
    dropped";
                      }
    
                      leaf fsol-dropped-packets-flow {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding creation rate";
                      }
    
                      leaf fsol-dropped-packets-session-limit {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding one or more of the
    configured session limits";
                      }
    
                      leaf fsol-dropped-packets-dup-addr {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to duplicate source address";
                      }
                    }  // container packet-trigger
                  }  // container initiators
    
                  container ipv6-initiators {
                    description
                      "Configurational state-statistics for each
    initiating protocol enabled on this parent
    interface for IPv6 session";
                    container dhcp {
                      description
                        "DHCP information";
                      leaf is-configured {
                        type boolean;
                        description
                          "Ture if the initiator is configred";
                      }
    
                      leaf unique-ip-check {
                        type boolean;
                        description
                          "True if check for subscriber address
    uniquenessduring first sign of life is enabled";
                      }
    
                      leaf sessions {
                        type uint32;
                        description
                          "Number of sessions currently up for each
    initiator";
                      }
    
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface";
                      }
    
                      leaf fsol-dropped-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped";
                      }
    
                      leaf fsol-dropped-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface that were
    dropped";
                      }
    
                      leaf fsol-dropped-packets-flow {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding creation rate";
                      }
    
                      leaf fsol-dropped-packets-session-limit {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding one or more of the
    configured session limits";
                      }
    
                      leaf fsol-dropped-packets-dup-addr {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to duplicate source address";
                      }
                    }  // container dhcp
    
                    container packet-trigger {
                      description
                        "packet trigger information";
                      leaf is-configured {
                        type boolean;
                        description
                          "Ture if the initiator is configred";
                      }
    
                      leaf unique-ip-check {
                        type boolean;
                        description
                          "True if check for subscriber address
    uniquenessduring first sign of life is enabled";
                      }
    
                      leaf sessions {
                        type uint32;
                        description
                          "Number of sessions currently up for each
    initiator";
                      }
    
                      leaf fsol-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface";
                      }
    
                      leaf fsol-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface";
                      }
    
                      leaf fsol-dropped-packets {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped";
                      }
    
                      leaf fsol-dropped-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Number of first sign of life bytes received for
    initiating protocol on this interface that were
    dropped";
                      }
    
                      leaf fsol-dropped-packets-flow {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding creation rate";
                      }
    
                      leaf fsol-dropped-packets-session-limit {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to exceeding one or more of the
    configured session limits";
                      }
    
                      leaf fsol-dropped-packets-dup-addr {
                        type uint32;
                        description
                          "Number of first sign of life packets received
    for initiating protocol on this interface that
    were dropped due to duplicate source address";
                      }
                    }  // container packet-trigger
                  }  // container ipv6-initiators
    
                  container session-limit {
                    description
                      "Configuration session limits for each session
    limit source and type";
                    container unclassified-source {
                      description
                        "Unclassified source session limits";
                      leaf per-vlan {
                        type uint32;
                        description
                          "Per-VLAN limit category";
                      }
                    }  // container unclassified-source
    
                    container total {
                      description
                        "All sources session limits";
                      leaf per-vlan {
                        type uint32;
                        description
                          "Per-VLAN limit category";
                      }
                    }  // container total
                  }  // container session-limit
    
                  leaf interface-creation-time {
                    type string;
                    description
                      "Interface creation time in Month Date HH:MM:SS
    format";
                  }
    
                  leaf age {
                    type string;
                    description
                      "Age in HH:MM:SS format";
                  }
    
                  leaf interface-type {
                    type string;
                    description "Interface Type";
                  }
    
                  leaf state {
                    type Ipsub-ma-parent-intf-state-data;
                    description
                      "Operational state of this interface";
                  }
    
                  leaf ipv6-state {
                    type Ipsub-ma-parent-intf-state-data;
                    description
                      "Operational ipv6 state of this interface";
                  }
    
                  leaf vlan-type {
                    type Ipsub-ma-parent-intf-vlan;
                    description
                      "The VLAN type on the access interface";
                  }
                }  // list access-interface
              }  // container access-interfaces
    
              leaf node-name {
                type xr:Node-id;
                description
                  "The node ID to filter on. For eg., 0/1/CPU0";
              }
            }  // list node
          }  // container nodes
        }  // container ip-subscriber
      }  // module Cisco-IOS-XR-subscriber-ipsub-oper
    

© 2023 YumaWorks, Inc. All rights reserved.