Commit Graph

2 Commits (f052d14bac5a470a2e32996d5c042cbb754875c4)

Author SHA1 Message Date
Florent BENOIT 26e4cefdba Add search algorithm for host ip with fedora enp* network interfaces #4020
Change-Id: I6b65eba02eaab76260d33ffb323fe7413d5ee162
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-23 09:28:49 +01:00
Florent BENOIT 61894e5f78 [cli] rewrite of che-ip utility (#3952)
* Fix #3941 by rewriting che-ip utility
 - Rewrite che-ip with more helper functions
 - introduce bats unit tests for each function
 - For each “supported OS”, we have an output of “ip a show” command and then run against each of this file the tool to check if it performs as expected

./build.sh : build image + run tests (option to skip tests = —skip-tests)
./run.sh   : run image
./test.sh   : run the unit tests (no need to build the image first)

Change-Id: Ic92825d2b427139d52db69f0131bee21d16d3c0f
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 18:56:09 +01:00