ed8bd196aba119cd9dbece1da641c026df0effa1
[vpp.git] / src / plugins / ioam / CMakeLists.txt
1 # Copyright (c) 2018 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 add_vpp_plugin(ioam_plugin
15   # iOAM Proof of Transit
16   lib-pot/pot.api
17   lib-pot/pot_util.c
18   encap/ip6_ioam_pot.c
19   lib-pot/pot_api.c
20
21   # iOAM trace export for IPv6
22   export/ioam_export.api
23   export/ioam_export.c
24   export/node.c
25   export/ioam_export_thread.c
26
27   # iOAM Trace
28   lib-trace/trace.api
29   lib-trace/trace_util.c
30   encap/ip6_ioam_trace.c
31   lib-trace/trace_api.c
32
33   # VxLAN-GPE
34   lib-vxlan-gpe/ioam_vxlan_gpe.api
35   lib-vxlan-gpe/ioam_encap.c
36   lib-vxlan-gpe/ioam_decap.c
37   lib-vxlan-gpe/ioam_transit.c
38   lib-vxlan-gpe/ioam_pop.c
39   lib-vxlan-gpe/vxlan_gpe_api.c
40   lib-vxlan-gpe/vxlan_gpe_ioam_trace.c
41   lib-vxlan-gpe/vxlan_gpe_ioam.c
42   export-vxlan-gpe/vxlan_gpe_ioam_export.api
43   export-vxlan-gpe/vxlan_gpe_ioam_export.c
44   export-vxlan-gpe/vxlan_gpe_node.c
45   export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c
46
47   # iOAM E2E
48   encap/ip6_ioam_e2e.c
49   encap/ip6_ioam_seqno.c
50   lib-e2e/ioam_seqno_lib.c
51
52   # ipfix collector
53   ipfixcollector/ipfixcollector.c
54   ipfixcollector/node.c
55
56   # iOAM Analyse
57   analyse/ip6/ip6_ioam_analyse.c
58   analyse/ip6/node.c
59   analyse/ioam_summary_export.c
60
61   # iOAM record cache and rewrite
62   ip6/ioam_cache.api
63   ip6/ioam_cache.c
64   ip6/ioam_cache_node.c
65   ip6/ioam_cache_tunnel_select_node.c
66
67   # udp ping
68   udp-ping/udp_ping.api
69   udp-ping/udp_ping_node.c
70   udp-ping/udp_ping_util.c
71   udp-ping/udp_ping_export.c
72   udp-ping/udp_ping_api.c
73 )
74
75 add_vpp_api_test_plugin(ioam_pot_test_plugin
76   lib-pot/pot.api
77   lib-pot/pot_test.c
78 )
79
80 add_vpp_api_test_plugin(ioam_export_test_plugin
81   export/ioam_export.api
82   export/ioam_export_test.c
83 )
84
85 add_vpp_api_test_plugin(ioam_trace_test_plugin
86   lib-trace/trace.api
87   lib-trace/trace_test.c
88 )
89
90 add_vpp_api_test_plugin(ioam_vxlan_gpe_test_plugin
91   lib-vxlan-gpe/ioam_vxlan_gpe.api
92   lib-vxlan-gpe/vxlan_gpe_test.c
93 )
94
95 add_vpp_api_test_plugin(ioam_udp_ping_test_plugin
96   udp-ping/udp_ping.api
97   udp-ping/udp_ping_test.c
98 )
99