Extending YANG for events, actions, and finite state machine
draft-sambo-opsawg-ccamp-supa-ext-yang-fsm-00

Document Type Active Internet-Draft (individual)
Last updated 2017-06-28
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)
OPSAWG Working Group                                            N. Sambo
Internet-Draft                                              M. Dallaglio
Intended status: Standards Track                             P. Castoldi
Expires: December 29, 2017                    Scuola Superiore Sant'Anna
                                                             G. Fioccola
                                                            A. Di Giglio
                                                          Telecom Italia
                                                               F. Cugini
                                                                    CNIT
                                                              G. Bernini
                                                             P. Giardina
                                                               Nextworks
                                                           June 27, 2017

      Extending YANG for events, actions, and finite state machine
             draft-sambo-opsawg-ccamp-supa-ext-yang-fsm-00

Abstract

   Network operators and service providers are facing the challenge of
   deployment of systems from different vendors while looking for a
   trade-off among transmission performance, network device reuse, and
   capital expenditure without the need of being tied to single vendor
   equipment.  The deployment and operation of more dynamic and
   programmable transport optical network infrastructures can be driven
   by adopting model-driven and software-defined control and management
   paradigms.  In this context, YANG enables to compile a set of
   consistent vendor-neutral data models for optical networks and
   components based on actual operational needs emerging from
   heterogeneous use cases.  This document extends YANG from data to
   functional modeling in order to describe events, operations, and
   finite state machine of YANG-defined network elements.  The proposed
   models can be applied in the context of optical networks to pre-
   instruct data plane devices (e.g., an optical transponder) on the
   actions to be performed (e.g., code adaptation) in case some events,
   such as physical layer degradations, occur.

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

Sambo, et al.           Expires December 29, 2017               [Page 1]
Internet-Draft         YANG for functional models              June 2017

   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 December 29, 2017.

Copyright Notice

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

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Conventions used in this document . . . . . . . . . . . . . .   3
   3.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Example of application  . . . . . . . . . . . . . . . . . . .   4
   5.  Extending YANG for events and reactions . . . . . . . . . . .   7
   6.  Extending YANG for finite state machine (FSM) . . . . . . . .   9
   7.  Implementation for the considered use case of application . .   9
   8.  Appendix  . . . . . . . . . . . . . . . . . . . . . . . . . .  10
     8.1.  YANG model for events and actions - Tree  . . . . . . . .  10
     8.2.  YANG model for FSM - Tree . . . . . . . . . . . . . . . .  11
     8.3.  YANG model for events and actions - Code  . . . . . . . .  12
     8.4.  YANG model for FSM - Code . . . . . . . . . . . . . . . .  16
     8.5.  Example of values for the YANG model  . . . . . . . . . .  19
   9.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  19
Show full document text