summaryrefslogtreecommitdiffstats
path: root/binapi_generator/testdata/ip.api.json
blob: 970ec4b99320e48ceee82ea3dd1527eb9ad52fe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
{
    "types" : [
        ["fib_path",
            ["u32", "sw_if_index"],
            ["u32", "weight"],
            ["u8", "is_local"],
            ["u8", "is_drop"],
            ["u8", "is_unreach"],
            ["u8", "is_prohibit"],
            ["u8", "afi"],
            ["u8", "next_hop", 16],
            {"crc" : "0x315b1889"}
        ]
    ],
    "messages" : [
        ["ip_fib_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            {"crc" : "0x5fe56ca3"}
        ],
        ["ip_fib_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "table_id"],
            ["u8", "address_length"],
            ["u8", "address", 4],
            ["u32", "count"],
            ["vl_api_fib_path_t", "path", 0, "count"],
            {"crc" : "0xfd8c6584"}
        ],
        ["ip6_fib_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            {"crc" : "0x25c89676"}
        ],
        ["ip6_fib_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "table_id"],
            ["u8", "address_length"],
            ["u8", "address", 16],
            ["u32", "count"],
            ["vl_api_fib_path_t", "path", 0, "count"],
            {"crc" : "0xe0825cb5"}
        ],
        ["ip_neighbor_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "is_ipv6"],
            {"crc" : "0x3289e160"}
        ],
        ["ip_neighbor_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u8", "is_static"],
            ["u8", "is_ipv6"],
            ["u8", "mac_address", 6],
            ["u8", "ip_address", 16],
            {"crc" : "0x3a00e32a"}
        ],
        ["ip_neighbor_add_del",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "vrf_id"],
            ["u32", "sw_if_index"],
            ["u8", "is_add"],
            ["u8", "is_ipv6"],
            ["u8", "is_static"],
            ["u8", "mac_address", 6],
            ["u8", "dst_address", 16],
            {"crc" : "0x66f2112c"}
        ],
        ["ip_neighbor_add_del_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xe5b0f318"}
        ],
        ["set_ip_flow_hash",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "vrf_id"],
            ["u8", "is_ipv6"],
            ["u8", "src"],
            ["u8", "dst"],
            ["u8", "sport"],
            ["u8", "dport"],
            ["u8", "proto"],
            ["u8", "reverse"],
            {"crc" : "0x92ad3798"}
        ],
        ["set_ip_flow_hash_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x35a9e5eb"}
        ],
        ["sw_interface_ip6nd_ra_config",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "suppress"],
            ["u8", "managed"],
            ["u8", "other"],
            ["u8", "ll_option"],
            ["u8", "send_unicast"],
            ["u8", "cease"],
            ["u8", "is_no"],
            ["u8", "default_router"],
            ["u32", "max_interval"],
            ["u32", "min_interval"],
            ["u32", "lifetime"],
            ["u32", "initial_count"],
            ["u32", "initial_interval"],
            {"crc" : "0xec4a29f6"}
        ],
        ["sw_interface_ip6nd_ra_config_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x16e25c5b"}
        ],
        ["sw_interface_ip6nd_ra_prefix",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "address", 16],
            ["u8", "address_length"],
            ["u8", "use_default"],
            ["u8", "no_advertise"],
            ["u8", "off_link"],
            ["u8", "no_autoconfig"],
            ["u8", "no_onlink"],
            ["u8", "is_no"],
            ["u32", "val_lifetime"],
            ["u32", "pref_lifetime"],
            {"crc" : "0x5db6555c"}
        ],
        ["sw_interface_ip6nd_ra_prefix_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x8050adb3"}
        ],
        ["sw_interface_ip6_enable_disable",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "enable"],
            {"crc" : "0x4a4e5405"}
        ],
        ["sw_interface_ip6_enable_disable_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xeb8b4a40"}
        ],
        ["sw_interface_ip6_set_link_local_address",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "address", 16],
            {"crc" : "0x3db6d52b"}
        ],
        ["sw_interface_ip6_set_link_local_address_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x0a781e17"}
        ],
        ["ip_add_del_route",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "next_hop_sw_if_index"],
            ["u32", "table_id"],
            ["u32", "classify_table_index"],
            ["u32", "next_hop_table_id"],
            ["u8", "create_vrf_if_needed"],
            ["u8", "is_add"],
            ["u8", "is_drop"],
            ["u8", "is_unreach"],
            ["u8", "is_prohibit"],
            ["u8", "is_ipv6"],
            ["u8", "is_local"],
            ["u8", "is_classify"],
            ["u8", "is_multipath"],
            ["u8", "is_resolve_host"],
            ["u8", "is_resolve_attached"],
            ["u8", "not_last"],
            ["u8", "next_hop_weight"],
            ["u8", "dst_address_length"],
            ["u8", "dst_address", 16],
            ["u8", "next_hop_address", 16],
            ["u8", "next_hop_n_out_labels"],
            ["u32", "next_hop_via_label"],
            ["u32", "next_hop_out_label_stack", 0, "next_hop_n_out_labels"],
            {"crc" : "0xa0ab24bf"}
        ],
        ["ip_add_del_route_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xea57492b"}
        ],
        ["ip_mroute_add_del",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "next_hop_sw_if_index"],
            ["u32", "table_id"],
            ["u32", "entry_flags"],
            ["u32", "itf_flags"],
            ["u16", "grp_address_length"],
            ["u8", "create_vrf_if_needed"],
            ["u8", "is_add"],
            ["u8", "is_ipv6"],
            ["u8", "is_local"],
            ["u8", "grp_address", 16],
            ["u8", "src_address", 16],
            {"crc" : "0x8312830f"}
        ],
        ["ip_mroute_add_del_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x8cabe02c"}
        ],
        ["ip_address_details",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "ip", 16],
            ["u8", "prefix_length"],
            ["u32", "sw_if_index"],
            ["u8", "is_ipv6"],
            {"crc" : "0x190d4266"}
        ],
        ["ip_address_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "is_ipv6"],
            {"crc" : "0x632e859a"}
        ],
        ["ip_details",
            ["u16", "_vl_msg_id"],
            ["u32", "sw_if_index"],
            ["u32", "context"],
            ["u8", "is_ipv6"],
            {"crc" : "0x695c8227"}
        ],
        ["ip_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "is_ipv6"],
            {"crc" : "0x3c1e33e0"}
        ],
        ["mfib_signal_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            {"crc" : "0xbbbbd40d"}
        ],
        ["mfib_signal_details",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u32", "table_id"],
            ["u16", "grp_address_len"],
            ["u8", "grp_address", 16],
            ["u8", "src_address", 16],
            ["u16", "ip_packet_len"],
            ["u8", "ip_packet_data", 256],
            {"crc" : "0x6ba92c72"}
        ]
    ],
"vl_api_version" :"0x6a819870"
}