FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ipfix_export.api
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015-2016 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 option version = "2.0.3";
17 
18 import "vnet/ip/ip_types.api";
19 
20 /** \brief Configure IPFIX exporter process request
21  @param client_index - opaque cookie to identify the sender
22  @param context - sender context, to match reply w/ request
23  @param collector_address - address of IPFIX collector
24  @param collector_port - port of IPFIX collector
25  @param src_address - address of IPFIX exporter
26  @param vrf_id - VRF / fib table ID
27  @param path_mtu - Path MTU between exporter and collector
28  @param template_interval - number of seconds after which to resend template
29  @param udp_checksum - UDP checksum calculation enable flag
30 */
31 autoreply define set_ipfix_exporter
32 {
35  vl_api_address_t collector_address;
37  vl_api_address_t src_address;
42 };
43 
44 /** \brief IPFIX exporter dump request
45  @param client_index - opaque cookie to identify the sender
46  @param context - sender context, to match reply w/ request
47 */
48 define ipfix_exporter_dump
49 {
52 };
53 
54 /** \brief Reply to IPFIX exporter dump request
55  @param context - sender context which was passed in the request
56  @param collector_address - address of IPFIX collector
57  @param collector_port - port of IPFIX collector
58  @param src_address - address of IPFIX exporter
59  @param fib_index - fib table index
60  @param path_mtu - Path MTU between exporter and collector
61  @param template_interval - number of seconds after which to resend template
62  @param udp_checksum - UDP checksum calculation enable flag
63 */
64 define ipfix_exporter_details
65 {
67  vl_api_address_t collector_address;
69  vl_api_address_t src_address;
74 };
75 
76 /** \brief IPFIX classify stream configure request
77  @param client_index - opaque cookie to identify the sender
78  @param context - sender context, to match reply w/ request
79  @param domain_id - domain ID reported in IPFIX messages for classify stream
80  @param src_port - source port of UDP session for classify stream
81 */
82 autoreply define set_ipfix_classify_stream {
87 };
88 
89 /** \brief IPFIX classify stream dump request
90  @param client_index - opaque cookie to identify the sender
91  @param context - sender context, to match reply w/ request
92 */
93 define ipfix_classify_stream_dump {
96 };
97 
98 /** \brief Reply to IPFIX classify stream dump request
99  @param context - sender context, to match reply w/ request
100  @param domain_id - domain ID reported in IPFIX messages for classify stream
101  @param src_port - source port of UDP session for classify stream
102 */
103 define ipfix_classify_stream_details {
107 };
108 
109 /** \brief IPFIX add or delete classifier table request
110  @param client_index - opaque cookie to identify the sender
111  @param context - sender context, to match reply w/ request
112  @param table_id - classifier table ID
113  @param ip_version - version of IP used in the classifier table
114  @param transport_protocol - transport protocol used in the classifier table or 255 for unspecified
115 */
116 autoreply define ipfix_classify_table_add_del {
120  vl_api_address_family_t ip_version;
121  vl_api_ip_proto_t transport_protocol;
122  bool is_add;
123 };
124 
125 /** \brief IPFIX classify tables dump request
126  @param client_index - opaque cookie to identify the sender
127  @param context - sender context, to match reply w/ request
128 */
129 define ipfix_classify_table_dump {
132 };
133 
134 /** \brief Reply to IPFIX classify tables dump request
135  @param context - sender context, to match reply w/ request
136  @param table_id - classifier table ID
137  @param ip_version - version of IP used in the classifier table
138  @param transport_protocol - transport protocol used in the classifier table or 255 for unspecified
139 */
140 define ipfix_classify_table_details {
143  vl_api_address_family_t ip_version;
144  vl_api_ip_proto_t transport_protocol;
145 };
146 
147 autoreply define ipfix_flush {
150 };
151 
152 /*
153  * Local Variables:
154  * eval: (c-set-style "gnu")
155  * End:
156  */
vl_api_ipfix_classify_stream_dump_t
IPFIX classify stream dump request.
Definition: ipfix_export.api:93
vl_api_ipfix_classify_table_details_t::table_id
u32 table_id
Definition: ipfix_export.api:142
vl_api_ipfix_classify_stream_dump_t::context
u32 context
Definition: ipfix_export.api:95
vl_api_set_ipfix_classify_stream_t::domain_id
u32 domain_id
Definition: ipfix_export.api:85
vl_api_ipfix_classify_table_add_del_t::ip_version
vl_api_address_family_t ip_version
Definition: ipfix_export.api:120
vl_api_ipfix_flush_t::context
u32 context
Definition: ipfix_export.api:149
vl_api_ipfix_classify_table_add_del_t
IPFIX add or delete classifier table request.
Definition: ipfix_export.api:116
version
option version
Definition: ipfix_export.api:16
u16
unsigned short u16
Definition: types.h:57
vl_api_ipfix_exporter_details_t::src_address
vl_api_address_t src_address
Definition: ipfix_export.api:69
vl_api_ipfix_exporter_details_t::path_mtu
u32 path_mtu
Definition: ipfix_export.api:71
vl_api_ipfix_exporter_details_t::udp_checksum
bool udp_checksum
Definition: ipfix_export.api:73
vl_api_ipfix_exporter_dump_t::client_index
u32 client_index
Definition: ipfix_export.api:50
vl_api_set_ipfix_exporter_t::vrf_id
u32 vrf_id
Definition: ipfix_export.api:38
vl_api_set_ipfix_exporter_t::udp_checksum
bool udp_checksum
Definition: ipfix_export.api:41
vl_api_ipfix_classify_table_add_del_t::context
u32 context
Definition: ipfix_export.api:118
vl_api_ipfix_exporter_details_t::collector_address
vl_api_address_t collector_address
Definition: ipfix_export.api:67
vl_api_ipfix_exporter_details_t
Reply to IPFIX exporter dump request.
Definition: ipfix_export.api:64
vl_api_ipfix_classify_table_add_del_t::is_add
bool is_add
Definition: ipfix_export.api:122
vl_api_ipfix_classify_stream_details_t::domain_id
u32 domain_id
Definition: ipfix_export.api:105
vl_api_ipfix_classify_table_details_t::transport_protocol
vl_api_ip_proto_t transport_protocol
Definition: ipfix_export.api:144
vl_api_ipfix_flush_t
Definition: ipfix_export.api:147
vl_api_ipfix_classify_stream_dump_t::client_index
u32 client_index
Definition: ipfix_export.api:94
vl_api_set_ipfix_exporter_t::collector_port
u16 collector_port
Definition: ipfix_export.api:36
vl_api_ipfix_classify_table_dump_t
IPFIX classify tables dump request.
Definition: ipfix_export.api:129
vl_api_ipfix_classify_table_add_del_t::client_index
u32 client_index
Definition: ipfix_export.api:117
vl_api_set_ipfix_exporter_t::client_index
u32 client_index
Definition: ipfix_export.api:33
vl_api_set_ipfix_exporter_t::src_address
vl_api_address_t src_address
Definition: ipfix_export.api:37
vl_api_ipfix_classify_table_add_del_t::transport_protocol
vl_api_ip_proto_t transport_protocol
Definition: ipfix_export.api:121
vl_api_set_ipfix_classify_stream_t
IPFIX classify stream configure request.
Definition: ipfix_export.api:82
vl_api_ipfix_exporter_details_t::template_interval
u32 template_interval
Definition: ipfix_export.api:72
vl_api_set_ipfix_exporter_t::context
u32 context
Definition: ipfix_export.api:34
vl_api_ipfix_exporter_details_t::context
u32 context
Definition: ipfix_export.api:66
u32
unsigned int u32
Definition: types.h:88
vl_api_set_ipfix_exporter_t::template_interval
u32 template_interval
Definition: ipfix_export.api:40
vl_api_ipfix_exporter_dump_t::context
u32 context
Definition: ipfix_export.api:51
vl_api_ipfix_classify_table_details_t::context
u32 context
Definition: ipfix_export.api:141
vl_api_set_ipfix_exporter_t
Configure IPFIX exporter process request.
Definition: ipfix_export.api:31
vl_api_set_ipfix_classify_stream_t::src_port
u16 src_port
Definition: ipfix_export.api:86
vl_api_set_ipfix_exporter_t::path_mtu
u32 path_mtu
Definition: ipfix_export.api:39
vl_api_ipfix_classify_table_details_t::ip_version
vl_api_address_family_t ip_version
Definition: ipfix_export.api:143
vl_api_ipfix_exporter_dump_t
IPFIX exporter dump request.
Definition: ipfix_export.api:48
vl_api_ipfix_classify_table_dump_t::context
u32 context
Definition: ipfix_export.api:131
vl_api_ipfix_flush_t::client_index
u32 client_index
Definition: ipfix_export.api:148
vl_api_ipfix_classify_stream_details_t::src_port
u16 src_port
Definition: ipfix_export.api:106
vl_api_set_ipfix_classify_stream_t::client_index
u32 client_index
Definition: ipfix_export.api:83
vl_api_ipfix_exporter_details_t::vrf_id
u32 vrf_id
Definition: ipfix_export.api:70
vl_api_ipfix_classify_table_add_del_t::table_id
u32 table_id
Definition: ipfix_export.api:119
vl_api_ipfix_exporter_details_t::collector_port
u16 collector_port
Definition: ipfix_export.api:68
vl_api_set_ipfix_classify_stream_t::context
u32 context
Definition: ipfix_export.api:84
vl_api_set_ipfix_exporter_t::collector_address
vl_api_address_t collector_address
Definition: ipfix_export.api:35
vl_api_ipfix_classify_table_dump_t::client_index
u32 client_index
Definition: ipfix_export.api:130
vl_api_ipfix_classify_table_details_t
Reply to IPFIX classify tables dump request.
Definition: ipfix_export.api:140
vl_api_ipfix_classify_stream_details_t::context
u32 context
Definition: ipfix_export.api:104
vl_api_ipfix_classify_stream_details_t
Reply to IPFIX classify stream dump request.
Definition: ipfix_export.api:103