Comments (6)
@uablrek can you please check if we can have a more sophisticated check?
from examples.
Yes I will try. Thanks for fixing the ci problems, I can't say I have understood those. Now when it works I can try to extend the testing. My problem has been that the base-image for NSE lacks every tcp test tool I could think of, only "ping" exists, so test from within the NSE pod is hard.
I will try to test from main netns on nodes with "nc".
from examples.
Oh, you can install whatever you need even in the check script if you want to.
If it is Alpine based it is a matter of apk update
and then apk install curl
for example. Ubuntu is apt-get update && apt-get install -y curl
and so on. What tools do you need?
from examples.
Tried to add install of nc
in the Dockerfile;
FROM ${VPP_AGENT} as runtime
RUN apt install -y netcat-openbsd
...
But unfortunately any "apt install" fails in the "${VPP_AGENT}" image;
# apt-get install -y netcat-openbsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package netcat-openbsd
I tried a number of packages and all fails.
I will try something else.
from examples.
So the images get distributed with cleaned package cache to make time lighter weight. The typical way to make this work is like this: RUN apt-get update && apt-get install -y netcat-openbsd
And then it is a good practice to clean up the cache again before the final image is built. So the final execution might be something like:
RUN apt update && apt install -y netcat-openbsd && rm -rf /var/lib/apt/lists/*
from examples.
Seems to work fine. Thanks!
from examples.
Related Issues (9)
- create VETH pair fails when source inft of device1 and dst intf of device2 are same HOT 42
- Example make targets and docs don't work well when CRI-O is used as the container runtime HOT 1
- Load-balancer example problem with registration of the endpoint HOT 1
- Load balancer example tcp connection to application server is not working HOT 9
- Wrong test in secure-intranet example HOT 1
- icmp example is using non-existing docker image HOT 3
- gw-routers example uses incorrect docker images and fails to deploy HOT 1
- Simple-client not initialising correctly in examples HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.