mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
logic correction in compare_nonvlan_ip_bridge function
This commit is contained in:
@@ -20,7 +20,7 @@ INCLUDE_IN_README
|
||||
-Nikita Yadav
|
||||
Copyright 2021 Candela Technologies Inc
|
||||
License: Free to distribute and modify. LANforge systems must be licensed.
|
||||
|
||||
|
||||
"""
|
||||
import argparse
|
||||
import os
|
||||
@@ -300,9 +300,9 @@ class MultiPsk(Realm):
|
||||
if x[0] == y[0] and x[1] == y[1]:
|
||||
print("station got ip from upstream")
|
||||
result1 = "Pass"
|
||||
else:
|
||||
print("station did not got ip from upstream")
|
||||
result1 = "Fail"
|
||||
else:
|
||||
print("station did not got ip from upstream")
|
||||
result1 = "Fail"
|
||||
return result1
|
||||
|
||||
def postcleanup(self):
|
||||
@@ -339,6 +339,13 @@ def main():
|
||||
"num_station": 1,
|
||||
"radio": "wiphy4"
|
||||
},
|
||||
{
|
||||
"password": "lanforge2",
|
||||
"upstream": "eth2.300",
|
||||
"mac": "",
|
||||
"num_station": 1,
|
||||
"radio": "wiphy4"
|
||||
},
|
||||
{
|
||||
"password": "lanforge",
|
||||
"upstream": "eth2",
|
||||
|
||||
Reference in New Issue
Block a user