Jose, Thanks for confirming. I think the bash function I'm using is good enough for now. I do plan to migrate my tests to python once I get the time to learn it.
The test script I called out below is just what I use to verify basic functionality of the deploy, similar to vPing as you mention. I don't expect it to be used in Functest. But it's a single self-contained script and easier for me to use than vPing. I developed it as an exercise to learn the OpenStack APIs and how to get the results using bash etc. Thanks, Bryan Sullivan | AT&T From: Jose Lausuch [mailto:[email protected]] Sent: Wednesday, July 27, 2016 12:48 AM To: SULLIVAN, BRYAN L; [email protected] Subject: RE: [opnfv-tech-discuss] Do all OPNFV installers create an external net/subnet? Hi Bryan, Yes, the 4 installers deploy an external network by default, we requested that already in Arno for Functest. We have a "utils" function that returns you the name of the external network, but it is written in Python and we can use it and pass the network name as a parameter when calling your Shell script. Is that ok? Regarding our vPing tests, we do test the external connectivity as well making use of floating ips and ssh to the instances. Check this out for more info: http://artifacts.opnfv.org/functest/docs/userguide/index.html#vping-ssh Regards, Jose From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of SULLIVAN, BRYAN L Sent: Wednesday, July 27, 2016 5:25 AM To: [email protected]<mailto:[email protected]> Subject: [opnfv-tech-discuss] Do all OPNFV installers create an external net/subnet? Hi all, This question came up as I was debugging why in my NUC lab environment. I was not able to ping or SSH to VMs. Turns out there was an external network and subnet that had been created by JOID as part of the install process (see https://git.opnfv.org/cgit/joid/plain/ci/openstack.sh). Creating a second external net/subnet as I do in my tests e.g. the smoke test (https://git.opnfv.org/cgit/copper/plain/tests/adhoc/smoke01.sh), prevents ping and SSH from working for some reason. So I had to change that script to find an existing external net/subnet if any, first. This brings up the question: like JOID, do all other OPNFV installers create an external network as part of the install process? If not, is there a recommended way for tests to determine what the parameters (e.g. gateway, allocation pools) of an external net/subnet should be? BTW, the smoke01 script I developed goes beyond vPing, with tests of external network connectivity as well. Is that something we should add to vPing (I didn't see it in vPing)? Thanks, Bryan Sullivan | AT&T
_______________________________________________ opnfv-tech-discuss mailing list [email protected] https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
