About writing tests that need to setup ip addresses on dummy interface on the test machine
Doychin Bondzhev
doychin at dsoft-bg.com
Wed Dec 31 12:16:48 UTC 2014
Hi guys,
There is already some preliminary changes ready regarding problem with
NetworkInterfaces class that I wrote about in earlier email.
Now the next thing we need to do is to write test that will work with
predefined configuration on a dummy interface.
We want to setup some IP addresses on that dummy interface before
running the actual test and then to remove that configuration after test
is complete.
For that purpose we need to run commands like:
ip addr add/del
on Linux in order to enable dummy and set multiple IP addresses with
different masks on that interface.
Is that possible on the system where you run automated testing?
Thanks in advance
--
Doychin Bondzhev
dSoft-Bulgaria Ltd.
PowerPro - billing & provisioning solution for Service providers
PowerStor - Warehouse & POS
http://www.dsoft-bg.com/
Mobile: +359888243116
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doychin.vcf
Type: text/x-vcard
Size: 268 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20141231/eff96298/doychin.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5924 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20141231/eff96298/smime.p7s>
More information about the net-dev
mailing list