﻿<?xml version="1.0" encoding="UTF-8"?>
<!-- This template is for creating an Internet Draft using xml2rfc,
     which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!-- One method to get references from the online citation libraries.
     There has to be one entity for each item to be referenced. 
     An alternate method (rfc include) is described in the references. -->

<!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC6830 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6830.xml">
<!ENTITY RFC6833 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6833.xml">
<!ENTITY I-D.ietf-lisp-lcaf SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-lcaf.xml">
<!ENTITY I-D.farinacci-lisp-te SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.farinacci-lisp-te.xml">

]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- used by XSLT processors -->
<!-- For a complete list and description of processing instructions (PIs), 
     please see http://xml.resource.org/authoring/README.html. -->
<!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use.
     (Here they are set differently than their defaults in xml2rfc v1.32) -->
<?rfc strict="yes" ?>
<!-- give errors regarding ID-nits and DTD validation -->
<!-- control the table of contents (ToC) -->
<?rfc toc="yes"?>
<!-- generate a ToC -->
<?rfc tocdepth="4"?>
<!-- the number of levels of subsections in ToC. default: 3 -->
<!-- control references -->
<?rfc symrefs="yes"?>
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
<?rfc sortrefs="yes" ?>
<!-- sort the reference entries alphabetically -->
<!-- control vertical white space 
     (using these PIs as follows is recommended by the RFC Editor) -->
<?rfc compact="yes" ?>
<!-- do not start each main section on a new page -->
<?rfc subcompact="no" ?>
<!-- keep one blank line between list items -->
<!-- end of list of popular I-D processing instructions -->
<rfc category="exp" docName="draft-rodrigueznatal-lisp-sdn-00" ipr="trust200902">
  <!-- category values: std, bcp, info, exp, and historic
     ipr values: full3667, noModification3667, noDerivatives3667
     you can add the attributes updates="NNNN" and obsoletes="NNNN" 
     they will automatically be output with "(if approved)" -->

  <!-- ***** FRONT MATTER ***** -->

  <front>
    <!-- The abbreviated title is used in the page header - it is only necessary if the 
         full title is longer than 39 characters -->

    <title abbrev="LISP-SDN">Software Defined Networking extensions for the Locator/ID Separation Protocol</title>

    <!-- add 'role="editor"' below for the editors if appropriate -->

    <!-- Another author who claims to be an editor -->

    <author fullname="Alberto Rodriguez-Natal" initials="A." surname="Rodriguez-Natal">
      <organization>Technical University of Catalonia</organization>
      <address>
        <postal>
          <street></street>
          <city>Barcelona</city>
          <region></region>
          <code></code>
          <country>Spain</country>
        </postal>
        <phone></phone>
        <email>arnatal@ac.upc.edu</email>
      </address>
    </author>

    <author fullname="Albert Cabellos-Aparicio" initials="A." surname="Cabellos-Aparicio">
      <organization>Technical University of Catalonia</organization>
      <address>
        <postal>
          <street></street>
          <city>Barcelona</city>
          <region></region>
          <code></code>
          <country>Spain</country>
        </postal>
        <phone></phone>
        <email>acabello@ac.upc.edu</email>
      </address>
    </author>

    <author fullname="Sharon Barkai" initials="S." surname="Barkai">
      <organization>ConteXtream, Inc.</organization>
      <address>
        <postal>
          <street></street>
          <city>Mountain View</city>
          <region>CA</region>
          <code></code>
          <country>USA</country>
        </postal>
        <phone></phone>
        <email>sbarkai@gmail.com</email>
      </address>
    </author>

    <author fullname="Vina Ermagan" initials="V." surname="Ermagan">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <street>170 Tasman Drive</street>
          <city>San Jose</city>
          <region>CA</region>
          <code></code>
          <country>USA</country>
        </postal>
        <phone></phone>
        <email>vermagan@cisco.com</email>
      </address>
    </author>


    <author fullname="Darrel Lewis" initials="D." surname="Lewis">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <street>170 Tasman Drive</street>
          <city>San Jose</city>
          <region>CA</region>
          <code></code>
          <country>USA</country>
        </postal>
        <phone></phone>
        <email>darlewis@cisco.com</email>
      </address>
    </author>

    <author fullname="Fabio Maino" initials="F." surname="Maino">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <street>170 Tasman Drive</street>
          <city>San Jose</city>
          <region>CA</region>
          <code></code>
          <country>USA</country>
        </postal>
        <phone></phone>
        <email>fmaino@cisco.com</email>
      </address>
    </author>

    <author fullname="Dino Farinacci" initials="D." surname="Farinacci">
      <organization>lispers.net</organization>
      <address>
        <postal>
          <street></street>
          <city>San Jose</city>
          <region>CA</region>
          <code></code>
          <country>USA</country>
        </postal>
        <phone></phone>
        <email>farinacci@gmail.com</email>
      </address>
    </author>


    <date month="February" year="2014" />

    <!-- If the month and year are both specified and are the current ones, xml2rfc will fill 
         in the current day for you. If only the current year is specified, xml2rfc will fill 
	 in the current day and month for you. If the year is not the current one, it is 
	 necessary to specify at least a month (xml2rfc assumes day="1" if not specified for the 
	 purpose of calculating the expiry date).  With drafts it is normally sufficient to 
	 specify just the year. -->

    <!-- Meta-data Declarations -->

    <area>Internet</area>

    <workgroup>LISP Working Group</workgroup>

    <!-- WG name at the upperleft corner of the doc,
         IETF is fine for individual submissions.  
	 If this element is not present, the default is "Network Working Group",
         which is used by the RFC Editor as a nod to the history of the IETF. -->

    <keyword>sdn</keyword>

    <!-- Keywords will be incorporated into HTML output
         files in a meta tag but they have no effect on text or nroff
         output. If you submit your draft to the RFC Editor, the
         keywords will be used for the search engine. -->

    <abstract>
      <t>This document describes extensions for the Locator/ID Separation Protocol
   (LISP) to make it more suitable to be used on Software Defined Networking (SDN)
   scenarios.</t>
    </abstract>
  </front>

  <middle>
    <section title="Introduction">

