Internet Engineering Task Force (IETF)                        A. Bierman
Request for Comments: 7317                                     YumaWorks
Category: Standards Track                                   M. Bjorklund
ISSN: 2070-1721                                           Tail-f Systems
                                                             August 2014
        
Internet Engineering Task Force (IETF)                        A. Bierman
Request for Comments: 7317                                     YumaWorks
Category: Standards Track                                   M. Bjorklund
ISSN: 2070-1721                                           Tail-f Systems
                                                             August 2014
        

A YANG Data Model for System Management

用于系统管理的YANG数据模型

Abstract

摘要

This document defines a YANG data model for the configuration and identification of some common system properties within a device containing a Network Configuration Protocol (NETCONF) server. This document also includes data node definitions for system identification, time-of-day management, user management, DNS resolver configuration, and some protocol operations for system management.

本文档定义了一个数据模型,用于配置和标识包含网络配置协议(NETCONF)服务器的设备内的一些常见系统属性。本文档还包括用于系统标识、时间管理、用户管理、DNS解析程序配置的数据节点定义,以及用于系统管理的一些协议操作。

Status of This Memo

关于下段备忘

This is an Internet Standards Track document.

这是一份互联网标准跟踪文件。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741.

本文件是互联网工程任务组(IETF)的产品。它代表了IETF社区的共识。它已经接受了公众审查,并已被互联网工程指导小组(IESG)批准出版。有关互联网标准的更多信息,请参见RFC 5741第2节。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc7317.

有关本文件当前状态、任何勘误表以及如何提供反馈的信息,请访问http://www.rfc-editor.org/info/rfc7317.

Copyright Notice

版权公告

Copyright (c) 2014 IETF Trust and the persons identified as the document authors. All rights reserved.

版权所有(c)2014 IETF信托基金和确定为文件作者的人员。版权所有。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

