Add openbfdd to ptf docker (#9488)

Why I did it
To enable test support for BFD-related features, the PTF docker needs to have the proper support for BFD. This PR aims to add BFD support in ptf docker.

How I did it
Clone and build OpenBFDD for PTF docker.

How to verify it
Build locally and verify BFD is supported.
This commit is contained in:
Shi Su 2021-12-14 11:46:48 -08:00 committed by Judy Joseph
parent 7351112a52
commit a5afa2c15e

View File

@ -85,6 +85,14 @@ RUN rm -rf /debs \
&& make install \ && make install \
&& cd .. \ && cd .. \
&& rm -fr sflowtool \ && rm -fr sflowtool \
&& git clone https://github.com/dyninc/OpenBFDD.git \
&& cd OpenBFDD \
&& ./autogen.sh \
&& ./configure \
&& make \
&& make install \
&& cd .. \
&& rm -fr OpenBFDD \
&& wget https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz \ && wget https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz \
&& tar xvfz 1.0.0.tar.gz \ && tar xvfz 1.0.0.tar.gz \
&& cd nanomsg-1.0.0 \ && cd nanomsg-1.0.0 \