summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/CMakeLists.txt
blob: 3f465591e445592ab55928e92603416cf145245c (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
# 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
  SOURCES
  # iOAM Proof of Transit
  lib-pot/pot_util.c
  encap/ip6_ioam_pot.c
  lib-pot/pot_api.c

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

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

  # VxLAN-GPE
  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.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.c
  ip6/ioam_cache_node.c
  ip6/ioam_cache_tunnel_select_node.c

  # udp ping
  udp-ping/udp_ping_node.c
  udp-ping/udp_ping_util.c
  udp-ping/udp_ping_export.c
  udp-ping/udp_ping_api.c

  API_FILES
  lib-pot/pot.api
  export/ioam_export.api
  lib-trace/trace.api
  lib-vxlan-gpe/ioam_vxlan_gpe.api
  export-vxlan-gpe/vxlan_gpe_ioam_export.api
  ip6/ioam_cache.api
  udp-ping/udp_ping.api

  INSTALL_HEADERS
  lib-pot/pot_all_api_h.h
  lib-pot/pot_msg_enum.h
  lib-pot/pot_util.h
  lib-pot/math64.h
  export/ioam_export_all_api_h.h
  export/ioam_export_msg_enum.h
  lib-trace/trace_all_api_h.h
  lib-trace/trace_msg_enum.h
  lib-trace/trace_util.h
  encap/ip6_ioam_trace.h
  lib-trace/trace_config.h
  export-common/ioam_export.h
  lib-vxlan-gpe/vxlan_gpe_all_api_h.h
  lib-vxlan-gpe/vxlan_gpe_msg_enum.h
  lib-vxlan-gpe/vxlan_gpe_ioam_util.h
  lib-vxlan-gpe/vxlan_gpe_ioam_packet.h
  lib-vxlan-gpe/vxlan_gpe_ioam.h
  export-vxlan-gpe/vxlan_gpe_ioam_export_all_api_h.h
  export-vxlan-gpe/vxlan_gpe_ioam_export_msg_enum.h
  encap/ip6_ioam_e2e.h
  encap/ip6_ioam_seqno.h
  lib-e2e/ioam_seqno_lib.h
  ip6/ioam_cache_all_api_h.h
  ip6/ioam_cache_msg_enum.h
  udp-ping/udp_ping_packet.h
  udp-ping/udp_ping.h
  udp-ping/udp_ping_util.h
  udp-ping/udp_ping_all_api_h.h
  udp-ping/udp_ping_msg_enum.h

  API_TEST_SOURCES
  ioam_test.c
  lib-pot/pot_test.c
  export/ioam_export_test.c
  export-vxlan-gpe/vxlan_gpe_ioam_export_test.c
  lib-trace/trace_test.c
  lib-vxlan-gpe/vxlan_gpe_test.c
  udp-ping/udp_ping_test.c
)