Endpoint with dynamic proxy to SR-unaware appliance
-
Copy or move this directory as
vpp/src/plugins/srv6-ad
-
Create a file
vpp/src/plugins/srv6_ad.am
with the following content
# Copyright (c) 2016 Cisco Systems, Inc.
# 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.
vppplugins_LTLIBRARIES += srv6ad_plugin.la
srv6ad_plugin_la_SOURCES = \
srv6-ad/ad.c \
srv6-ad/node.c
noinst_HEADERS += srv6-ad/ad.h
# vi:syntax=automake
- Add to file
vpp/src/plugins/Makefile.am
(~ l. 31):
if ENABLE_SRV6AD_PLUGIN
include srv6_ad.am
endif
- Add to file
vpp/src/configure.ac
(~ l. 148):
PLUGIN_ENABLED(srv6ad)