More changes all around regression test logic related to the
vap profile. Move some open-coded admin_up/admin_down calls
to base class.
regression test takes the .rc file as primary input,
and cmd-line args will override that.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Some untested changes to regression test script to allow passing more
info in on cmd line.
Use correct DUT name when starting ap-auto test.
Run connection test only at this time, it is fast when it works,
and proves basic ability to launch the test.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Add some more notes about external dependencies for this
script. It is meant to run with already-created vlans,
for instance.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Previous code also insisted that there was at least one success,
but that means that code doing not pass/fail tests would
fail.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Use DUT that earlier test logic created, allow specifying testbed
name on the cmd line.
Add exit code for dpt, but not sure it is correct since currently
it fails trying to copy the results locally since my GUI is on localhost
and LANforge system is elsewhere. Added TODO to allow this usage.
Signed-off-by: Ben Greear <greearb@candelatech.com>
And remove the logic to create a bridge within the vap profile,
the vap profile does not have enough info to properly create
a bridge (old code used hard-coded port names)
Instead, logic would be to create vap, and then create a bridge
object that holds the VAP using the bridge profile/script.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Make it look more like macvlans, including logic to set IP addresses,
and to verify qvlans were created properly.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Use base class methods for logging setup, check error codes
for port creation and cx creation.
l4 profile gets TODO note, since it does not verify that cx/endp
are actually created or not.
Use shlex to parse the tokens for each --line and --ssid content.
This fixes using ssid with spaces, for instance.
Fix parser to error out if user inputs invalid data.
Add TODO items for future work.
Fix regression script: DUT must be created before Scenario tries to use it,
and fix typos and other mistakes in how the regression script tried to
create dut and chamberview. This part has not been tested yet, but it is
at least closer than before.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Use shlex to parse the --ssid argument, this lets us to passwords
and ssid with space, for instance.
raise ValueError exception if user requests un-supported
encryption type.
Signed-off-by: Ben Greear <greearb@candelatech.com>