Skip to content

Commit

Permalink
Add openbfdd to ptf docker (#9488)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
shi-su authored Dec 14, 2021
1 parent c3008c3 commit f2774b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dockers/docker-ptf/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ RUN rm -rf /debs \
&& make install \
&& cd .. \
&& 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 \
&& tar xvfz 1.0.0.tar.gz \
&& cd nanomsg-1.0.0 \
Expand Down

0 comments on commit f2774b6

Please sign in to comment.