netconfcentral logo

ietf-system-tacacsplus@2020-05-22



  module ietf-system-tacacsplus {

    yang-version 1.1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-system-tacacsplus";

    prefix sys-tcsplus;

    import ietf-inet-types {
      prefix inet;
      reference
        "RFC 6991: Common YANG Data Types";


    }
    import ietf-yang-types {
      prefix yang;
      reference
        "RFC 6991: Common YANG Data Types";


    }
    import ietf-network-instance {
      prefix ni;
      reference
        "RFC 8529: YANG Data Model for Network Instances";


    }
    import ietf-interfaces {
      prefix if;
      reference
        "RFC 8343: A YANG Data Model for Interface Management";


    }
    import ietf-system {
      prefix sys;
      reference
        "RFC 7317: A YANG Data Model for System Management";


    }
    import ietf-netconf-acm {
      prefix nacm;
      reference
        "RFC 8341: Network Configuration Access Control Model";


    }

    organization
      "IETF Opsawg (Operations and Management Area Working Group)";

    contact
      "WG Web:   <http://tools.ietf.org/wg/opsawg/>
     WG List:  <mailto:opsawg@ietf.org>

     Editor: Bo Wu <lana.wubo@huawei.com>
     Editor: Guangying Zheng <zhengguangying@huawei.com>";

    description
      "This module provides configuration of TACACS+ client.

     Copyright (c) 2020 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX; see the
      RFC itself for full legal notices.";

    revision "2020-05-22" {
      description "Initial revision.";
      reference
        "RFC XXXX: A Yang Data Model for TACACS+";

    }


    typedef tcsplus-server-type {
      type bits {
        bit authentication {
          position 0;
          description
            "When set, the server is an authentication server.";
        }
        bit authorization {
          position 1;
          description
            "When set, the server is an authorization server.";
        }
        bit accounting {
          position 2;
          description
            "When set, the server is an accounting server.";
        }
      }
      description
        "tcsplus-server-type can be set to
       authentication/authorization/accounting
       or any combination of the three types. When all three types are
       supported, all the three bits are set.";
    }

    feature tacacsplus {
      description
        "Indicates that the device can be configured as a TACACS+
       client.";
      reference
        "RFC XXXX : The TACACS+ Protocol ";

    }

    identity tacacsplus {
      base sys:authentication-method;
      description
        "Indicates AAA operation using TACACS+.";
      reference
        "RFC XXXX: The TACACS+ Protocol";

    }
  }  // module ietf-system-tacacsplus