This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-acl package operational data. This module contains ...
Version: 2020-11-13
module Cisco-IOS-XR-ipv4-acl-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-oper"; prefix ipv4-acl-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-common-acl-datatypes { prefix dt1; } include Cisco-IOS-XR-ipv4-acl-oper-sub1 { revision-date "2020-11-13"; } 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 ipv4-acl package operational data. This module contains definitions for the following management objects: ipv4-acl-and-prefix-list: Root class of IPv4 Oper schema tree Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-11-13" { description "Adding policer and priority."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2019-02-12" { description "Fixing CSCvn61905."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.1.0"; semver:module-version "1.0.1"; container ipv4-acl-and-prefix-list { config false; description "Root class of IPv4 Oper schema tree"; container access-list-manager { description "Access list manager containing access lists and prefix lists"; container prefixes { description "Table of prefix lists"; list prefix { key "prefix-list-name"; description "Name of the prefix list"; container prefix-list-sequences { description "Table of all the SequenceNumbers per prefix list"; list prefix-list-sequence { key "sequence-number"; description "Sequence Number of a prefix list entry"; leaf sequence-number { type dt1:Acl-sequence-number-range; description "Sequence Number of the prefix list entry"; } leaf item-type { type Acl-ace; description "ACE type (prefix, remark)"; } leaf sequence { type uint32; description "ACLE sequence number"; } leaf grant { type Acl-action; description "Grant value permit/deny "; } leaf prefix { type inet:ipv4-address; description "Prefix"; } leaf prefix-length { type uint32; description "Prefix length "; } leaf operator { type Acl-port-operator; description "Port Operator"; } leaf minimum-length { type uint32; description "Min length"; } leaf maximum-length { type uint32; description "Maximum length"; } leaf hits { type uint32; description "Number of hits"; } leaf remark { type string; description "Remark String"; } leaf acl-name { type string; description "ACL Name"; } } // list prefix-list-sequence } // container prefix-list-sequences leaf prefix-list-name { type xr:Cisco-ios-xr-string { length "1..32"; } description "Name of the prefix list"; } } // list prefix } // container prefixes container accesses { description "Access listL class displaying Usage and Entries"; list access { key "access-list-name"; description "Name of the Access List"; container access-list-sequences { description "Table of all the SequenceNumbers per access list"; list access-list-sequence { key "sequence-number"; description "Sequence Number of an access list entry"; leaf sequence-number { type dt1:Acl-sequence-number-range; description "ACLEntry Sequence Number"; } container hw-next-hop-info { description "HW Next hop info"; leaf next-hop { type uint32; description "The Next Hop"; } leaf type { type Bag-acl-nh; description "the next-hop type"; } leaf vrf-name { type string { length "0..32"; } description "VRF name"; } } // container hw-next-hop-info container police { description "Police"; leaf police-value { type uint32; description "Police value"; } leaf police-unit { type Bag-acl-rate-unit; description "Police unit"; } leaf police-peak-value { type uint32; description "Police peak value"; } leaf police-peak-unit { type Bag-acl-rate-unit; description "Police peak unit"; } } // container police leaf item-type { type Acl-ace; description "ACE type (acl, remark)"; } leaf sequence { type uint32; description "ACLE sequence number"; } leaf grant { type Acl-action; description "Permit/deny"; } leaf protocol-operator { type uint16; description "IPv4 protocol operator"; } leaf protocol { type uint16; description "IPv4 protocol type"; } leaf protocol2 { type uint16; description "IPv4 protocol 2"; } leaf source-address { type inet:ipv4-address; description "Source address"; } leaf source-address-mask { type inet:ipv4-address; description "Source mask"; } leaf destination-address { type inet:ipv4-address; description "Destination address"; } leaf destination-address-mask { type inet:ipv4-address; description "Destination mask"; } leaf source-operator { type Acl-port-operator; description "Source operator"; } leaf source-port1 { type uint16; description "Source port 1"; } leaf source-port2 { type uint16; description "Source port 2"; } leaf sorce-operator { type Acl-port-operator; description "Deprecated by Source operator"; } leaf sorce-port1 { type uint16; description "Deprecated by SourcePort1"; } leaf sorce-port2 { type uint16; description "Deprecated by SourcePort2"; } leaf destination-operator { type Acl-port-operator; description "Destination operator"; } leaf destination-port1 { type uint16; description "Destination port 1"; } leaf destination-port2 { type uint16; description "Destination port 2"; } leaf log-option { type Acl-log; description "Log option"; } leaf counter-name { type string; description "Counter name"; } leaf capture { type boolean; description "Capture option, TRUE if enabled"; } leaf dscp-present { type boolean; description "DSCP present"; } leaf dscp { type uint8; description "DSCP or DSCP range start"; } leaf dscp2 { type uint8; description "DSCP Range End"; } leaf dscp-operator { type uint8; description "DSCP Operator"; } leaf precedence-present { type boolean; description "Precedence present"; } leaf precedence { type uint8; description "Precedence"; } leaf tcp-flags-operator { type Acl-tcpflags-operator; description "TCP flags operator"; } leaf tcp-flags { type uint8; description "TCP flags"; } leaf tcp-flags-mask { type uint8; description "TCP flags mask"; } leaf fragments { type uint8; description "Fragments"; } leaf packet-length-operator { type Acl-plen-operator; description "Packet length operator"; } leaf packet-length1 { type uint16; description "Packet length 1"; } leaf packet-length2 { type uint16; description "Packet length 2"; } leaf ttl-operator { type Acl-ttl-operator; description "TTL operator"; } leaf ttl1 { type uint16; description "TTL 1"; } leaf ttl2 { type uint16; description "TTL 2"; } leaf no-stats { type boolean; description "No stats"; } leaf hits { type uint64; description "Number of hits"; } leaf police-hits { type uint64; description "Police stats"; } leaf is-icmp-off { type boolean; description "True if ICMP off"; } leaf qos-group { type uint16; description "Qos group number"; } leaf next-hop-type { type Bag-acl-nh; description "Next hop type"; } leaf remark { type string; description "Remark String"; } leaf dynamic { type boolean; description "Is dynamic ACE"; } leaf source-prefix-group { type string; description "Source prefix object-group"; } leaf destination-prefix-group { type string; description "Destination prefix object-group"; } leaf source-port-group { type string; description "Source port object-group"; } leaf destination-port-group { type string; description "Destination port object-group"; } leaf acl-name { type string; description "ACL Name"; } leaf sequence-str { type string; description "Sequence String"; } leaf fragment-offset-operator { type Acl-frag-offset-operator; description "Fragment offset operator"; } leaf fragment-offset1 { type uint16; description "Fragment offset 1"; } leaf fragment-offset2 { type uint16; description "Fragment offset 2"; } leaf set-ttl { type uint16; description "SET TTL"; } leaf fragment-flags { type uint8; description "Fragment flags"; } leaf priority { type Acl-priority; description "Priority"; } list next-hop-info { max-elements 3; description "Next hop info"; leaf next-hop { type inet:ipv4-address; description "The next hop"; } leaf track-name { type string; description "Track name"; } leaf status { type Bag-acl-nh-status; description "The next hop status"; } leaf at-status { type Bag-acl-nh-at-status; description "The next hop at status"; } leaf is-acl-next-hop-exist { type boolean; description "The nexthop exist"; } } // list next-hop-info list udf { description "UDF BAG"; leaf udf-name { type string { length "0..17"; } description "UDF Name"; } leaf udf-value { type uint32; description "UDF Value"; } leaf udf-mask { type uint32; description "UDF Mask"; } } // list udf } // list access-list-sequence } // container access-list-sequences container object-group { description "Object Group in an Access list"; list obj-grp-info { description "Object-group info"; leaf obj-grp-name { type string { length "0..64"; } description "Object-group name"; } leaf obj-grp-type { type uint32; description "Object-group Type"; } } // list obj-grp-info } // container object-group leaf access-list-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Name of the Access List"; } } // list access } // container accesses container usages { description "Table of Usage statistics of access lists at different nodes"; list usage { description "Usage statistics of an access list at a node"; leaf node-name { type xr:Node-id; description "Node where access list is applied"; } leaf application-id { type dt1:Acl-usage-app-id-enum; description "Application ID"; } leaf access-list-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Name of the access list"; } leaf usage-details { type string; mandatory true; description "Usage Statistics Details"; } } // list usage } // container usages } // container access-list-manager container oor { description "Out Of Resources, Limits to the resources allocatable"; container details { description "Details of the Overall Out Of Resources Limits"; leaf default-max-ac-ls { type uint32; description "default max configurable acls"; } leaf default-max-ac-es { type uint32; description "default max configurable aces"; } leaf current-configured-ac-ls { type uint32; description "Current configured acls"; } leaf current-configured-ac-es { type uint32; description "Current configured aces"; } leaf current-max-configurable-ac-ls { type uint32; description "Current max configurable acls"; } leaf current-max-configurable-ac-es { type uint32; description "Current max configurable aces"; } leaf max-configurable-ac-ls { type uint32; description "max configurable acls"; } leaf max-configurable-ac-es { type uint32; description "max configurable aces"; } } // container details container oor-prefixes { description "Resource occupation details for prefix lists"; list oor-prefix { key "prefix-list-name"; description "Resource occupation details for a particular prefix list"; leaf prefix-list-name { type xr:Cisco-ios-xr-string { length "1..32"; } description "Name of a prefix list"; } leaf default-max-ac-ls { type uint32; description "default max configurable acls"; } leaf default-max-ac-es { type uint32; description "default max configurable aces"; } leaf current-configured-ac-ls { type uint32; description "Current configured acls"; } leaf current-configured-ac-es { type uint32; description "Current configured aces"; } leaf current-max-configurable-ac-ls { type uint32; description "Current max configurable acls"; } leaf current-max-configurable-ac-es { type uint32; description "Current max configurable aces"; } leaf max-configurable-ac-ls { type uint32; description "max configurable acls"; } leaf max-configurable-ac-es { type uint32; description "max configurable aces"; } } // list oor-prefix } // container oor-prefixes container oor-accesses { description "Resource occupation details for access lists"; list oor-access { key "access-list-name"; description "Resource occupation details for a particular access list"; leaf access-list-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Name of the Access List"; } leaf default-max-ac-ls { type uint32; description "default max configurable acls"; } leaf default-max-ac-es { type uint32; description "default max configurable aces"; } leaf current-configured-ac-ls { type uint32; description "Current configured acls"; } leaf current-configured-ac-es { type uint32; description "Current configured aces"; } leaf current-max-configurable-ac-ls { type uint32; description "Current max configurable acls"; } leaf current-max-configurable-ac-es { type uint32; description "Current max configurable aces"; } leaf max-configurable-ac-ls { type uint32; description "max configurable acls"; } leaf max-configurable-ac-es { type uint32; description "max configurable aces"; } } // list oor-access } // container oor-accesses container access-list-summary { description "Resource limits pertaining to access lists only"; container details { description "Details containing the resource limits of the access lists"; leaf default-max-ac-ls { type uint32; description "default max configurable acls"; } leaf default-max-ac-es { type uint32; description "default max configurable aces"; } leaf current-configured-ac-ls { type uint32; description "Current configured acls"; } leaf current-configured-ac-es { type uint32; description "Current configured aces"; } leaf current-max-configurable-ac-ls { type uint32; description "Current max configurable acls"; } leaf current-max-configurable-ac-es { type uint32; description "Current max configurable aces"; } leaf max-configurable-ac-ls { type uint32; description "max configurable acls"; } leaf max-configurable-ac-es { type uint32; description "max configurable aces"; } } // container details } // container access-list-summary container prefix-list-summary { description "Summary of the prefix Lists resource utilization"; container details { description "Summary Detail of the prefix list Resource Utilisation"; leaf default-max-ac-ls { type uint32; description "default max configurable acls"; } leaf default-max-ac-es { type uint32; description "default max configurable aces"; } leaf current-configured-ac-ls { type uint32; description "Current configured acls"; } leaf current-configured-ac-es { type uint32; description "Current configured aces"; } leaf current-max-configurable-ac-ls { type uint32; description "Current max configurable acls"; } leaf current-max-configurable-ac-es { type uint32; description "Current max configurable aces"; } leaf max-configurable-ac-ls { type uint32; description "max configurable acls"; } leaf max-configurable-ac-es { type uint32; description "max configurable aces"; } } // container details } // container prefix-list-summary } // container oor } // container ipv4-acl-and-prefix-list } // module Cisco-IOS-XR-ipv4-acl-oper
© 2024 YumaWorks, Inc. All rights reserved.