This module contains a collection of YANG definitions for Cisco IOS-XR cnbng-nal package operational data. This module contains...
Version: 2021-02-17
module Cisco-IOS-XR-cnbng-nal-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-cnbng-nal-oper"; prefix cnbng-nal-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-cnbng-nal-oper-sub2 { revision-date "2021-02-17"; } include Cisco-IOS-XR-cnbng-nal-oper-sub1 { revision-date "2021-02-17"; } 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 cnbng-nal package operational data. This module contains definitions for the following management objects: cnbng-nal: cnBNG NAL operational data Copyright (c) 2013-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-02-17" { description "Added AFI only filters"; } revision "2021-02-10" { description "Removed redundant fail route index"; } revision "2021-02-04" { description "Added multi framed route support, metric and tag"; } revision "2021-01-23" { description "Added new NAL counter type thread_stats"; } revision "2020-12-13" { description "NAL SVM service final timestamp."; } revision "2020-12-08" { description "modify Disconnect History Filter keys."; } revision "2020-11-27" { description "NAL counters."; } revision "2020-11-10" { description "Update bgen path for dynamic routes and removed schema for dynamic routes history."; } revision "2020-10-26" { description "Update bag type for AIPC server stats."; } revision "2020-10-15" { description "Added schema support for cnbng-nal filter oper commands."; } revision "2020-10-08" { description "Moved counter and AIPC stats to new bag files."; } revision "2020-10-02" { description "Modified alter gen script to modify leaf list to list."; } revision "2020-09-18" { description "Added schema support for cnbng-nal access-interface oper commands."; } revision "2020-09-15" { description "adding schema support for NAL chunk statistics oper bag."; } revision "2020-09-10" { description "Updated schema for filtering subscriber summary."; } revision "2020-09-03" { description "adding schema support for NAL Counters, Dynamic routes, summary and history bag."; } revision "2020-07-24" { description "adding schema support for disconect uniuqe and modifying unique summary."; } revision "2020-06-06" { description "adding schema support for NAL Process-Info Bag"; } revision "2020-05-29" { description "adding schema support for Disconnect History Filter."; } revision "2020-05-15" { description "adding schema support for NAL CP Transport Connection Status Bag"; } revision "2020-04-30" { description "adding schema support for NAL VRF Table records"; } revision "2020-04-23" { description "added new elements in bag"; } revision "2020-04-09" { description "modified class name for FADB records"; } revision "2020-04-03" { description "adding schema support for subsriber summary and FADB records"; } revision "2020-04-02" { description "adding schema support for service profiles and process readiness"; } revision "2020-03-30" { description "adding schema support for v4 and v6 framed route"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.0"; container cnbng-nal { config false; description "cnBNG NAL operational data"; container nodes { description "List of cnBNG NAL supported nodes"; list node { key "node-name"; description "cnBNG NAL operational data for a particular node"; container disconnect-uniques { description "operational data for disconnect history unique table"; list disconnect-unique { key "disconnect-error-code"; description "operational data for disconnect history unique table"; leaf disconnect-error-code { type uint32; description "disconnect history unique error code"; } leaf disconnect-unique-session-count { type uint32; description "Number of sessions disconnected with this error code"; } leaf disc-reason { type string { length "0..64"; } description "Disconnect reason"; } leaf disconnect-errorcode { type uint32; description "error code"; } list unique-detail { max-elements 3; description "unique detail session info for last three disconnected sessions"; container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data list event-history { description "subscriber event history"; container evt-time { description "Event time"; leaf tv-sec { type uint32; description "Time in sec"; } leaf tv-nsec { type uint32; description "Time in nsec"; } } // container evt-time leaf evt-type { type uint8; description "Event type"; } leaf event-history-index { type uint32; description "Event History Index"; } } // list event-history } // list unique-detail } // list disconnect-unique } // container disconnect-uniques container session-detail-filter-afi { description "Filter sessions based on AFI type"; container dual { description "Dual type"; list afi-session-table { key "up-id"; description "Filter sessions based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list afi-session-table } // container dual container ipv4-only { description "Only IPV4 type"; list afi-session-table { key "up-id"; description "Filter sessions based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list afi-session-table } // container ipv4-only container ipv4 { description "IPV4 type (includes DUAL stack)"; list afi-session-table { key "up-id"; description "Filter sessions based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list afi-session-table } // container ipv4 container ipv6-only { description "Only IPV6 type"; list afi-session-table { key "up-id"; description "Filter sessions based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list afi-session-table } // container ipv6-only container ipv6 { description "IPV6 type (includes DUAL stack)"; list afi-session-table { key "up-id"; description "Filter sessions based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list afi-session-table } // container ipv6 } // container session-detail-filter-afi container session-detail-macs { description "Filter subscribers based on mac-address"; list session-detail-mac { key "mac-addr"; description "Select mac-address"; leaf mac-addr { type xr:Cisco-ios-xr-string; description "mac address"; } list mac-session-detail-table { key "up-id"; description "Filter subscribers based on mac-address"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list mac-session-detail-table } // list session-detail-mac } // container session-detail-macs container feature-ids { description "operational data for NAL subscriber sessions"; list feature-id { key "fadb-path"; description "operational data for NAL subscriber sessions FADB"; leaf fadb-path { type uint32; description "FADB"; } leaf feature-id { type uint32; description "Subscriber Feature-Id"; } leaf upid { type uint32; description "User-plane ID"; } leaf service-id { type uint32; description "Subscriber Service-Id"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf stale-timestamp { type uint32; description "Stale timestamp"; } leaf hold-rc { type uint32; description "Hold RC"; } leaf interim-error { type uint32; description "Interim Error"; } } // list feature-id } // container feature-ids container session-detail-internal-filter-upids { description "operational data based on filter UPID"; list session-detail-internal-filter-upid { key "up-id"; description "Filter based on UPID"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list session-detail-internal-filter-upid } // container session-detail-internal-filter-upids container services { description "operational data for NAL subscriber services"; list service { key "service"; description "operational data for NAL subscriber services"; leaf service { type xr:Cisco-ios-xr-string; description "service name"; } leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf use-count { type uint32; description "Number of subscribers using this profile"; } leaf state { type Svm-service-state; description "State of the service"; } leaf fail-err { type uint32; description "Installation failure rc"; } leaf stale-timer-remaining { type uint32; description "stale timer remaining"; } leaf assoc-in-progress { type uint32; description "No of subscribers need to use this profile"; } list wait-upi-dqueue { description "List of UPIDs waiting for this service"; leaf entry { type uint32; description "List of UPIDs waiting for this service"; } } // list wait-upi-dqueue } // list service } // container services container detail-internal-vrf-names { description "operational data for NAL subscriber sessions"; list detail-internal-vrf-name { key "vrf-name-filter"; description "Disply subscribers based on vrf "; leaf vrf-name-filter { type xr:Cisco-ios-xr-string; description "vrf name"; } list vrf-session-detail-internal-table { key "up-id"; description "Disply subscribers based on vrf "; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list vrf-session-detail-internal-table } // list detail-internal-vrf-name } // container detail-internal-vrf-names container disconnect-unique-summaries { description "operational data for disconnect history unique table"; list disconnect-unique-summary { key "disconnect-error-code"; description "operational data for disconnect history unique"; leaf disconnect-error-code { type uint32; description "disconnect history unique"; } leaf disconnect-unique-session-count { type uint32; description "Number of sessions disconnected with this error code"; } leaf disconnect-errorcode { type uint32; description "error code"; } leaf sub-if-name { type string { length "0..64"; } description "Interface Name"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf disc-reason { type string { length "0..64"; } description "Disconnect reason"; } } // list disconnect-unique-summary } // container disconnect-unique-summaries container main { description "cnBNG NAL main"; container events { description "operational data for NAL main process boot up events"; container event-history { description "Main process boot up events"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } list evt-data { description "Optional data"; leaf entry { type uint32; description "Optional data"; } } // list evt-data } // list evt-entry } // container event-history container im-event-history { description "IM module events"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } list evt-data { description "Optional data"; leaf entry { type uint32; description "Optional data"; } } // list evt-data } // list evt-entry } // container im-event-history container svm-event-history { description "SVM module events"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } list evt-data { description "Optional data"; leaf entry { type uint32; description "Optional data"; } } // list evt-data } // list evt-entry } // container svm-event-history container rib-event-history { description "RIB module events"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } list evt-data { description "Optional data"; leaf entry { type uint32; description "Optional data"; } } // list evt-data } // list evt-entry } // container rib-event-history container cp-event-history { description "CP module events"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } list evt-data { description "Optional data"; leaf entry { type uint32; description "Optional data"; } } // list evt-data } // list evt-entry } // container cp-event-history container config-event-history { description "Config module events"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } list evt-data { description "Optional data"; leaf entry { type uint32; description "Optional data"; } } // list evt-data } // list evt-entry } // container config-event-history } // container events } // container main container disconnectlasttypemacs { description "operational data disconnected session by Mac "; list disconnectlasttypemac { key "disc-mac"; description "operational data for disconnect history filter as mac "; leaf disc-mac { type xr:Cisco-ios-xr-string; description "mac"; } container fail-data { description "failed data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // container fail-data container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data leaf disc-cause { type uint32; description "Disconnect code"; } list event-history { description "subscriber event history"; container evt-time { description "Event time"; leaf tv-sec { type uint32; description "Time in sec"; } leaf tv-nsec { type uint32; description "Time in nsec"; } } // container evt-time leaf evt-type { type uint8; description "Event type"; } leaf event-history-index { type uint32; description "Event History Index"; } } // list event-history } // list disconnectlasttypemac } // container disconnectlasttypemacs container session-briefs { description "Brief data for subscriber sessions"; list session-brief { key "up-id"; description " Brief operational data for NAL subscriber sessions"; leaf up-id { type uint32; description "user plane ID"; } leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // list session-brief } // container session-briefs container disconnectlasttypesubinterfaces { description "operational data disconnected session by subinterface "; list disconnectlasttypesubinterface { key "interface-name"; description "operational data for disconnect history filter as subinterface "; leaf interface-name { type xr:Cisco-ios-xr-string; description "subscriber interface"; } container fail-data { description "failed data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // container fail-data container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data leaf disc-cause { type uint32; description "Disconnect code"; } list event-history { description "subscriber event history"; container evt-time { description "Event time"; leaf tv-sec { type uint32; description "Time in sec"; } leaf tv-nsec { type uint32; description "Time in nsec"; } } // container evt-time leaf evt-type { type uint8; description "Event type"; } leaf event-history-index { type uint32; description "Event History Index"; } } // list event-history } // list disconnectlasttypesubinterface } // container disconnectlasttypesubinterfaces container session-detail-internal-access-intfs { description "operational data for NAL subscriber sessions"; list session-detail-internal-access-intf { key "parent-intf"; description "Disply subscribers based on Access Interface "; leaf parent-intf { type uint32; description "vrf name"; } list access-intf-session-detail-internal-table { key "up-id"; description "Disply subscribers based on Access Interface"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list access-intf-session-detail-internal-table } // list session-detail-internal-access-intf } // container session-detail-internal-access-intfs container session-detail-filter-upids { description "operational data for NAL subscriber sessions"; list session-detail-filter-upid { key "up-id"; description "Subscriber details based on UPID"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list session-detail-filter-upid } // container session-detail-filter-upids container nal-chunks-stats-tbl { description "operational data for NAL chunks statistics info"; list chunk-stat { description "Chunk Memory statistics"; leaf chunk-name { type string; description "Chunk Name"; } leaf chunk-id { type uint32; description "Chunk Id"; } leaf chunk-total-alloc { type uint32; description "Total number of chunk malloc done"; } leaf chunk-total-free { type uint32; description "Total number of chunk free done"; } leaf chunk-in-use { type uint32; description "total number of chunk blocks in use"; } } // list chunk-stat } // container nal-chunks-stats-tbl container session-detail-internal-filter-afi { description "operational data for NAL subscriber sessions"; container filter-ipv4-only { description "Select ipv4 only address-family"; list detail-internal-afi-session-table { key "up-id"; description "Filter subscribers based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list detail-internal-afi-session-table } // container filter-ipv4-only container filter-ipv4 { description "Select ipv4 address-family (includes DUAL stack)"; list detail-internal-afi-session-table { key "up-id"; description "Filter subscribers based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list detail-internal-afi-session-table } // container filter-ipv4 container filter-ipv6-only { description "Select ipv6 only address-family"; list detail-internal-afi-session-table { key "up-id"; description "Filter subscribers based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list detail-internal-afi-session-table } // container filter-ipv6-only container filter-ipv6 { description "Select ipv6 address-family (includes DUAL stack)"; list detail-internal-afi-session-table { key "up-id"; description "Filter subscribers based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list detail-internal-afi-session-table } // container filter-ipv6 container filter-dual { description "Display subscriber sessions on address family filter"; list detail-internal-afi-session-table { key "up-id"; description "Filter subscribers based on AFI type"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list detail-internal-afi-session-table } // container filter-dual } // container session-detail-internal-filter-afi container session-detail-internal-macs { description "operational data for NAL subscriber sessions"; list session-detail-internal-mac { key "mac-addr"; description "Disply subscribers based on subscriber mac"; leaf mac-addr { type xr:Cisco-ios-xr-string; description "mac address"; } list mac-session-detail-internal-table { key "up-id"; description "Disply subscribers based on subscriber mac"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list mac-session-detail-internal-table } // list session-detail-internal-mac } // container session-detail-internal-macs container dynamic-routes-hist-classes { description "operational data for dynamic-route history"; list dynamic-routes-hist-class { key "history-path"; description "operational data for dynamic-route history"; leaf history-path { type uint32; description "Dynamic Routes history"; } container request-response-timestamp { description "Timestamp of request or response"; leaf tv-sec { type uint32; description "Time in sec"; } leaf tv-nsec { type uint32; description "Time in nsec"; } } // container request-response-timestamp leaf type { type Nal-main-edm-spa-rt-hist; description "Type of route history data"; } list data { description "Request or Response"; leaf entry { type uint8; description "Request or Response"; } } // list data } // list dynamic-routes-hist-class } // container dynamic-routes-hist-classes container access-intf { description "cnBNG NAL access interface"; container intf-alls { description "cnBNG NAL access interface type"; list intf-all { key "intf-handle"; description "cnBNG NAL access interface "; leaf intf-handle { type uint32; description "Access interface"; } container initiators { description "Configurational state-statistics for each initiating protocol enabled on this parent interface"; container intiator-type { description "DHCP information"; leaf is-configured { type boolean; description "Ture if the initiator is configred"; } } // container intiator-type } // container initiators leaf parent-interface { type xr:Interface-name; description "Ifhandle of parent interface"; } 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 parent-intf-flags { type uint32; description "Access Interface flags"; } leaf nal-ether-encap { type yang:hex-string; description "Ether Encap Attribute"; } leaf effective-bandwidth { type uint32; description "Effective Bandwidth"; } leaf max-bandwidth { type uint32; description "Maximum Bandwidth"; } leaf link-local { type inet:ipv6-address; description "link local address"; } } // list intf-all } // container intf-alls container intf-type { description "cnBNG NAL access interface type"; container pppoe-intf-handles { description "cnBNG NAL access interface ip-sub type"; list pppoe-intf-handle { key "pppoe-intf-handle"; description "cnBNG NAL access interface pppoe type"; leaf pppoe-intf-handle { type uint32; description "Access interface"; } container initiators { description "Configurational state-statistics for each initiating protocol enabled on this parent interface"; container intiator-type { description "DHCP information"; leaf is-configured { type boolean; description "Ture if the initiator is configred"; } } // container intiator-type } // container initiators leaf parent-interface { type xr:Interface-name; description "Ifhandle of parent interface"; } 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 parent-intf-flags { type uint32; description "Access Interface flags"; } leaf nal-ether-encap { type yang:hex-string; description "Ether Encap Attribute"; } leaf effective-bandwidth { type uint32; description "Effective Bandwidth"; } leaf max-bandwidth { type uint32; description "Maximum Bandwidth"; } leaf link-local { type inet:ipv6-address; description "link local address"; } } // list pppoe-intf-handle } // container pppoe-intf-handles container ipsub-intf-handles { description "cnBNG NAL access interface ip-sub type"; list ipsub-intf-handle { key "ipsub-intf-handle"; description "cnBNG NAL access interface ip-sub type"; leaf ipsub-intf-handle { type uint32; description "Access interface"; } container initiators { description "Configurational state-statistics for each initiating protocol enabled on this parent interface"; container intiator-type { description "DHCP information"; leaf is-configured { type boolean; description "Ture if the initiator is configred"; } } // container intiator-type } // container initiators leaf parent-interface { type xr:Interface-name; description "Ifhandle of parent interface"; } 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 parent-intf-flags { type uint32; description "Access Interface flags"; } leaf nal-ether-encap { type yang:hex-string; description "Ether Encap Attribute"; } leaf effective-bandwidth { type uint32; description "Effective Bandwidth"; } leaf max-bandwidth { type uint32; description "Maximum Bandwidth"; } leaf link-local { type inet:ipv6-address; description "link local address"; } } // list ipsub-intf-handle } // container ipsub-intf-handles } // container intf-type } // container access-intf container session-detail-sub-intfs { description "Operational data based on subscriber interface filter"; list session-detail-sub-intf { key "sub-intf"; description "Filter based on Subscriber Interface"; leaf sub-intf { type uint32; description "vrf name"; } list sub-intf-session-detail-table { key "up-id"; description "Filter based on Subscriber Interface"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list sub-intf-session-detail-table } // list session-detail-sub-intf } // container session-detail-sub-intfs container process-readiness { description "operational data for NAL main process readiness"; leaf resync-pending-flags { type uint32; description "Resync operations pending for NAL process"; } leaf sir-ready { type boolean; description "Status of SIR readiness"; } } // container process-readiness container cp-server-table { description "operational data for NAL control-plane transport server info"; container cp-connection-sts-info { description "operational data for NAL control-plane transport server connection status info"; leaf nal-transport-user-plane-src-conn-flag { type boolean; description "True if NAL Transport user-plane source connection address is configured"; } leaf nalcp-svr-connect-sts { type Nal-cp-connection-status; description "NAL control-plane connection-status value"; } leaf nalcp-svr-connect-sts-time { type uint32; description "NAL control-plane connection-status time stamp"; } leaf nalcp-svr-connect-sts-prev { type Nal-cp-connection-status; description "NAL control-plane prev connection-status value"; } leaf nalcp-svr-connect-sts-time-prev { type uint32; description "NAL control-plane prev connection-status time stamp"; } leaf cp-assoc-status { type Nal-cp-assoc-status; description "Control plane association status"; } leaf cp-assoc-status-time { type uint32; description "Control plane association status time stamp"; } leaf nal-transport-user-plane-source-conn-addr-family { type uint8; description "NAL Transport user-plane source server connection address-family"; } leaf nal-transport-up-source-ipv4-address { type inet:ipv4-address; description "NAL Transport user-plane server connection IPv4 address"; } leaf nal-transport-up-source-ipv6-address { type inet:ipv6-address; description "NAL Transport user-plane server connection IPv6 address"; } leaf nal-transport-up-src-loop-back-if-name { type string { length "0..64"; } description "NAL Transport user-plane server loopback interface-name"; } leaf nal-transport-up-source-gtpu-port { type uint32; description "NAL Transport user-plane server connection GTPU port-number"; } leaf nal-transport-up-source-pfcp-port { type uint32; description "NAL Transport user-plane server connection PFCP port-number"; } leaf nal-transport-up-source-vrf-name { type string { length "0..33"; } description "NAL Transport user-plane server connection VRF-Name"; } leaf nal-transport-control-plane-primary-srv-addr-family { type uint8; description "NAL transport control-plane primary-server connection address-family"; } leaf nal-transport-cp-primary-ipv4-address { type inet:ipv4-address; description "NAL Transport C-plane primary-server connection IPv4 address"; } leaf nal-transport-cp-primary-ipv6-address { type inet:ipv6-address; description "NAL Transport C-plane primary-server connection IPv6 address"; } leaf nal-transport-cp-server-gtpu-port { type uint32; description "NAL Transport C-plane server's GTPU port-number"; } leaf nal-transport-cp-server-pfcp-port { type uint32; description "NAL Transport C-plane server's PFCP port-number"; } leaf retry-count { type uint16; description "CP association request retry count"; } } // container cp-connection-sts-info } // container cp-server-table container summary-table { description "operational data for NAL subscriber summary"; container summary-filters { description "operational data for NAL subscriber summary filters"; container ipoe-state-summary { description "IPoE State Summary"; leaf initializing { type uint32; description "Initializing"; } leaf connecting { type uint32; description "Connecting"; } leaf connected { type uint32; description "Connected"; } leaf activated { type uint32; description "Activated"; } leaf idle { type uint32; description "Idle"; } leaf disconnecting { type uint32; description "Disconnecting"; } leaf total { type uint32; description "Total"; } } // container ipoe-state-summary container pppoe-state-summary { description "PPPoE State Summary"; leaf initializing { type uint32; description "Initializing"; } leaf connecting { type uint32; description "Connecting"; } leaf connected { type uint32; description "Connected"; } leaf activated { type uint32; description "Activated"; } leaf idle { type uint32; description "Idle"; } leaf disconnecting { type uint32; description "Disconnecting"; } leaf total { type uint32; description "Total"; } } // container pppoe-state-summary container ipoe-afi-summary { description "IPoE AFI Summary"; leaf none { type uint32; description "No afi"; } leaf ipv4 { type uint32; description "IPv4 count"; } leaf ipv6 { type uint32; description "IPv6 count"; } leaf dual { type uint32; description "Dual count"; } leaf total { type uint32; description "Total"; } } // container ipoe-afi-summary container pppoe-afi-summary { description "PPPoE AFI Summary"; leaf none { type uint32; description "No afi"; } leaf ipv4 { type uint32; description "IPv4 count"; } leaf ipv6 { type uint32; description "IPv6 count"; } leaf dual { type uint32; description "Dual count"; } leaf total { type uint32; description "Total"; } } // container pppoe-afi-summary } // container summary-filters } // container summary-table container dynamic-route-summary-tbl { description "operational data for NAL dynamic-routes summary info"; leaf v4-oc-entries { type uint32; description "Total V4 OC entries primary/secondary"; } leaf v6-oc-entries { type uint32; description "Total V6 OC entries"; } leaf v4-primary-entries { type uint32; description "Total primary addresses"; } leaf v4-sec-entries { type uint32; description "Total secondary addresses"; } leaf v4-rib-entries { type uint32; description "Total V4 RIB entries"; } leaf v6-rib-entries { type uint32; description "Total V6 RIB entries"; } leaf replayed-oc-entries { type uint32; description "Total entries replayed during last reconcile"; } } // container dynamic-route-summary-tbl container aipc-server-stats { description "operational data for NAL AIPC Server stats"; list aipc-server-stat { key "aipc-path"; description "operational data for aipc stats "; leaf aipc-path { type xr:Cisco-ios-xr-string; description "aipc"; } leaf conn-present { type boolean; description "connection status"; } leaf service-name { type string { length "0..256"; } description "process Name"; } leaf tx-attempt-count { type uint32; description "Tx attempt count"; } leaf tx-count { type uint32; description "tx count"; } leaf rx-count { type uint32; description "Rx count"; } leaf notify-connect-count { type uint32; description "Notify connect count"; } leaf notify-queue-high-count { type uint32; description "Notify Queue High count"; } leaf notify-queue-low-count { type uint32; description "Notify Queue low count"; } leaf notify-queue-full-count { type uint32; description "Notify Queue full count"; } leaf notify-data-waiting-count { type uint32; description "Notify data waiting count"; } leaf notify-error-count { type uint32; description "Notify error count"; } leaf notify-close-count { type uint32; description "Notify close count"; } leaf notify-sendstatus-count { type uint32; description "Notify send status count"; } leaf notify-open-count { type uint32; description "Notify open count"; } leaf pulse-data-waiting-count { type uint32; description "Pulse Data waiting count"; } leaf queue-full { type boolean; description "Queue full"; } leaf queue-full-drop { type uint32; description "Queue full drop"; } leaf queue-ewouldblock-count { type uint32; description "queue would block count"; } leaf outstanding-buffers { type uint32; description "Outstanding Buffers"; } leaf cumulative-overflow-msgs { type uint32; description "cumulative overflow message"; } leaf hwm-overflow-msgs { type uint32; description "Hwm overflow msg"; } leaf get-mtu-failure { type uint32; description "Get Mtu Failure"; } leaf get-buffer-failure { type uint32; description "get Buffer Failure"; } leaf get-buffer-datap-failure { type uint32; description "get Buffer datap Failure"; } leaf conn-failure { type uint32; description "Conn Failure"; } leaf send-failure { type uint32; description "Send Failure"; } leaf receive-failure { type uint32; description "receive Failure"; } leaf release-buffer-failure { type uint32; description "Release Buffer failure"; } leaf overflow-q-flush-count { type uint32; description "Overflow flush count"; } leaf get-buffer-size-failure { type uint32; description "get Buffer size Failure"; } leaf notify-queue-low-count-after-high { type uint32; description "notify queue low count after high"; } leaf last-high-watermark-count-timestamp { type uint32; description "High WaterMark timestamp"; } leaf last-low-watermark-count-timestamp { type uint32; description "Low WaterMark timestamp"; } } // list aipc-server-stat } // container aipc-server-stats container session-detail-access-intfs { description "operational data for NAL subscriber sessions"; list session-detail-access-intf { key "parent-intf"; description "Session detail based on filter Access Interface"; leaf parent-intf { type uint32; description "vrf name"; } list access-intf-session-detail-table { key "up-id"; description "Brief data for subscriber sessions"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list access-intf-session-detail-table } // list session-detail-access-intf } // container session-detail-access-intfs container disconnectlasttype-upids { description "operational data for disconnected session by upid"; list disconnectlasttype-upid { key "disc-upid"; description "operational data for disconnect history filtered by upid "; leaf disc-upid { type uint32; description "user plane ID"; } container fail-data { description "failed data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // container fail-data container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data leaf disc-cause { type uint32; description "Disconnect code"; } list event-history { description "subscriber event history"; container evt-time { description "Event time"; leaf tv-sec { type uint32; description "Time in sec"; } leaf tv-nsec { type uint32; description "Time in nsec"; } } // container evt-time leaf evt-type { type uint8; description "Event type"; } leaf event-history-index { type uint32; description "Event History Index"; } } // list event-history } // list disconnectlasttype-upid } // container disconnectlasttype-upids container dynamic-route-filter-afi { description "operational data for dynamic-route tables"; container ipv6-route { description "IPV6 type"; list dynamic-route-afi-table { key "route"; description "operational data for dynamic route-entries based on AFI type"; leaf route { type xr:Cisco-ios-xr-string; description "Dynamic Route"; } leaf vrf { type xr:Cisco-ios-xr-string; description "Dynamic Route vrf"; } leaf afi { type uint8; description "Address family for this route"; } leaf ipv6-prefix { type inet:ipv6-address; description "ipv6 prefix address"; } leaf ipv4-prefix { type inet:ipv4-address; description "ipv4 prefix address"; } leaf prefix-length { type uint32; description "Prefix length"; } leaf primary-address { type inet:ipv4-address; description "Secondary address"; } leaf state { type Nal-main-edm-oc-state; description "Status"; } leaf vrf-xr { type string { length "0..33"; } description "VRF name"; } leaf if-name { type string { length "0..64"; } description "Interface name"; } leaf tag { type uint32; description "Route tag"; } leaf flags { type uint32; description "Checkpoint flags"; } } // list dynamic-route-afi-table } // container ipv6-route container ipv4-route { description "IPV4 type"; list dynamic-route-afi-table { key "route"; description "operational data for dynamic route-entries based on AFI type"; leaf route { type xr:Cisco-ios-xr-string; description "Dynamic Route"; } leaf vrf { type xr:Cisco-ios-xr-string; description "Dynamic Route vrf"; } leaf afi { type uint8; description "Address family for this route"; } leaf ipv6-prefix { type inet:ipv6-address; description "ipv6 prefix address"; } leaf ipv4-prefix { type inet:ipv4-address; description "ipv4 prefix address"; } leaf prefix-length { type uint32; description "Prefix length"; } leaf primary-address { type inet:ipv4-address; description "Secondary address"; } leaf state { type Nal-main-edm-oc-state; description "Status"; } leaf vrf-xr { type string { length "0..33"; } description "VRF name"; } leaf if-name { type string { length "0..64"; } description "Interface name"; } leaf tag { type uint32; description "Route tag"; } leaf flags { type uint32; description "Checkpoint flags"; } } // list dynamic-route-afi-table } // container ipv4-route } // container dynamic-route-filter-afi container nal-counters-tbl { description "operational data for NAL counters context-path"; container nal-counters-info { description "operational data for NAL counters context dump"; leaf-list spa-lib-counter { type uint8; description "SPA LIB Counters"; } list subscriber-stat { max-elements 155; description "Subscriber statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list subscriber-stat list error-stat { max-elements 122; description "Error statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list error-stat list acc-stat { max-elements 39; description "Accounting statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list acc-stat list svm-stat { max-elements 114; description "SVM statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list svm-stat list spa-stat { max-elements 91; description "SPA statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list spa-stat list hist-stat { max-elements 45; description "Histogram statistics"; leaf api-name { type string { length "0..33"; } description "API name"; } leaf req-count { type uint32; description "Request count"; } leaf avg-time-sec { type uint32; units "second"; description "Average time seconds"; } leaf avg-time-nsec { type uint32; units "nanosecond"; description "Average time nano-seconds"; } leaf min-time-sec { type uint32; units "second"; description "Minimum time seconds"; } leaf min-time-nsec { type uint32; units "nanosecond"; description "Minimum time nano-seconds"; } leaf max-time-sec { type uint32; units "second"; description "Maximum time seconds"; } leaf max-time-nsec { type uint32; units "nanosecond"; description "Maximum time nano-seconds"; } leaf-list hist-array { type uint32; max-elements 9; description "Histogram counters"; } } // list hist-stat list cp-recon-stat { max-elements 112; description "CP Recon statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list cp-recon-stat list pkt-stat { max-elements 29; description "Packet statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list pkt-stat list thread-stat { max-elements 4; description "Thread statistics"; leaf counter-name { type string { length "0..33"; } description "Counter name"; } leaf counter { type uint32; description "Counter value"; } } // list thread-stat } // container nal-counters-info } // container nal-counters-tbl container session-detail-filter-session-type { description "Filter sessions based on session type"; container pppoe { description "select pppoe session type"; list type-session-table { key "up-id"; description "list of sessions based on session type "; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list type-session-table } // container pppoe container ipoe { description "select ipoe session type"; list type-session-table { key "up-id"; description "list of sessions based on session type "; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list type-session-table } // container ipoe } // container session-detail-filter-session-type container disconnectlasts { description "operational data for Disconnected subscriber sessions"; list disconnectlast { key "disconnect-last-upid"; description "operational data for disconnect history stats"; leaf disconnect-last-upid { type xr:Cisco-ios-xr-string; description "disconnect history last"; } container fail-data { description "failed data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // container fail-data container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data leaf disc-cause { type uint32; description "Disconnect code"; } list event-history { description "subscriber event history"; container evt-time { description "Event time"; leaf tv-sec { type uint32; description "Time in sec"; } leaf tv-nsec { type uint32; description "Time in nsec"; } } // container evt-time leaf evt-type { type uint8; description "Event type"; } leaf event-history-index { type uint32; description "Event History Index"; } } // list event-history } // list disconnectlast } // container disconnectlasts container detail-vrf-names { description "operational data for NAL subscriber sessions"; list detail-vrf-name { key "vrf-name-filter"; description "Filter subscribers based on vrf"; leaf vrf-name-filter { type xr:Cisco-ios-xr-string; description "vrf name"; } list vrf-session-detail-table { key "up-id"; description "Session detail based on filter vrf"; leaf up-id { type uint32; description "user plane ID"; } container sub-info { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container sub-info } // list vrf-session-detail-table } // list detail-vrf-name } // container detail-vrf-names container vrf-names { description "operational data for NAL VRF-Table context"; list vrf-name { key "vrf-name"; description "operational data for NAL VRF-Table context"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF Name"; } leaf vrf-name-xr { type string { length "0..33"; } description "Vrf Name"; } list nal-vrf-afi-instance-info { description "NAL VRF AFI Instance table info"; leaf vrf-address-family { type uint8; description "VRF Table Address-Family"; } leaf vrf-info-table-flag { type uint8; description "VRF Table Flags"; } leaf vrf-table-sync-flag { type uint8; description "buffer complete sent to RIB"; } leaf protocol-id { type uint16; description "Protocol Id"; } leaf vrf-table-id { type uint32; description "VRF Table-Id"; } leaf vrf-pending-routes { type uint32; description "VRF Table Pending-routes"; } leaf ref-count { type uint64; description "No.of interfaces referencing this table"; } leaf max-ref-count { type uint64; description "Max No. of interfaces allowed"; } } // list nal-vrf-afi-instance-info } // list vrf-name } // container vrf-names container disconnectlasttypecpids { description "operational data disconnected session by cpid"; list disconnectlasttypecpid { key "disc-cpid"; description "operational data for disconnect history filter as cpid "; leaf disc-cpid { type uint32; description "control plane ID"; } container fail-data { description "failed data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // container fail-data container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data leaf disc-cause { type uint32; description "Disconnect code"; } list event-history { description "subscriber event history"; container evt-time { description "Event time"; leaf tv-sec { type uint32; description "Time in sec"; } leaf tv-nsec { type uint32; description "Time in nsec"; } } // container evt-time leaf evt-type { type uint8; description "Event type"; } leaf event-history-index { type uint32; description "Event History Index"; } } // list event-history } // list disconnectlasttypecpid } // container disconnectlasttypecpids container session-detail-internal-filter-session-type { description "operational data for NAL subscriber sessions"; container filter-pppoe { description "Select PPPoE type"; list detail-internal-session-table { key "up-id"; description "Disply session detail internal type"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list detail-internal-session-table } // container filter-pppoe container filter-ipoe { description "Select IPoE type"; list detail-internal-session-table { key "up-id"; description "Disply session detail internal type"; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list detail-internal-session-table } // container filter-ipoe } // container session-detail-internal-filter-session-type container process-info-class { description "Significant operational data for NAL main process"; leaf nal-process-restart-flag { type boolean; description "NAL Process's restart flag"; } leaf nalot-connection-sts-flag { type boolean; description "NAL Object-tracking connection up status flag"; } leaf nal-clear-session-timer-flag { type boolean; description "NAL Clear-Session Timer Flag"; } leaf nal-clear-feature-timer-flag { type boolean; description "NAL Clear-Feature Timer Flag"; } leaf disconnect-history-file-logg-enable-flag { type boolean; description "Subscriber Disconnect-history file-logging disable feature flag"; } leaf test-client-cfg-enabled-flag { type boolean; description "NAL Test Client config enabled flag"; } leaf nal-pre-init-role { type uint8; description "NAL Process's HA PreInit Role"; } leaf nal-role { type uint8; description "NAL Process's HA Role"; } leaf node-id { type uint32; description "NAL Process's running-instance location node-id"; } leaf nalrsi-ctx-file-descriptor { type int32; description "NAL RSI contex file-desc value"; } leaf nal-pid-misc-flags { type uint32; description "NAL Main context Miscellaneous flags"; } leaf nalsvm-subdb-conn-sts-flag { type uint8; description "NAL Process's SVM context SUBDB connection-status flag"; } leaf nalsvmp-done-req-id { type uint32; description "NAL Process's SVM Produce-Done req-id"; } leaf nalsvm-recon-last-upid { type uint32; description "NAL SVM Reconciliation Last UPID"; } leaf nalsvm-reconn-pending-req { type uint32; description "NAL SVM Reconciliation Pending Requests"; } leaf nalsvm-reconn-max-req { type uint32; description "NAL SVM Reconciliation Max Requests"; } leaf nal-sub-ctx-replay-in-progress { type uint32; description "NAL Subscriber context stale cache-size"; } leaf nal-subs-ctx-cache-queue-size { type uint32; description "NAL Subscriber context stale cache-size"; } leaf nal-subs-ctx-stale-queue-size { type uint32; description "NAL Subscriber context stale queue-size"; } leaf disconnect-queue-size { type uint32; description "NAL Subscriber disconnect queue size"; } leaf nal-msg-local-seq-no { type uint32; description "NAL Message locally generated seq_no"; } leaf nal-msg-seq-no { type uint32; description "NAL message seq_no towards SPA"; } leaf nal-bulk-disc-invoke-time { type uint64; description "NAL Bulk Disconnect-session start time"; } leaf nal-statistics-hold-timeout-val { type uint32; description "NAL Stats Hold-Timeout value"; } leaf nal-statistics-hold-req-count { type uint32; description "NAL Stats Hold-Request Count"; } leaf nal-statistics-hold-req-max { type uint32; description "NAL Stats Hold-Request Max-threshold"; } leaf nal-statistics-stop-req-count { type uint32; description "NAL Stats Stop-Request counter"; } leaf nal-statistics-interim-req-count { type uint32; description "NAL Stats Interim-Request counter"; } leaf nal-clear-session-stats-req-count { type uint32; description "NAL Clear-Session Stats Request counter"; } leaf nal-clear-feature-stats-req-count { type uint32; description "NAL Clear-Feature Stats Request counter"; } leaf nal-stats-processing-flags { type uint32; description "NAL Statistics miscelleaneous flags"; } leaf create-in-progress { type uint32; description "Number of subscriber create in progress"; } leaf delete-in-progress { type uint32; description "Number of subscriber delete in progress"; } leaf update-in-progress { type uint32; description "Number of subscriber update in progress"; } leaf cp-recon-duration { type uint32; description "CP recon duration"; } leaf cp-recon-flags { type uint32; description "CP recon flags"; } leaf cp-replay-reqs-in-progress { type uint32; description "CP replay reqs in progress"; } leaf cp-replay-subs-in-progress { type uint32; description "CP replay subs in progress"; } leaf disconnect-notification-count { type uint32; description "Number of subscriber disconnect notifications in queue"; } leaf lcp-timeout-notification-count { type uint32; description "Number of LCP timeout notifications in queue"; } leaf disconnect-notification-drop-count { type uint32; description "Number of subscriber disconnect notifications dropped"; } leaf lcp-timeout-notification-drop-count { type uint32; description "Number of LCP timeout notifications dropped"; } leaf notification-timer-expiry-count { type uint32; description "Number of times notification flow control timer expired"; } leaf notification-timer-running { type boolean; description "Notification flow control timer running or not"; } leaf stats-message-count { type uint32; description "Number of interim stats messages in queue"; } leaf stats-timer-expiry-count { type uint32; description "Number of times stats flow control timer expired"; } leaf stats-timer-running { type boolean; description "Stats flow control timer running or not"; } } // container process-info-class container session-detail-internal-sub-intfs { description "Disply subscribers based on subscriber Interface "; list session-detail-internal-sub-intf { key "sub-intf"; description "Disply subscribers based on subscriber Interface "; leaf sub-intf { type uint32; description "vrf name"; } list sub-intf-session-detail-internal-table { key "up-id"; description "Disply subscribers based on subscriber Interface "; leaf up-id { type uint32; description "user plane ID"; } container session-data { description "subscriber session data info"; container session-brief { description "session brief"; leaf cp-id { type uint32; description "Control-plane ID"; } leaf ifhandle { type xr:Interface-name; description "Subscriber Interface name"; } leaf subscriber-fsm-state { type Oper-nal-db-subscriber-state; description "Nal Subscriber state"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf vrf-name { type string { length "0..33"; } description "Vrf Name"; } leaf subscriber-ipv4-address { type inet:ipv4-address; description "IPv4 Address of the subscriber"; } leaf framed-ipv4-prefix-len { type yang:hex-string; description "IPv4 framed prefix len"; } leaf ipv6-iana-address { type inet:ipv6-address; description "ipv6 iana address"; } leaf ipv6-iapd-address { type inet:ipv6-address; description "ipv6 iapd address"; } leaf ipv6-iapd-prefix { type uint8; description "ipv6 iapd prefix"; } leaf framed-ipv6-prefix-len { type yang:hex-string; description "IPv6 framed prefix len"; } list framed-ipv4-addr { max-elements 4; description "IPv4 framed addr"; leaf entry { type inet:ipv4-address; description "IPv4 framed addr"; } } // list framed-ipv4-addr list framed-ipv6-addr { max-elements 4; description "IPv6 framed addr"; leaf entry { type In6-addr; description "IPv6 framed addr"; } } // list framed-ipv6-addr } // container session-brief leaf up-id { type uint32; description "User-plane ID"; } leaf pppoe-session-id { type uint16; description "PPPoE sesison ID"; } leaf retry-count { type uint32; description "Retry count"; } leaf local-magic-number { type uint32; description "Local magic number"; } leaf peer-magic-number { type uint32; description "Peer magic number"; } leaf keep-alive-interval { type uint32; description "Keep alive interval"; } leaf total-ka-req-sent { type uint32; description "Total KA Req Sent"; } leaf total-ka-resp-recv { type uint32; description "Total KA Resp Recv"; } leaf total-ka-req-recv { type uint32; description "Total KA Req Recv"; } leaf total-ka-resp-sent { type uint32; description "Total KA Resp Sent"; } leaf mtu { type uint32; description "Max transfer unit"; } leaf is-encap-string-ready { type boolean; description "Flag whether encap String is ready or not"; } leaf ka-echo-request-counter { type uint32; description "Keepalive req sent but resp not received"; } leaf lcp-identity { type uint8; description "Identification for KA echo req"; } leaf pppflags { type uint32; description "PPP flags"; } leaf subscriber-type { type Oper-nal-db-subscriber; description "Nal Subacriber type"; } leaf parent-ifhandle { type xr:Interface-name; description "Parent interface"; } leaf parent-interface { type string { length "0..64"; } description "Parent interface"; } leaf subscriber-interface { type string { length "0..64"; } description "Subscriber interface"; } leaf inner-vlan { type uint32; description "Inner Vlan"; } leaf outer-vlan { type uint32; description "Outer Vlan"; } leaf cpe-link-local-address { type inet:ipv6-address; description "CPE link local address"; } leaf feature-id-info { type uint32; description "Subscriber feature id info"; } leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf interim-interval { type uint32; description "Interim Interval"; } leaf last-interim-time-stamp { type uint32; description "Last Interim Time Stamp"; } leaf interim-fail-count { type uint32; description "Interim Fail Count"; } leaf interim-error { type uint32; description "Interim Error"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf subscriber-create-time { type uint32; description "Subscriber Create Time"; } leaf subscriber-ipv4-up-time { type uint32; description "Subscriber IPv4 Up Time"; } leaf subscriber-ipv6-up-time { type uint32; description "Subscriber IPv6 Up Time"; } leaf subscriber-ipv4-down-time { type uint32; description "Subscriber IPv4 Down Time"; } leaf subscriber-ipv6-down-time { type uint32; description "Subscriber IPv6 Down Time"; } leaf subscriber-af-down-reason { type uint32; description "Subscriber AF Down Reason"; } leaf afup-flags { type uint32; description "AF ipv4/ipv6 up falgs"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf sub-disc-time { type uint32; description "Subscriber Disconnect Time "; } leaf ipv4-route-count { type uint8; description "IPv4 route count"; } leaf ipv6-route-count { type uint8; description "IPv6 route count"; } leaf ipoe-afi-cap { type uint32; description "IPOE Subscriber AFI Capability"; } leaf loopback-name { type string { length "0..65"; } description "Loopback Name"; } leaf subscriber-ipv4gw { type uint32; description "Subscriber IPv4 Gateway"; } list active-service { description "activated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf activation-time { type uint32; description "service deactivation Time"; } leaf flags { type uint32; description "flags"; } leaf feature-id { type uint32; description "Feature ID"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } leaf final-time { type uint32; description "service final stats Time"; } } // list active-service list ipv4-framed-route { max-elements 4; description "ipv4 framed route"; leaf next-hop { type inet:ipv4-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv4-framed-route list ipv6-framed-route { max-elements 4; description "ipv6 framed route"; leaf next-hop { type inet:ipv6-address; description "Next Hop"; } leaf tag { type uint32; description "Tag"; } leaf metric { type uint32; description "Metric"; } leaf next-hop-vrf { type string { length "0..33"; } description "Next Hop Vrf Name"; } } // list ipv6-framed-route } // container session-data container sub-intf { description "sub intf"; leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf flags { type uint64; description "flags bits"; } leaf vrf-id { type uint32; description "vrf ID"; } leaf v4-table-id { type uint32; description "V4 table id"; } leaf v6-table-id { type uint32; description "V6 table id"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container sub-intf container svm-inflight { description "svm inflight"; leaf opearation { type Svm-sub-oper; description "Operation in progress"; } leaf state { type Svn-sub-state; description "State of the subscriber SVM data"; } leaf fail-rc { type uint32; description "Fail rc"; } leaf up-list { type yang:hex-string; description "User profile attribute list"; } leaf remove-list { type yang:hex-string; description "User profile attribute remove list"; } leaf service-index { type uint32; description "Service that is currently under process"; } leaf subdb-pd-req-id { type uint32; description "SUBDB produce done req id"; } leaf reconcile-state { type Svm-reconcile-state; description "Reconcilitation state"; } list service { description "Service list array"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf service-id { type uint32; description "Service id assigned by SUBDB"; } leaf operation { type Nal-spa-oper; description "Operation to be performed"; } leaf service-flags { type uint32; description "Service flags"; } leaf params-list { type yang:hex-string; description "Attribute list of service params"; } leaf feature-id { type uint32; description "Feature ID"; } } // list service } // container svm-inflight container ipsub-inflight { description "ipsub inflight"; leaf opearation { type Nal-intf-oper; description "Operation in progress"; } leaf flags { type uint64; description "Flags to represent pending activities"; } leaf fail-rc { type uint32; description "Backup of update error, internal rollback in progresss"; } } // container ipsub-inflight container trans-sub-context { description "trans sub context"; container trans-context { description "trans context"; leaf state { type Nal-trans-state; description "Subscriber transactio state"; } leaf client-type { type Nal-trans-client-data; description "Client type indicate who is triggert this transction"; } leaf trans-id { type uint32; description "Transaction ID"; } leaf disconnect-ack { type uint32; description "Disconnect Ack"; } leaf module-err { type uint32; description "Error generated by sub module"; } leaf module-interaction-mask { type uint64; description "Flag to indicate which sub-module interactions are in progress"; } leaf rollback-module-mask { type uint64; description "Flag to indicate which sub-module rollback needs to be invoked"; } leaf pending-cb-bitmask { type uint64; description "Flag indicating pending callbacks for this transaction"; } } // container trans-context } // container trans-sub-context container last-init-data { description "last init data"; container base { description "base"; leaf type { type uint8; description "Init data type"; } leaf version { type uint8; description "Init data version"; } leaf length { type uint16; description "Init data length"; } } // container base leaf subscriber-mac { type yang:mac-address; description "MAC address"; } leaf vlan-tag-count { type uint16; description "Vlan tag count"; } leaf vrf-table-id { type uint32; description "Vrf table id "; } leaf v6-vrf-table-id { type uint32; description "Ipv6 Vrf table id "; } leaf up-link-gre-key { type uint32; description "Up link gre key"; } leaf down-link-gre-key { type uint32; description "Down link gre key"; } leaf subscriber-gw-mac { type yang:mac-address; description "Gateway MAC address"; } leaf sub-attr-bits { type uint8; description "Subscriber attr bits"; } leaf sub-info-bits { type uint8; description "Subscriber info bits"; } leaf subscriber-ipv4 { type uint32; description "Subscriber IPv4"; } leaf nexthop-ipv4 { type uint32; description "next hop IPv4 address"; } leaf subscriber-ipv6 { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf subscriber-ipv6-prefix { type inet:ipv6-address; description "Subscriber Ipv6 address"; } leaf nexthop-ipv6 { type inet:ipv6-address; description "Nexthop Ipv6 address"; } leaf v6-len { type uint8; description "V6 len"; } leaf v6-prefix-len { type uint8; description "V6 prefix len"; } leaf template-ifh { type uint32; description "Template interface handle"; } leaf ipv4-mtu { type uint16; description "Ipv4 MTU"; } leaf ipv6-mtu { type uint16; description "Ipv6 MTU"; } leaf odns-deviceid-higher { type uint32; description "ODNS device id highter"; } leaf odns-deviceid-lower { type uint32; description "ODNS device id Lower"; } list vlan-stack { max-elements 2; description "vlan stack type"; leaf etype { type uint16; description "etype"; } leaf ucv { type uint16; description "ucv"; } } // list vlan-stack } // container last-init-data leaf subscriber-flags { type uint32; description "Subscriber flags"; } leaf ha-flags { type uint32; description "Subscriber flags"; } leaf last-transaction-result { type uint32; description "Last Transaction Result"; } leaf hold-stats-error { type uint32; description "hold stats status"; } leaf clear-stats-error { type uint32; description "clear stats status"; } leaf packets-in { type uint32; description "No of packets In"; } leaf packets-out { type uint32; description "No of packets Out"; } leaf ipv4-packets-in { type uint32; description "No of IPv4 packets In"; } leaf ipv4-packets-out { type uint32; description "No of IPv4 packets Out"; } leaf ipv4-bytes-in { type uint32; description "IPv4 Bytes in"; } leaf ipv4-bytes-out { type uint32; description "IPv4 Bytes out"; } leaf ipv4-bytes-in-giga { type uint32; description "IPv4 Bytes in Giga"; } leaf ipv4-bytes-out-giga { type uint32; description "IPv4 Bytes out in Giga"; } leaf ipv6-packets-in { type uint32; description "No of IPv6 packets In"; } leaf ipv6-packets-out { type uint32; description "No of IPv6 packets Out"; } leaf ipv6-bytes-in { type uint32; description "IPv6 Bytes in"; } leaf ipv6-bytes-out { type uint32; description "IPv6 Bytes out"; } leaf ipv6-bytes-in-giga { type uint32; description "IPv6 Bytes in Giga"; } leaf ipv6-bytes-out-giga { type uint32; description "IPv6 Bytes out in Giga"; } leaf transaction-id { type uint32; description "Subscriber transaction id"; } leaf stale-feature-id-info { type uint32; description "subscriber stale feature id info"; } leaf sus-dconnect-time { type uint32; description "Subscriber disconnect Time"; } leaf obj-hdl { type uint64; description "objext handle"; } leaf spi-oattched { type boolean; description "Has SPIO attached"; } leaf old-loopback-name { type string { length "0..65"; } description "Old Loopback Name"; } leaf old-subscriber-ipv4gw { type uint32; description "Old Subscriber IPv4 Gateway"; } list deactivated-service { description "last deactivated services"; leaf service-name { type string { length "0..65"; } description "Name of the service"; } leaf deactivation-time { type uint32; description "service deactivation Time"; } leaf bytes-in { type uint32; units "byte"; description "Bytes in"; } leaf bytes-out { type uint32; units "byte"; description "Bytes out"; } leaf bytes-ingiga { type uint32; units "byte"; description "In Bytes in Giga"; } leaf bytes-out-giga { type uint32; units "byte"; description "Bytes out in Giga"; } } // list deactivated-service list last-fail { description "last failed transaction data"; leaf data { type string { length "0..256"; } description "Failed data"; } leaf msg-txn-id { type uint32; description "Message Txn ID"; } leaf sess-txn-id { type uint32; description "Session Txn ID"; } leaf feature-mask { type uint32; description "Feature Mask"; } leaf svm-state { type uint32; description "SVM state"; } leaf ip-sub-flags { type uint64; description "IPSUB flags"; } leaf pending-callback { type uint64; description "Pending Callback"; } leaf failure-reason { type uint32; description "Failure Reason"; } leaf failure-timestamp { type uint32; description "Failure Timestamp"; } } // list last-fail } // list sub-intf-session-detail-internal-table } // list session-detail-internal-sub-intf } // container session-detail-internal-sub-intfs leaf node-name { type xr:Node-id; description "Node name"; } } // list node } // container nodes } // container cnbng-nal } // module Cisco-IOS-XR-cnbng-nal-oper
© 2023 YumaWorks, Inc. All rights reserved.