Change-Id: I3a37ffda613594cccd9c683fbd254e261c52d8ae
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
[Documentation] Perform mapping operations with a Key/Value EID
rpc_add-mapping_kv_ipv4.json rpc_get-remove_kv.json
+Service Path
+ [Documentation] Perform mapping operations with a Service Path EID
+ rpc_add-mapping_sp_ipv4.json rpc_get-remove_sp.json
+
AFI List
[Documentation] Perform mapping operations with an IPv4 EID mapped to an AFI List RLOC
rpc_add-mapping_ipv4_list.json rpc_get-remove_ipv4.json
--- /dev/null
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:service-path-lcaf",
+ "service-path": {
+ "service-path-id": 42,
+ "service-index": 3
+ }
+ },
+ "LocatorRecord": [
+ {
+ "locator-id": "ISP1",
+ "priority": 1,
+ "weight": 1,
+ "multicastPriority": 255,
+ "multicastWeight": 0,
+ "localLocator": true,
+ "rlocProbed": false,
+ "routed": false,
+ "rloc": {
+ "address-type": "ietf-lisp-address-types:ipv4-afi",
+ "ipv4": "10.10.10.10"
+ }
+ }
+ ]
+ }
+ }
+}
--- /dev/null
+{
+ "input": {
+ "eid": {
+ "address-type": "ietf-lisp-address-types:service-path-lcaf",
+ "service-path": {
+ "service-path-id": 42,
+ "service-index": 3
+ }
+ }
+ }
+}