A YANG Data Model for DHCP Configuration
draft-liu-dhc-dhcp-yang-model-02

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2015-12-15
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Internet Engineering Task Force                              B. Liu, Ed.
Internet-Draft                                                    K. Lou
Intended status: Standards Track                     Huawei Technologies
Expires: June 16, 2016                                 December 14, 2015

                A YANG Data Model for DHCP Configuration
                    draft-liu-dhc-dhcp-yang-model-02

Abstract

   This document defines a YANG data model for configuring DHCP Server,
   relay, and client.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on June 16, 2016.

Copyright Notice

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

   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.

Liu, Ed. & Lou            Expires June 16, 2016                 [Page 1]
Internet-Draft      draft-liu-dhc-dhcp-yang-model-02       December 2015

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Requirements Language and Terminology . . . . . . . . . . . .   2
   3.  DHCP YANG Model Overview  . . . . . . . . . . . . . . . . . .   2
     3.1.  DHCP Relay  . . . . . . . . . . . . . . . . . . . . . . .   5
     3.2.  DHCP Server . . . . . . . . . . . . . . . . . . . . . . .   5
     3.3.  DHCP Client . . . . . . . . . . . . . . . . . . . . . . .   6
   4.  DHCP YANG Module  . . . . . . . . . . . . . . . . . . . . . .   6
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  19
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  20
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  20
   8.  Normative References  . . . . . . . . . . . . . . . . . . . .  20
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  20

1.  Introduction

   This document defines a YANG [RFC6020] [RFC6021] data model for
   configuring DHCP Server, relay, and client.

   This model is constructed based on IPv4 version of DHCP[RFC2131].
   This model contains three roles of a DHCP system: DHCP server, DHCP
   relay and DHCP client.  A device could be one of the roles, or a
   combination of two or three roles.  When a device is configured
   multiple roles, the roles are indenpendent with each other.  In other
   words, this model is only a container for the roles, there is no
   intrinsic relationship between the roles.

2.  Requirements Language and Terminology

   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
   [RFC2119] when they appear in ALL CAPS.  When these words are not in
   ALL CAPS (such as "should" or "Should"), they have their usual
   English meanings, and are not to be interpreted as [RFC2119] key
   words.

   Terminology:

   o  DHCP: Dynamic Host Configuration Protocol [RFC2131]

3.  DHCP YANG Model Overview

   The overall structure of the model is dicpicted as the following.

   module: ietf-dhcp
   +--dhcp

Liu, Ed. & Lou            Expires June 16, 2016                 [Page 2]
Internet-Draft      draft-liu-dhc-dhcp-yang-model-02       December 2015

      +--relay
      |  +--rw dhcpRelayIfCfgs
      |  |  +--rw dhcpRelayIfCfg* [ifName]
      |  |     +--rw ifName                     string
      |  |     +--rw enable                     boolean
      |  |     +--rw serverGroupName            string
      |  |     +--rw serverAddress              inet:ipv4-address
      |  +--rw dhcpRelayServerGroups
      |  |  +--rw dhcpRelayServerGroup* [serverGroupName]
      |  |     +--rw serverGroupName        string
      |  |     +--rw vpnName                if:interface-ref
      |  |     +--rw sourceIP               inet:ip-address
      |  |     +--rw gateway                inet:ip-address
Show full document text