本文件受BCP 78和IETF信托有关IETF文件的法律规定的约束(http://trustee.ietf.org/license-info)自本文件出版之日起生效。请仔细阅读这些文件,因为它们描述了您对本文件的权利和限制。从本文件中提取的代码组件必须包括信托法律条款第4.e节中所述的简化BSD许可证文本,并提供简化BSD许可证中所述的无担保。

Table of Contents

目录

   1. Introduction ....................................................2
      1.1. Terminology ................................................3
      1.2. Tree Diagrams ..............................................3
   2. Objectives ......................................................4
      2.1. System Identification ......................................4
      2.2. System Time Management .....................................4
      2.3. User Authentication ........................................4
      2.4. DNS Resolver ...............................................5
      2.5. System Control .............................................5
   3. System Data Model ...............................................5
      3.1. System Identification ......................................5
      3.2. System Time Management .....................................6
      3.3. DNS Resolver Model .........................................7
      3.4. RADIUS Client Model ........................................7
      3.5. User Authentication Model ..................................8
           3.5.1. SSH Public Key Authentication .......................8
           3.5.2. Local User Password Authentication ..................9
           3.5.3. RADIUS Password Authentication ......................9
      3.6. System Control .............................................9
   4. Relationship to the SNMPv2-MIB .................................10
   5. IANA Crypt Hash YANG Module ....................................10
   6. System YANG Module .............................................13
   7. IANA Considerations ............................................31
   8. Security Considerations ........................................31
   9. References .....................................................33
      9.1. Normative References ......................................33
      9.2. Informative References ....................................35
        
   1. Introduction ....................................................2
      1.1. Terminology ................................................3
      1.2. Tree Diagrams ..............................................3
   2. Objectives ......................................................4
      2.1. System Identification ......................................4
      2.2. System Time Management .....................................4
      2.3. User Authentication ........................................4
      2.4. DNS Resolver ...............................................5
      2.5. System Control .............................................5
   3. System Data Model ...............................................5
      3.1. System Identification ......................................5
      3.2. System Time Management .....................................6
      3.3. DNS Resolver Model .........................................7
      3.4. RADIUS Client Model ........................................7
      3.5. User Authentication Model ..................................8
           3.5.1. SSH Public Key Authentication .......................8
           3.5.2. Local User Password Authentication ..................9
           3.5.3. RADIUS Password Authentication ......................9
      3.6. System Control .............................................9
   4. Relationship to the SNMPv2-MIB .................................10
   5. IANA Crypt Hash YANG Module ....................................10
   6. System YANG Module .............................................13
   7. IANA Considerations ............................................31
   8. Security Considerations ........................................31
   9. References .....................................................33
      9.1. Normative References ......................................33
      9.2. Informative References ....................................35
        
1. Introduction
1. 介绍

This document defines a YANG [RFC6020] data model for the configuration and identification of some common properties within a device containing a Network Configuration Protocol (NETCONF) server.

本文档定义了一个YANG[RFC6020]数据模型,用于配置和标识包含网络配置协议(NETCONF)服务器的设备内的一些公共属性。

Devices that are managed by NETCONF and perhaps other mechanisms have common properties that need to be configured and monitored in a standard way.

由NETCONF和其他机制管理的设备具有需要以标准方式配置和监控的公共属性。

The "ietf-system" YANG module defined in this document provides the following features:

本文件中定义的“ietf系统”模块具有以下特点:

o configuration and monitoring of system identification

o 系统标识的配置和监控

o configuration and monitoring of system time-of-day

o 配置和监控系统每天的时间

o configuration of user authentication

o 用户身份验证的配置

o configuration of local users

o 本地用户的配置

o configuration of the DNS resolver

o DNS解析程序的配置

o system control operations (shutdown, restart, setting time)

o 系统控制操作(关机、重启、设置时间)

1.1. Terminology
1.1. 术语

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14, [RFC2119].

本文件中的关键词“必须”、“不得”、“必需”、“应”、“不应”、“建议”、“不建议”、“可”和“可选”应按照BCP 14[RFC2119]中的说明进行解释。

The following terms are defined in [RFC6241] and are not redefined here:

[RFC6241]中定义了以下术语,此处未重新定义:

o client

o 客户

o configuration data

o 配置数据

o server

o 服务器

o state data

o 状态数据

The following terms are defined in [RFC6020] and are not redefined here:

[RFC6020]中定义了以下术语,此处未重新定义:

o augment

o 加强

o data model

o 数据模型

1.2. Tree Diagrams
1.2. 树形图

A simplified graphical representation of the data model is used in this document. The meaning of the symbols in these diagrams is as follows:

本文件中使用了数据模型的简化图形表示。这些图表中符号的含义如下:

o Brackets "[" and "]" enclose list keys.

o 括号“[”和“]”包含列表键。

o Abbreviations before data node names: "rw" means configuration (read-write), and "ro" means state data (read-only).

o 数据节点名称前的缩写:“rw”表示配置(读写),“ro”表示状态数据(只读)。

o Symbols after data node names: "?" means an optional node, "!" means a presence container, and "*" denotes a list and leaf-list.

o 数据节点名称后的符号:“?”表示可选节点,“!”表示状态容器,“*”表示列表和叶列表。

o Parentheses enclose choice and case nodes, and case nodes are also marked with a colon (":").

o 括号括住选项和事例节点,事例节点也用冒号(“:”)标记。

o Ellipsis ("...") stands for contents of subtrees that are not shown.

o 省略号(“…”)表示未显示的子树的内容。

2. Objectives
2. 目标
2.1. System Identification
2.1. 系统识别

There are many common properties used to identify devices, operating systems, software versions, etc. that need to be supported in the system data module. These objects are defined as operational state data, and the information returned by the server is intended to be specific to the device vendor.

有许多常用属性用于标识系统数据模块中需要支持的设备、操作系统、软件版本等。这些对象定义为操作状态数据,服务器返回的信息特定于设备供应商。

Some user-configurable administrative strings are also provided, such as the system location and description.

还提供了一些用户可配置的管理字符串,例如系统位置和描述。

2.2. System Time Management
2.2. 系统时间管理

Management of the date and time used by the system needs to be supported. The use of one or more NTP servers to automatically set the system date and time needs to be possible. Utilization of the Time Zone Database [RFC6557] also needs to be supported. It should be possible to configure the system to use NTP.

需要支持系统使用的日期和时间的管理。需要能够使用一个或多个NTP服务器自动设置系统日期和时间。还需要支持时区数据库[RFC6557]的利用。应该可以将系统配置为使用NTP。

2.3. User Authentication
2.3. 用户身份验证

The authentication mechanism needs to support password authentication over RADIUS in order to support deployment scenarios with centralized authentication servers. Additionally, for scenarios when no centralized authentication server exists or for situations where the centralized authentication server cannot be reached from the device, local users need to be supported.

身份验证机制需要支持RADIUS上的密码身份验证,以便支持集中身份验证服务器的部署方案。此外,对于不存在集中式身份验证服务器的情况或无法从设备访问集中式身份验证服务器的情况,需要支持本地用户。

Since the mandatory transport protocol for NETCONF is Secure Shell (SSH) [RFC6242], the authentication model needs to support SSH's "publickey" and "password" authentication methods [RFC4252].

由于NETCONF的强制传输协议是Secure Shell(SSH)[RFC6242],因此身份验证模型需要支持SSH的“公钥”和“密码”身份验证方法[RFC4252]。

The model for authentication configuration should be flexible enough to support authentication methods defined by other standards documents or by vendors. It should be possible to configure the system authentication properties.

身份验证配置模型应足够灵活,以支持其他标准文档或供应商定义的身份验证方法。应该可以配置系统身份验证属性。

2.4. DNS Resolver
2.4. 域名解析模块

The configuration of the DNS resolver within the system containing the NETCONF server is required in order to control how domain names are resolved.

需要在包含NETCONF服务器的系统内配置DNS解析程序,以控制域名解析的方式。

2.5. System Control
2.5. 系统控制

A few operations are needed to support common tasks such as restarting the device or setting the system date and time.

需要一些操作来支持常见任务,例如重新启动设备或设置系统日期和时间。

3. System Data Model
3. 系统数据模型
3.1. System Identification
3.1. 系统识别

The data model for system identification has the following structure:

用于系统识别的数据模型具有以下结构:

      +--rw system
      |  +--rw contact?          string
      |  +--rw hostname?         inet:domain-name
      |  +--rw location?         string
      +--ro system-state
         +--ro platform
            +--ro os-name?       string
            +--ro os-release?    string
            +--ro os-version?    string
            +--ro machine?       string
        
      +--rw system
      |  +--rw contact?          string
      |  +--rw hostname?         inet:domain-name
      |  +--rw location?         string
      +--ro system-state
         +--ro platform
            +--ro os-name?       string
            +--ro os-release?    string
            +--ro os-version?    string
            +--ro machine?       string
        
3.2. System Time Management
3.2. 系统时间管理

The data model for system time management has the following structure:

系统时间管理的数据模型具有以下结构:

      +--rw system
      |  +--rw clock
      |  |  +--rw (timezone)?
      |  |     +--:(timezone-name)
      |  |     |  +--rw timezone-name?     timezone-name
      |  |     +--:(timezone-utc-offset)
      |  |        +--rw timezone-utc-offset?   int16
      |  +--rw ntp!
      |     +--rw enabled?   boolean
      |     +--rw server* [name]
      |        +--rw name                string
      |        +--rw (transport)
      |        |  +--:(udp)
      |        |     +--rw udp
      |        |        +--rw address    inet:host
      |        |        +--rw port?      inet:port-number
      |        +--rw association-type?   enumeration
      |        +--rw iburst?             boolean
      |        +--rw prefer?             boolean
      +--ro system-state
         +--ro clock
            +--ro current-datetime?      yang:date-and-time
            +--ro boot-datetime?         yang:date-and-time
        
      +--rw system
      |  +--rw clock
      |  |  +--rw (timezone)?
      |  |     +--:(timezone-name)
      |  |     |  +--rw timezone-name?     timezone-name
      |  |     +--:(timezone-utc-offset)
      |  |        +--rw timezone-utc-offset?   int16
      |  +--rw ntp!
      |     +--rw enabled?   boolean
      |     +--rw server* [name]
      |        +--rw name                string
      |        +--rw (transport)
      |        |  +--:(udp)
      |        |     +--rw udp
      |        |        +--rw address    inet:host
      |        |        +--rw port?      inet:port-number
      |        +--rw association-type?   enumeration
      |        +--rw iburst?             boolean
      |        +--rw prefer?             boolean
      +--ro system-state
         +--ro clock
            +--ro current-datetime?      yang:date-and-time
            +--ro boot-datetime?         yang:date-and-time
        

New "case" statements can be added in future revisions of this data model, or through augmentation by some other data model.

新的“case”语句可以在该数据模型的未来版本中添加,或者通过一些其他数据模型进行扩充。

3.3. DNS Resolver Model
3.3. DNS解析器模型

The data model for configuration of the DNS resolver has the following structure:

DNS解析程序配置的数据模型具有以下结构:

      +--rw system
         +--rw dns-resolver
            +--rw search*    inet:domain-name
            +--rw server* [name]
            |  +--rw name    string
            |  +--rw (transport)
            |     +--:(udp-and-tcp)
            |        +--udp-and-tcp
            |           +--rw address    inet:ip-address
            |           +--rw port?      inet:port-number
            +--rw options
               +--rw timeout?    uint8
               +--rw attempts?   uint8
        
      +--rw system
         +--rw dns-resolver
            +--rw search*    inet:domain-name
            +--rw server* [name]
            |  +--rw name    string
            |  +--rw (transport)
            |     +--:(udp-and-tcp)
            |        +--udp-and-tcp
            |           +--rw address    inet:ip-address
            |           +--rw port?      inet:port-number
            +--rw options
               +--rw timeout?    uint8
               +--rw attempts?   uint8
        

New "case" statements can be added in future revisions of this data model, or through augmentation by some other data model.

新的“case”语句可以在该数据模型的未来版本中添加,或者通过一些其他数据模型进行扩充。

3.4. RADIUS Client Model
3.4. RADIUS客户端模型

The data model for configuration of the RADIUS client has the following structure:

RADIUS客户端配置的数据模型具有以下结构:

      +--rw system
         +--rw radius
            +--rw server* [name]
            |  +--rw name                   string
            |  +--rw (transport)
            |  |  +--:(udp)
            |  |     +--rw udp
            |  |        +--rw address                inet:host
            |  |        +--rw authentication-port?   inet:port-number
            |  |        +--rw shared-secret          string
            |  +--rw authentication-type?   identityref
            +--rw options
               +--rw timeout?    uint8
               +--rw attempts?   uint8
        
      +--rw system
         +--rw radius
            +--rw server* [name]
            |  +--rw name                   string
            |  +--rw (transport)
            |  |  +--:(udp)
            |  |     +--rw udp
            |  |        +--rw address                inet:host
            |  |        +--rw authentication-port?   inet:port-number
            |  |        +--rw shared-secret          string
            |  +--rw authentication-type?   identityref
            +--rw options
               +--rw timeout?    uint8
               +--rw attempts?   uint8
        

New "case" statements can be added in future revisions of this data model, or through augmentation by some other data model.

新的“case”语句可以在该数据模型的未来版本中添加,或者通过一些其他数据模型进行扩充。

3.5. User Authentication Model
3.5. 用户认证模型

This document defines three authentication methods for use with NETCONF:

本文档定义了三种用于NETCONF的身份验证方法:

o publickey for local users over SSH

o SSH上本地用户的公钥

o password for local users over any secure transport

o 本地用户通过任何安全传输的密码

o password for RADIUS users over any secure transport

o 任何安全传输上RADIUS用户的密码

Additional methods can be defined by other standards documents or by vendors.

其他方法可由其他标准文件或供应商定义。

This document defines two optional YANG features: "local-users" and "radius-authentication", which the server advertises to indicate support for configuring local users on the device and support for using RADIUS for authentication, respectively.

本文档定义了两个可选功能:“本地用户”和“radius身份验证”,服务器播发这两个功能,分别表示支持在设备上配置本地用户和支持使用radius进行身份验证。

The authentication parameters defined in this document are primarily used to configure authentication of NETCONF users but MAY also be used by other interfaces, e.g., a command line interface or a web-based user interface.

本文档中定义的身份验证参数主要用于配置NETCONF用户的身份验证,但也可由其他接口使用,例如命令行接口或基于web的用户接口。

The data model for user authentication has the following structure:

用户身份验证的数据模型具有以下结构:

      +--rw system
         +--rw authentication
            +--rw user-authentication-order*   identityref
            +--rw user* [name]
               +--rw name        string
               +--rw password?   ianach:crypt-hash
               +--rw authorized-key* [name]
                  +--rw name         string
                  +--rw algorithm    string
                  +--rw key-data     binary
        
      +--rw system
         +--rw authentication
            +--rw user-authentication-order*   identityref
            +--rw user* [name]
               +--rw name        string
               +--rw password?   ianach:crypt-hash
               +--rw authorized-key* [name]
                  +--rw name         string
                  +--rw algorithm    string
                  +--rw key-data     binary
        
3.5.1. SSH Public Key Authentication
3.5.1. SSH公钥认证

If the NETCONF server advertises the "local-users" feature, configuration of local users and their SSH public keys is supported in the /system/authentication/user list.

如果NETCONF服务器宣传“本地用户”功能,则在/system/authentication/user列表中支持本地用户及其SSH公钥的配置。

Public key authentication is requested by the SSH client. If the "local-users" feature is supported, then when a NETCONF client starts an SSH session towards the server using the "publickey" authentication "method name" [RFC4252], the SSH server looks up the

SSH客户端请求公钥身份验证。如果支持“本地用户”功能,则当NETCONF客户端使用“公钥”身份验证“方法名”[RFC4252]启动指向服务器的SSH会话时,SSH服务器将查找

user name given in the SSH authentication request in the /system/authentication/user list and verifies the key as described in [RFC4253].

在/system/authentication/user列表中的SSH身份验证请求中给出的用户名,并按照[RFC4253]中的说明验证密钥。

3.5.2. Local User Password Authentication
3.5.2. 本地用户密码验证

If the NETCONF server advertises the "local-users" feature, configuration of local users and their passwords is supported in the /system/authentication/user list.

如果NETCONF服务器宣传“本地用户”功能,则在/system/authentication/user列表中支持本地用户及其密码的配置。

For NETCONF transport protocols that support password authentication, the leaf-list "user-authentication-order" is used to control whether or not local user password authentication should be used.

对于支持密码身份验证的NETCONF传输协议,叶列表“用户身份验证顺序”用于控制是否应使用本地用户密码身份验证。

In SSH, password authentication is requested by the client. Other NETCONF transport protocols MAY also support password authentication.

在SSH中,客户端请求密码身份验证。其他NETCONF传输协议也可能支持密码身份验证。

When local user password authentication is requested, the NETCONF transport looks up the user name provided by the client in the /system/authentication/user list and verifies the password.

当请求本地用户密码验证时,NETCONF传输在/system/authentication/user列表中查找客户端提供的用户名,并验证密码。

3.5.3. RADIUS Password Authentication
3.5.3. RADIUS密码验证

If the NETCONF server advertises the "radius-authentication" feature, the device supports user authentication using RADIUS.

如果NETCONF服务器播发“radius身份验证”功能,则设备支持使用radius进行用户身份验证。

For NETCONF transport protocols that support password authentication, the leaf-list "user-authentication-order" is used to control whether or not RADIUS password authentication should be used.

对于支持密码身份验证的NETCONF传输协议,叶列表“用户身份验证顺序”用于控制是否应使用RADIUS密码身份验证。

In SSH, password authentication is requested by the client. Other NETCONF transport protocols MAY also support password authentication.

在SSH中,客户端请求密码身份验证。其他NETCONF传输协议也可能支持密码身份验证。

3.6. System Control
3.6. 系统控制

The following operations are defined:

定义了以下操作:

set-current-datetime system-restart system-shutdown

设置当前日期时间系统重启系统关机

Two protocol operations are included to restart or shut down the system. The 'system-restart' operation can be used to restart the entire system (not just the NETCONF server). The 'system-shutdown' operation can be used to power off the entire system.

包括两个协议操作以重新启动或关闭系统。“系统重启”操作可用于重启整个系统(不仅仅是NETCONF服务器)。“系统关闭”操作可用于关闭整个系统的电源。

4. Relationship to the SNMPv2-MIB
4. 与SNMPv2 MIB的关系

If a device implements the SNMPv2-MIB [RFC3418], there are two objects that MAY be mapped by the implementation. See the YANG module definition in Section 6 for details. The following table lists the YANG data nodes with corresponding objects in the SNMPv2-MIB.

如果设备实现SNMPv2 MIB[RFC3418],则有两个对象可以通过实现进行映射。有关详细信息,请参见第6节中的模块定义。下表列出了SNMPv2 MIB中具有相应对象的数据节点。

                  +----------------+-------------------+
                  | YANG data node | SNMPv2-MIB object |
                  +----------------+-------------------+
                  | contact        | sysContact        |
                  | location       | sysLocation       |
                  +----------------+-------------------+
        
                  +----------------+-------------------+
                  | YANG data node | SNMPv2-MIB object |
                  +----------------+-------------------+
                  | contact        | sysContact        |
                  | location       | sysLocation       |
                  +----------------+-------------------+
        

YANG Interface Configuration Data Nodes and Related SNMPv2-MIB Objects

YANG接口配置数据节点和相关SNMPv2 MIB对象

5. IANA Crypt Hash YANG Module
5. IANA加密哈希模块

This YANG module references [RFC1321], [IEEE-1003.1-2008], and [FIPS.180-4.2012].

本模块参考了[RFC1321]、[IEEE-1003.1-2008]和[FIPS.180-4.2012]。

   <CODE BEGINS> file "iana-crypt-hash@2014-08-06.yang"
        
   <CODE BEGINS> file "iana-crypt-hash@2014-08-06.yang"
        
   module iana-crypt-hash {
     namespace "urn:ietf:params:xml:ns:yang:iana-crypt-hash";
     prefix ianach;
        
   module iana-crypt-hash {
     namespace "urn:ietf:params:xml:ns:yang:iana-crypt-hash";
     prefix ianach;
        

organization "IANA"; contact " Internet Assigned Numbers Authority

“IANA”组织;联系“互联网分配号码管理局”

Postal: ICANN 12025 Waterfront Drive, Suite 300 Los Angeles, CA 90094-2536 United States

邮政:ICANN 12025美国加利福尼亚州洛杉矶滨水路300号套房90094-2536

Tel: +1 310 301 5800 E-Mail: iana@iana.org>"; description "This YANG module defines a type for storing passwords using a hash function and features to indicate which hash functions are supported by an implementation.

电话:+1310 301 5800电子邮件:iana@iana.org>“说明”此模块定义了一种使用哈希函数存储密码的类型,并提供了一些功能来指示实现支持哪些哈希函数。

The latest revision of this YANG module can be obtained from the IANA web site.

此模块的最新版本可从IANA网站获得。

Requests for new values should be made to IANA via email (iana@iana.org).

应通过电子邮件向IANA请求新值(iana@iana.org).

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

版权所有(c)2014 IETF信托基金和被确定为代码作者的人员。版权所有。

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).

根据IETF信托有关IETF文件的法律规定第4.c节规定的简化BSD许可证中包含的许可条款,允许以源代码和二进制格式重新分发和使用,无论是否修改(http://trustee.ietf.org/license-info).

        The initial version of this YANG module is part of RFC 7317;
        see the RFC itself for full legal notices.";
        
        The initial version of this YANG module is part of RFC 7317;
        see the RFC itself for full legal notices.";
        
     revision 2014-08-06 {
       description
         "Initial revision.";
       reference
         "RFC 7317: A YANG Data Model for System Management";
     }
        
     revision 2014-08-06 {
       description
         "Initial revision.";
       reference
         "RFC 7317: A YANG Data Model for System Management";
     }
        
     typedef crypt-hash {
       type string {
         pattern
           '$0$.*'
         + '|$1$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}'
         + '|$5$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}'
         + '|$6$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}';
       }
       description
         "The crypt-hash type is used to store passwords using
          a hash function.  The algorithms for applying the hash
          function and encoding the result are implemented in
          various UNIX systems as the function crypt(3).
        
     typedef crypt-hash {
       type string {
         pattern
           '$0$.*'
         + '|$1$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}'
         + '|$5$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}'
         + '|$6$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}';
       }
       description
         "The crypt-hash type is used to store passwords using
          a hash function.  The algorithms for applying the hash
          function and encoding the result are implemented in
          various UNIX systems as the function crypt(3).
        

A value of this type matches one of the forms:

此类型的值与以下形式之一匹配:

            $0$<clear text password>
            $<id>$<salt>$<password hash>
            $<id>$<parameter>$<salt>$<password hash>
        
            $0$<clear text password>
            $<id>$<salt>$<password hash>
            $<id>$<parameter>$<salt>$<password hash>
        

The '$0$' prefix signals that the value is clear text. When such a value is received by the server, a hash value is calculated, and the string '$<id>$<salt>$' or $<id>$<parameter>$<salt>$ is prepended to the result. This value is stored in the configuration data store.

“$0$”前缀表示该值为明文。当服务器接收到这样的值时,将计算散列值,并将字符串“$<id>$<salt>$”或$<id>$<parameter>$<salt>$”放在结果前面。该值存储在配置数据存储中。

If a value starting with '$<id>$', where <id> is not '0', is received, the server knows that the value already represents a hashed value and stores it 'as is' in the data store.

如果接收到以“$<id>$”开头的值,其中<id>不是“0”,则服务器知道该值已表示哈希值,并将其“按原样”存储在数据存储中。

When a server needs to verify a password given by a user, it finds the stored password hash string for that user, extracts the salt, and calculates the hash with the salt and given password as input. If the calculated hash value is the same as the stored value, the password given by the client is accepted.

当服务器需要验证用户给定的密码时,它会查找该用户存储的密码哈希字符串,提取salt,并使用salt和给定密码作为输入计算哈希。如果计算的哈希值与存储的值相同,则接受客户端提供的密码。

This type defines the following hash functions:

此类型定义以下哈希函数:

            id | hash function | feature
            ---+---------------+-------------------
             1 | MD5           | crypt-hash-md5
             5 | SHA-256       | crypt-hash-sha-256
             6 | SHA-512       | crypt-hash-sha-512
        
            id | hash function | feature
            ---+---------------+-------------------
             1 | MD5           | crypt-hash-md5
             5 | SHA-256       | crypt-hash-sha-256
             6 | SHA-512       | crypt-hash-sha-512
        
          The server indicates support for the different hash functions
          by advertising the corresponding feature.";
       reference
         "IEEE Std 1003.1-2008 - crypt() function
          RFC 1321: The MD5 Message-Digest Algorithm
          FIPS.180-4.2012: Secure Hash Standard (SHS)";
     }
        
          The server indicates support for the different hash functions
          by advertising the corresponding feature.";
       reference
         "IEEE Std 1003.1-2008 - crypt() function
          RFC 1321: The MD5 Message-Digest Algorithm
          FIPS.180-4.2012: Secure Hash Standard (SHS)";
     }
        
     feature crypt-hash-md5 {
       description
         "Indicates that the device supports the MD5
          hash function in 'crypt-hash' values.";
       reference "RFC 1321: The MD5 Message-Digest Algorithm";
     }
        
     feature crypt-hash-md5 {
       description
         "Indicates that the device supports the MD5
          hash function in 'crypt-hash' values.";
       reference "RFC 1321: The MD5 Message-Digest Algorithm";
     }
        
     feature crypt-hash-sha-256 {
       description
         "Indicates that the device supports the SHA-256
          hash function in 'crypt-hash' values.";
       reference "FIPS.180-4.2012: Secure Hash Standard (SHS)";
     }
        
     feature crypt-hash-sha-256 {
       description
         "Indicates that the device supports the SHA-256
          hash function in 'crypt-hash' values.";
       reference "FIPS.180-4.2012: Secure Hash Standard (SHS)";
     }
        
     feature crypt-hash-sha-512 {
       description
         "Indicates that the device supports the SHA-512
          hash function in 'crypt-hash' values.";
       reference "FIPS.180-4.2012: Secure Hash Standard (SHS)";
     }
        
     feature crypt-hash-sha-512 {
       description
         "Indicates that the device supports the SHA-512
          hash function in 'crypt-hash' values.";
       reference "FIPS.180-4.2012: Secure Hash Standard (SHS)";
     }
        

}

}

<CODE ENDS>

<代码结束>

6. System YANG Module
6. 系统阳模块

This YANG module imports YANG extensions from [RFC6536] and imports YANG types from [RFC6991]. It also references [RFC1035], [RFC2865], [RFC3418], [RFC5607], [RFC5966], and [RFC6557].

此YANG模块从[RFC6536]导入YANG扩展,并从[RFC6991]导入YANG类型。它还引用了[RFC1035]、[RFC2865]、[RFC3418]、[RFC5607]、[RFC5966]和[RFC6557]。

   <CODE BEGINS> file "ietf-system@2014-08-06.yang"
        
   <CODE BEGINS> file "ietf-system@2014-08-06.yang"
        
  module ietf-system {
    namespace "urn:ietf:params:xml:ns:yang:ietf-system";
    prefix "sys";
        
  module ietf-system {
    namespace "urn:ietf:params:xml:ns:yang:ietf-system";
    prefix "sys";
        
    import ietf-yang-types {
      prefix yang;
    }
        
    import ietf-yang-types {
      prefix yang;
    }
        
    import ietf-inet-types {
      prefix inet;
    }
        
    import ietf-inet-types {
      prefix inet;
    }
        
    import ietf-netconf-acm {
      prefix nacm;
    }
        
    import ietf-netconf-acm {
      prefix nacm;
    }
        
    import iana-crypt-hash {
      prefix ianach;
    }
        
    import iana-crypt-hash {
      prefix ianach;
    }
        

organization "IETF NETMOD (NETCONF Data Modeling Language) Working Group";

组织“IETF NETMOD(NETCONF数据建模语言)工作组”;

    contact
      "WG Web:   <http://tools.ietf.org/wg/netmod/>
       WG List:  <mailto:netmod@ietf.org>
        
    contact
      "WG Web:   <http://tools.ietf.org/wg/netmod/>
       WG List:  <mailto:netmod@ietf.org>
        
       WG Chair: Thomas Nadeau
                 <mailto:tnadeau@lucidvision.com>
        
       WG Chair: Thomas Nadeau
                 <mailto:tnadeau@lucidvision.com>
        
       WG Chair: Juergen Schoenwaelder
                 <mailto:j.schoenwaelder@jacobs-university.de>
        
       WG Chair: Juergen Schoenwaelder
                 <mailto:j.schoenwaelder@jacobs-university.de>
        
       Editor:   Andy Bierman
                 <mailto:andy@yumaworks.com>
        
       Editor:   Andy Bierman
                 <mailto:andy@yumaworks.com>
        
       Editor:   Martin Bjorklund
                 <mailto:mbj@tail-f.com>";
        
       Editor:   Martin Bjorklund
                 <mailto:mbj@tail-f.com>";
        

description "This module contains a collection of YANG definitions for the configuration and identification of some common system properties within a device containing a NETCONF server. This includes data node definitions for system identification, time-of-day management, user management, DNS resolver configuration, and some protocol operations for system management.

描述“此模块包含一组定义,用于在包含NETCONF服务器的设备中配置和标识某些常见系统属性。这包括用于系统标识、时间管理、用户管理、DNS解析程序配置的数据节点定义,以及用于系统管理的一些协议操作。

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

版权所有(c)2014 IETF信托基金和被确定为代码作者的人员。版权所有。

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).

根据IETF信托有关IETF文件的法律规定第4.c节规定的简化BSD许可证中包含的许可条款,允许以源代码和二进制格式重新分发和使用,无论是否修改(http://trustee.ietf.org/license-info).

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

该模块的此版本是RFC 7317的一部分;有关完整的法律通知,请参见RFC本身。“;

    revision 2014-08-06 {
      description
        "Initial revision.";
      reference
        "RFC 7317: A YANG Data Model for System Management";
    }
        
    revision 2014-08-06 {
      description
        "Initial revision.";
      reference
        "RFC 7317: A YANG Data Model for System Management";
    }
        
   /*
    * Typedefs
    */
        
   /*
    * Typedefs
    */
        
    typedef timezone-name {
      type string;
      description
        "A time zone name as used by the Time Zone Database,
         sometimes referred to as the 'Olson Database'.
        
    typedef timezone-name {
      type string;
      description
        "A time zone name as used by the Time Zone Database,
         sometimes referred to as the 'Olson Database'.
        
         The exact set of valid values is an implementation-specific
         matter.  Client discovery of the exact set of time zone names
         for a particular server is out of scope.";
      reference
        "RFC 6557: Procedures for Maintaining the Time Zone Database";
     }
        
         The exact set of valid values is an implementation-specific
         matter.  Client discovery of the exact set of time zone names
         for a particular server is out of scope.";
      reference
        "RFC 6557: Procedures for Maintaining the Time Zone Database";
     }
        
    /*
     * Features
     */
        
    /*
     * Features
     */
        
    feature radius {
      description
        "Indicates that the device can be configured as a RADIUS
         client.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)";
    }
        
    feature radius {
      description
        "Indicates that the device can be configured as a RADIUS
         client.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)";
    }
        
    feature authentication {
      description
        "Indicates that the device supports configuration of
         user authentication.";
    }
        
    feature authentication {
      description
        "Indicates that the device supports configuration of
         user authentication.";
    }
        
    feature local-users {
      if-feature authentication;
      description
        "Indicates that the device supports configuration of
         local user authentication.";
    }
        
    feature local-users {
      if-feature authentication;
      description
        "Indicates that the device supports configuration of
         local user authentication.";
    }
        
    feature radius-authentication {
      if-feature radius;
      if-feature authentication;
      description
        "Indicates that the device supports configuration of user
         authentication over RADIUS.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)
         RFC 5607: Remote Authentication Dial-In User Service (RADIUS)
                   Authorization for Network Access Server (NAS)
                   Management";
    }
        
    feature radius-authentication {
      if-feature radius;
      if-feature authentication;
      description
        "Indicates that the device supports configuration of user
         authentication over RADIUS.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)
         RFC 5607: Remote Authentication Dial-In User Service (RADIUS)
                   Authorization for Network Access Server (NAS)
                   Management";
    }
        
    feature ntp {
      description
        "Indicates that the device can be configured to use one or
         more NTP servers to set the system date and time.";
    }
        
    feature ntp {
      description
        "Indicates that the device can be configured to use one or
         more NTP servers to set the system date and time.";
    }
        
    feature ntp-udp-port {
      if-feature ntp;
      description
        "Indicates that the device supports the configuration of
         the UDP port for NTP servers.
        
    feature ntp-udp-port {
      if-feature ntp;
      description
        "Indicates that the device supports the configuration of
         the UDP port for NTP servers.
        
         This is a 'feature', since many implementations do not support
         any port other than the default port.";
    }
        
         This is a 'feature', since many implementations do not support
         any port other than the default port.";
    }
        
    feature timezone-name {
      description
        "Indicates that the local time zone on the device
         can be configured to use the TZ database
         to set the time zone and manage daylight saving time.";
      reference
        "RFC 6557: Procedures for Maintaining the Time Zone Database";
    }
        
    feature timezone-name {
      description
        "Indicates that the local time zone on the device
         can be configured to use the TZ database
         to set the time zone and manage daylight saving time.";
      reference
        "RFC 6557: Procedures for Maintaining the Time Zone Database";
    }
        

