This submodule contains a collection of YANG definitions for Cisco IOS-XR ipv4-io package operational data. Copyright (c) 2013-...
Version: 2019-10-01
submodule Cisco-IOS-XR-ipv4-io-oper-sub2 { yang-version 1; belongs-to Cisco-IOS-XR-ipv4-io-oper { prefix Cisco-IOS-XR-ipv4-io-oper; } import ietf-inet-types { prefix inet; } import cisco-semver { prefix semver; } 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 submodule contains a collection of YANG definitions for Cisco IOS-XR ipv4-io package operational data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-10-01" { description "Updated brief and detail containers for node related interfaces."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-08-01" { description "Removed empty groupings."; } revision "2015-10-20" { description "this schema file has all the latest changes."; } revision "2015-01-07" { description "IOS XR 5.3.1 revision."; } semver:module-version "1.1.0"; semver:module-version "1.0.1"; typedef Im-state-enum { type enumeration { enum "im-state-not-ready" { value 0; description "im state not ready"; } enum "im-state-admin-down" { value 1; description "im state admin down"; } enum "im-state-down" { value 2; description "im state down"; } enum "im-state-up" { value 3; description "im state up"; } enum "im-state-shutdown" { value 4; description "im state shutdown"; } enum "im-state-err-disable" { value 5; description "im state err disable"; } enum "im-state-down-immediate" { value 6; description "im state down immediate"; } enum "im-state-down-immediate-admin" { value 7; description "im state down immediate admin"; } enum "im-state-down-graceful" { value 8; description "im state down graceful"; } enum "im-state-begin-shutdown" { value 9; description "im state begin shutdown"; } enum "im-state-end-shutdown" { value 10; description "im state end shutdown"; } enum "im-state-begin-error-disable" { value 11; description "im state begin error disable"; } enum "im-state-end-error-disable" { value 12; description "im state end error disable"; } enum "im-state-begin-down-graceful" { value 13; description "im state begin down graceful"; } enum "im-state-reset" { value 14; description "im state reset"; } enum "im-state-operational" { value 15; description "im state operational"; } enum "im-state-not-operational" { value 16; description "im state not operational"; } enum "im-state-unknown" { value 17; description "im state unknown"; } enum "im-state-last" { value 18; description "im state last"; } } description "Im state enum"; } typedef Ipv4-ma-oper-config { type enumeration { enum "ipv4-ma-oper-client-none" { value 0; description "ipv4 ma oper client none"; } enum "ipv4-ma-oper-non-oc-client" { value 1; description "ipv4 ma oper non oc client"; } enum "ipv4-ma-oper-oc-client" { value 2; description "ipv4 ma oper oc client"; } } description "ipv4 client type"; } typedef Rpf-mode { type enumeration { enum "strict" { value 0; description "Strict RPF"; } enum "loose" { value 1; description "Loose RPF"; } } description "Interface line states"; } typedef Str { type string; description "Str"; } typedef Ipv4-ma-oper-line-state { type enumeration { enum "unknown" { value 0; description "Interface state is unknown"; } enum "shutdown" { value 1; description "Interface has been shutdown"; } enum "down" { value 2; description "Interface state is down"; } enum "up" { value 3; description "Interface state is up"; } } description "Interface line states"; } grouping IF-SUMMARY { description "Count of assigned/unnumbered/unassigned interfaces"; leaf ip-assigned { type uint32; description "Number of interfaces with explicit addresses"; } leaf ip-unnumbered { type uint32; description "Number of unnumbered interfaces with explicit addresses"; } leaf ip-unassigned { type uint32; description "Number of unassigned interfaces with explicit addresses"; } } // grouping IF-SUMMARY grouping IPV4-IF-SUMMARY { description "Summary info of IP interfaces"; container if-up-up { description "Number of interfaces (up,up)"; uses IF-SUMMARY; } // container if-up-up container if-up-down { description "Number of interfaces (up,down)"; uses IF-SUMMARY; } // container if-up-down container if-down-down { description "Number of interfaces (down,down)"; uses IF-SUMMARY; } // container if-down-down container if-shutdown-down { description "Number of interfaces (shutdown,down)"; uses IF-SUMMARY; } // container if-shutdown-down leaf if-up-down-basecaps-up { type uint32; description "Number of interfaces (up,down) with basecaps up"; } } // grouping IPV4-IF-SUMMARY grouping BGP-PA-DIR { description "BGP PA config for ingress/egress direction"; leaf enable { type boolean; description "Enable BGP PA for ingress/egress"; } leaf source { type boolean; description "Enable source accouting"; } leaf destination { type boolean; description "Enable destination accouting"; } } // grouping BGP-PA-DIR grouping BGP-PA-CONFIG { description "BGP PA config information"; container input { description "BGP PA input config"; uses BGP-PA-DIR; } // container input container output { description "BGP PA output config"; uses BGP-PA-DIR; } // container output } // grouping BGP-PA-CONFIG grouping RPF-CONFIG { description "RPF config information"; leaf enable { type boolean; description "Enable RPF config"; } leaf allow-default-route { type boolean; description "Allow Default Route for RPF config"; } leaf allow-self-ping { type boolean; description "Allow Self Ping"; } leaf mode { type Rpf-mode; description "RPF Mode (loose/strict)"; } } // grouping RPF-CONFIG grouping HADDR-ARRAY { description "Helper Address List "; list address-array { description "Helper address"; leaf entry { type inet:ipv4-address; description "Helper address"; } } // list address-array } // grouping HADDR-ARRAY grouping MULTI-ACL-CONFIG { description "Multi ACL config information"; list inbound { max-elements 5; description "Inbound ACLs"; leaf entry { type Str; description "Inbound ACLs"; } } // list inbound list outbound { max-elements 5; description "Outbound ACLs"; leaf entry { type Str; description "Outbound ACLs"; } } // list outbound list common { max-elements 5; description "Common ACLs"; leaf entry { type Str; description "Common ACLs"; } } // list common } // grouping MULTI-ACL-CONFIG grouping ACL-CONFIG { description "ACL config information"; leaf inbound { type string; description "ACL applied to incoming packets"; } leaf outbound { type string; description "ACL applied to outgoing packets"; } leaf common-in-bound { type string; description "Common ACL applied to incoming packets"; } leaf common-out-bound { type string; description "Common ACL applied to outgoing packets"; } } // grouping ACL-CONFIG grouping IP-ADDR-NODE { description "List of IP Addresses "; leaf address { type inet:ipv4-address; description "Ipv4 address"; } leaf prefix-length { type uint32; description "Prefix length of address"; } leaf route-tag { type uint32; description "Route Tag associated with this address (0 = no tag)"; } } // grouping IP-ADDR-NODE grouping MCAST-GROUP { description "MCast Group List "; leaf group-address { type inet:ipv4-address; description "Address of multicast group"; } } // grouping MCAST-GROUP grouping IPV4-IF-DETAIL { description "Detailed Info of IP Interface"; container acl { description "ACLs configured on the interface"; uses ACL-CONFIG; } // container acl container multi-acl { description "Multi ACLs configured on the interface"; uses MULTI-ACL-CONFIG; } // container multi-acl container helper-address { description "Helper Addresses configured on the interface"; uses HADDR-ARRAY; } // container helper-address container rpf { description "RPF config on the interface"; uses RPF-CONFIG; } // container rpf container bgp-pa { description "BGP PA config on the interface"; uses BGP-PA-CONFIG; } // container bgp-pa leaf primary-address { type inet:ipv4-address; description "Ipv4 primary address of the interface"; } leaf vrf-id { type uint32; description "VRF ID of the interface"; } leaf line-state { type Ipv4-ma-oper-line-state; description "Line state of the interface"; } leaf prefix-length { type uint32; description "Prefix length of primary address"; } leaf route-tag { type uint32; description "Route tag associated with the primary address (0 = no tag)"; } leaf mtu { type uint32; description "IP MTU of the interface"; } leaf unreachable { type boolean; description "Are ICMP unreachables sent on the interface?"; } leaf redirect { type boolean; description "Are ICMP redirects sent on the interface?"; } leaf direct-broadcast { type boolean; description "Are direct broadcasts sent on the interface?"; } leaf mask-reply { type boolean; description "Are mask replies sent on the interface?"; } leaf rg-id-exists { type boolean; description "Does ICCP RG ID exist on the interface?"; } leaf mlacp-active { type boolean; description "Is mLACP state Active (valid if RG ID exists)"; } leaf unnumbered-interface-name { type string; description "Name of referenced interface (valid if unnumbered)"; } leaf next-unnumbered-interface-name { type string; description "Name of interface which is also unnum to same interface where this intf is unnumbered"; } leaf proxy-arp-disabled { type boolean; description "Is Proxy ARP disabled on the interface?"; } leaf flow-tag-src { type boolean; description "Is BGP Flow Tag Source is enable"; } leaf flow-tag-dst { type boolean; description "Is BGP Flow Tag Destination is enable"; } leaf config-flags { type uint16; description "IDB configuration flags"; } leaf oper-flags { type uint64; description "IDB operational flags"; } leaf arm-flags { type uint16; description "IP ARM operation flags"; } leaf state-recvd-frm-im { type Ipv4-ma-oper-line-state; description "state as recieved from IM"; } leaf cflct-address { type inet:ipv4-address; description "Conflicated ipv4 address"; } leaf client-type { type Ipv4-ma-oper-config; description "Client type for IDB"; } leaf is-or-event { type boolean; description "Is OR event for IDB"; } leaf or-im-state { type Im-state-enum; description "OR IM state type"; } leaf or-im-state-rcvd { type Im-state-enum; description "Rcvd OR IM state type"; } leaf or-im-state-constraint { type Im-state-enum; description "Rcvd OR IM constraint state type"; } leaf idb-pointer { type uint64; description "idb pointer value"; } list multicast-group { description "Multicast groups joined on the interface"; uses MCAST-GROUP; } // list multicast-group list secondary-address { description "Secondary addresses on the interface"; uses IP-ADDR-NODE; } // list secondary-address } // grouping IPV4-IF-DETAIL grouping IPV4-IF-BRIEF { description "Brief Summary of IP Interface"; leaf primary-address { type inet:ipv4-address; description "Ipv4 primary address of the interface"; } leaf vrf-id { type uint32; description "VRF ID of the interface"; } leaf vrf-name { type string; description "VRF name of the interface"; } leaf line-state { type Ipv4-ma-oper-line-state; description "Line state of the interface"; } } // grouping IPV4-IF-BRIEF } // submodule Cisco-IOS-XR-ipv4-io-oper-sub2
© 2024 YumaWorks, Inc. All rights reserved.