-
Notifications
You must be signed in to change notification settings - Fork 707
Restconf_Lisp_Guide
Dave Wallace edited this page Apr 11, 2026
·
1 revision
This guide is showing how to use Lisp with Honeycomb/Vpp.
This call will enable/disable Lisp feature.
PUT - http://localhost:8181/restconf/config/lisp:lisp
{
"lisp":{
"enable":"true"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp
GET - http://localhost:8181/restconf/operational/lisp:lisp-state
DELETE- http://localhost:8181/restconf/config/lisp:lisp
PUT - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1
{
"map-resolver":{
"ip-address":"192.168.2.1"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/map-resolvers/map-resolver/192.168.2.1
DELETE - http://localhost:8181/restconf/config/lisp:lisp/map-resolvers/map-resolver/192.168.2.1
PUT - http://localhost:8181/restconf/config/lisp:lisp/locator-sets/locator-set/loc_1
{
"locator-set":{
"name":"loc_1"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/locator-sets/locator-set/loc_1
GET - http://localhost:8181/restconf/config/lisp:lisp-state/locator-sets/locator-set/loc_1
DELETE - http://localhost:8181/restconf/config/lisp:lisp/locator-sets/locator-set/loc_1
PUT - http://localhost:8181/restconf/config/lisp:lisp/locator-sets/locator-set/loc_1/interface/interface/local0
{
"interface":{
"interface-ref":"local0",
"priority":"2",
"weight":"1"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/locator-sets/locator-set/loc_1/interface/interface/local0
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/locator-sets/locator-set/loc_1/interface/interface/local0
DELETE - http://localhost:8181/restconf/config/lisp:lisp/locator-sets/locator-set/loc_1/interface/interface/local0
PUT - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12
{
"vni-table":{
"virtual-network-identifier":"12",
"table-id":"10"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/eid-table/vni-table/12
DELETE - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12
To be able to write such data, the refferenced locator-set must exist. For eid's, only ipv4/ipv6/mac are currently supported,more variants will be implemented in future.
PUT - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/local-mappings/local-mapping/loc_map_1
{
"local-mapping":{
"id":"loc_map_1",
"eid":{
"address-type":"ietf-lisp-address-types:ipv4-afi",
"virtual-network-id":"12",
"ipv4":"192.168.2.1"
},
"locator-set":"loc_1"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/local-mappings/local-mapping/loc_map_1
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/eid-table/vni-table/12/local-mappings/local-mapping/loc_map_1
DELETE - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/local-mappings/local-mapping/loc_map_1
PUT - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_1
{
"remote-mapping":{
"id":"remote_map_1",
"eid":{
"address-type":"ietf-lisp-address-types:ipv4-afi",
"virtual-network-id":"12",
"ipv4":"192.168.2.2"
},
"map-reply-action":"no-action"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_1
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_1
DELETE - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_1
PUT - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_2
{
"remote-mapping":{
"id":"remote_map_2",
"eid":{
"address-type":"ietf-lisp-address-types:ipv4-afi",
"virtual-network-id":"12",
"ipv4":"192.168.2.3"
},
"rlocs":{
"locator":{
"address":"192.168.2.4",
"priority":1,
"weight":1
}
}
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_2
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_2
DELETE - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/remote-mappings/remote-mapping/remote_map_2
To be able to write such data, both local and remote eids must have mappings existing to them
PUT - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/adjacencies/adjacency/1
{
"adjacency":{
"id":"1",
"local-eid":{
"address-type":"ietf-lisp-address-types:ipv4-afi",
"virtual-network-id":"12",
"ipv4":"192.168.2.1"
},
"remote-eid":{
"address-type":"ietf-lisp-address-types:ipv4-afi",
"virtual-network-id":"14",
"ipv4":"192.168.2.2"
}
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/adjacencies/adjacency/1
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/eid-table/vni-table/12/adjacencies/adjacency/1
DELETE - http://localhost:8181/restconf/config/lisp:lisp/eid-table/vni-table/12/adjacencies/adjacency/1
To write such data, referenced locator set must be existing
PUT - http://localhost:8181/restconf/config/lisp:lisp/pitr-cfg
{
"pitr-cfg":{
"locator-set":"loc_1"
}
}
GET - http://localhost:8181/restconf/config/lisp:lisp/pitr-cfg
GET - http://localhost:8181/restconf/operational/lisp:lisp-state/pitr-cfg
DELETE http://localhost:8181/restconf/config/lisp:lisp/pitr-cfg