Add RPC data type test cases for lispflowmapping
[integration/test.git] / test / csit / variables / lispflowmapping / rpc_add-mapping_ipv4_elp.json
1 {
2     "input": {
3         "recordTtl": 1440,
4         "maskLength": 32,
5         "authoritative": true,
6         "LispAddressContainer": {
7             "Ipv4Address": {
8                 "afi": 1,
9                 "Ipv4Address": "192.0.2.1"
10             }
11         },
12         "LocatorRecord": [
13             {
14                 "name": "IPv4",
15                 "priority": 2,
16                 "weight": 1,
17                 "multicastPriority": 255,
18                 "multicastWeight": 0,
19                 "localLocator": true,
20                 "rlocProbed": false,
21                 "routed": false,
22                 "LispAddressContainer": {
23                     "Ipv4Address": {
24                         "afi": 1,
25                         "Ipv4Address": "10.10.10.10"
26                     }
27                 }
28             },
29             {
30                 "name": "ELP",
31                 "priority": 1,
32                 "weight": 1,
33                 "multicastPriority": 255,
34                 "multicastWeight": 0,
35                 "localLocator": true,
36                 "rlocProbed": false,
37                 "routed": false,
38                 "LispAddressContainer": {
39                     "LcafTrafficEngineeringAddr": {
40                         "afi": 16387,
41                         "lcafType": 10,
42                         "Hops": [
43                             {
44                                 "name": "Hop 1",
45                                 "lookup": false,
46                                 "RLOCProbe": false,
47                                 "strict": true,
48                                 "hop": {
49                                     "Ipv4Address": {
50                                         "afi": 1,
51                                         "Ipv4Address": "20.20.20.20"
52                                     }
53                                 }
54                             },
55                             {
56                                 "name": "Hop 2",
57                                 "lookup": false,
58                                 "RLOCProbe": false,
59                                 "strict": true,
60                                 "hop": {
61                                     "Ipv4Address": {
62                                         "afi": 1,
63                                         "Ipv4Address": "30.30.30.30"
64                                     }
65                                 }
66                             }
67                         ]
68                     }
69                 }
70             }
71         ]
72     }
73 }