feature dns-udp-tcp-port { description "Indicates that the device supports the configuration of the UDP and TCP port for DNS servers.

功能dns udp tcp端口{description]表示设备支持dns服务器的udp和tcp端口配置。

         This is a 'feature', since many implementations do not support
         any port other than the default port.";
    }
        
         This is a 'feature', since many implementations do not support
         any port other than the default port.";
    }
        
    /*
     * Identities
     */
        
    /*
     * Identities
     */
        
    identity authentication-method {
      description
        "Base identity for user authentication methods.";
    }
        
    identity authentication-method {
      description
        "Base identity for user authentication methods.";
    }
        
    identity radius {
      base authentication-method;
      description
        "Indicates user authentication using RADIUS.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)
         RFC 5607: Remote Authentication Dial-In User Service (RADIUS)
                   Authorization for Network Access Server (NAS)
                   Management";
    }
        
    identity radius {
      base authentication-method;
      description
        "Indicates user authentication using RADIUS.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)
         RFC 5607: Remote Authentication Dial-In User Service (RADIUS)
                   Authorization for Network Access Server (NAS)
                   Management";
    }
        
    identity local-users {
      base authentication-method;
      description
        "Indicates password-based authentication of locally
         configured users.";
    }
        
    identity local-users {
      base authentication-method;
      description
        "Indicates password-based authentication of locally
         configured users.";
    }
        
    identity radius-authentication-type {
      description
        "Base identity for RADIUS authentication types.";
    }
        
    identity radius-authentication-type {
      description
        "Base identity for RADIUS authentication types.";
    }
        
    identity radius-pap {
      base radius-authentication-type;
      description
        "The device requests Password Authentication Protocol (PAP)
         authentication from the RADIUS server.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)";
    }
        
    identity radius-pap {
      base radius-authentication-type;
      description
        "The device requests Password Authentication Protocol (PAP)
         authentication from the RADIUS server.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)";
    }
        
    identity radius-chap {
      base radius-authentication-type;
      description
        "The device requests Challenge Handshake Authentication
         Protocol (CHAP) authentication from the RADIUS server.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)";
    }
        
    identity radius-chap {
      base radius-authentication-type;
      description
        "The device requests Challenge Handshake Authentication
         Protocol (CHAP) authentication from the RADIUS server.";
      reference
        "RFC 2865: Remote Authentication Dial In User Service (RADIUS)";
    }
        
    /*
     * Configuration data nodes
     */
        
    /*
     * Configuration data nodes
     */
        
    container system {
      description
        "System group configuration.";
        
    container system {
      description
        "System group configuration.";
        
      leaf contact {
        type string;
        description
          "The administrator contact information for the system.
        
      leaf contact {
        type string;
        description
          "The administrator contact information for the system.
        
           A server implementation MAY map this leaf to the sysContact
           MIB object.  Such an implementation needs to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and sysContact.  The definition of
           such a mechanism is outside the scope of this document.";
        reference
          "RFC 3418: Management Information Base (MIB) for the
                     Simple Network Management Protocol (SNMP)
                     SNMPv2-MIB.sysContact";
      }
      leaf hostname {
        type inet:domain-name;
       description
         "The name of the host.  This name can be a single domain
          label or the fully qualified domain name of the host.";
      }
      leaf location {
        type string;
        description
          "The system location.
        
           A server implementation MAY map this leaf to the sysContact
           MIB object.  Such an implementation needs to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and sysContact.  The definition of
           such a mechanism is outside the scope of this document.";
        reference
          "RFC 3418: Management Information Base (MIB) for the
                     Simple Network Management Protocol (SNMP)
                     SNMPv2-MIB.sysContact";
      }
      leaf hostname {
        type inet:domain-name;
       description
         "The name of the host.  This name can be a single domain
          label or the fully qualified domain name of the host.";
      }
      leaf location {
        type string;
        description
          "The system location.
        

A server implementation MAY map this leaf to the sysLocation MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and sysLocation. The definition of such a mechanism is outside the scope of this document.";

服务器实现可以将此叶映射到sysLocation MIB对象。这样的实现需要使用某种机制来处理此叶和sysLocation之间允许的大小和字符差异。此类机制的定义不在本文件的范围之内。”;

        reference
          "RFC 3418: Management Information Base (MIB) for the
                     Simple Network Management Protocol (SNMP)
                     SNMPv2-MIB.sysLocation";
      }
        
        reference
          "RFC 3418: Management Information Base (MIB) for the
                     Simple Network Management Protocol (SNMP)
                     SNMPv2-MIB.sysLocation";
      }
        
      container clock {
        description
          "Configuration of the system date and time properties.";
        
      container clock {
        description
          "Configuration of the system date and time properties.";
        
        choice timezone {
          description
            "The system time zone information.";
        
        choice timezone {
          description
            "The system time zone information.";
        
          case timezone-name {
            if-feature timezone-name;
            leaf timezone-name {
              type timezone-name;
              description
                "The TZ database name to use for the system, such
                 as 'Europe/Stockholm'.";
            }
          }
          case timezone-utc-offset {
            leaf timezone-utc-offset {
              type int16 {
                range "-1500 .. 1500";
              }
              units "minutes";
              description
                "The number of minutes to add to UTC time to
                 identify the time zone for this system.  For example,
                 'UTC - 8:00 hours' would be represented as '-480'.
                 Note that automatic daylight saving time adjustment
                 is not provided if this object is used.";
            }
          }
        }
      }
        
          case timezone-name {
            if-feature timezone-name;
            leaf timezone-name {
              type timezone-name;
              description
                "The TZ database name to use for the system, such
                 as 'Europe/Stockholm'.";
            }
          }
          case timezone-utc-offset {
            leaf timezone-utc-offset {
              type int16 {
                range "-1500 .. 1500";
              }
              units "minutes";
              description
                "The number of minutes to add to UTC time to
                 identify the time zone for this system.  For example,
                 'UTC - 8:00 hours' would be represented as '-480'.
                 Note that automatic daylight saving time adjustment
                 is not provided if this object is used.";
            }
          }
        }
      }
        
      container ntp {
        if-feature ntp;
        presence
          "Enables the NTP client unless the 'enabled' leaf
           (which defaults to 'true') is set to 'false'";
        description
          "Configuration of the NTP client.";
        
      container ntp {
        if-feature ntp;
        presence
          "Enables the NTP client unless the 'enabled' leaf
           (which defaults to 'true') is set to 'false'";
        description
          "Configuration of the NTP client.";
        
        leaf enabled {
          type boolean;
          default true;
          description
            "Indicates that the system should attempt to
             synchronize the system clock with an NTP server
             from the 'ntp/server' list.";
        }
        list server {
          key name;
          description
            "List of NTP servers to use for system clock
             synchronization.  If '/system/ntp/enabled'
             is 'true', then the system will attempt to
             contact and utilize the specified NTP servers.";
        
        leaf enabled {
          type boolean;
          default true;
          description
            "Indicates that the system should attempt to
             synchronize the system clock with an NTP server
             from the 'ntp/server' list.";
        }
        list server {
          key name;
          description
            "List of NTP servers to use for system clock
             synchronization.  If '/system/ntp/enabled'
             is 'true', then the system will attempt to
             contact and utilize the specified NTP servers.";
        
          leaf name {
            type string;
            description
              "An arbitrary name for the NTP server.";
          }
          choice transport {
            mandatory true;
            description
              "The transport-protocol-specific parameters for this
               server.";
        
          leaf name {
            type string;
            description
              "An arbitrary name for the NTP server.";
          }
          choice transport {
            mandatory true;
            description
              "The transport-protocol-specific parameters for this
               server.";
        
            case udp {
              container udp {
                description
                  "Contains UDP-specific configuration parameters
                   for NTP.";
                leaf address {
                  type inet:host;
                  mandatory true;
                  description
                    "The address of the NTP server.";
                }
                leaf port {
                  if-feature ntp-udp-port;
                  type inet:port-number;
                  default 123;
                  description
                    "The port number of the NTP server.";
                }
              }
            }
          }
        
            case udp {
              container udp {
                description
                  "Contains UDP-specific configuration parameters
                   for NTP.";
                leaf address {
                  type inet:host;
                  mandatory true;
                  description
                    "The address of the NTP server.";
                }
                leaf port {
                  if-feature ntp-udp-port;
                  type inet:port-number;
                  default 123;
                  description
                    "The port number of the NTP server.";
                }
              }
            }
          }
        
          leaf association-type {
            type enumeration {
              enum server {
                description
                  "Use client association mode.  This device
                   will not provide synchronization to the
                   configured NTP server.";
              }
              enum peer {
                description
                  "Use symmetric active association mode.
                   This device may provide synchronization
                   to the configured NTP server.";
              }
              enum pool {
                description
                  "Use client association mode with one or
                   more of the NTP servers found by DNS
                   resolution of the domain name given by
                   the 'address' leaf.  This device will not
                   provide synchronization to the servers.";
              }
            }
            default server;
            description
              "The desired association type for this NTP server.";
          }
          leaf iburst {
            type boolean;
            default false;
            description
              "Indicates whether this server should enable burst
               synchronization or not.";
          }
          leaf prefer {
            type boolean;
            default false;
            description
              "Indicates whether this server should be preferred
               or not.";
          }
        }
      }
        
          leaf association-type {
            type enumeration {
              enum server {
                description
                  "Use client association mode.  This device
                   will not provide synchronization to the
                   configured NTP server.";
              }
              enum peer {
                description
                  "Use symmetric active association mode.
                   This device may provide synchronization
                   to the configured NTP server.";
              }
              enum pool {
                description
                  "Use client association mode with one or
                   more of the NTP servers found by DNS
                   resolution of the domain name given by
                   the 'address' leaf.  This device will not
                   provide synchronization to the servers.";
              }
            }
            default server;
            description
              "The desired association type for this NTP server.";
          }
          leaf iburst {
            type boolean;
            default false;
            description
              "Indicates whether this server should enable burst
               synchronization or not.";
          }
          leaf prefer {
            type boolean;
            default false;
            description
              "Indicates whether this server should be preferred
               or not.";
          }
        }
      }
        
      container dns-resolver {
        description
          "Configuration of the DNS resolver.";
        
      container dns-resolver {
        description
          "Configuration of the DNS resolver.";
        
        leaf-list search {
          type inet:domain-name;
          ordered-by user;
          description
            "An ordered list of domains to search when resolving
             a host name.";
        }
        list server {
          key name;
          ordered-by user;
          description
            "List of the DNS servers that the resolver should query.
        
        leaf-list search {
          type inet:domain-name;
          ordered-by user;
          description
            "An ordered list of domains to search when resolving
             a host name.";
        }
        list server {
          key name;
          ordered-by user;
          description
            "List of the DNS servers that the resolver should query.
        

When the resolver is invoked by a calling application, it sends the query to the first name server in this list. If no response has been received within 'timeout' seconds, the resolver continues with the next server in the list. If no response is received from any server, the resolver continues with the first server again. When the resolver has traversed the list 'attempts' times without receiving any response, it gives up and returns an error to the calling application.

当调用应用程序调用解析器时,它会将查询发送到此列表中的名字服务器。如果在“超时”秒内未收到响应,则解析程序将继续使用列表中的下一台服务器。如果没有收到来自任何服务器的响应,解析程序将继续处理第一台服务器。当冲突解决程序在没有收到任何响应的情况下遍历列表“尝试”次数时,它将放弃并向调用应用程序返回错误。

Implementations MAY limit the number of entries in this list.";

实施可能会限制此列表中的条目数。“;

          leaf name {
            type string;
            description
              "An arbitrary name for the DNS server.";
          }
          choice transport {
            mandatory true;
            description
              "The transport-protocol-specific parameters for this
               server.";
        
          leaf name {
            type string;
            description
              "An arbitrary name for the DNS server.";
          }
          choice transport {
            mandatory true;
            description
              "The transport-protocol-specific parameters for this
               server.";
        
            case udp-and-tcp {
              container udp-and-tcp {
                description
                  "Contains UDP- and TCP-specific configuration
                   parameters for DNS.";
                reference
                  "RFC 1035: Domain Names - Implementation and
                             Specification
                   RFC 5966: DNS Transport over TCP - Implementation
                             Requirements";
        
            case udp-and-tcp {
              container udp-and-tcp {
                description
                  "Contains UDP- and TCP-specific configuration
                   parameters for DNS.";
                reference
                  "RFC 1035: Domain Names - Implementation and
                             Specification
                   RFC 5966: DNS Transport over TCP - Implementation
                             Requirements";
        
                leaf address {
                  type inet:ip-address;
                  mandatory true;
                  description
                    "The address of the DNS server.";
                }
                leaf port {
                  if-feature dns-udp-tcp-port;
                  type inet:port-number;
                  default 53;
                  description
                    "The UDP and TCP port number of the DNS server.";
                }
              }
            }
          }
        }
        container options {
          description
            "Resolver options.  The set of available options has been
             limited to those that are generally available across
             different resolver implementations and generally useful.";
          leaf timeout {
            type uint8 {
              range "1..max";
            }
            units "seconds";
            default "5";
            description
              "The amount of time the resolver will wait for a
               response from each remote name server before
               retrying the query via a different name server.";
          }
          leaf attempts {
            type uint8 {
              range "1..max";
            }
            default "2";
            description
              "The number of times the resolver will send a query to
               all of its name servers before giving up and returning
               an error to the calling application.";
          }
        }
      }
        
                leaf address {
                  type inet:ip-address;
                  mandatory true;
                  description
                    "The address of the DNS server.";
                }
                leaf port {
                  if-feature dns-udp-tcp-port;
                  type inet:port-number;
                  default 53;
                  description
                    "The UDP and TCP port number of the DNS server.";
                }
              }
            }
          }
        }
        container options {
          description
            "Resolver options.  The set of available options has been
             limited to those that are generally available across
             different resolver implementations and generally useful.";
          leaf timeout {
            type uint8 {
              range "1..max";
            }
            units "seconds";
            default "5";
            description
              "The amount of time the resolver will wait for a
               response from each remote name server before
               retrying the query via a different name server.";
          }
          leaf attempts {
            type uint8 {
              range "1..max";
            }
            default "2";
            description
              "The number of times the resolver will send a query to
               all of its name servers before giving up and returning
               an error to the calling application.";
          }
        }
      }
        
      container radius {
        if-feature radius;
        
      container radius {
        if-feature radius;
        

description "Configuration of the RADIUS client.";

说明“RADIUS客户端的配置”;

        list server {
          key name;
          ordered-by user;
          description
            "List of RADIUS servers used by the device.
        
        list server {
          key name;
          ordered-by user;
          description
            "List of RADIUS servers used by the device.
        

When the RADIUS client is invoked by a calling application, it sends the query to the first server in this list. If no response has been received within 'timeout' seconds, the client continues with the next server in the list. If no response is received from any server, the client continues with the first server again. When the client has traversed the list 'attempts' times without receiving any response, it gives up and returns an error to the calling application.";

当调用应用程序调用RADIUS客户端时,它会将查询发送到此列表中的第一个服务器。如果在“超时”秒内未收到响应,则客户端将继续使用列表中的下一台服务器。如果没有收到来自任何服务器的响应,客户机将继续使用第一台服务器。当客户端在没有收到任何响应的情况下遍历列表“尝试”次数时,它将放弃并向调用应用程序返回一个错误。“;

          leaf name {
            type string;
            description
              "An arbitrary name for the RADIUS server.";
          }
          choice transport {
            mandatory true;
            description
              "The transport-protocol-specific parameters for this
               server.";
        
          leaf name {
            type string;
            description
              "An arbitrary name for the RADIUS server.";
          }
          choice transport {
            mandatory true;
            description
              "The transport-protocol-specific parameters for this
               server.";
        
            case udp {
              container udp {
                description
                  "Contains UDP-specific configuration parameters
                   for RADIUS.";
                leaf address {
                  type inet:host;
                  mandatory true;
                  description
                    "The address of the RADIUS server.";
                }
        
            case udp {
              container udp {
                description
                  "Contains UDP-specific configuration parameters
                   for RADIUS.";
                leaf address {
                  type inet:host;
                  mandatory true;
                  description
                    "The address of the RADIUS server.";
                }
        
                leaf authentication-port {
                  type inet:port-number;
                  default "1812";
                  description
                    "The port number of the RADIUS server.";
                }
                leaf shared-secret {
                  type string;
                  mandatory true;
                  nacm:default-deny-all;
                  description
                    "The shared secret, which is known to both the
                     RADIUS client and server.";
                  reference
                    "RFC 2865: Remote Authentication Dial In User
                               Service (RADIUS)";
                }
              }
            }
          }
          leaf authentication-type {
            type identityref {
              base radius-authentication-type;
            }
            default radius-pap;
            description
              "The authentication type requested from the RADIUS
               server.";
          }
        }
        container options {
          description
            "RADIUS client options.";
        
                leaf authentication-port {
                  type inet:port-number;
                  default "1812";
                  description
                    "The port number of the RADIUS server.";
                }
                leaf shared-secret {
                  type string;
                  mandatory true;
                  nacm:default-deny-all;
                  description
                    "The shared secret, which is known to both the
                     RADIUS client and server.";
                  reference
                    "RFC 2865: Remote Authentication Dial In User
                               Service (RADIUS)";
                }
              }
            }
          }
          leaf authentication-type {
            type identityref {
              base radius-authentication-type;
            }
            default radius-pap;
            description
              "The authentication type requested from the RADIUS
               server.";
          }
        }
        container options {
          description
            "RADIUS client options.";
        
          leaf timeout {
            type uint8 {
              range "1..max";
            }
            units "seconds";
            default "5";
            description
              "The number of seconds the device will wait for a
               response from each RADIUS server before trying with a
               different server.";
          }
        
          leaf timeout {
            type uint8 {
              range "1..max";
            }
            units "seconds";
            default "5";
            description
              "The number of seconds the device will wait for a
               response from each RADIUS server before trying with a
               different server.";
          }
        
          leaf attempts {
            type uint8 {
              range "1..max";
            }
            default "2";
            description
              "The number of times the device will send a query to
               all of its RADIUS servers before giving up.";
          }
        }
      }
        
          leaf attempts {
            type uint8 {
              range "1..max";
            }
            default "2";
            description
              "The number of times the device will send a query to
               all of its RADIUS servers before giving up.";
          }
        }
      }
        
      container authentication {
        nacm:default-deny-write;
        if-feature authentication;
        
      container authentication {
        nacm:default-deny-write;
        if-feature authentication;
        

description "The authentication configuration subtree.";

说明“身份验证配置子树。”;

         leaf-list user-authentication-order {
           type identityref {
             base authentication-method;
           }
           must '(. != "sys:radius" or ../../radius/server)' {
             error-message
               "When 'radius' is used, a RADIUS server"
             + " must be configured.";
             description
               "When 'radius' is used as an authentication method,
                a RADIUS server must be configured.";
           }
           ordered-by user;
        
         leaf-list user-authentication-order {
           type identityref {
             base authentication-method;
           }
           must '(. != "sys:radius" or ../../radius/server)' {
             error-message
               "When 'radius' is used, a RADIUS server"
             + " must be configured.";
             description
               "When 'radius' is used as an authentication method,
                a RADIUS server must be configured.";
           }
           ordered-by user;
        

description "When the device authenticates a user with a password, it tries the authentication methods in this leaf-list in order. If authentication with one method fails, the next method is used. If no method succeeds, the user is denied access.

description“当设备使用密码对用户进行身份验证时,它会依次尝试此叶列表中的身份验证方法。如果使用一种方法的身份验证失败,则使用下一种方法。如果没有方法成功,则拒绝用户访问。

An empty user-authentication-order leaf-list still allows authentication of users using mechanisms that do not involve a password.

空的用户身份验证顺序叶列表仍然允许使用不涉及密码的机制对用户进行身份验证。

If the 'radius-authentication' feature is advertised by the NETCONF server, the 'radius' identity can be added to this list.

如果NETCONF服务器公布了“radius身份验证”功能,则可以将“radius”标识添加到此列表中。

              If the 'local-users' feature is advertised by the
              NETCONF server, the 'local-users' identity can be
              added to this list.";
         }
        
              If the 'local-users' feature is advertised by the
              NETCONF server, the 'local-users' identity can be
              added to this list.";
         }
        
         list user {
           if-feature local-users;
           key name;
           description
             "The list of local users configured on this device.";
        
         list user {
           if-feature local-users;
           key name;
           description
             "The list of local users configured on this device.";
        
           leaf name {
             type string;
             description
              "The user name string identifying this entry.";
           }
           leaf password {
             type ianach:crypt-hash;
             description
               "The password for this entry.";
           }
           list authorized-key {
             key name;
             description
               "A list of public SSH keys for this user.  These keys
                are allowed for SSH authentication, as described in
                RFC 4253.";
             reference
               "RFC 4253: The Secure Shell (SSH) Transport Layer
                          Protocol";
        
           leaf name {
             type string;
             description
              "The user name string identifying this entry.";
           }
           leaf password {
             type ianach:crypt-hash;
             description
               "The password for this entry.";
           }
           list authorized-key {
             key name;
             description
               "A list of public SSH keys for this user.  These keys
                are allowed for SSH authentication, as described in
                RFC 4253.";
             reference
               "RFC 4253: The Secure Shell (SSH) Transport Layer
                          Protocol";
        
             leaf name {
               type string;
               description
                 "An arbitrary name for the SSH key.";
             }
        
             leaf name {
               type string;
               description
                 "An arbitrary name for the SSH key.";
             }
        
             leaf algorithm {
               type string;
               mandatory true;
               description
                 "The public key algorithm name for this SSH key.
        
             leaf algorithm {
               type string;
               mandatory true;
               description
                 "The public key algorithm name for this SSH key.
        
                  Valid values are the values in the IANA 'Secure Shell
                  (SSH) Protocol Parameters' registry, Public Key
                  Algorithm Names.";
               reference
                 "IANA 'Secure Shell (SSH) Protocol Parameters'
                  registry, Public Key Algorithm Names";
             }
             leaf key-data {
               type binary;
               mandatory true;
               description
                 "The binary public key data for this SSH key, as
                  specified by RFC 4253, Section 6.6, i.e.:
        
                  Valid values are the values in the IANA 'Secure Shell
                  (SSH) Protocol Parameters' registry, Public Key
                  Algorithm Names.";
               reference
                 "IANA 'Secure Shell (SSH) Protocol Parameters'
                  registry, Public Key Algorithm Names";
             }
             leaf key-data {
               type binary;
               mandatory true;
               description
                 "The binary public key data for this SSH key, as
                  specified by RFC 4253, Section 6.6, i.e.:
        
                    string    certificate or public key format
                              identifier
                    byte[n]   key/certificate data.";
               reference
                 "RFC 4253: The Secure Shell (SSH) Transport Layer
                            Protocol";
             }
           }
         }
       }
    }
        
                    string    certificate or public key format
                              identifier
                    byte[n]   key/certificate data.";
               reference
                 "RFC 4253: The Secure Shell (SSH) Transport Layer
                            Protocol";
             }
           }
         }
       }
    }
        
    /*
     * Operational state data nodes
     */
        
    /*
     * Operational state data nodes
     */
        
    container system-state {
      config false;
      description
        "System group operational state.";
        
    container system-state {
      config false;
      description
        "System group operational state.";
        
      container platform {
        description
          "Contains vendor-specific information for
           identifying the system platform and operating system.";
        reference
          "IEEE Std 1003.1-2008 - sys/utsname.h";
        
      container platform {
        description
          "Contains vendor-specific information for
           identifying the system platform and operating system.";
        reference
          "IEEE Std 1003.1-2008 - sys/utsname.h";
        
        leaf os-name {
          type string;
          description
            "The name of the operating system in use -
             for example, 'Linux'.";
          reference
            "IEEE Std 1003.1-2008 - utsname.sysname";
        }
        leaf os-release {
          type string;
          description
            "The current release level of the operating
             system in use.  This string MAY indicate
             the OS source code revision.";
          reference
            "IEEE Std 1003.1-2008 - utsname.release";
        }
        leaf os-version {
          type string;
          description
            "The current version level of the operating
             system in use.  This string MAY indicate
             the specific OS build date and target variant
             information.";
          reference
            "IEEE Std 1003.1-2008 - utsname.version";
        }
        leaf machine {
          type string;
          description
            "A vendor-specific identifier string representing
             the hardware in use.";
          reference
            "IEEE Std 1003.1-2008 - utsname.machine";
        }
      }
        
        leaf os-name {
          type string;
          description
            "The name of the operating system in use -
             for example, 'Linux'.";
          reference
            "IEEE Std 1003.1-2008 - utsname.sysname";
        }
        leaf os-release {
          type string;
          description
            "The current release level of the operating
             system in use.  This string MAY indicate
             the OS source code revision.";
          reference
            "IEEE Std 1003.1-2008 - utsname.release";
        }
        leaf os-version {
          type string;
          description
            "The current version level of the operating
             system in use.  This string MAY indicate
             the specific OS build date and target variant
             information.";
          reference
            "IEEE Std 1003.1-2008 - utsname.version";
        }
        leaf machine {
          type string;
          description
            "A vendor-specific identifier string representing
             the hardware in use.";
          reference
            "IEEE Std 1003.1-2008 - utsname.machine";
        }
      }
        
      container clock {
        description
          "Monitoring of the system date and time properties.";
        
      container clock {
        description
          "Monitoring of the system date and time properties.";
        
        leaf current-datetime {
          type yang:date-and-time;
          description
            "The current system date and time.";
        }
        
        leaf current-datetime {
          type yang:date-and-time;
          description
            "The current system date and time.";
        }
        
        leaf boot-datetime {
          type yang:date-and-time;
          description
            "The system date and time when the system last restarted.";
        }
      }
    }
        
        leaf boot-datetime {
          type yang:date-and-time;
          description
            "The system date and time when the system last restarted.";
        }
      }
    }
        
    rpc set-current-datetime {
      nacm:default-deny-all;
      description
        "Set the /system-state/clock/current-datetime leaf
         to the specified value.
        
    rpc set-current-datetime {
      nacm:default-deny-all;
      description
        "Set the /system-state/clock/current-datetime leaf
         to the specified value.
        
         If the system is using NTP (i.e., /system/ntp/enabled
         is set to 'true'), then this operation will fail with
         error-tag 'operation-failed' and error-app-tag value of
         'ntp-active'.";
      input {
        leaf current-datetime {
          type yang:date-and-time;
          mandatory true;
          description
            "The current system date and time.";
        }
      }
    }
        
         If the system is using NTP (i.e., /system/ntp/enabled
         is set to 'true'), then this operation will fail with
         error-tag 'operation-failed' and error-app-tag value of
         'ntp-active'.";
      input {
        leaf current-datetime {
          type yang:date-and-time;
          mandatory true;
          description
            "The current system date and time.";
        }
      }
    }
        
    rpc system-restart {
      nacm:default-deny-all;
      description
        "Request that the entire system be restarted immediately.
         A server SHOULD send an rpc reply to the client before
         restarting the system.";
    }
        
    rpc system-restart {
      nacm:default-deny-all;
      description
        "Request that the entire system be restarted immediately.
         A server SHOULD send an rpc reply to the client before
         restarting the system.";
    }
        
    rpc system-shutdown {
      nacm:default-deny-all;
      description
        "Request that the entire system be shut down immediately.
         A server SHOULD send an rpc reply to the client before
         shutting down the system.";
    }
        
    rpc system-shutdown {
      nacm:default-deny-all;
      description
        "Request that the entire system be shut down immediately.
         A server SHOULD send an rpc reply to the client before
         shutting down the system.";
    }
        

}

}

