aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/CMakeLists.txt
blob: b6d86eb3cd4ee5b9719030c58f934bbc5959144d (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
# 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

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