Cisco-IOS-XR-aaa-locald-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR aaa-locald package operational data. Copyright (c) 20...

  • Version: 2019-04-05

    Cisco-IOS-XR-aaa-locald-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-aaa-locald-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-aaa-locald-oper {
            prefix
              Cisco-IOS-XR-aaa-locald-oper;
        }
    
        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 aaa-locald package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.1";
    
        typedef Status {
          type enumeration {
            enum "disabled" {
              value 0;
              description "disabled";
            }
            enum "enabled" {
              value 1;
              description "enabled";
            }
          }
          description "status enum";
        }
    
        typedef String1 {
          type string;
          description "String1";
        }
    
        grouping USERGROUP-DET {
          description
            "Detailed information regarding a usergroup";
          container task-map {
            description "Computed task map";
            uses TASKMAP;
          }  // container task-map
    
          list taskgroup {
            description "Component taskgroups";
            uses TASKGROUP-DET;
          }  // list taskgroup
        }  // grouping USERGROUP-DET
    
        grouping PP-DURATION-LIMITED {
          description
            "Information about time duration";
          leaf years {
            type uint8;
            description "years";
          }
    
          leaf months {
            type uint8;
            description "months";
          }
    
          leaf days {
            type uint8;
            description "days";
          }
        }  // grouping PP-DURATION-LIMITED
    
        grouping PP-DURATION {
          description
            "Information about time duration";
          leaf years {
            type uint8;
            description "years";
          }
    
          leaf months {
            type uint8;
            description "months";
          }
    
          leaf days {
            type uint8;
            description "days";
          }
    
          leaf hours {
            type uint8;
            description "hours";
          }
    
          leaf mins {
            type uint8;
            description "mins";
          }
    
          leaf secs {
            type uint8;
            description "secs";
          }
        }  // grouping PP-DURATION
    
        grouping PP-DET {
          description
            "Detailed information about a single Password
           Policy";
          container life-time {
            description "Lifetime of the policy";
            uses PP-DURATION;
          }  // container life-time
    
          container warn-interval {
            description
              "Warninterval of the policy";
            uses PP-DURATION;
          }  // container warn-interval
    
          container lock-out-time {
            description
              "Lockout time of the policy";
            uses PP-DURATION;
          }  // container lock-out-time
    
          container restrict-old-time {
            description
              "Password History validity time";
            uses PP-DURATION-LIMITED;
          }  // container restrict-old-time
    
          leaf min-len {
            type uint8;
            description "Min Length";
          }
    
          leaf max-len {
            type uint8;
            description "Max Length";
          }
    
          leaf spl-char {
            type uint8;
            description
              "Special Character length";
          }
    
          leaf upper-case {
            type uint8;
            description
              "UpperCase Character length";
          }
    
          leaf lower-case {
            type uint8;
            description
              "LowerCase Character length";
          }
    
          leaf numeric {
            type uint8;
            description
              "Numeric Character length";
          }
    
          leaf restrict-old-count {
            type uint8;
            description "Password History Count";
          }
    
          leaf min-char-change {
            type uint8;
            description
              "Number of different characters";
          }
    
          leaf num-of-users {
            type uint8;
            description
              "Number of users with this policy";
          }
    
          leaf max-fail-attempts {
            type uint32;
            description
              "Maximum Failure Attempts allowed";
          }
    
          leaf usr-count {
            type uint8;
            description "Count of users";
          }
    
          leaf err-count {
            type uint8;
            description "Error Count";
          }
    
          leaf lock-out-count {
            type uint8;
            description "Lock Out Count";
          }
    
          leaf max-char-repetition {
            type uint8;
            description
              "Number of times a character can repeat";
          }
    
          leaf restrict-username {
            type Status;
            description
              "Username restriction as password";
          }
    
          leaf restrict-username-reverse {
            type Status;
            description
              "Reversed Username restriction as password";
          }
    
          leaf restrict-password-reverse {
            type Status;
            description
              "Reversed password restriction as new password";
          }
    
          leaf restrict-password-advanced {
            type Status;
            description
              "Advanced restriction on new password";
          }
        }  // grouping PP-DET
    
        grouping USER-DET {
          description
            "Detailed information about a single user";
          container task-map {
            description "Computed taskmap";
            uses TASKMAP;
          }  // container task-map
    
          leaf admin-user {
            type boolean;
            description "Is admin plane user ?";
          }
    
          leaf first-user {
            type boolean;
            description "Is first user ?";
          }
    
          leaf-list usergroup {
            type String1;
            description "Member usergroups";
          }
        }  // grouping USER-DET
    
        grouping TASKID {
          description
            "Information about a single Task ID";
          leaf task-id {
            type string;
            description "Name of the task-id";
          }
    
          leaf read {
            type boolean;
            description "Is read permitted?";
          }
    
          leaf write {
            type boolean;
            description "Is write permitted?";
          }
    
          leaf execute {
            type boolean;
            description "Is execute permitted?";
          }
    
          leaf debug {
            type boolean;
            description "Is debug permitted?";
          }
        }  // grouping TASKID
    
        grouping TASKMAP {
          description
            "Computed taskmap of a user/usergroup/taskgroup or
           Task IDs included in a taskgroup";
          list tasks {
            description
              "List of permitted tasks";
            uses TASKID;
          }  // list tasks
        }  // grouping TASKMAP
    
        grouping TASKGROUP-DET {
          description
            "Detailed information regarding a taskgroup";
          container included-task-ids {
            description "Task-ids included";
            uses TASKMAP;
          }  // container included-task-ids
    
          container task-map {
            description "Computed task map";
            uses TASKMAP;
          }  // container task-map
        }  // grouping TASKGROUP-DET
    
        grouping REMOTEUSR-DET {
          description
            "Detailed information regarding a usergroup";
          leaf name {
            type string;
            description "Name of the usergroup";
          }
    
          leaf shelltype {
            type string;
            description "Shell-type of user";
          }
    
          leaf directory {
            type string;
            description "Directory of user";
          }
    
          leaf authenmethod {
            type int32;
            description "Authentication method";
          }
    
          leaf-list usergroup {
            type String1;
            description "Component usergroups";
          }
    
          leaf-list taskmap {
            type String1;
            description "Task map details";
          }
        }  // grouping REMOTEUSR-DET
    
        grouping SYSTEM-SUPPORTED-TASKS {
          description
            "List of all tasks available in the system";
          leaf-list task-id {
            type String1;
            description
              "Names of available task-ids";
          }
        }  // grouping SYSTEM-SUPPORTED-TASKS
      }  // submodule Cisco-IOS-XR-aaa-locald-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.