<CODE ENDS>

<代码结束>

7. IANA Considerations
7. IANA考虑

IANA has created an IANA-maintained YANG module called "iana-crypt-hash", based on the contents of Section 5, which will allow for new hash algorithms to be added to the type "crypt-hash". The registration procedure will be Expert Review, as defined by [RFC5226].

IANA根据第5节的内容创建了一个名为“IANA crypt hash”的IANA模块,该模块允许将新的哈希算法添加到“crypt hash”类型中。按照[RFC5226]的定义,注册程序将为专家评审。

This document registers two URIs in the "IETF XML Registry" [RFC3688]. Following the format in RFC 3688, the following registrations have been made.

本文档在“IETF XML注册表”[RFC3688]中注册了两个URI。按照RFC 3688中的格式,进行了以下注册。

URI: urn:ietf:params:xml:ns:yang:iana-crypt-hash Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace.

URI:urn:ietf:params:xml:ns:yang:iana crypt hash注册人联系人:IESG。XML:不适用;请求的URI是一个XML命名空间。

URI: urn:ietf:params:xml:ns:yang:ietf-system Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace.

URI:urn:ietf:params:xml:ns:yang:ietf系统注册人联系人:IESG。XML:不适用;请求的URI是一个XML命名空间。

This document registers two YANG modules in the "YANG Module Names" registry [RFC6020].

