mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 11:57:49 +00:00
added ucentral config
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
@@ -352,7 +352,7 @@ class UProfileUtility:
|
|||||||
|
|
||||||
uri = self.sdk_client.build_uri("device/" + serial_number + "/configure")
|
uri = self.sdk_client.build_uri("device/" + serial_number + "/configure")
|
||||||
basic_cfg_str = json.dumps(payload)
|
basic_cfg_str = json.dumps(payload)
|
||||||
# allure.attach(name="ucentral_config: ", body=str(self.base_profile_config))
|
allure.attach(name="ucentral_config: ", body=str(self.base_profile_config))
|
||||||
print(self.base_profile_config)
|
print(self.base_profile_config)
|
||||||
resp = requests.post(uri, data=basic_cfg_str, headers=self.sdk_client.make_headers(),
|
resp = requests.post(uri, data=basic_cfg_str, headers=self.sdk_client.make_headers(),
|
||||||
verify=False, timeout=100)
|
verify=False, timeout=100)
|
||||||
|
|||||||
Reference in New Issue
Block a user