A Yang Data Model for MAC Management
draft-fan-yang-mac-00

Document Type Active Internet-Draft (individual)
Last updated 2016-12-29
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)
Network Working Group                                             H. Fan
Internet-Draft                                                    Huawei
Intended status: Standards Track                                        
Expires: June 30, 2017                                 December 27, 2016

                  A Yang Data Model for MAC Management
                         draft-fan-yang-mac-00

Abstract

   This memo proposes a yang model for MAC management.

Requirements Language

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

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 30, 2017.

Copyright Notice

   Copyright (c) 2016 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
 

Fan                      Expires June 30, 2017                  [Page 1]
Internet-Draft             Abbreviated-Title               December 2016

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  2
   2.  The Design of the MAC Data Model . . . . . . . . . . . . . . .  2
   3.  Definition of ietf-mac module  . . . . . . . . . . . . . . . .  5
   4.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 27
   5.  Security Considerations  . . . . . . . . . . . . . . . . . . . 28
   6.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 28
   7.  Normative References . . . . . . . . . . . . . . . . . . . . . 28
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 28

1.  Introduction

   IP network elements normally maintain a MAC table where the
   information of MAC address, and the associated VLAN number and
   interfaces are maintianed.  When forwarding a packet, the device can
   use the informaiton in the MAC table to find out the egress quickly
   so as to reduce the broadcast quickly.

   The records in a MAC table can be generated either automatically or
   by managers.  This memo proposes a yang model enabling managers to
   mange the records in the MAC talbe of a network device.

2.  The Design of the MAC Data Model

module: ietf-mac
    +--rw mac
       +--rw globalAttribute
       |  +--rw macAgeTimeEnable?   macAgeTimeType
       |  +--rw macAgingTime?       uint32
       +--rw vlanFdbs
       |  +--rw vlanFdb* [macAddress vlanId slotId]
       |     +--rw macAddress       yang:mac-address
       |     +--rw vlanId           macVlanId
       |     +--rw slotId           string
       |     +--rw macType          macType
       |     +--rw outIfName?       string
       |     +--ro outNickname      string
       |     +--rw isCeDefault?     boolean
       |     +--rw ceVlanId?        macVlanId
       |     +--rw isFlood?         boolean
       |     +--rw isIMac?          boolean
       |     +--ro learnedPeriod?   uint32
       |     +--rw outPeerIPs
 

Fan                      Expires June 30, 2017                  [Page 2]
Internet-Draft             Abbreviated-Title               December 2016

       |        +--ro outPeerIP* [outPeerIP]

       |           +--ro outPeerIP    inet:ip-address
       +--rw vsiFdbs
       |  +--rw vsiFdb* [vsiName slotId vlanid macAddress]
       |     +--rw vsiName          string
       |     +--rw slotId           string
       |     +--rw vlanid           uint16
Show full document text