本文件在“阳模块名称”注册表[RFC6020]中注册了两个阳模块。

      name: iana-crypt-hash
      namespace: urn:ietf:params:xml:ns:yang:iana-crypt-hash
      prefix: ianach
      reference: RFC 7317
        
      name: iana-crypt-hash
      namespace: urn:ietf:params:xml:ns:yang:iana-crypt-hash
      prefix: ianach
      reference: RFC 7317
        
      name: ietf-system
      namespace: urn:ietf:params:xml:ns:yang:ietf-system
      prefix: sys
      reference: RFC 7317
        
      name: ietf-system
      namespace: urn:ietf:params:xml:ns:yang:ietf-system
      prefix: sys
      reference: RFC 7317
        
8. Security Considerations
8. 安全考虑

The YANG modules defined in this memo are designed to be accessed via the NETCONF protocol [RFC6241]. The lowest NETCONF layer is the secure transport layer and the mandatory to implement secure transport is SSH [RFC6242]. The NETCONF access control model [RFC6536] provides the means to restrict access for particular NETCONF users to a pre-configured subset of all available NETCONF protocol operations and content.

本备忘录中定义的模块旨在通过NETCONF协议[RFC6241]访问。最低的NETCONF层是安全传输层,实现安全传输的必需层是SSH[RFC6242]。NETCONF访问控制模型[RFC6536]提供了将特定NETCONF用户的访问限制为所有可用NETCONF协议操作和内容的预配置子集的方法。

