1 # Copyright (c) 2015 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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 ########################################
16 # iOAM Proof of Transit
17 ########################################
19 ioam_pot_plugin_la_SOURCES = \
20 ioam/lib-pot/pot_util.c \
21 ioam/encap/ip6_ioam_pot.c \
22 ioam/lib-pot/pot_util.h \
23 ioam/lib-pot/math64.h \
24 ioam/lib-pot/pot_api.c
27 ioam/lib-pot/pot_all_api_h.h \
28 ioam/lib-pot/pot_msg_enum.h \
29 ioam/lib-pot/pot.api.h \
30 ioam/lib-pot/pot_util.h \
33 API_FILES += ioam/lib-pot/pot.api
35 ioam_pot_test_plugin_la_SOURCES = \
36 ioam/lib-pot/pot_test.c \
37 ioam/lib-pot/pot_plugin.api.h
39 vppapitestplugins_LTLIBRARIES += ioam_pot_test_plugin.la
40 vppplugins_LTLIBRARIES += ioam_pot_plugin.la
42 ########################################
43 # iOAM trace export for IPv6
44 ########################################
46 ioam_export_plugin_la_SOURCES = \
47 ioam/export/ioam_export.c \
49 ioam/export/ioam_export.api.h \
50 ioam/export/ioam_export_thread.c
53 ioam/export/ioam_export_all_api_h.h \
54 ioam/export/ioam_export_msg_enum.h \
55 ioam/export/ioam_export.api.h
57 API_FILES += ioam/export/ioam_export.api
59 ioam_export_test_plugin_la_SOURCES = \
60 ioam/export/ioam_export_test.c \
61 ioam/export/ioam_export_plugin.api.h
63 vppapitestplugins_LTLIBRARIES += ioam_export_test_plugin.la
64 vppplugins_LTLIBRARIES += ioam_export_plugin.la
66 ########################################
68 ########################################
69 libioam_trace_plugin_la_SOURCES = \
70 ioam/lib-trace/trace_util.c \
71 ioam/encap/ip6_ioam_trace.c \
72 ioam/lib-trace/trace_util.h \
73 ioam/lib-trace/trace_api.c
76 ioam/export/ioam_export_all_api_h.h \
77 ioam/lib-trace/trace_all_api_h.h \
78 ioam/lib-trace/trace_msg_enum.h \
79 ioam/lib-trace/trace.api.h \
80 ioam/lib-trace/trace_util.h
82 API_FILES += ioam/lib-trace/trace.api
84 ioam_trace_test_plugin_la_SOURCES = \
85 ioam/lib-trace/trace_test.c \
86 ioam/lib-trace/trace_plugin.api.h
88 vppapitestplugins_LTLIBRARIES += ioam_trace_test_plugin.la
89 vppplugins_LTLIBRARIES += libioam_trace_plugin.la
91 ########################################
93 ########################################
94 libioam_vxlan_gpe_plugin_la_SOURCES = \
95 ioam/lib-vxlan-gpe/ioam_encap.c \
96 ioam/lib-vxlan-gpe/ioam_decap.c \
97 ioam/lib-vxlan-gpe/ioam_transit.c \
98 ioam/lib-vxlan-gpe/ioam_pop.c \
99 ioam/lib-vxlan-gpe/vxlan_gpe_api.c \
100 ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c \
101 ioam/lib-vxlan-gpe/vxlan_gpe_ioam.c \
102 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.c \
103 ioam/export-vxlan-gpe/vxlan_gpe_node.c \
104 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h\
105 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c
108 ioam/export/ioam_export_all_api_h.h \
109 ioam/lib-vxlan-gpe/vxlan_gpe_all_api_h.h \
110 ioam/lib-vxlan-gpe/vxlan_gpe_msg_enum.h \
111 ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api.h \
112 ioam/lib-vxlan-gpe/vxlan_gpe_ioam_util.h \
113 ioam/lib-vxlan-gpe/vxlan_gpe_ioam_packet.h \
114 ioam/lib-vxlan-gpe/vxlan_gpe_ioam.h \
115 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_all_api_h.h \
116 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_msg_enum.h \
117 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h
119 API_FILES += ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api
120 API_FILES += ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api
122 ioam_vxlan_gpe_test_plugin_la_SOURCES = \
123 ioam/lib-vxlan-gpe/vxlan_gpe_test.c \
124 ioam/lib-vxlan-gpe/vxlan_gpe_plugin.api.h
126 vppapitestplugins_LTLIBRARIES += ioam_vxlan_gpe_test_plugin.la
127 vppplugins_LTLIBRARIES += libioam_vxlan_gpe_plugin.la
129 vxlan_gpe_ioam_export_test_plugin_la_SOURCES = \
130 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c \
131 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_plugin.api.h
133 vppapitestplugins_LTLIBRARIES += vxlan_gpe_ioam_export_test_plugin.la
135 ########################################
137 ########################################
139 ioam_e2e_plugin_la_SOURCES = \
140 ioam/encap/ip6_ioam_e2e.c \
141 ioam/encap/ip6_ioam_seqno.c \
142 ioam/encap/ip6_ioam_seqno_analyse.c
145 ioam/encap/ip6_ioam_e2e.h \
146 ioam/encap/ip6_ioam_seqno.h
148 vppplugins_LTLIBRARIES += ioam_e2e_plugin.la