Home
last modified time | relevance | path

Searched refs:dispatch (Results 1 – 25 of 130) sorted by relevance

123456

/openbmc/webui-vue/src/store/modules/Operations/
H A DControlStore.js54 .get(`${await this.dispatch('global/getSystemPath')}`)
66 .get(`${await this.dispatch('global/getBmcPath')}`)
78 `${await this.dispatch('global/getBmcPath')}/Actions/Manager.Reset`,
89 async serverPowerOn({ dispatch, commit }) { field in ControlStore.actions.AnonymousClass03369a010301
91 dispatch('serverPowerChange', data);
94 dispatch('getLastPowerOperationTime');
96 async serverSoftReboot({ dispatch, commit }) { field in ControlStore.actions.AnonymousClass03369a010401
98 dispatch('serverPowerChange', data);
101 dispatch('getLastPowerOperationTime');
103 async serverHardReboot({ dispatch, commit }) { field in ControlStore.actions.AnonymousClass03369a010501
[all …]
H A DBootSettingsStore.js35 .get(`${await this.dispatch('global/getSystemPath')}`)
47 { commit, dispatch },
62 .patch(`${await this.dispatch('global/getSystemPath')}`, data)
72 dispatch('getBootSettings');
89 saveTpmPolicy({ commit, dispatch }, tpmEnabled) {
105 dispatch('getTpmPolicy');
110 { dispatch }, field in BootSettingsStore.actions.AnonymousClassc677f5850801
117 dispatch('saveBootSettings', {
124 promises.push(dispatch('saveTpmPolicy', tpmEnabled));
H A DFirmwareStore.js49 async getFirmwareInformation({ dispatch }) { field in FirmwareStore.actions.AnonymousClass75824bbd0101
50 dispatch('getActiveBiosFirmware');
51 dispatch('getActiveBmcFirmware');
52 return await dispatch('getFirmwareInventory');
56 .get(`${await this.dispatch('global/getBmcPath')}`)
65 .get(`${await this.dispatch('global/getSystemPath')}/Bios`)
121 async uploadFirmware({ state, dispatch }, params) {
123 return dispatch('uploadFirmwareMultipartHttpPush', params);
125 return dispatch('uploadFirmwareHttpPush', params);
154 params.Targets = [`${await this.dispatch('global/getBmcPath')}`];
[all …]
H A DFactoryResetStore.js10 `${await this.dispatch('global/getBmcPath')}/Actions/Manager.ResetToDefaults`,
28 `${await this.dispatch('global/getSystemPath')}/Bios/Actions/Bios.ResetBios`,
/openbmc/u-boot/drivers/fastboot/
H A Dfb_getvar.c32 void (*dispatch)(char *var_parameter, char *response); member
36 .dispatch = getvar_version
39 .dispatch = getvar_bootloader_version
42 .dispatch = getvar_bootloader_version
45 .dispatch = getvar_downloadsize
48 .dispatch = getvar_downloadsize
51 .dispatch = getvar_serialno
54 .dispatch = getvar_version_baseband
57 .dispatch = getvar_product
60 .dispatch = getvar_current_slot
[all …]
H A Dfb_command.c43 void (*dispatch)(char *cmd_parameter, char *response); member
47 .dispatch = getvar
51 .dispatch = download
56 .dispatch = flash
60 .dispatch = erase
65 .dispatch = okay
69 .dispatch = okay
73 .dispatch = okay
77 .dispatch = reboot_bootloader
81 .dispatch = okay
[all …]
/openbmc/webui-vue/src/store/modules/Settings/
H A DNetworkStore.js81 .get(`${await this.dispatch('global/getBmcPath')}/EthernetInterfaces`)
109 async saveDhcpEnabledState({ state, dispatch }, dhcpState) {
117 … `${await this.dispatch('global/getBmcPath')}/EthernetInterfaces/${state.selectedInterfaceId}`,
120 .then(dispatch('getEthernetData'))
135 async saveDhcp6EnabledState({ state, dispatch }, dhcpState) {
143 … `${await this.dispatch('global/getBmcPath')}/EthernetInterfaces/${state.selectedInterfaceId}`,
146 .then(dispatch('getEthernetData'))
182 … `${await this.dispatch('global/getBmcPath')}/EthernetInterfaces/${state.firstInterfaceId}`,
223 … `${await this.dispatch('global/getBmcPath')}/EthernetInterfaces/${state.firstInterfaceId}`,
263 … `${await this.dispatch('global/getBmcPath')}/EthernetInterfaces/${state.firstInterfaceId}`,
[all …]
H A DSnmpAlertsStore.js28 async getSnmpDetails({ commit, dispatch }) {
29 const snmpAlertUrl = await dispatch('getSnmpAlertUrl');
48 async deleteDestination({ dispatch }, id) { field in SnmpAlertsStore.actions.AnonymousClasse8bb69160201
49 const snmpAlertUrl = await dispatch('getSnmpAlertUrl');
52 .then(() => dispatch('getSnmpDetails'))
69 async deleteMultipleDestinations({ dispatch }, destination) { field in SnmpAlertsStore.actions.AnonymousClasse8bb69160501
70 const snmpAlertUrl = await dispatch('getSnmpAlertUrl');
80 dispatch('getSnmpDetails');
108 async addDestination({ dispatch }, { data }) { field in SnmpAlertsStore.actions.AnonymousClasse8bb69160901
109 const snmpAlertUrl = await dispatch('getSnmpAlertUrl');
[all …]
H A DPowerPolicyStore.js56 .get(`${await this.dispatch('global/getSystemPath')}`)
62 async setPowerRestorePolicy({ dispatch }, powerPolicy) { field in PowerPolicyStore.actions.AnonymousClass20d5284a0501
66 .patch(`${await this.dispatch('global/getSystemPath')}`, data)
68 dispatch('getPowerRestoreCurrentPolicy');
H A DDateTimeStore.js22 .get(`${await this.dispatch('global/getBmcPath')}/NetworkProtocol`)
44 `${await this.dispatch('global/getBmcPath')}/NetworkProtocol`,
67 `${await this.dispatch('global/getBmcPath')}`,
/openbmc/webui-vue/src/store/modules/Logs/
H A DDumpsStore.js27 .get(`${await this.dispatch('global/getBmcPath')}`)
35 .get(`${await this.dispatch('global/getSystemPath')}`)
41 async getAllDumps({ commit, dispatch }) {
43 .all([dispatch('getBmcDumpEntries'), dispatch('getSystemDumpEntries')])
55 …`${await this.dispatch('global/getBmcPath')}/LogServices/Dump/Actions/LogService.CollectDiagnostic…
69 …`${await this.dispatch('global/getSystemPath')}/LogServices/Dump/Actions/LogService.CollectDiagnos…
82 async deleteDumps({ dispatch }, dumps) { field in DumpsStore.actions.AnonymousClassa525301a0501
92 dispatch('getAllDumps');
124 … `${await this.dispatch('global/getBmcPath')}/LogServices/Dump/Actions/LogService.ClearLog`,
H A DEventLogStore.js46 `${await this.dispatch('global/getSystemPath')}/LogServices/EventLog/Entries`,
81 async deleteAllEventLogs({ dispatch }, data) { field in EventLogStore.actions.AnonymousClass724e31d50401
84 … `${await this.dispatch('global/getSystemPath')}/LogServices/EventLog/Actions/LogService.ClearLog`,
86 .then(() => dispatch('getEventLogData'))
97 async deleteEventLogs({ dispatch }, uris = []) { field in EventLogStore.actions.AnonymousClass724e31d50501
107 dispatch('getEventLogData');
135 async resolveEventLogs({ dispatch }, logs) { field in EventLogStore.actions.AnonymousClass724e31d50801
145 dispatch('getEventLogData');
170 async unresolveEventLogs({ dispatch }, logs) { field in EventLogStore.actions.AnonymousClass724e31d50c01
180 dispatch('getEventLogData');
[all …]
H A DPostCodeLogsStore.js20 `${await this.dispatch('global/getSystemPath')}/LogServices/PostCodes/Entries`,
39 async deleteAllPostCodeLogs({ dispatch }, data) { field in PostCodeLogsStore.actions.AnonymousClass857800a70301
42 …`${await this.dispatch('global/getSystemPath')}/LogServices/PostCodes/Actions/LogService.ClearLog`,
44 .then(() => dispatch('getPostCodesLogData'))
/openbmc/webui-vue/src/store/modules/SecurityAndAccess/
H A DLdapStore.js108 async saveLdapSettings({ state, dispatch }, properties) {
118 .then(() => dispatch('getAccountSettings'))
127 async saveActiveDirectorySettings({ state, dispatch }, properties) {
137 .then(() => dispatch('getAccountSettings'))
149 { dispatch }, field in LdapStore.actions.AnonymousClassb567187a0901
180 return await dispatch('saveActiveDirectorySettings', data);
182 return await dispatch('saveLdapSettings', data);
186 { dispatch, getters }, field in LdapStore.actions.AnonymousClassb567187a0b01
206 .then(() => dispatch('getAccountSettings'))
217 async saveRoleGroup({ dispatch, getters }, { groupName, groupPrivilege }) { field in LdapStore.actions.AnonymousClassb567187a0f01
[all …]
H A DCertificatesStore.js39 location: `${await this.dispatch(
51 location: `${await this.dispatch(
62 async getCertificates({ dispatch, getters, commit }) { field in CertificatesStore.actions.AnonymousClass3283684f0501
63 await dispatch('getCertificateTypes');
114 async addNewCertificate({ dispatch, getters }, { file, type }) { field in CertificatesStore.actions.AnonymousClass3283684f0901
123 .then(() => dispatch('getCertificates'))
141 { dispatch, getters }, field in CertificatesStore.actions.AnonymousClass3283684f0d01
154 .then(() => dispatch('getCertificates'))
171 async deleteCertificate({ dispatch, getters }, { type, location }) { field in CertificatesStore.actions.AnonymousClass3283684f1001
174 .then(() => dispatch('getCertificates'))
H A DUserManagementStore.js115 async createUser({ dispatch }, { username, password, privilege, status }) { field in UserManagementStore.actions.AnonymousClassf362ce950601
124 .then(() => dispatch('getUsers'))
142 { dispatch }, field in UserManagementStore.actions.AnonymousClassf362ce950a01
153 .then(() => dispatch('getUsers'))
171 async deleteUser({ dispatch }, username) { field in UserManagementStore.actions.AnonymousClassf362ce950e01
174 .then(() => dispatch('getUsers'))
191 async deleteUsers({ dispatch }, users) { field in UserManagementStore.actions.AnonymousClassf362ce951101
203 dispatch('getUsers');
231 async enableUsers({ dispatch }, users) { field in UserManagementStore.actions.AnonymousClassf362ce951501
246 dispatch('getUsers');
[all …]
H A DPoliciesStore.js34 .get(`${await this.dispatch('global/getBmcPath')}/NetworkProtocol`)
45 .get(`${await this.dispatch('global/getSystemPath')}/Bios`)
70 `${await this.dispatch('global/getBmcPath')}/NetworkProtocol`,
103 `${await this.dispatch('global/getBmcPath')}/NetworkProtocol`,
130 .patch(`${await this.dispatch('global/getSystemPath')}/Bios/Settings`, {
158 .patch(`${await this.dispatch('global/getSystemPath')}/Bios/Settings`, {
183 async saveSessionTimeoutValue({ dispatch }, sessionTimeoutNewValue) { field in PoliciesStore.actions.AnonymousClass7ccaa9510a01
189 .then(() => dispatch('getSessionTimeout'))
/openbmc/webui-vue/src/store/modules/HardwareStatus/
H A DSensorsStore.js21 async getAllSensors({ dispatch }) { field in SensorsStore.actions.AnonymousClass41fa655b0101
22 const collection = await dispatch('getChassisCollection');
24 dispatch('resetSensors');
26 acc.push(dispatch('getSensors', id));
27 acc.push(dispatch('getThermalSensors', id));
28 acc.push(dispatch('getPowerSensors', id));
44 async getSensors({ dispatch }, id) { field in SensorsStore.actions.AnonymousClass41fa655b0401
49 return dispatch('getSensorsUsingQueryParams', id);
51 return dispatch('getSensorsWithoutQueryParams', id);
H A DBmcStore.js47 .get(`${await this.dispatch('global/getBmcPath')}`)
51 async updateIdentifyLedValue({ dispatch }, led) { field in BmcStore.actions.AnonymousClass04f29e200301
59 dispatch('getBmcInfo');
71 dispatch('getBmcInfo');
H A DFanStore.js48 async getFanInfo({ dispatch, commit }) { field in FanStore.actions.AnonymousClasseb3f80a30201
49 const collection = await dispatch('getChassisCollection');
52 .all(collection.map((chassis) => dispatch('getChassisFans', chassis)))
H A DChassisStore.js68 async updateIdentifyLedValue({ dispatch }, led) { field in ChassisStore.actions.AnonymousClassa884757c0401
76 dispatch('getChassisInfo');
88 dispatch('getChassisInfo');
H A DProcessorStore.js66 .get(`${await this.dispatch('global/getSystemPath')}/Processors`)
79 async updateIdentifyLedValue({ dispatch }, led) { field in ProcessorStore.actions.AnonymousClassfdddb24e0401
98 dispatch('getProcessorsInfo');
H A DMemoryStore.js63 .get(`${await this.dispatch('global/getSystemPath')}/Memory`)
71 async updateIdentifyLedValue({ dispatch }, led) { field in MemoryStore.actions.AnonymousClass22785a270401
90 dispatch('getDimms');
/openbmc/webui-vue/tests/unit/
H A DAppHeader.spec.js32 store.dispatch = jest.fn();
59 expect(store.dispatch).toHaveBeenCalledTimes(1);
72 expect(store.dispatch).toHaveBeenCalledTimes(1);
77 expect(store.dispatch).toHaveBeenCalledTimes(1);
/openbmc/webui-vue/src/views/Settings/Network/
H A DNetwork.vue126 this.$store.dispatch('network/setSelectedTabIndex', newIndex);
127 this.$store.dispatch(
155 this.$store.dispatch('network/getEthernetData'),
169 this.$store.dispatch('network/setSelectedTabIndex', 0);
172 this.$store.dispatch('network/setSelectedTabId', firstId);
194 this.$store.dispatch('network/setSelectedTabIndex', this.tabIndex);
195 this.$store.dispatch(
204 .dispatch('network/saveIpv4Address', modalFormData)
212 .dispatch('network/saveIpv6Address', modalFormData)
220 .dispatch('network/saveDnsAddress', modalFormData)
[all …]

123456