mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +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
|
break
|
||||||
|
|
||||||
#Get port listing
|
#Get port listing
|
||||||
def get_ports(self):
|
def get_ports(self, url="/ports/"):
|
||||||
response = self.json_get("/ports/")
|
response = self.json_get(url)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
def show_text_blob(self, config_name, blob_test_name, brief):
|
def show_text_blob(self, config_name, blob_test_name, brief):
|
||||||
@@ -422,7 +422,6 @@ class cv_test(Realm):
|
|||||||
"text": Rawline
|
"text": Rawline
|
||||||
}
|
}
|
||||||
rsp = self.json_post(req_url, data)
|
rsp = self.json_post(req_url, data)
|
||||||
time.sleep(2)
|
|
||||||
|
|
||||||
# This is for chamber view buttons
|
# This is for chamber view buttons
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ Note: Script for creating a chamberview scenario.
|
|||||||
******************************** OR ********************************
|
******************************** OR ********************************
|
||||||
|
|
||||||
create_chamberview.py -m "localhost" -o "8080" -cs "scenario_name"
|
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 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 upstream 1 'DUT: temp Radio-1' tcp-dl-6m-vi eth1,AUTO -1"
|
||||||
|
|
||||||
Output:
|
Output:
|
||||||
You should see build scenario with the given arguments at the end of this script.
|
You should see build scenario with the given arguments at the end of this script.
|
||||||
|
|||||||
Reference in New Issue
Block a user