summaryrefslogtreecommitdiffstats
path: root/examples/bin_api/acl.api.json
blob: 431f623767b47305ff223866ce243d068c5a08e3 (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
{
    "types" : [
        ["acl_rule",
            ["u8", "is_permit"],
            ["u8", "is_ipv6"],
            ["u8", "src_ip_addr", 16],
            ["u8", "src_ip_prefix_len"],
            ["u8", "dst_ip_addr", 16],
            ["u8", "dst_ip_prefix_len"],
            ["u8", "proto"],
            ["u16", "srcport_or_icmptype_first"],
            ["u16", "srcport_or_icmptype_last"],
            ["u16", "dstport_or_icmpcode_first"],
            ["u16", "dstport_or_icmpcode_last"],
            ["u8", "tcp_flags_mask"],
            ["u8", "tcp_flags_value"],
            {"crc" : "0x2715e1c0"}
        ],
        ["macip_acl_rule",
            ["u8", "is_permit"],
            ["u8", "is_ipv6"],
            ["u8", "src_mac", 6],
            ["u8", "src_mac_mask", 6],
            ["u8", "src_ip_addr", 16],
            ["u8", "src_ip_prefix_len"],
            {"crc" : "0x6723f13e"}
        ]
    ],
    "messages" : [
        ["acl_plugin_get_version",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            {"crc" : "0xd7c07748"}
        ],
        ["acl_plugin_get_version_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "major"],
            ["u32", "minor"],
            {"crc" : "0x43eb59a5"}
        ],
        ["acl_plugin_control_ping",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            {"crc" : "0xfc22c86e"}
        ],
        ["acl_plugin_control_ping_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            ["u32", "client_index"],
            ["u32", "vpe_pid"],
            {"crc" : "0xe07e9231"}
        ],
        ["acl_add_replace",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "acl_index"],
            ["u8", "tag", 64],
            ["u32", "count"],
            ["vl_api_acl_rule_t", "r", 0, "count"],
            {"crc" : "0x3c317936"}
        ],
        ["acl_add_replace_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "acl_index"],
            ["i32", "retval"],
            {"crc" : "0xa5e6d0cf"}
        ],
        ["acl_del",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "acl_index"],
            {"crc" : "0x82cc30ed"}
        ],
        ["acl_del_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xbbb83d84"}
        ],
        ["acl_interface_add_del",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "is_add"],
            ["u8", "is_input"],
            ["u32", "sw_if_index"],
            ["u32", "acl_index"],
            {"crc" : "0x98b53725"}
        ],
        ["acl_interface_add_del_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xc1b3c077"}
        ],
        ["acl_interface_set_acl_list",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "count"],
            ["u8", "n_input"],
            ["u32", "acls", 0, "count"],
            {"crc" : "0x7562419c"}
        ],
        ["acl_interface_set_acl_list_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x435ddc2b"}
        ],
        ["acl_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "acl_index"],
            {"crc" : "0xc188156d"}
        ],
        ["acl_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "acl_index"],
            ["u8", "tag", 64],
            ["u32", "count"],
            ["vl_api_acl_rule_t", "r", 0, "count"],
            {"crc" : "0x1c8916b7"}
        ],
        ["acl_interface_list_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            {"crc" : "0xadfe84b8"}
        ],
        ["acl_interface_list_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "count"],
            ["u8", "n_input"],
            ["u32", "acls", 0, "count"],
            {"crc" : "0xc8150656"}
        ],
        ["macip_acl_add",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "tag", 64],
            ["u32", "count"],
            ["vl_api_macip_acl_rule_t", "r", 0, "count"],
            {"crc" : "0x33356284"}
        ],
        ["macip_acl_add_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "acl_index"],
            ["i32", "retval"],
            {"crc" : "0x472edb4c"}
        ],
        ["macip_acl_del",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "acl_index"],
            {"crc" : "0xdde1141f"}
        ],
        ["macip_acl_del_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xeeb60e0f"}
        ],
        ["macip_acl_interface_add_del",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "is_add"],
            ["u32", "sw_if_index"],
            ["u32", "acl_index"],
            {"crc" : "0x03a4fab2"}
        ],
        ["macip_acl_interface_add_del_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x9e9ee485"}
        ],
        ["macip_acl_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "acl_index"],
            {"crc" : "0xd38227cb"}
        ],
        ["macip_acl_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "acl_index"],
            ["u8", "tag", 64],
            ["u32", "count"],
            ["vl_api_macip_acl_rule_t", "r", 0, "count"],
            {"crc" : "0xee1c50db"}
        ],
        ["macip_acl_interface_get",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            {"crc" : "0x317ce31c"}
        ],
        ["macip_acl_interface_get_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "count"],
            ["u32", "acls", 0, "count"],
            {"crc" : "0x6c86a56c"}
        ]
    ],
"vl_api_version" :"0x1fd77287"
}