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 and judyjoseph committed Jan 31, 2022
1 parent 7351112 commit a5afa2c
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 a5afa2c

Please sign in to comment.