Cisco-IOS-XR-ip-daps-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR ip-daps package configuration. This module contains defi...

  • Version: 2020-10-15

    Cisco-IOS-XR-ip-daps-cfg@2020-10-15


    
      module Cisco-IOS-XR-ip-daps-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-daps-cfg";
    
        prefix ip-daps-cfg;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        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 module contains a collection of YANG definitions
         for Cisco IOS-XR ip-daps package configuration.
         
         This module contains definitions
         for the following management objects:
           address-pool-service: Address Pool configuration data
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-10-15" {
          description
            "Onfly pool change support";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        container address-pool-service {
          description
            "Address Pool configuration data";
          container onfly {
            description
              "Enable onfly pool config";
            leaf pppoe {
              type empty;
              description
                "onfly pool edit/delete, ipv4 release ip enable";
            }
          }  // container onfly
    
          container vrfs {
            description
              "Enter VRF specific config mode";
            list vrf {
              key "vrf-name";
              description "Specify VRF Name";
              container ipv6 {
                description
                  "Enter IPv6 specific mode";
                container pools {
                  description "IPv6 Pool Name";
                  list pool {
                    key "ipv6-pool-name";
                    description
                      "Enter the IPv6 Pool name";
                    container address-ranges {
                      description
                        "Specify address range for allocation";
                      list address-range {
                        key "start-address";
                        description "None";
                        leaf start-address {
                          type inet:ip-address-no-zone;
                          description
                            "Start address of the range";
                        }
    
                        leaf blocked {
                          type uint32;
                          description
                            "Blocked flag";
                        }
    
                        leaf end-address {
                          type inet:ip-address-no-zone;
                          mandatory true;
                          description
                            "End Address of the range";
                        }
                      }  // list address-range
                    }  // container address-ranges
    
                    container excludes {
                      description
                        "Exclude IPv6 addresses / prefixes";
                      list exclude {
                        key "start-address";
                        description "None";
                        leaf start-address {
                          type inet:ip-address-no-zone;
                          description
                            "First Address in IPv6 exclude range";
                        }
    
                        leaf end-address {
                          type inet:ip-address-no-zone;
                          mandatory true;
                          description
                            "Last address in exclude Range";
                        }
                      }  // list exclude
                    }  // container excludes
    
                    container utilization-mark {
                      presence
                        "Indicates a utilization-mark node is configured.";
                      description
                        "Specify utilization mark";
                      leaf high-mark {
                        type uint32 {
                          range "0..100";
                        }
                        units "percentage";
                        mandatory true;
                        description
                          "Specify numerical value as percentage";
                      }
    
                      leaf low-mark {
                        type uint32 {
                          range "0..100";
                        }
                        units "percentage";
                        mandatory true;
                        description
                          "Specify numerical value as percentage";
                      }
                    }  // container utilization-mark
    
                    container prefix-ranges {
                      description
                        "Specify prefix range for allocation";
                      list prefix-range {
                        key "start-prefix";
                        description "None";
                        leaf start-prefix {
                          type inet:ip-address-no-zone;
                          description
                            "First prefix of range";
                        }
    
                        leaf blocked {
                          type uint32;
                          description
                            "Blocked flag";
                        }
    
                        leaf end-prefix {
                          type inet:ip-address-no-zone;
                          mandatory true;
                          description
                            "Last prefix of range";
                        }
                      }  // list prefix-range
                    }  // container prefix-ranges
    
                    container networks {
                      description
                        "Specify network for allocation";
                      list network {
                        key "prefix";
                        description "None";
                        leaf prefix {
                          type inet:ip-address-no-zone;
                          description "None";
                        }
    
                        leaf blocked {
                          type uint32;
                          description
                            "Blocked flag";
                        }
    
                        leaf prefix-length {
                          type uint32 {
                            range "1..128";
                          }
                          mandatory true;
                          description
                            "Prefix length for the IPv6 Prefix";
                        }
                      }  // list network
                    }  // container networks
    
                    leaf prefix-length {
                      type uint32 {
                        range "1..128";
                      }
                      description
                        "Enter the prefix-length for the Pool";
                    }
    
                    leaf ipv6-pool-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Enter the IPv6 Pool name";
                    }
                  }  // list pool
                }  // container pools
              }  // container ipv6
    
              container ipv4 {
                description
                  "Enter IPv4 specific configuration";
                container pools {
                  description "IPv4 Pool Table";
                  list pool {
                    key "pool-name";
                    description "IPv4 Pool name";
                    container address-ranges {
                      description
                        "address range for allocation";
                      list address-range {
                        key "start-address";
                        description
                          "Specify first address in range";
                        leaf start-address {
                          type inet:ipv4-address-no-zone;
                          description
                            "Specify first address of the range";
                        }
    
                        leaf end-address {
                          type inet:ip-address-no-zone;
                          mandatory true;
                          description
                            "Last address of the range";
                        }
    
                        leaf blocked {
                          type uint32;
                          description
                            "Blocked flag";
                        }
                      }  // list address-range
                    }  // container address-ranges
    
                    container excludes {
                      description
                        "Exclude addresses";
                      list exclude {
                        key "start-address";
                        description
                          "First address in range";
                        leaf start-address {
                          type inet:ipv4-address-no-zone;
                          description
                            "First address in exclude range";
                        }
    
                        leaf end-address {
                          type inet:ip-address-no-zone;
                          mandatory true;
                          description
                            "Last address in excluded range";
                        }
                      }  // list exclude
                    }  // container excludes
    
                    container utilization-mark {
                      presence
                        "Indicates a utilization-mark node is configured.";
                      description
                        "Specify utilization mark";
                      leaf high {
                        type uint32 {
                          range "0..100";
                        }
                        units "percentage";
                        mandatory true;
                        description
                          "Specify numerical value as percentage";
                      }
    
                      leaf low {
                        type uint32 {
                          range "0..100";
                        }
                        units "percentage";
                        mandatory true;
                        description
                          "Specify numerical value as percentage";
                      }
                    }  // container utilization-mark
    
                    container networks {
                      description
                        "Specify network for allocation";
                      list network {
                        key "ipv4-prefix";
                        description
                          "Network Prefix";
                        leaf ipv4-prefix {
                          type inet:ip-address-no-zone;
                          description "None";
                        }
    
                        leaf blocked {
                          type uint32;
                          description
                            "Blocked flag";
                        }
    
                        leaf prefix-length {
                          type uint32;
                          mandatory true;
                          description
                            "Subnet Length for IPv4 subnet";
                        }
    
                        leaf default-router {
                          type inet:ipv4-address-no-zone;
                          description
                            "Default Gateway for IPv4 subnet";
                        }
                      }  // list network
                    }  // container networks
    
                    leaf pool-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Enter the IPv4 Pool name";
                    }
                  }  // list pool
                }  // container pools
              }  // container ipv4
    
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description "none";
              }
            }  // list vrf
          }  // container vrfs
        }  // container address-pool-service
      }  // module Cisco-IOS-XR-ip-daps-cfg
    

© 2024 YumaWorks, Inc. All rights reserved.