There are a number of data nodes defined in the "ietf-system" YANG module which are writable/creatable/deletable (i.e., config true, which is the default). These data nodes may be considered sensitive or vulnerable in some network environments. Write operations (e.g.,

“ietf系统”模块中定义了许多数据节点,它们是可写/可创建/可删除的(即,默认为config true)。在某些网络环境中,这些数据节点可能被视为敏感或易受攻击。写入操作(例如。,

edit-config) to these data nodes without proper protection can have a negative effect on network operations. These are the subtrees and data nodes and their sensitivity/vulnerability:

对这些数据节点进行编辑(配置),如果没有适当的保护,可能会对网络操作产生负面影响。这些是子树和数据节点及其敏感性/漏洞:

o /system/clock/timezone: This choice contains the objects used to control the time zone used by the device.

o /系统/时钟/时区:此选项包含用于控制设备使用的时区的对象。

o /system/ntp: This container contains the objects used to control the Network Time Protocol servers used by the device.

o /system/ntp:此容器包含用于控制设备使用的网络时间协议服务器的对象。

o /system/dns-resolver: This container contains the objects used to control the Domain Name System servers used by the device.

o /系统/dns解析程序:此容器包含用于控制设备使用的域名系统服务器的对象。

o /system/radius: This container contains the objects used to control the Remote Authentication Dial-In User Service servers used by the device.

o /system/radius:此容器包含用于控制设备使用的远程身份验证拨入用户服务服务器的对象。

o /system/authentication/user-authentication-order: This leaf controls how user login attempts are authenticated by the device.

o /系统/身份验证/用户身份验证顺序:此叶控制设备如何验证用户登录尝试。

o /system/authentication/user: This list contains the local users enabled on the system.

o /系统/身份验证/用户:此列表包含在系统上启用的本地用户。

Some of the readable data nodes in the "ietf-system" YANG module may be considered sensitive or vulnerable in some network environments. It is thus important to control read access (e.g., via get, get-config or notification) to these data nodes. These are the subtrees and data nodes and their sensitivity/vulnerability:

“ietf系统”模块中的一些可读数据节点在某些网络环境中可能被视为敏感或易受攻击。因此,控制对这些数据节点的读取访问(例如,通过get、get config或通知)非常重要。这些是子树和数据节点及其敏感性/漏洞:

o /system/platform: This container has objects that may help identify the specific NETCONF server and/or operating system implementation used on the device.

o /系统/平台:此容器包含的对象可能有助于识别设备上使用的特定NETCONF服务器和/或操作系统实现。

o /system/authentication/user: This list has objects that may help identify the specific user names and password information in use on the device.

o /系统/身份验证/用户:此列表中的对象可能有助于识别设备上正在使用的特定用户名和密码信息。

Some of the RPC operations in the "ietf-system" YANG module may be considered sensitive or vulnerable in some network environments. It is thus important to control access to these operations. These are the operations and their sensitivity/vulnerability:

“ietf系统”模块中的某些RPC操作在某些网络环境中可能被视为敏感或易受攻击。因此,控制对这些操作的访问非常重要。这些是操作及其敏感性/脆弱性:

o set-current-datetime: Changes the current date and time on the device.

o 设置当前日期时间:更改设备上的当前日期和时间。

o system-restart: Reboots the device.

o 系统重新启动:重新启动设备。

o system-shutdown: Shuts down the device.

o 系统关闭:关闭设备。

Since this document describes the use of RADIUS for purposes of authentication, it is vulnerable to all of the threats that are present in other RADIUS applications. For a discussion of such threats, see [RFC2865] and [RFC3162], and Section 4 of [RFC3579].

由于本文档描述了将RADIUS用于身份验证,因此它容易受到其他RADIUS应用程序中存在的所有威胁的攻击。有关此类威胁的讨论,请参见[RFC2865]和[RFC3162]以及[RFC3579]第4节。

This document provides configuration parameters for SSH's "publickey" and "password" authentication mechanisms. Section 9.4 of [RFC4251] and Section 11 of [RFC4252] discuss security considerations for these mechanisms.

本文档提供SSH的“公钥”和“密码”身份验证机制的配置参数。[RFC4251]第9.4节和[RFC4252]第11节讨论了这些机制的安全注意事项。

The "iana-crypt-hash" YANG module defines a type "crypt-hash" that can be used to store MD5 hashes. [RFC6151] discusses security considerations for MD5. The usage of MD5 is NOT RECOMMENDED.

“iana crypt hash”模块定义了一种类型“crypt hash”,可用于存储MD5哈希。[RFC6151]讨论了MD5的安全注意事项。不建议使用MD5。

9. References
9. 工具书类
9.1. Normative References
9.1. 规范性引用文件

[FIPS.180-4.2012] National Institute of Standards and Technology, "Secure Hash Standard (SHS)", FIPS PUB 180-4, March 2012, <http://csrc.nist.gov/publications/fips/fips180-4/ fips-180-4.pdf>.

[FIPS.180-4.2012]国家标准与技术研究所,“安全哈希标准(SHS)”,FIPS PUB 180-42012年3月<http://csrc.nist.gov/publications/fips/fips180-4/ fips-180-4.pdf>。

[IEEE-1003.1-2008] Institute of Electrical and Electronics Engineers, "POSIX.1-2008", IEEE Standard 1003.1, March 2008.

[IEEE-1003.1-2008]电气和电子工程师协会,“POSIX.1-2008”,IEEE标准1003.1,2008年3月。

[RFC1035] Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, November 1987.

[RFC1035]Mockapetris,P.,“域名-实现和规范”,STD 13,RFC 1035,1987年11月。

[RFC1321] Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321, April 1992.

[RFC1321]Rivest,R.,“MD5消息摘要算法”,RFC13211992年4月。

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119]Bradner,S.,“RFC中用于表示需求水平的关键词”,BCP 14,RFC 2119,1997年3月。

