Generic Autonomic Signaling Protocol Application Program Interface (GRASP API)
draft-liu-anima-grasp-api-03

Document Type Active Internet-Draft (individual)
Last updated 2017-02-12
Stream (None)
Intended RFC status (None)
Formats plain text xml 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                                       B. Carpenter
Internet-Draft                                         Univ. of Auckland
Intended status: Standards Track                             B. Liu, Ed.
Expires: August 17, 2017                             Huawei Technologies
                                                                 W. Wang
                                                                 X. Gong
                                                         BUPT University
                                                       February 13, 2017

   Generic Autonomic Signaling Protocol Application Program Interface
                              (GRASP API)
                      draft-liu-anima-grasp-api-03

Abstract

   This document specifies the application programming interface (API)
   of the Generic Autonomic Signaling Protocol (GRASP).  The API is used
   for Autonomic Service Agents (ASA) calling the GRASP protocol module
   to exchange autonomic network messages with other ASAs.

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 August 17, 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

Carpenter, et al.        Expires August 17, 2017                [Page 1]
Internet-Draft                  GRASP API                  February 2017

   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  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  GRASP API for ASA . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Design Principles . . . . . . . . . . . . . . . . . . . .   3
     2.2.  API definition  . . . . . . . . . . . . . . . . . . . . .   4
       2.2.1.  Parameters and data structures  . . . . . . . . . . .   4
       2.2.2.  Registration  . . . . . . . . . . . . . . . . . . . .   7
       2.2.3.  Discovery . . . . . . . . . . . . . . . . . . . . . .   9
       2.2.4.  Negotiation . . . . . . . . . . . . . . . . . . . . .  10
       2.2.5.  Synchronization and Flooding  . . . . . . . . . . . .  14
   3.  Non-threaded Implementations  . . . . . . . . . . . . . . . .  18
   4.  Example Logic Flows . . . . . . . . . . . . . . . . . . . . .  18
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  18
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  19
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  19
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  19
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  19
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  19
   Appendix A.  Error Codes  . . . . . . . . . . . . . . . . . . . .  19
   Appendix B.  Change log [RFC Editor: Please remove] . . . . . . .  20
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  21

1.  Introduction

   As defined in [I-D.ietf-anima-reference-model], the Autonomic Service
   Agent (ASA) is the atomic entity of an autonomic function; and it is
   instantiated on autonomic nodes.  When ASAs communicate with each
   other, they should use the Generic Autonomic Signaling Protocol
   (GRASP) [I-D.ietf-anima-grasp].

   As the following figure shows, GRASP could contain two major sub-
   layers.  The bottom is the GRASP base protocol module, which is only
   responsible for sending and receiving GRASP messages and maintaining
   shared data structures.  The upper layer is some extended functions
   based upon GRASP basic protocol.  For example,
   [I-D.liu-anima-grasp-distribution] describes a possible extended
Show full document text