Difference between revisions of "ONE/Restconf Lisp Guide"

From fd.io
< ONE
Jump to: navigation, search
(Lisp)
(Lisp -> Map Resolver)
Line 30: Line 30:
  
 
==== Lisp -> Map Resolver ====
 
==== Lisp -> Map Resolver ====
 +
===== Write =====
 +
 +
<pre>PUT - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1</pre>
 +
<pre>
 +
{
 +
  "map-resolver":{
 +
      "ip-address":"192.168.2.1"
 +
  }
 +
}
 +
</pre>
 +
 +
===== Read - Config =====
 +
<pre>GET - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1</pre>
 +
 +
===== Read - Operational=====
 +
<pre>GET - http://localhost:8181/restconf/operational/lisp:lisp-state/map-resolvers/map-resolver/192.168.2.1</pre>
 +
 +
===== Delete =====
 +
<pre>DELETE - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1</pre>
  
 
==== Lisp -> Locator Set ====
 
==== Lisp -> Locator Set ====

Revision as of 07:14, 19 August 2016

Restconf Lisp Guide

This guide is showing how to use Lisp with Honeycomb/Vpp.

Restconf Calls

Lisp

Write

This call will enable/disable Lisp feature.

PUT - http://localhost:8181/restconf/config/lisp:lisp
{
    "lisp":{
        "enable":"true"
    }    
}
Read - Config
GET - http://localhost:8181/restconf/config/lisp:lisp
Read - Operational
GET - http://localhost:8181/restconf/operational/lisp:lisp-state
Delete
DELETE- http://localhost:8181/restconf/config/lisp:lisp

Lisp -> Map Resolver

Write
PUT - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1
{
   "map-resolver":{
       "ip-address":"192.168.2.1"
   }
}
Read - Config
GET - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1
Read - Operational
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/map-resolvers/map-resolver/192.168.2.1
Delete
DELETE - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1

Lisp -> Locator Set

Lisp -> Locator Set -> Locator

Lisp -> Eid Table

Lisp -> Eid Table -> Vni Table

Lisp -> Eid Table -> Vni Table -> Local Mapping

Lisp -> Eid Table -> Vni Table -> Remote Mapping

Lisp -> Eid Table -> Vni Table -> Adjacencies

Lisp -> Pitr Cfg