logic correction in compare_nonvlan_ip_bridge function

This commit is contained in:
Nikita Yadav
2021-08-29 17:27:59 +05:30
parent 557effbd3a
commit 245763d03c

View File

@@ -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",