vap_profile.py updated to allow the mac address to be used and pass in
debug state on enstanciation of LFRequest
modify_vap.py : added logging, pass debug flag to base classes
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
realm.py : added drain_stop_cx (could not get quiesce_cx name to work)
test_l3.py : added quiesce_cx
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
--port created a conflict with lf_attend_mod_test.py The --port was introduced
a month ago. Will look for other conflicts in the regressions.
Changed lf_attend_mod_test.py to add back in --port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
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>
On a narrow terminal it is difficult to follow the output. This merges a
series of message lines into one debug output call to help legibility
Signed-off-by: Jed Reynolds <jed@bitratchet.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>
This was triggered by a call to admin_up() that was passing self.lfclient_url as an un-named parameter, creating
unanswerable requests formatted like http://localhost:8080/http:/localhost:8080/. There should really only be
one http[s]*:// pattern in a URL, and further instances of colons should be URL encoded to %3A.
Signed-off-by: Jed Reynolds <jed@bitratchet.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>
Logic was broken trying to compare json_response['down'] to "true",
when instead that object is a Boolean variable. So this method
always returned immediately instead of actually waiting until port
was admin up. This was seen testing VAP profile.
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>