summaryrefslogtreecommitdiffstats
path: root/examples/bin_api/interface.api.json
blob: 81f81bdf3f4028dcdd4bc7be15fae2a72d104f11 (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
{
    "types" : [

    ],
    "messages" : [
        ["sw_interface_set_flags",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "admin_up_down"],
            ["u8", "link_up_down"],
            ["u8", "deleted"],
            {"crc" : "0xc230f9b1"}
        ],
        ["sw_interface_set_flags_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xdfbf3afa"}
        ],
        ["sw_interface_set_mtu",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u16", "mtu"],
            {"crc" : "0x535dab1d"}
        ],
        ["sw_interface_set_mtu_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x0cc22552"}
        ],
        ["want_interface_events",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "enable_disable"],
            ["u32", "pid"],
            {"crc" : "0xa0cbf57e"}
        ],
        ["want_interface_events_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x33788c73"}
        ],
        ["sw_interface_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u32", "sup_sw_if_index"],
            ["u32", "l2_address_length"],
            ["u8", "l2_address", 8],
            ["u8", "interface_name", 64],
            ["u8", "admin_up_down"],
            ["u8", "link_up_down"],
            ["u8", "link_duplex"],
            ["u8", "link_speed"],
            ["u16", "link_mtu"],
            ["u32", "sub_id"],
            ["u8", "sub_dot1ad"],
            ["u8", "sub_dot1ah"],
            ["u8", "sub_number_of_tags"],
            ["u16", "sub_outer_vlan_id"],
            ["u16", "sub_inner_vlan_id"],
            ["u8", "sub_exact_match"],
            ["u8", "sub_default"],
            ["u8", "sub_outer_vlan_id_any"],
            ["u8", "sub_inner_vlan_id_any"],
            ["u32", "vtr_op"],
            ["u32", "vtr_push_dot1q"],
            ["u32", "vtr_tag1"],
            ["u32", "vtr_tag2"],
            ["u8", "tag", 64],
            ["u16", "outer_tag"],
            ["u8", "b_dmac", 6],
            ["u8", "b_smac", 6],
            ["u16", "b_vlanid"],
            ["u32", "i_sid"],
            {"crc" : "0xe2d855bb"}
        ],
        ["sw_interface_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "name_filter_valid"],
            ["u8", "name_filter", 49],
            {"crc" : "0x9a2f9d4d"}
        ],
        ["sw_interface_add_del_address",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "is_add"],
            ["u8", "is_ipv6"],
            ["u8", "del_all"],
            ["u8", "address_length"],
            ["u8", "address", 16],
            {"crc" : "0x4e24d2df"}
        ],
        ["sw_interface_add_del_address_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0xabe29452"}
        ],
        ["sw_interface_set_table",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "is_ipv6"],
            ["u32", "vrf_id"],
            {"crc" : "0xa94df510"}
        ],
        ["sw_interface_set_table_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x99df273c"}
        ],
        ["sw_interface_get_table",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "is_ipv6"],
            {"crc" : "0xf5a1d557"}
        ],
        ["sw_interface_get_table_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            ["u32", "vrf_id"],
            {"crc" : "0xab44111d"}
        ],
        ["vnet_interface_counters",
            ["u16", "_vl_msg_id"],
            ["u8", "vnet_counter_type"],
            ["u8", "is_combined"],
            ["u32", "first_sw_if_index"],
            ["u32", "count"],
            ["u8", "data", 0, "count"],
            {"crc" : "0x312082b4"}
        ],
        ["sw_interface_set_unnumbered",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u32", "unnumbered_sw_if_index"],
            ["u8", "is_add"],
            {"crc" : "0xee0047b0"}
        ],
        ["sw_interface_set_unnumbered_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x5b2275e1"}
        ],
        ["sw_interface_clear_stats",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            {"crc" : "0x9600fd50"}
        ],
        ["sw_interface_clear_stats_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x21f50dd9"}
        ],
        ["sw_interface_tag_add_del",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "is_add"],
            ["u32", "sw_if_index"],
            ["u8", "tag", 64],
            {"crc" : "0x50ae8d92"}
        ],
        ["sw_interface_tag_add_del_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x761cbcb0"}
        ]
    ],
"vl_api_version" :"0x6857f668"
}