[RFC2865] Rigney, C., Willens, S., Rubens, A., and W. Simpson, "Remote Authentication Dial In User Service (RADIUS)", RFC 2865, June 2000.

[RFC2865]Rigney,C.,Willens,S.,Rubens,A.,和W.Simpson,“远程认证拨入用户服务(RADIUS)”,RFC 28652000年6月。

[RFC3162] Aboba, B., Zorn, G., and D. Mitton, "RADIUS and IPv6", RFC 3162, August 2001.

[RFC3162]Aboba,B.,Zorn,G.和D.Mitton,“RADIUS和IPv6”,RFC 3162,2001年8月。

[RFC3418] Presuhn, R., "Management Information Base (MIB) for the Simple Network Management Protocol (SNMP)", STD 62, RFC 3418, December 2002.

[RFC3418]Presohn,R.,“简单网络管理协议(SNMP)的管理信息库(MIB)”,STD 62,RFC 3418,2002年12月。

[RFC4251] Ylonen, T. and C. Lonvick, "The Secure Shell (SSH) Protocol Architecture", RFC 4251, January 2006.

[RFC4251]Ylonen,T.和C.Lonvick,“安全外壳(SSH)协议架构”,RFC 4251,2006年1月。

[RFC4252] Ylonen, T. and C. Lonvick, "The Secure Shell (SSH) Authentication Protocol", RFC 4252, January 2006.

