aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/CMakeLists.txt
blob: ed8bd196aba119cd9dbece1da641c026df0effa1 (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
# Copyright (c) 2018 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

add_vpp_plugin(ioam_plugin
  # iOAM Proof of Transit
  lib-pot/pot.api
  lib-pot/pot_util.c
  encap/ip6_ioam_pot.c
  lib-pot/pot_api.c

  # iOAM trace export for IPv6
  export/ioam_export.api
  export/ioam_export.c
  export/node.c
  export/ioam_export_thread.c

  # iOAM Trace
  lib-trace/trace.api
  lib-trace/trace_util.c
  encap/ip6_ioam_trace.c
  lib-trace/trace_api.c

  # VxLAN-GPE
  lib-vxlan-gpe/ioam_vxlan_gpe.api
  lib-vxlan-gpe/ioam_encap.c
  lib-vxlan-gpe/ioam_decap.c
  lib-vxlan-gpe/ioam_transit.c
  lib-vxlan-gpe/ioam_pop.c
  lib-vxlan-gpe/vxlan_gpe_api.c
  lib-vxlan-gpe/vxlan_gpe_ioam_trace.c
  lib-vxlan-gpe/vxlan_gpe_ioam.c
  export-vxlan-gpe/vxlan_gpe_ioam_export.api
  export-vxlan-gpe/vxlan_gpe_ioam_export.c
  export-vxlan-gpe/vxlan_gpe_node.c
  export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c

  # iOAM E2E
  encap/ip6_ioam_e2e.c
  encap/ip6_ioam_seqno.c
  lib-e2e/ioam_seqno_lib.c

  # ipfix collector
  ipfixcollector/ipfixcollector.c
  ipfixcollector/node.c

  # iOAM Analyse
  analyse/ip6/ip6_ioam_analyse.c
  analyse/ip6/node.c
  analyse/ioam_summary_export.c

  # iOAM record cache and rewrite
  ip6/ioam_cache.api
  ip6/ioam_cache.c
  ip6/ioam_cache_node.c
  ip6/ioam_cache_tunnel_select_node.c

  # udp ping
  udp-ping/udp_ping.api
  udp-ping/udp_ping_node.c
  udp-ping/udp_ping_util.c
  udp-ping/udp_ping_export.c
  udp-ping/udp_ping_api.c
)

add_vpp_api_test_plugin(ioam_pot_test_plugin
  lib-pot/pot.api
  lib-pot/pot_test.c
)

add_vpp_api_test_plugin(ioam_export_test_plugin
  export/ioam_export.api
  export/ioam_export_test.c
)

add_vpp_api_test_plugin(ioam_trace_test_plugin
  lib-trace/trace.api
  lib-trace/trace_test.c
)

add_vpp_api_test_plugin(ioam_vxlan_gpe_test_plugin
  lib-vxlan-gpe/ioam_vxlan_gpe.api
  lib-vxlan-gpe/vxlan_gpe_test.c
)

add_vpp_api_test_plugin(ioam_udp_ping_test_plugin
  udp-ping/udp_ping.api
  udp-ping/udp_ping_test.c
)