-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added e2e test that can run on vagrant cluster. Tried to get this working on kind cluster. There are issues with ovs-appctl access on kind cluster nodes, so skipping the test for kind provider. Addressed review comments.
- Loading branch information
1 parent
ca41a08
commit fb947d1
Showing
28 changed files
with
775 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ubuntu:18.04 | ||
|
||
LABEL maintainer="Antrea <projectantrea-dev@googlegroups.com>" | ||
LABEL description="A Docker image based on Ubuntu 18.04 which contains simple IPFIX collector to run flow exporter tests" | ||
|
||
WORKDIR /ipfix | ||
|
||
COPY libipfix-impd4e_110224.tgz /ipfix | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends gcc libc6-dev build-essential libpcap0.8-dev && \ | ||
tar -xvf libipfix-* && rm libipfix-* && \ | ||
cd libipfix_* && ./configure && make && make install && ldconfig && \ | ||
cp collector/ipfix_collector /usr/local/bin && \ | ||
apt-get remove -y gcc build-essential && \ | ||
rm -rf /var/cache/apt/* /var/lib/apt/lists/* | ||
|
||
|
||
ENTRYPOINT "ipfix_collector" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# images/ipfixcollector | ||
|
||
This Docker image is a very lightweight image based on Ubuntu 18.04 which | ||
includes ipfix collector based on libipfix, a C library. | ||
In this image, IPFIX collector listening on tcp:4739 port. | ||
|
||
libipfix-impd4e_110224.tgz is downloaded from http://sourceforge.net/projects/libipfix/ | ||
If required, please get the latest tar and build the image again. | ||
|
||
New version of the image can be built and pushed to Dockerhub using following instructions: | ||
|
||
```bash | ||
cd build/images/ethtool | ||
docker build -t antrea/ipfixcollector:latest . | ||
docker push antrea/ipfixcollector:latest | ||
``` | ||
|
||
The `docker push` command will fail if you do not have permission to push to the | ||
`antrea` Dockerhub repository. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.