Cisco-IOS-XR-icpe-infra-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR icpe-infra package configuration. This module contains d...

  • Version: 2019-04-05

    Cisco-IOS-XR-icpe-infra-cfg@2019-04-05


    
      module Cisco-IOS-XR-icpe-infra-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-icpe-infra-cfg";
    
        prefix icpe-infra-cfg;
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
        import Cisco-IOS-XR-rgmgr-cfg {
          prefix a2;
        }
    
        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 icpe-infra package configuration.
    
    This module contains definitions
    for the following management objects:
      nv-satellite-global: nV Satellite Global configuration
      nv-satellites: Satellite Configuration table
    
    This YANG module augments the
      Cisco-IOS-XR-ifmgr-cfg,
      Cisco-IOS-XR-rgmgr-cfg,
    modules with configuration data.
    
    Copyright (c) 2013-2019 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-30" {
          description
            "Ensure propagation of MDA mandatory state to YANG model.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.1";
    
        typedef Icpe-sat-id {
          type uint32 {
            range "100..65534";
          }
          description "Icpe sat id";
        }
    
        typedef Icpe-slot {
          type uint32 {
            range "0..8";
          }
          description "Icpe slot";
        }
    
        typedef Icpe-min-links {
          type uint32 {
            range "1..64";
          }
          description "Icpe min links";
        }
    
        typedef Icpe-subslot {
          type uint32 {
            range "0..8";
          }
          description "Icpe subslot";
        }
    
        container nv-satellite-global {
          description
            "nV Satellite Global configuration";
          container chassis-mac {
            description "Chassis MAC address";
            leaf mac1 {
              type uint32 {
                range "0..2147483647";
              }
              units "byte";
              description
                "First two bytes of MAC address";
            }
    
            leaf mac2 {
              type uint32 {
                range "0..2147483647";
              }
              units "byte";
              description
                "Second two bytes of MAC address";
            }
    
            leaf mac3 {
              type uint32 {
                range "0..2147483647";
              }
              units "byte";
              description
                "Third two bytes of MAC address";
            }
          }  // container chassis-mac
        }  // container nv-satellite-global
    
        container nv-satellites {
          description
            "Satellite Configuration table";
          list nv-satellite {
            key "satellite-id";
            description
              "Satellite Configuration";
            container upgrade-on-connect {
              description
                "Satellite auto-upgrade capability";
              leaf connect-type {
                type enumeration {
                  enum "on-connection" {
                    value 1;
                    description
                      "Satellite Upgrade on Connection";
                  }
                  enum "on-first-connection" {
                    value 2;
                    description
                      "Satellite Upgrade on First Connection after
    configuration or host boot";
                  }
                }
                description
                  "When to upgrade the satellite";
              }
    
              leaf reference {
                type string;
                description "Reference name";
              }
    
              leaf image-reference {
                type string;
                description
                  "Image Reference name";
              }
            }  // container upgrade-on-connect
    
            container candidate-fabric-ports {
              description
                "Enable interfaces on the satellite to be used
    as fabric ports table";
              list candidate-fabric-port {
                key "port-type slot sub-slot";
                description
                  "Enable interfaces on the satellite to be used
    as fabric ports";
                leaf port-type {
                  type xr:Cisco-ios-xr-string;
                  description "Port type";
                }
    
                leaf slot {
                  type Icpe-slot;
                  description "Slot";
                }
    
                leaf sub-slot {
                  type Icpe-subslot;
                  description "Sub slot";
                }
    
                leaf port-range {
                  type string;
                  mandatory true;
                  description "Port range";
                }
              }  // list candidate-fabric-port
            }  // container candidate-fabric-ports
    
            container connection-info {
              description "Satellite User";
              leaf username {
                type string;
                description "Satellite Username";
              }
    
              leaf password {
                type xr:Md5-password;
                description
                  "Encrypted password for the user";
              }
            }  // container connection-info
    
            container redundancy {
              description "Redundancy submode";
              leaf host-priority {
                type uint32 {
                  range "0..255";
                }
                description
                  "Priority for this host for the given satellite";
              }
            }  // container redundancy
    
            leaf vrf {
              type string;
              description
                "VRF for Satellite IP Address";
            }
    
            leaf timeout-warning {
              type uint32 {
                range "0..4294967295";
              }
              description
                "Discovery timeout warning for the satellite";
            }
    
            leaf device-name {
              type string;
              description "Satellite Name";
            }
    
            leaf description {
              type string;
              description
                "Satellite Description";
            }
    
            leaf type {
              type string;
              mandatory true;
              description "Satellite Type";
            }
    
            leaf enable {
              type empty;
              mandatory true;
              description "Enable";
            }
    
            leaf disc-timeout {
              type uint32 {
                range "0..4294967295";
              }
              description
                "Discovery timeout for the satellite";
            }
    
            leaf delayed-switchback {
              type uint32 {
                range "0..4294967295";
              }
              units "second";
              description
                "Timer (in seconds) for delaying switchback in a
    dual home setup";
            }
    
            leaf serial-number {
              type string;
              description
                "Satellite Serial Number";
            }
    
            leaf secret {
              type xr:Md5-password;
              description
                "Encrypted password for the Satellite";
            }
    
            leaf ip-address {
              type inet:ip-address-no-zone;
              description "Satellite IP Address";
            }
    
            leaf satellite-id {
              type Icpe-sat-id;
              description "Satellite ID";
            }
          }  // list nv-satellite
        }  // container nv-satellites
      }  // module Cisco-IOS-XR-icpe-infra-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.