diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-02-20 11:16:53 -0600 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-02-23 11:40:30 -0600 |
commit | e345cac548dfc846d0630d3cb43ad60d34e1d662 (patch) | |
tree | 57162b17374107e1f5dcd788f2880e05e87dd2a4 | |
parent | dddb1497a5fecd7bb8b51b6ce47534fea2af7414 (diff) | |
download | phosphor-webui-e345cac548dfc846d0630d3cb43ad60d34e1d662.tar.gz phosphor-webui-e345cac548dfc846d0630d3cb43ad60d34e1d662.zip |
Move to "xyz" Download via TFTP
Move from the old "org" Download via TFTP to the new
"xyz" Download via TFTP interface.
Tested: Downloaded several images to a Witherspoon system.
Change-Id: Id556a3a56d06bfc3400f905a58e9a76964056d68
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r-- | app/common/services/api-utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js index dc6de50..1b26b93 100644 --- a/app/common/services/api-utils.js +++ b/app/common/services/api-utils.js @@ -783,13 +783,13 @@ window.angular && (function (angular) { var deferred = $q.defer(); $http({ method: 'POST', - url: DataService.getHost() + "/org/openbmc/control/flash/bmc/action/updateViaTftp", + url: DataService.getHost() + "/xyz/openbmc_project/software/action/DownloadViaTFTP", headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, withCredentials: true, - data: JSON.stringify({"data": [host, filename]}), + data: JSON.stringify({"data": [filename, host]}), responseType: 'arraybuffer' }).then(function(response, status, headers){ deferred.resolve({ |