[RFC4252]Ylonen,T.和C.Lonvick,“安全外壳(SSH)认证协议”,RFC 4252,2006年1月。

[RFC4253] Ylonen, T. and C. Lonvick, "The Secure Shell (SSH) Transport Layer Protocol", RFC 4253, January 2006.

[RFC4253]Ylonen,T.和C.Lonvick,“安全外壳(SSH)传输层协议”,RFC 4253,2006年1月。

[RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 5226, May 2008.

[RFC5226]Narten,T.和H.Alvestrand,“在RFCs中编写IANA注意事项部分的指南”,BCP 26,RFC 5226,2008年5月。

[RFC5607] Nelson, D. and G. Weber, "Remote Authentication Dial-In User Service (RADIUS) Authorization for Network Access Server (NAS) Management", RFC 5607, July 2009.

[RFC5607]Nelson,D.和G.Weber,“网络访问服务器(NAS)管理的远程认证拨入用户服务(RADIUS)授权”,RFC 5607,2009年7月。

[RFC5966] Bellis, R., "DNS Transport over TCP - Implementation Requirements", RFC 5966, August 2010.

[RFC5966]Bellis,R.,“TCP上的DNS传输-实施要求”,RFC 5966,2010年8月。

[RFC6020] Bjorklund, M., "YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)", RFC 6020, October 2010.

[RFC6020]Bjorklund,M.“YANG-网络配置协议(NETCONF)的数据建模语言”,RFC6020,2010年10月。

[RFC6151] Turner, S. and L. Chen, "Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms", RFC 6151, March 2011.

[RFC6151]Turner,S.和L.Chen,“MD5消息摘要和HMAC-MD5算法的更新安全注意事项”,RFC 61512011年3月。

[RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., and A. Bierman, Ed., "Network Configuration Protocol (NETCONF)", RFC 6241, June 2011.

[RFC6241]Enns,R.,Ed.,Bjorklund,M.,Ed.,Schoenwaeld,J.,Ed.,和A.Bierman,Ed.“网络配置协议(NETCONF)”,RFC 62412011年6月。

[RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure Shell (SSH)", RFC 6242, June 2011.

[RFC6242]Wasserman,M.“在安全Shell(SSH)上使用NETCONF协议”,RFC6242,2011年6月。

[RFC6536] Bierman, A. and M. Bjorklund, "Network Configuration Protocol (NETCONF) Access Control Model", RFC 6536, March 2012.

[RFC6536]Bierman,A.和M.Bjorklund,“网络配置协议(NETCONF)访问控制模型”,RFC 65362012年3月。

[RFC6991] Schoenwaelder, J., "Common YANG Data Types", RFC 6991, July 2013.

[RFC6991]Schoenwaeld,J.,“常见的杨氏数据类型”,RFC 69912013年7月。

9.2. Informative References
9.2. 资料性引用

[RFC3579] Aboba, B. and P. Calhoun, "RADIUS (Remote Authentication Dial In User Service) Support For Extensible Authentication Protocol (EAP)", RFC 3579, September 2003.

[RFC3579]Aboba,B.和P.Calhoun,“RADIUS(远程认证拨入用户服务)对可扩展认证协议(EAP)的支持”,RFC 3579,2003年9月。

[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004.

[RFC3688]Mealling,M.“IETF XML注册表”,BCP 81,RFC 3688,2004年1月。

[RFC6557] Lear, E. and P. Eggert, "Procedures for Maintaining the Time Zone Database", BCP 175, RFC 6557, February 2012.

[RFC6557]Lear,E.和P.Eggert,“时区数据库维护程序”,BCP 175,RFC 6557,2012年2月。

Authors' Addresses

作者地址

Andy Bierman YumaWorks

安迪·比尔曼·尤马沃斯

   EMail: andy@yumaworks.com
        
   EMail: andy@yumaworks.com
        

Martin Bjorklund Tail-f Systems

Martin Bjorklund Tail-f系统

   EMail: mbj@tail-f.com
        
   EMail: mbj@tail-f.com