mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 01:42:37 +00:00
- changed example
- url argument added in get_ports Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
@@ -196,8 +196,8 @@ class cv_test(Realm):
|
||||
break
|
||||
|
||||
#Get port listing
|
||||
def get_ports(self):
|
||||
response = self.json_get("/ports/")
|
||||
def get_ports(self, url="/ports/"):
|
||||
response = self.json_get(url)
|
||||
return response
|
||||
|
||||
def show_text_blob(self, config_name, blob_test_name, brief):
|
||||
@@ -422,7 +422,6 @@ class cv_test(Realm):
|
||||
"text": Rawline
|
||||
}
|
||||
rsp = self.json_post(req_url, data)
|
||||
time.sleep(2)
|
||||
|
||||
# This is for chamber view buttons
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ Note: Script for creating a chamberview scenario.
|
||||
******************************** OR ********************************
|
||||
|
||||
create_chamberview.py -m "localhost" -o "8080" -cs "scenario_name"
|
||||
----raw_line "profile_link 1.1 STA-AC 10 'DUT: temp Radio-1' tcp-dl-6m-vi wiphy0,AUTO -1"
|
||||
----raw_line "profile_link 1.1 upstream 1 'DUT: temp Radio-1' tcp-dl-6m-vi eth1,AUTO -1"
|
||||
--raw_line "profile_link 1.1 STA-AC 10 'DUT: temp Radio-1' tcp-dl-6m-vi wiphy0,AUTO -1"
|
||||
--raw_line "profile_link 1.1 upstream 1 'DUT: temp Radio-1' tcp-dl-6m-vi eth1,AUTO -1"
|
||||
|
||||
Output:
|
||||
You should see build scenario with the given arguments at the end of this script.
|
||||
|
||||
Reference in New Issue
Block a user