mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
Fixing test_wanlink so it should work now
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
@@ -23,13 +23,13 @@ j_printer = pprint.PrettyPrinter(indent=2)
|
||||
# typically you're using resource 1 in stand alone realm
|
||||
resource_id = 1
|
||||
|
||||
def main():
|
||||
base_url = "http://localhost:8080"
|
||||
def main(base_url="http://localhost:8080"):
|
||||
json_post = ""
|
||||
json_response = ""
|
||||
num_wanlinks = -1
|
||||
# see if there are old wanlinks to remove
|
||||
lf_r = LFRequest.LFRequest(base_url+"/wl/list")
|
||||
print(lf_r.get_as_json())
|
||||
|
||||
port_a ="rd0a"
|
||||
port_b ="rd1a"
|
||||
|
||||
Reference in New Issue
Block a user