/openbmc/phosphor-webui/app/overview/controllers/ |
H A D | system-overview-controller.js | 34 var getLogsPromise = APIUtils.getLogs().then( 44 var getFirmwaresPromise = APIUtils.getFirmwares().then( 53 var getLEDStatePromise = APIUtils.getLEDState().then( 55 if (data == APIUtils.LED_STATE.on) { 65 var getBMCTimePromise = APIUtils.getBMCTime().then( 89 var getPowerCapPromise = APIUtils.getPowerCap().then( 132 APIUtils.LED_STATE.off : 133 APIUtils.LED_STATE.on; 136 APIUtils.LED_STATE_TEXT.off : 137 APIUtils.LED_STATE_TEXT.on; [all …]
|
/openbmc/phosphor-webui/app/server-control/controllers/ |
H A D | server-led-controller.js | 17 APIUtils.getLEDState().then(function(state) { 22 if (state == APIUtils.LED_STATE.on) { 23 dataService.LED_state = APIUtils.LED_STATE_TEXT.on; 25 dataService.LED_state = APIUtils.LED_STATE_TEXT.off; 31 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ? 32 APIUtils.LED_STATE.off : 33 APIUtils.LED_STATE.on; 35 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ? 36 APIUtils.LED_STATE_TEXT.off : 37 APIUtils.LED_STATE_TEXT.on; [all …]
|
H A D | power-operations-controller.js | 75 APIUtils.hostReboot() 105 APIUtils.chassisPowerOff() 114 return APIUtils.hostPowerOn(); 139 APIUtils.hostPowerOff() 163 APIUtils.chassisPowerOff() 190 APIUtils.hostPowerOn() 273 APIUtils.getBootOptions() 308 APIUtils.getTPMStatus() 342 APIUtils.saveBootSettings(data).then( 365 APIUtils.saveTPMEnable(tpmEnabled) [all …]
|
H A D | power-usage-controller.js | 14 function($scope, $window, APIUtils, $route, $q, toastService) { argument 23 var getPowerCapPromise = APIUtils.getPowerCap().then( 31 var getPowerConsumptionPromise = APIUtils.getPowerConsumption().then( 79 return APIUtils.setPowerCap($scope.power_cap.PowerCap) 89 return APIUtils.setPowerCapEnable($scope.power_cap.PowerCapEnable)
|
H A D | bmc-reboot-controller.js | 14 function($scope, $window, APIUtils, dataService, toastService) { argument 17 APIUtils.getLastRebootTime().then( 31 APIUtils.bmcReboot().then(
|
/openbmc/phosphor-webui/app/common/services/ |
H A D | userModel.js | 15 function($cookies, APIUtils) { argument 18 APIUtils.login(username, password, function(response, error) { 20 (response.status == APIUtils.API_RESPONSE.SUCCESS_STATUS || 46 APIUtils.logout(function(response, error) { 48 response.status == APIUtils.API_RESPONSE.SUCCESS_STATUS) { 50 sessionStorage.removeItem(APIUtils.HOST_SESSION_STORAGE_KEY); 53 } else if (response.status == APIUtils.API_RESPONSE.ERROR_STATUS) {
|
/openbmc/phosphor-webui/app/configuration/controllers/ |
H A D | firmware-controller.js | 60 APIUtils.getActivation(imageId).then( 96 APIUtils.activateImage($scope.activate_image_id) 119 APIUtils.bmcReboot().then( 145 APIUtils.hostPowerOn() 150 return APIUtils.pollHostStatusTillOn(); 160 APIUtils.hostReboot() 165 return APIUtils.pollHostStatusTilReboot(); 180 APIUtils.uploadImage($scope.file) 215 APIUtils.getFirmwares().then( 241 APIUtils.getFirmwares() [all …]
|
H A D | network-controller.js | 16 $scope, $window, APIUtils, dataService, $timeout, $route, $q, argument 100 if (!APIUtils.validIPV4IP( 109 !APIUtils.validIPV4IP( 170 return APIUtils 192 return APIUtils.setHostname($scope.hostname) 202 return APIUtils 214 return APIUtils 238 return APIUtils 255 return APIUtils 261 return APIUtils [all …]
|
H A D | date-time-controller.js | 14 function($scope, APIUtils, $route, $q, toastService, $timeout) { argument 26 var getTimePromise = APIUtils.getTime().then( 68 var getNTPPromise = APIUtils.getNTPServers().then( 171 return APIUtils.setNTPServers($scope.ntp.servers); 175 return APIUtils.setTimeMode( 181 return APIUtils.setTimeOwner( 188 return APIUtils.setBMCTime(time); 194 return APIUtils.setHostTime(time);
|
H A D | snmp-controller.js | 14 function($scope, $window, APIUtils, $route, $q, toastService) { argument 19 var getSNMPManagers = APIUtils.getSNMPManagers().then( 118 return APIUtils.addSNMPManager(address, port); 122 return APIUtils.deleteObject(path); 126 return APIUtils.setSNMPManagerAddress(path, address); 130 return APIUtils.setSNMPManagerPort(path, port);
|
/openbmc/phosphor-webui/app/common/directives/ |
H A D | ldap-user-roles.js | 6 function(APIUtils) { argument 13 function($scope, APIUtils, toastService, $q) { 27 APIUtils.getAccountServiceRoles() 58 APIUtils.saveLdapProperties(data) 91 APIUtils.saveLdapProperties(data) 122 APIUtils.saveLdapProperties(data) 167 APIUtils.saveLdapProperties(data)
|
H A D | app-header.js | 6 function(APIUtils) { argument 71 APIUtils.getLogs().then(function(result) { 80 APIUtils.getHostState().then( 102 APIUtils.getNetworkInfo().then(function(data) { 110 APIUtils.getRedfishSysName().then(
|
H A D | certificate.js | 6 function(APIUtils) { argument 13 function($scope, APIUtils, toastService, Constants, $uibModal) { 78 APIUtils.deleteRedfishObject(certificate['@odata.id']) 116 APIUtils.replaceCertificate(data).then(
|
H A D | log-event.js | 6 function(APIUtils) { argument 25 APIUtils.resolveLogs([{Id: event.Id}])
|
H A D | syslog-filter.js | 6 function(APIUtils) { argument
|
H A D | firmware-list.js | 6 function(APIUtils) { argument
|
/openbmc/phosphor-webui/app/server-health/directives/ |
H A D | remote-logging-server.js | 6 function(APIUtils) { argument 87 APIUtils.setRemoteLoggingServer($scope.remoteServerForm) 105 APIUtils.updateRemoteLoggingServer($scope.remoteServerForm) 122 APIUtils.disableRemoteLoggingServer() 142 APIUtils.getRemoteLoggingServer()
|
/openbmc/phosphor-webui/app/access-control/controllers/ |
H A D | user-controller.js | 14 function($scope, APIUtils, toastService, $uibModal, $q) { argument 76 APIUtils.getAllUserAccounts() 94 APIUtils.getAllUserAccountProperties() 108 APIUtils.getAccountServiceRoles() 124 APIUtils.createUser(username, password, role, enabled) 144 APIUtils 167 users.map((user) => APIUtils.deleteUser(user.UserName)); 202 (user) => APIUtils.updateUser( 240 APIUtils.saveUserAccountProperties(lockoutDuration, lockoutThreshold)
|
H A D | ldap-controller.js | 14 function($scope, APIUtils, $q, toastService) { argument 33 APIUtils.getAllUserAccountProperties().then( 103 APIUtils.saveLdapProperties(disabledServicePayload) 105 return APIUtils.saveLdapProperties(enabledServicePayload); 145 APIUtils.saveLdapProperties(disabledServicePayload) 165 return APIUtils.getCertificate(location).then(function(data) { 167 return APIUtils.getCertificate(data.Members[0]['@odata.id'])
|
H A D | certificate-controller.js | 16 $scope, APIUtils, $q, Constants, toastService, $timeout, $uibModal) { argument 38 APIUtils.getCertificateLocations().then( 86 APIUtils 106 var promise = APIUtils.getCertificate(url).then(function(data) { 174 APIUtils.createCSRCertificate(addCSR).then( 272 APIUtils.getBMCTime().then(function(data) {
|
/openbmc/phosphor-webui/app/profile-settings/controllers/ |
H A D | profile-settings-controller.js | 15 function($scope, APIUtils, dataService, toastService) { argument 28 APIUtils.updateUser($scope.username, null, password) 50 APIUtils.getAllUserAccountProperties().then((accountSettings) => {
|
/openbmc/phosphor-webui/app/server-health/controllers/ |
H A D | log-controller.js | 23 $scope, $window, APIUtils, dataService, Constants, $routeParams, argument 58 APIUtils.getLogs().then(function(result) { 175 APIUtils.deleteLogs($scope.selectedEvents).then(function() { 188 APIUtils.resolveLogs(events).then(
|
H A D | syslog-controller.js | 21 function($scope, APIUtils, Constants) { argument 43 APIUtils.getSystemLogs(recordType) 64 APIUtils.clearSystemLogs(selectedRecordType)
|
H A D | inventory-overview-controller.js | 14 function($scope, $window, APIUtils, dataService) { argument 22 APIUtils.getHardwares(function(data, originalData) {
|
H A D | sensors-overview-controller.js | 13 function($scope, $log, $window, APIUtils, dataService, Constants) { argument 120 APIUtils.getAllSensorStatus(function(data, originalData) {
|