Simplify API to add LISP adjacencies 28/1928/2
authorFlorin Coras <fcoras@cisco.com>
Sun, 10 Jul 2016 18:09:32 +0000 (20:09 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 11 Jul 2016 23:02:43 +0000 (23:02 +0000)
commit71893ac8b765dd997452fc58aedb6e0bd7b79a25
tree5cbc8afaeec4333e556cfb0b93543181c699b961
parentefc33309594bc1e13dd30534b7658191c2abbca7
Simplify API to add LISP adjacencies

The API to add an adjacency requires that two things be provided 1) a
local and a remote eid 2) the whole remote mapping for the remote eid.
Since the API to add remote mappings can be used for 2), 1) in
combination with this API are enough to add an adjacency.

Change-Id: Ibe7474924bc3f28b6aed19cefa78fdb812de5eac
Signed-off-by: Florin Coras <fcoras@cisco.com>
vnet/vnet/lisp-cp/control.c
vnet/vnet/lisp-cp/control.h
vpp-api-test/vat/api_format.c
vpp/vpp-api/api.c
vpp/vpp-api/vpe.api