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

Document Type Active Internet-Draft (anima WG)
Last updated 2017-11-29 (latest revision 2017-11-24)
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream WG state Candidate for WG Adoption
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                       B. Carpenter
Internet-Draft                                         Univ. of Auckland
Intended status: Informational                               B. Liu, Ed.
Expires: May 28, 2018                                Huawei Technologies
                                                                 W. Wang
                                                                 X. Gong
                                                         BUPT University
                                                       November 24, 2017

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

Abstract

   This document is a conceptual outline of the application programming
   interface (API) of the Generic Autonomic Signaling Protocol (GRASP).
   Such an API is needed 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 https://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 May 28, 2018.

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
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents

Carpenter, et al.         Expires May 28, 2018                  [Page 1]
Internet-Draft                  GRASP API                  November 2017

   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  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  GRASP API for ASA . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Design Principles . . . . . . . . . . . . . . . . . . . .   3
     2.2.  Asynchronous Operations . . . . . . . . . . . . . . . . .   4
     2.3.  API definition  . . . . . . . . . . . . . . . . . . . . .   6
       2.3.1.  Parameters and data structures  . . . . . . . . . . .   6
       2.3.2.  Registration  . . . . . . . . . . . . . . . . . . . .   9
       2.3.3.  Discovery . . . . . . . . . . . . . . . . . . . . . .  11
       2.3.4.  Negotiation . . . . . . . . . . . . . . . . . . . . .  12
       2.3.5.  Synchronization and Flooding  . . . . . . . . . . . .  17
       2.3.6.  Invalid Message Function  . . . . . . . . . . . . . .  20
   3.  Example Logic Flows . . . . . . . . . . . . . . . . . . . . .  21
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .  21
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
   6.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  21
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  21
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .  21
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  22
   Appendix A.  Error Codes  . . . . . . . . . . . . . . . . . . . .  22
   Appendix B.  Change log [RFC Editor: Please remove] . . . . . . .  23
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  24

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

   It is desirable that ASAs can be designed as portable user-space
Show full document text