<!--

      <t>The original specification of xml2rfc format is in <xref
      target="RFC2629">RFC&nbsp;2629</xref>.</t>

-->

   <t>The Locator/ID Separation Protocol LISP <xref
      target="RFC6830"></xref> splits current IP
   addresses in two different namespaces, Endpoint Identifiers (EIDs)
   and Routing Locators (RLOCs). LISP uses a map-and-encap approach that
   relies in two entities, the Mapping System and the Ingress/Egress
   Tunnel Routers (xTRs). The Mapping System is a distributed database
   that stores and disseminates EID-RLOC bindings. The xTRs are deployed
   at LISP sites edge points and perform encapsulation and decapsulation
   of LISP data packets. </t>

   <t>With this architecture in place, LISP is inherently decoupling
   control-plane from data-plane. LISP moves all control onto the
   Mapping System, while keeps data at the xTR level. This decoupling
   entitles network operators to build a Software Defined Network on top
   of LISP.</t>

   <t>However, vanilla LISP offers a limited feature set on terms of SDN
   requirements. To position LISP as the foundations for a SDN solution,
   advanced interaction between LISP elements and some extensions to the
   stock protocol can be defined. This document describes SDN extensions
for LISP.</t>

   <t>On the present iteration of this draft, the LISP protocol operating in a SDN deployment manages network traffic in terms of flows
   identified by a 5-tuple identifier. 5-tuples are encoded in a specific
   type of LISP Canonical Address Format (LCAF). Flows are routed over
   the network using Explicit Locator Paths (ELPs). The Mapping-System
   stores 5-tuple - ELP bindings. Network functions (i.e. firewalls,
   etc) can be deployed at Re-encapsulating Tunnel Routers (RTRs) spread
   over the network. These RTRs can be included as part of a ELP. </t>



      <section title="Requirements Language">
        <t>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 <xref
        target="RFC2119">RFC 2119</xref>.</t>
      </section>
    </section>

    <section anchor="definition_terms" title="Definition of terms">
<!--
      <t>List styles: 'empty', 'symbols', 'letters', 'numbers', 'hanging',
      'format'.</t>
