Cisco-IOS-XR-ipv6-ma-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR ipv6-ma package configuration. This YANG module augments...

  • Version: 2021-01-29

    Cisco-IOS-XR-ipv6-ma-cfg@2021-01-29


    
      module Cisco-IOS-XR-ipv6-ma-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-cfg";
    
        prefix ipv6-ma-cfg;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ip-iarm-datatypes {
          prefix dt1;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
    
        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 ipv6-ma package configuration.
         
         This YANG module augments the
           Cisco-IOS-XR-ifmgr-cfg
         module with configuration data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-01-29" {
          description
            "Removed Yang support for mcast-mac-filter.";
        }
    
        revision "2020-02-18" {
          description
            "Added new leaf icmp-unreach-disable.
           2019-12-12
           New leaf node added.";
        }
    
        revision "2019-10-31" {
          description "Added mandatory nodes.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2017-03-03" {
          description "Descriptions updated.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "2.1.0";
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Ipv6-self-ping {
          type enumeration {
            enum "disabled" {
              value 0;
              description
                "Doesn't allow router to ping itself";
            }
            enum "enabled" {
              value 1;
              description
                "Allow router to ping itself";
            }
          }
          description "Ipv6 self ping";
        }
    
        typedef Ipv6-reachable {
          type enumeration {
            enum "any" {
              value 0;
              description
                "Source is reachable via any interface";
            }
            enum "received" {
              value 1;
              description
                "Source is reachable via interface on which
               packet was received";
            }
          }
          description "Ipv6 reachable";
        }
    
        typedef Ipv6-default-ping {
          type enumeration {
            enum "disabled" {
              value 0;
              description
                "Default route is not allowed to match when
               checking source address";
            }
            enum "enabled" {
              value 1;
              description
                "Allow default route to match when checking
               source address";
            }
          }
          description "Ipv6 default ping";
        }
    
        typedef Ipv6-qppb {
          type enumeration {
            enum "none" {
              value 0;
              description
                "No QPPB configuration";
            }
            enum "ip-precedence" {
              value 1;
              description
                "Enable ip-precedence based QPPB";
            }
            enum "qos-group" {
              value 2;
              description
                "Enable qos-group based QPPB";
            }
            enum "both" {
              value 3;
              description
                "Enable both ip-precedence and qos-group based
               QPPB";
            }
          }
          description "Ipv6 qppb";
        }
    
        augment /a1:interface-configurations/a1:interface-configuration {
          description
            "This augment extends the configuration data of
           'Cisco-IOS-XR-ifmgr-cfg'";
          container ipv6-network {
            description
              "Interface IPv6 Network configuration data";
            container bgp-qos-policy-propagation {
              presence
                "Indicates a bgp-qos-policy-propagation node is configured.";
              description
                "Configure BGP QoS policy propagation";
              leaf source {
                type Ipv6-qppb;
                mandatory true;
                description
                  "QPPB configuration on source";
              }
    
              leaf destination {
                type Ipv6-qppb;
                mandatory true;
                description
                  "QPPB configuration on destination";
              }
            }  // container bgp-qos-policy-propagation
    
            container bgp-policy-accountings {
              description
                "IPv6 BGP Policy Accounting";
              list bgp-policy-accounting {
                key "direction";
                description
                  "Accounting input or output";
                leaf direction {
                  type xr:Cisco-ios-xr-string;
                  description
                    "Accouting on input or output";
                }
    
                leaf destination-accounting {
                  type boolean;
                  mandatory true;
                  description
                    "Accounting on Destination IP Address";
                }
    
                leaf source-accounting {
                  type boolean;
                  mandatory true;
                  description
                    "Accounting on Source IP Address";
                }
              }  // list bgp-policy-accounting
            }  // container bgp-policy-accountings
    
            container verify {
              presence
                "Indicates a verify node is configured.";
              description
                "IPv6 Verify Unicast Souce Reachable";
              leaf reachable {
                type Ipv6-reachable;
                mandatory true;
                description
                  "Source Reachable Interface";
              }
    
              leaf self-ping {
                type Ipv6-self-ping;
                mandatory true;
                description "Allow Self Ping";
              }
    
              leaf default-ping {
                type Ipv6-default-ping;
                mandatory true;
                description
                  "Allow Default Route";
              }
            }  // container verify
    
            container addresses {
              description
                "Set the IPv6 address of an interface";
              container segment-routings {
                description
                  "Segment Routing Table";
                list segment-routing {
                  key "address";
                  description
                    "Segment Routing Submode ";
                  container ipv6-prefix-sid {
                    presence
                      "Indicates a ipv6-prefix-sid node is configured.";
                    description
                      "Prefix-Sid for Segment Routing";
                    leaf prefix-length {
                      type dt1:Ipv6arm-prefix-length;
                      mandatory true;
                      description
                        "Prefix Length";
                    }
    
                    leaf zone {
                      type string;
                      description
                        "IPv6 address zone";
                    }
    
                    leaf route-tag {
                      type uint32 {
                        range "1..4294967295";
                      }
                      description "RouteTag";
                    }
                  }  // container ipv6-prefix-sid
    
                  leaf enable {
                    type empty;
                    description
                      "Segment Routing Submode";
                  }
    
                  leaf address {
                    type inet:ip-address-no-zone;
                    description "IPv6 address";
                  }
                }  // list segment-routing
              }  // container segment-routings
    
              container link-local-address {
                presence
                  "Indicates a link-local-address node is configured.";
                description
                  "Link local IPv6 address";
                leaf address {
                  type inet:ip-address-no-zone;
                  mandatory true;
                  description "IPv6 address";
                }
    
                leaf zone {
                  type string;
                  mandatory true;
                  description
                    "IPv6 address zone";
                }
    
                leaf route-tag {
                  type uint32 {
                    range "1..4294967295";
                  }
                  description "RouteTag";
                }
              }  // container link-local-address
    
              container eui64-addresses {
                description
                  "EUI-64 IPv6 address Table";
                list eui64-address {
                  key "address";
                  description
                    "EUI-64 IPv6 address";
                  leaf address {
                    type inet:ip-address-no-zone;
                    description "IPv6 address";
                  }
    
                  leaf prefix-length {
                    type dt1:Ipv6arm-prefix-length;
                    mandatory true;
                    description "Prefix Length";
                  }
    
                  leaf zone {
                    type string;
                    mandatory true;
                    description
                      "IPv6 address zone";
                  }
    
                  leaf route-tag {
                    type uint32 {
                      range "1..4294967295";
                    }
                    description "RouteTag";
                  }
                }  // list eui64-address
              }  // container eui64-addresses
    
              container regular-addresses {
                description
                  "Regular IPv6 address Table";
                list regular-address {
                  key "address";
                  description
                    "Regular IPv6 address";
                  leaf address {
                    type inet:ip-address-no-zone;
                    description "IPv6 address";
                  }
    
                  leaf prefix-length {
                    type dt1:Ipv6arm-prefix-length;
                    mandatory true;
                    description "Prefix Length";
                  }
    
                  leaf zone {
                    type string;
                    mandatory true;
                    description
                      "IPv6 address zone";
                  }
    
                  leaf route-tag {
                    type uint32 {
                      range "1..4294967295";
                    }
                    description "RouteTag";
                  }
                }  // list regular-address
              }  // container regular-addresses
    
              container auto-configuration {
                description
                  "Auto IPv6 Interface Configuration";
                leaf enable {
                  type empty;
                  description
                    "The flag to enable auto ipv6 interface
                   configuration";
                }
    
                leaf auto-config-slaac {
                  type empty;
                  description
                    "Enable slaac on Mgmt interface";
                }
              }  // container auto-configuration
    
              leaf ipv6-dhcp-client-config {
                type empty;
                description
                  "Enable DHCPv6 Client";
              }
            }  // container addresses
    
            container bgp-flow-tag-policy-table {
              description
                "Interface ipv6 bgp policy propagation flowtag
               configuration";
              container bgp-flow-tag-policy {
                description "Input";
                leaf source {
                  type boolean;
                  description
                    "Flow Tag configuration on source";
                }
    
                leaf destination {
                  type boolean;
                  description
                    "Flow Tag configuration on destination";
                }
              }  // container bgp-flow-tag-policy
            }  // container bgp-flow-tag-policy-table
    
            leaf mtu {
              type uint32 {
                range "1280..65535";
              }
              description
                "MTU Setting of Interface";
            }
    
            leaf unnumbered {
              type xr:Interface-name;
              description
                "Enable IPv6 processing without an explicit
               address";
            }
    
            leaf ttl-propagate-disable {
              type empty;
              description
                "Disabled TTL propagate on an interface";
            }
    
            leaf tcp-mss-adjust-enable {
              type empty;
              description
                "Enable TCP MSS adjust on an interface";
            }
    
            leaf icmp-unreach-disable {
              type empty;
              description
                "Disable ICMP unreachable for Nullx interface";
            }
    
            leaf unreachables {
              type empty;
              description
                "Override Sending of ICMP Unreachable Messages";
            }
          }  // container ipv6-network
        }
      }  // module Cisco-IOS-XR-ipv6-ma-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.