Skip to content

Commit 0b9077d

Browse files
shi-suqiluo-msft
authored andcommitted
Add openbfdd to ptf docker (sonic-net#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.
1 parent 5f3269a commit 0b9077d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dockers/docker-ptf/Dockerfile.j2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ RUN rm -rf /debs \
9797
&& make install \
9898
&& cd .. \
9999
&& rm -fr sflowtool \
100+
&& git clone https://github.com/dyninc/OpenBFDD.git \
101+
&& cd OpenBFDD \
102+
&& ./autogen.sh \
103+
&& ./configure \
104+
&& make \
105+
&& make install \
106+
&& cd .. \
107+
&& rm -fr OpenBFDD \
100108
&& wget https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz \
101109
&& tar xvfz 1.0.0.tar.gz \
102110
&& cd nanomsg-1.0.0 \

0 commit comments

Comments
 (0)