Cisco-IOS-XR-ipv6-acl-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR ipv6-acl package operational data. Copyright (c) 2013...

  • Version: 2020-11-13

    Cisco-IOS-XR-ipv6-acl-oper-sub1@2020-11-13


    
      submodule Cisco-IOS-XR-ipv6-acl-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-ipv6-acl-oper {
            prefix Cisco-IOS-XR-ipv6-acl-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 ipv6-acl package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-11-13" {
          description
            "Adding policer and priority. IosSetYangSchemaRev Cisco-IOS-XR-ipv6-acl-oper";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        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";
    
        typedef Acl-priority {
          type enumeration {
            enum "low" {
              value 0;
              description "low";
            }
            enum "medium" {
              value 1;
              description "medium";
            }
            enum "high" {
              value 2;
              description "high";
            }
            enum "critical" {
              value 3;
              description "critical";
            }
            enum "invalid" {
              value 4;
              description "invalid";
            }
            enum "acl-priority-unspec" {
              value 255;
              description "unspec";
            }
          }
          description "Acl priority";
        }
    
        typedef Bag-acl-rate-unit {
          type enumeration {
            enum "pps" {
              value 0;
              description "pps";
            }
            enum "bps" {
              value 1;
              description "bps";
            }
            enum "kbps" {
              value 2;
              description "kbps";
            }
            enum "mbps" {
              value 3;
              description "mbps";
            }
            enum "gbps" {
              value 4;
              description "gbps";
            }
            enum "unit-max" {
              value 5;
              description "unit max";
            }
          }
          description "Bag acl rate unit";
        }
    
        typedef Bag-acl-nh-at-status {
          type enumeration {
            enum "unknown" {
              value 0;
              description "AT State Unknown";
            }
            enum "up" {
              value 1;
              description "AT State UP";
            }
            enum "down" {
              value 2;
              description "AT State DOWN";
            }
            enum "not-present" {
              value 3;
              description "AT State Not Present";
            }
            enum "max" {
              value 4;
              description "invalid status";
            }
          }
          description "Bag acl nh at status";
        }
    
        typedef Bag-acl-nh-status {
          type enumeration {
            enum "not-present" {
              value 0;
              description "State Not Present";
            }
            enum "unknown" {
              value 1;
              description "State Unknown";
            }
            enum "down" {
              value 2;
              description "State DOWN";
            }
            enum "up" {
              value 3;
              description "State UP";
            }
            enum "max" {
              value 4;
              description "invalid status";
            }
          }
          description "Bag acl nh status";
        }
    
        typedef Bag-acl-nh {
          type enumeration {
            enum "nexthop-none" {
              value 0;
              description "Next Hop None";
            }
            enum "nexthop-default" {
              value 1;
              description "Nexthop Default";
            }
            enum "nexthop" {
              value 2;
              description "Nexthop";
            }
          }
          description "Bag acl nh";
        }
    
        typedef Acl-ttl-operator {
          type Acl-port-operator;
          description "Acl ttl operator";
        }
    
        typedef Acl-plen-operator {
          type Acl-port-operator;
          description "Acl plen operator";
        }
    
        typedef Acl-tcpflags-operator {
          type enumeration {
            enum "match-none" {
              value 0;
              description "Match None";
            }
            enum "match-all" {
              value 1;
              description "Match All";
            }
            enum "match-any-old" {
              value 2;
              description "Match any old";
            }
            enum "match-any" {
              value 3;
              description "Match any";
            }
          }
          description "Acl tcpflags operator";
        }
    
        typedef Acl-log {
          type enumeration {
            enum "log-none" {
              value 0;
              description "Log None";
            }
            enum "log" {
              value 1;
              description "Log Regular";
            }
            enum "log-input" {
              value 2;
              description "Log Input";
            }
          }
          description "Acl log";
        }
    
        typedef Acl-proto-operator {
          type Acl-port-operator;
          description "Acl proto operator";
        }
    
        typedef Acl-port-operator {
          type enumeration {
            enum "none" {
              value 0;
              description "None";
            }
            enum "eq" {
              value 1;
              description "Equal";
            }
            enum "gt" {
              value 2;
              description "Greater than";
            }
            enum "lt" {
              value 3;
              description "Less than";
            }
            enum "neq" {
              value 4;
              description "Not Equal";
            }
            enum "range" {
              value 5;
              description "Range";
            }
            enum "onebyte" {
              value 8;
              description "One Byte";
            }
            enum "twobytes" {
              value 9;
              description "Two Bytes";
            }
          }
          description "Acl port operator";
        }
    
        typedef Acl-action {
          type enumeration {
            enum "deny" {
              value 0;
              description "Deny";
            }
            enum "permit" {
              value 1;
              description "Permit";
            }
            enum "encrypt" {
              value 2;
              description "Encrypt";
            }
            enum "bypass" {
              value 3;
              description "Bypass";
            }
            enum "fallthrough" {
              value 4;
              description "Fallthrough";
            }
            enum "invalid" {
              value 5;
              description "Invalid";
            }
          }
          description "Acl action";
        }
    
        typedef Acl-ace1 {
          type enumeration {
            enum "normal" {
              value 0;
              description "This is Normal ACE";
            }
            enum "remark" {
              value 1;
              description "This is Remark ACE";
            }
            enum "abf" {
              value 2;
              description "This is ABF ACE";
            }
          }
          description "ACE Types";
        }
    
        typedef Acl-ace {
          type Acl-ace1;
          description "ACE Types";
        }
    
        grouping IPV6-ACL-EDM-OOR-DETAIL {
          description "Oor deatil config BAG";
          leaf is-default-maximum-configurable-ac-ls {
            type uint32;
            description
              "default max configurable acls";
          }
    
          leaf is-default-maximum-configurable-ac-es {
            type uint32;
            description
              "default max configurable aces";
          }
    
          leaf is-current-configured-ac-ls {
            type uint32;
            description
              "Current configured acls";
          }
    
          leaf is-current-configured-aces {
            type uint32;
            description
              "Current configured aces";
          }
    
          leaf is-current-maximum-configurable-acls {
            type uint32;
            description
              "Current max configurable acls";
          }
    
          leaf is-current-maximum-configurable-aces {
            type uint32;
            description
              "Current max configurable aces";
          }
    
          leaf is-maximum-configurable-ac-ls {
            type uint32;
            description "max configurable acls";
          }
    
          leaf is-maximum-configurable-ac-es {
            type uint32;
            description "max configurable aces";
          }
        }  // grouping IPV6-ACL-EDM-OOR-DETAIL
    
        grouping ACL-POLICE-ACE {
          description "ACL POLICE ACE";
          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";
          }
        }  // grouping ACL-POLICE-ACE
    
        grouping ACL-UDF-ACE {
          description "ACL UDF ACE";
          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";
          }
        }  // grouping ACL-UDF-ACE
    
        grouping IPV6-ACL-BAG-HW-NH-INFO {
          description "HW_NH_Info structure";
          leaf type {
            type Bag-acl-nh;
            description "The next-hop type";
          }
    
          leaf next-hop {
            type inet:ipv6-address;
            description "The Next Hop";
          }
    
          leaf table-id {
            type uint32;
            description "Table ID";
          }
    
          leaf vrf-name {
            type string {
              length "0..32";
            }
            description "Vrf Name";
          }
        }  // grouping IPV6-ACL-BAG-HW-NH-INFO
    
        grouping IPV6-ACL-BAG-NH-INFO {
          description "NH_Info structure";
          leaf next-hop {
            type inet:ipv6-address;
            description "The next hop";
          }
    
          leaf vrf-name {
            type string {
              length "0..32";
            }
            description "Vrf Name";
          }
    
          leaf track-name {
            type string {
              length "0..33";
            }
            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 acl-nh-exist {
            type int32;
            description "The nexthop exist";
          }
        }  // grouping IPV6-ACL-BAG-NH-INFO
    
        grouping IPV6-ACL-EDM-ACE {
          description "ACLE bag";
          container hw-next-hop-info {
            description "HW Next hop info";
            uses IPV6-ACL-BAG-HW-NH-INFO;
          }  // container hw-next-hop-info
    
          container police {
            description "Police";
            uses ACL-POLICE-ACE;
          }  // container police
    
          leaf is-ace-type {
            type Acl-ace;
            description "ACE type (acl, remark)";
          }
    
          leaf is-ace-sequence-number {
            type uint32;
            description "ACLE sequence number";
          }
    
          leaf is-packet-allow-or-deny {
            type Acl-action;
            description
              "Grant value permit/deny ";
          }
    
          leaf is-protocol-operator {
            type Acl-proto-operator;
            description "Protocol operator";
          }
    
          leaf is-ipv6-protocol-type {
            type int32;
            description "Protocol 1";
          }
    
          leaf is-ipv6-protocol2-type {
            type int32;
            description "Protocol 2";
          }
    
          leaf is-source-address-in-numbers {
            type inet:ipv6-address;
            description
              "IsSourceAddressInNumbers";
          }
    
          leaf is-source-address-prefix-length {
            type uint32;
            description
              "IsSourceAddressPrefixLength";
          }
    
          leaf source-mask {
            type inet:ipv6-address;
            description "Source Mask";
          }
    
          leaf is-destination-address-in-numbers {
            type inet:ipv6-address;
            description
              "IsDestinationAddressInNumbers";
          }
    
          leaf is-destination-address-prefix-length {
            type uint32;
            description
              "IsDestinationAddressPrefixLength";
          }
    
          leaf destination-mask {
            type inet:ipv6-address;
            description "Destination Mask";
          }
    
          leaf is-source-operator {
            type Acl-port-operator;
            description "eq, ne, lt, etc...";
          }
    
          leaf is-source-port1 {
            type uint32;
            description "IsSourcePort1";
          }
    
          leaf is-source-port2 {
            type uint32;
            description "IsSourcePort2";
          }
    
          leaf is-destination-operator {
            type Acl-port-operator;
            description "eq, ne, lt, etc...";
          }
    
          leaf is-destination-port1 {
            type uint32;
            description "IsDestinationPort1";
          }
    
          leaf is-destination-port2 {
            type uint32;
            description "IsDestinationPort2";
          }
    
          leaf is-log-option {
            type Acl-log;
            description "IsLogOption";
          }
    
          leaf counter-name {
            type string;
            description "Counter name";
          }
    
          leaf is-tcp-bits-operator {
            type Acl-tcpflags-operator;
            description "IsTCPBitsOperator";
          }
    
          leaf is-tcp-bits {
            type uint32;
            description "IsTCPBits";
          }
    
          leaf is-tcp-bits-mask {
            type uint32;
            description "IsTCPBitsMask";
          }
    
          leaf is-dscp-present {
            type int32;
            description "IsDSCPPresent";
          }
    
          leaf dscp-operator {
            type uint8;
            description "DSCP Operator";
          }
    
          leaf is-dscp-valu {
            type uint8;
            description "IsDSCPValu";
          }
    
          leaf is-dscp-valu2 {
            type uint8;
            description "IsDSCPValu2";
          }
    
          leaf is-precedence-present {
            type int32;
            description "IsPrecedencePresent";
          }
    
          leaf is-precedence-value {
            type uint32;
            description "range from 0 to 7";
          }
    
          leaf is-header-matches {
            type uint32;
            description
              "Match if routing header is presant";
          }
    
          leaf is-packet-length-operator {
            type Acl-plen-operator;
            description
              "Match if routing header is presant";
          }
    
          leaf is-packet-length-start {
            type uint32;
            description "IsPacketLengthStart";
          }
    
          leaf is-packet-length-end {
            type uint32;
            description "IsPacketLengthEnd";
          }
    
          leaf is-time-to-live-operator {
            type Acl-ttl-operator;
            description "IsTimeToLiveOperator";
          }
    
          leaf is-time-to-live-start {
            type uint32;
            description "IsTimeToLiveStart";
          }
    
          leaf is-time-to-live-end {
            type uint32;
            description "IsTimeToLiveEnd";
          }
    
          leaf no-stats {
            type int32;
            description "no stats";
          }
    
          leaf hits {
            type uint64;
            description "hits";
          }
    
          leaf police-hits {
            type uint64;
            description "Police stats";
          }
    
          leaf capture {
            type int32;
            description
              "Capture option, TRUE if enabled";
          }
    
          leaf undetermined-transport {
            type int32;
            description
              "Undetermined transport option, TRUE if enabled";
          }
    
          leaf is-icmp-message-off {
            type int32;
            description
              "Don't generate the icmp message";
          }
    
          leaf qos-group {
            type uint16;
            description "Set qos-group";
          }
    
          leaf is-comment-for-entry {
            type string;
            description "IsCommentForEntry";
          }
    
          leaf next-hop-type {
            type Bag-acl-nh;
            description "Next hop type";
          }
    
          leaf is-flow-id {
            type uint32;
            description "IsFlowId";
          }
    
          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 set-ttl {
            type uint16;
            description "SetTTL";
          }
    
          leaf priority {
            type Acl-priority;
            description "Priority";
          }
    
          list next-hop-info {
            max-elements 3;
            description "Next hop info";
            uses IPV6-ACL-BAG-NH-INFO;
          }  // list next-hop-info
    
          list udf {
            description "UDF";
            uses ACL-UDF-ACE;
          }  // list udf
        }  // grouping IPV6-ACL-EDM-ACE
    
        grouping IPV6-PFX-EDM-ACE {
          description "Prefix list entry BAG";
          leaf is-ace-type {
            type Acl-ace;
            description "ACE type (acl, remark)";
          }
    
          leaf is-ace-sequence-number {
            type uint32;
            description "ACLE sequence number";
          }
    
          leaf is-packet-allow-or-deny {
            type Acl-action;
            description
              "Grant value permit/deny ";
          }
    
          leaf is-address-in-numbers {
            type inet:ipv6-address;
            description "IPv6 prefix";
          }
    
          leaf is-address-mask-length {
            type uint32;
            description "Prefix length ";
          }
    
          leaf is-length-operator {
            type Acl-port-operator;
            description "Port Operator";
          }
    
          leaf is-packet-minimum-length {
            type uint32;
            description "Min length";
          }
    
          leaf is-packet-maximum-length {
            type uint32;
            description "Maximum length";
          }
    
          leaf hits {
            type uint32;
            description "Number of hits";
          }
    
          leaf is-comment-for-entry {
            type string;
            description "Remark String";
          }
    
          leaf acl-name {
            type string;
            description "ACL Name";
          }
        }  // grouping IPV6-PFX-EDM-ACE
      }  // submodule Cisco-IOS-XR-ipv6-acl-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.