From b6db14007433791650d8f9f29382ca89f18af3e4 Mon Sep 17 00:00:00 2001 From: Lorand Jakab Date: Wed, 23 Dec 2015 01:16:09 +0200 Subject: [PATCH 1/1] LISP: Add Service Path Datatype test Change-Id: I3a37ffda613594cccd9c683fbd254e261c52d8ae Signed-off-by: Lorand Jakab --- .../msmr/030_RPC_Datatypes.robot | 4 +++ .../Be/rpc_add-mapping_sp_ipv4.json | 32 +++++++++++++++++++ .../lispflowmapping/Be/rpc_get-remove_sp.json | 11 +++++++ 3 files changed, 47 insertions(+) create mode 100644 csit/variables/lispflowmapping/Be/rpc_add-mapping_sp_ipv4.json create mode 100644 csit/variables/lispflowmapping/Be/rpc_get-remove_sp.json diff --git a/csit/suites/lispflowmapping/msmr/030_RPC_Datatypes.robot b/csit/suites/lispflowmapping/msmr/030_RPC_Datatypes.robot index de58fbf6c6..2287f2f3bc 100644 --- a/csit/suites/lispflowmapping/msmr/030_RPC_Datatypes.robot +++ b/csit/suites/lispflowmapping/msmr/030_RPC_Datatypes.robot @@ -46,6 +46,10 @@ Key/Value [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 diff --git a/csit/variables/lispflowmapping/Be/rpc_add-mapping_sp_ipv4.json b/csit/variables/lispflowmapping/Be/rpc_add-mapping_sp_ipv4.json new file mode 100644 index 0000000000..a90d0c25ef --- /dev/null +++ b/csit/variables/lispflowmapping/Be/rpc_add-mapping_sp_ipv4.json @@ -0,0 +1,32 @@ +{ + "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" + } + } + ] + } + } +} diff --git a/csit/variables/lispflowmapping/Be/rpc_get-remove_sp.json b/csit/variables/lispflowmapping/Be/rpc_get-remove_sp.json new file mode 100644 index 0000000000..9c715838a4 --- /dev/null +++ b/csit/variables/lispflowmapping/Be/rpc_get-remove_sp.json @@ -0,0 +1,11 @@ +{ + "input": { + "eid": { + "address-type": "ietf-lisp-address-types:service-path-lcaf", + "service-path": { + "service-path-id": 42, + "service-index": 3 + } + } + } +} -- 2.36.6