Endpoint to SR-unaware appliance via masquerading
-
Copy or move this directory as
vpp/src/plugins/srv6-am -
Create a file
vpp/src/plugins/srv6_am.amwith 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 += srv6am_plugin.la
srv6am_plugin_la_SOURCES = \
srv6-am/am.c \
srv6-am/node.c
noinst_HEADERS += srv6-am/am.h
# vi:syntax=automake- Add to file
vpp/src/plugins/Makefile.am(~ l. 31):
if ENABLE_SRV6AM_PLUGIN
include srv6_am.am
endif- Add to file
vpp/src/configure.ac(~ l. 148):
PLUGIN_ENABLED(srv6am)