mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 11:57:49 +00:00
Added keepRedirector false in the firmware upgrade API payload (#985)
* Added keepRedirector false in the firmware upgrade API payload Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Modified namespace name for firmware-upgrade-downgrade,asb-tests Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Modified namespace name for firmware-upgrade-downgrade,asb-tests in regression Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> --------- Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
committed by
GitHub
parent
71e4a9e34c
commit
420ba1742e
@@ -1340,6 +1340,7 @@ class FMSUtils:
|
||||
serial + "\"" + " , \"uri\" : " \
|
||||
+ "\"" + url \
|
||||
+ "\"" + ", \"when\" : 0" \
|
||||
+ ", \"keepRedirector\" : false" \
|
||||
+ " }"
|
||||
command = "device/" + serial + "/upgrade"
|
||||
logging.info("Sending Command: " + "\n" +
|
||||
@@ -1356,7 +1357,7 @@ class FMSUtils:
|
||||
method="POST", params="serialNumber=" + serial,
|
||||
payload="{ \"serialNumber\" : " + "\"" + serial + "\"" +
|
||||
" , \"uri\" : " + "\"" + url + "\"" +
|
||||
", \"when\" : 0" + " }")
|
||||
", \"when\" : 0" + ", \"keepRedirector\" : false" + " }")
|
||||
|
||||
def ap_model_lookup(self, model=""):
|
||||
devices = self.get_device_set()
|
||||
|
||||
Reference in New Issue
Block a user