-->

      <t><list style="symbols">

	<t>n-tuple: The term n-tuple is used in this document to describe the set of n elements present in a data packet (e.g. IP address, port, protocol) that can be used to identify unequivocally a packet or a set of packets.</t>

          <t>5-tuple: The term 5-tuple is used in this document to describe the set comprised by 5 elements, being these the source IP address, the destination IP address, the level 4 protocol number, the level 4 protocol source port and the level 4 protocol destination port of a data packet.</t>

          <t>Extended-EID: This document uses the term Extended-EID to refer to any n-tuple (including a 5-tuple) used in a EID role.</t>

          <t>Flow: The term flow is used in this document to refer to the sequence of packets identified by the same n-tuple.</t>


        </list> The rest of the terms are defined in their respective documents. See
   the LISP specification <xref target="RFC6830"></xref> for most of the definitions, <xref target="I-D.ietf-lisp-lcaf"></xref> for LCAF and <xref target="I-D.farinacci-lisp-te"></xref> for RTR and ELP.</t>
    </section>

    <section anchor="overview" title="Overview">
   <t>This document describes extensions to LISP protocol definition and
   operation to optimize it to work on SDN scenarios.</t>

   <t>Protocol operation follows the specification defined on [LISP] except
   for the following. Besides of IP to IP mappings, Mapping System
   stores also Extended-EID to ELP mappings. Being Extended-EID a n-tuple
   identifying a flow. LISP routers perform look-ups based on these
   Extended-EIDs, instead of on destination IPs. Apart from using n-
   tuples instead of IPs, retrieving information from the Mapping System
   follows LISP standard mechanisms (i.e. Map-Request, Map-Reply).</t>

   <t>Traditionally ETRs register EID-prefixes that include their own RLOC
   addresses as well as other RLOCs for ETRs at the same site. Here a third-party will also
   register Extended-EID-to-ELP bindings.</t>
    </section>





    <section anchor="operation" title="Protocol operation">
      <section anchor="xTR" title="LISP tunnel routers">
   <t>LISP routers (xTRs, RTRs) behave as specified on <xref target="RFC6830"></xref> and <xref target="RFC6833"></xref>,
   except for the following. LISP routers perform mapping lookups based
   on Extended-EID (n-tuple) not on IP address EID and they obtain an ELP
   instead of an IP address RLOC. Which specific n-tuple lookup to use and how to configure the router to use it, is to be covered on future iterations of this document.</t>

   <t>Any LISP router must keep an internal map-cache indexed by Extended-
   EIDs. When a LISP router receives a packet to encapsulate, it extracts the fields required by the n-tuple lookup in use and stores them in an Extended-EID structure. In the case of a 5-tuple lookup, it will extract the source address, destination address, level 4 protocol,
   source port (if any) and destination port (if any) from the packet.
   The LISP router uses
   the Extended-EID to perform a look-up into the map-cache. The map-
   cache can contain entries with an Extended-EID more coarse in some
   fields. The lookup process must follow the procedure described in
   section <xref target="lookup"></xref>. If there is an entry on the map-cache that matches the
   Extended-EID, the LISP router retrieves the mapping information (i.e.
   the ELP) and uses the first hop (if it is an ITR) or the next hop (if
   it is a RTR) of the ELP to encapsulate and forward the packet.</t>

   <t>If the map-cache of the xTR contains no entry for the Exteneded-EID,
   the xTR sends a Map-Request to the Mapping System. This Map-Request
   carries the Extended-EID (encoded in the specific LCAF for that Extended-EID type) in the EID-prefix
   field of the Map-Request. The Mapping System must reply with a Map-
   Reply carrying on the locator field an ELP. This Map-Reply can carry
   on the EID-prefix field an Extended-EID more coarse in some fields,
   but covering the original Extended-EID. The LISP router must store
   this Extended-EID entry (even if more coarse) in its map-cache.</t>
      </section>

      <section anchor="mapping_system" title="Mapping System">
   <t>Mapping System (comprising Map Servers and Map Resolvers) behaves as
   specified on <xref target="RFC6830"></xref> and <xref target="RFC6833"></xref>, except for the following. It also stores
   mappings indexed by Extended-EID. These mappings contain n-tuple to
   ELP mappings.</t>

   <t>Map Resolvers must be capable of processing Map-Requests with an
   Extended-EID on the EID-prefix field. The Extended-EID carried on the
   Map-Request contains fully qualified most specific values on all its
   fields. Map Servers can store more coarse Extended-EID entries. Map
   Resolvers must be capable of finding the Map-Server containing the
   longest match Extended-EID entry, according to the lookup rules
   described in section <xref target="lookup"></xref>. Once found, the Map Resolver forwards the
   Map-Request to the Map Server. The Map Server replies itself to Map-
   Requests. It must not forward Map-Requests comprising Extended-EIDs to any ITRs.</t>

   <t>LISP elements must perform the mapping update mechanisms defined in
   <xref target="RFC6830"></xref> (e.g, SMR) using as EID the Extended-EID.</t>
      </section>

    </section>

    <section anchor="extended_eid_type" title="Extended-EID types">
    <t>Possible Extended-EID types and the LCAFs to support them.</t>
      <section anchor="fivetupletype" title="5-tuple">
      <t>The 5-tuple LCAF is the combination of LCAF types 4 and 12.</t>
      </section>
    </section>

    <section anchor="lookup" title="Extended-EID lookups">
    <t>This section describes the lookup process to be followed when using Extended-EID instead of vanilla IP address EID. At this point, this document only covers 5-tuple kind of Extended-EID lookups. It is expected to include lookup mechanism for n-tuple lookups with more complex protocol combinations.</t>

        <section anchor="fivetuplelookup" title="5-tuple lookup">
	<t>TBD more specific / exact match lookup process.
	TBD address, port, protocol preference.</t>
        <t></t>

        </section>
    </section>

    <section anchor="map_updates" title="Mapping updates">

    <t>Advanced mapping update mechanisms to support SDN scenarios.</t>

      <section anchor="update_pushing" title="Proactive update pushing">
      <t>MS can send proactive SMRs carrying Map-Reply information to some LISP devices whenever there is a mapping update.</t>

      </section>

      <section anchor="pub_sub" title="Mapping subscription">
      <t>LISP devices can be subscribed or subscribe themselves to specific mappings to get updates whenever these change.</t>
      </section>

    </section>

    <section anchor="provision_discover" title="Provisioning and Discovery">

    </section>


    <section anchor="Acknowledgements" title="Acknowledgements">

    </section>

    <!-- Possibly a 'Contributors' section ... -->

    <section anchor="IANA" title="IANA Considerations">
      <t>This memo includes no request to IANA.</t>

    </section>

    <section anchor="Security" title="Security Considerations">
      <t>Security Considerations TBD</t>
    </section>
  </middle>

  <!--  *****BACK MATTER ***** -->

  <back>
    <!-- References split into informative and normative -->

    <!-- There are 2 ways to insert reference entries from the citation libraries:
     1. define an ENTITY at the top, and use "ampersand character"RFC2629; here (as shown)
     2. simply use a PI "less than character"?rfc include="reference.RFC.2119.xml"?> here
        (for I-Ds: include="reference.I-D.narten-iana-considerations-rfc2434bis.xml")

     Both are cited textually in the same manner: by using xref elements.
     If you use the PI option, xml2rfc will, by default, try to find included files in the same
     directory as the including file. You can also define the XML_LIBRARY environment variable
     with a value containing a set of directories to search.  These can be either in the local
     filing system or remote ones accessed by http (http://domain/dir/... ).-->

    <references title="Normative References">
      <!--?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml"?-->
      &RFC2119;

      &RFC6830;

      &RFC6833;

      &I-D.ietf-lisp-lcaf;

      &I-D.farinacci-lisp-te;

    </references>

 <!--    Change Log

v00 2006-03-15  EBD   Initial version

v01 2006-04-03  EBD   Moved PI location back to position 1 -
                      v3.1 of XMLmind is better with them at this location.
v02 2007-03-07  AH    removed extraneous nested_list attribute,
                      other minor corrections
v03 2007-03-09  EBD   Added comments on null IANA sections and fixed heading capitalization.
                      Modified comments around figure to reflect non-implementation of
                      figure indent control.  Put in reference using anchor="DOMINATION".
                      Fixed up the date specification comments to reflect current truth.
v04 2007-03-09 AH     Major changes: shortened discussion of PIs,
                      added discussion of rfc include.
v05 2007-03-10 EBD    Added preamble to C program example to tell about ABNF and alternative 
                      images. Removed meta-characters from comments (causes problems).  -->
  </back>
</rfc>
