summaryrefslogtreecommitdiffstats
path: root/app/configuration/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Remove firmware reboot timeoutYoshie Muranaka2019-11-141-20/+8
| | | | | | | | | A 10 second timeout was used as a tempoary work-around before rebooting the BMC on the firmware page–removing the timeout since it is no longer needed. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I6a95d5f5bb377d3fd3cc0802f7fb3d6d0f177870
* NTP: Remove workaround for empty list arrayGunnar Mills2019-10-171-7/+2
| | | | | | | | | | | | | | | This workaround is no longer needed with bmcweb. curl -k -H "Content-Type: application/json" -X PUT \ -d '{"data": [] }' \ https://${bmc}/xyz/openbmc_project/network/eth0/attr/NTPServers See https://github.com/openbmc/openbmc/issues/3240 Tested: Built and loaded on a Witherspoon. Added, removed, and edited NTP servers. Change-Id: Ia106067a479c63a5761b1f62c624d3ccc6df55c7 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* DNS: Remove workaround for empty list arrayGunnar Mills2019-10-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This workaround is no longer needed with bmcweb. curl -k -H "Content-Type: application/json" -X PUT \ -d '{"data": [] }' \ https://${bmc}/xyz/openbmc_project/network/eth0/attr/Nameservers { "data": null, "message": "200 OK", "status": "ok" and actually casues an error now do to https://github.com/openbmc/phosphor-networkd/commit/5fb6c33a49ee2b9718cc9ce0f921d3b6cf38a463 curl -k -H "Content-Type: application/json" -X PUT \ -d '{"data": [""] }' \ https://${bmc}/xyz/openbmc_project/network/eth0/attr/Nameservers "data": { "description": "xyz.openbmc_project.Common.Error.InvalidArgument" }, "message": "Invalid argument was given.", See https://github.com/openbmc/openbmc/issues/3240 Tested: Built and loaded on a Witherspoon. Added, removed, and edited DNS servers. Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Change-Id: I278489a8c4682641b61a0e5ab08fd714603b0234
* Fix SNMP multiple calls bugDerick Montague2019-10-161-10/+14
| | | | | | | | | | | | - Added a call to reload the route in the promise success callback. This assures that a newly added manager has a path. - Update the use of var in for blocks to scope the variable to the block rather than overwriting the i variable that is hoisted and scoped to the setSNMP function. - Change i variable name to managerLength to improve readability Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I18fe9ecc3ca7cca29781a5c24caca73bda71ee43
* Add error message when image fails to activateDixsie Wolmers2019-10-111-3/+9
| | | | | | | | | | | | | | If an image fails to activate a toast message is displayed. Tested on Witherspoon with master build image and field mode turned on. When image fails to activate, the failed activation status response returns a 200 ok and an error toast is displayed. Tested with field mode turned off to verify image activates and BMC reboots. Tested on all browsers. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I517f184549673e7b807cc0a553a728d05d6dbba1
* Fix invalid gateway toast messageDerick Montague2019-10-101-1/+2
| | | | | | | | | | | | Add check for gateway value before testing if the string is valid. The backend seems to handle an empty gateway the same as sending 0.0.0.0. When the GET call is made after sending 0.0.0.0 as the gateway value, the response returns an empty string. This field seems to be an override for the default gateway input for the interface. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Id6a5575e73a7c8adfff052c89bb4e8ca986d45f9
* Fix icon-warning syntax errorDerick Montague2019-10-092-3/+3
| | | | | | | | | There were a few instances of the icon-warning icon that didn't include the file extenstion needed to when adding the file attribute property in the icon directive. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib25c28c72285fa214f75258b0b09790d52bb6cc1
* Fix date and time settings bugDixsie Wolmers2019-10-072-57/+72
| | | | | | | | | | | | | | | | When time mode is initially set to Manual from NTP, NTP service is disabled and the NTP service is stopping but not stopped, setting time will return an error. There are no response messages to notify when NTP is completely stopped. To work around, a timeout is set to allow NTP to fully stop before saving date/time changes. https://github.com/openbmc/phosphor-time-manager/blob/master/README.md Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Icb86dfe339a10567aecf9aedd9b0dd696937a398
* Clean up iconsYoshie Muranaka2019-10-022-3/+3
| | | | | | | | | | | | | | | Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files. - Moved/removed on, off, critical, warning svg icons from assets directory - Updated background-image status icons to use <icon> or <status-icon> directive Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
* Update users navigation sectionmiramurali232019-09-264-904/+0
| | | | | | | | | | | | - Changed the section name to be access-control - Moved LDAP Settings and Certificate Management to access-control navigation - Changed Manage User Account subsection name to Local User Management Resolves: openbmc/phosphor-webui#619 Signed-off-by: Mira Murali <miramurali23@gmail.com> Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I0d94c80c295b997d94c04330fd87f4fc4d229bf8
* LDAP configuration and user groupsbeccabroek2019-09-262-0/+372
| | | | | | | | | | | | | | | | | Adds LDAP page and ability to add and change configuration settings. Adds ability to add, remove and edit user groups for LDAP. Resolves openbmc/phosphor-webui#38 Resolves openbmc/phosphor-webui#39 Tested: Loaded on to a witherspoon and able to add initial LDAP config as well us update the configuration and role groups. Appropriate messages displayed to user when required fields are missing or in the incorrect format. Change-Id: If8a21f3f9d9334415ead73472e90b2a0823bf9ea Signed-off-by: beccabroek <beccabroek@gmail.com> Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Signed-off-by: Derick Montague <derick.montague@ibm.com>
* Move Virtual Media files and routeGunnar Mills2019-09-242-429/+0
| | | | | | | | | | | | | | | "Virtual media" was already part of the "Server control" submenu but the files were at app/configuration and the route was /configuration. Marta Mazur did a similar file and route move here as part of supporting multiple Virtual Media endpoints: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-webui/+/25218 Tested: Built and loaded on a Witherspoon. The VM route is now: #/server-control/virtual-media. Was able to use the VM panel. Change-Id: Iec46a8ece7ddfbc356bc1e71875def70c4418027 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Update SNMP page layoutDixsie Wolmers2019-09-111-90/+90
| | | | | | | | | | | | | | | This change applies global styles to improve page layout consistency and removes unnecessary custom styling. - Adds page, section, form field and actions styles - Removes unused styles Tested: - Passes DAP Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I96bb4732fdf160b2cc9eff0ad3ed9309ab1b9ea4
* Fix IE11 SNMP edit bugDixsie Wolmers2019-09-111-8/+7
| | | | | | | | | | | | | | - Removes edit button from form - Removes focus-within (not compatible with IE11 and Edge) and pointer-event Tested: - Input fields are editable and can be saved - DAP violations and page layout consistency will be addressed in separate commit Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I2ccd06802137c2969fec686abc5b5f8e785725b6
* Fix missing expiring/expired icons and warnning messages in certificate tablemiramurali232019-09-102-7/+23
| | | | | | | | | | | | | - Confirmed with backend developer that we should be checking certificate expiration date with bmc date/time set - Converted both certificate expiration date and bmc date/time to EPOCH time to fix the bug Tested: Go to Date and Time settings and change BMC time to be after or 30 days before a certificate expiration date. Then either a warning or expiration icon and message will be displayed next to the date and message on top of the table. To remove the expiration or warning date, upload a certificate that has an expiration date greater than 30 days after bmc time set. The icon and warning message should now disappear. Signed-off-by: Mira Murali <miramurali23@gmail.com> Change-Id: I9389fe3cce5a555945adf9c56180897a6be047bf
* Fix IE11 remove button on network settingsDixsie Wolmers2019-08-291-2/+2
| | | | | | | | | - Adds button type to buttons for IPv4 and DNS Tested: Verified remove button deletes IPv4 and DNS server Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I7827f49a910c14b9df0575f678d8f121258446f6
* Enable CA certificate uploadYoshie Muranaka2019-08-222-7/+9
| | | | | | | | This patchset enables CA certificate type to be uploaded in the GUI. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I52953933f6fd3dbd363c42b887996942b99b358e
* Create csr modalmiramurali232019-08-222-40/+334
| | | | | | | | | | | | | | | | | | The CSR Modal allows users to generate a CSR code. Once the user types in the necessary information to generate the CSR code, that modal will then render the code and the user will be able to either copy the code or download the code in a txt file. Tested: loaded onto Witherspoon and able to view on certificate management page. Click on generate csr and type in necessary (or any additional info), then click on generate CSR. The CSR code is then visible and is able to be copied or downloaded. In error state in which CSR code is unable to generate, the modal closes and an error toast message appears. FYI: Sometimes you have to reboot system in order for csr to successfully generate.y Signed-off-by: Mira Murali <miramurali23@gmail.com> Change-Id: I3cca09c494357496166164b5ee8ff99250ef981d
* Extending certificate table with Issuer and Subject columns.Zbigniew Kurzynski2019-08-051-0/+6
| | | | | | | | | | | | | This commit introduce two new columns on certificate table. It should help user to differentiate multiple mTLS certificates. Date format was changed to 'medium' one to accommodate two new columns. Small corrections were made to action button paddings to make the icon better centered. Tested: GUI tests were done on Chromium v74.0.3729 browser. Desktop and mobile version. Signed-off-by: Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> Change-Id: I660b74dd8b50f854ebbdad1890bbf99b3675f4cd
* Create certificate management pagebeccabroek2019-07-092-0/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Displays certificates and the ability to add up to one of each type of certificate (as limited by the backend implementation). HTTPS certificate and LDAP client cert are implemented in this commit, with the ability to add more types as needed by adding them to the constants.js CERTIFICATE_TYPES array. Also provides the ability to replace a certificate once it is added. Resolves openbmc/phosphor-webui#43 Tested: loaded onto a witherspoon and able to view and replace both the HTTPS certificate and the LDAP certificate. GUI only allows to upload an LDAP certificate if one doesn't already exist. The GUI limits the user to one file per type as expected at this time and provides the appropriate validation messages. Alert messages appear above the table if the certificate is expired or within 30 days of expiring. Change-Id: I345267280ecd3cb257e9304886cde9ebb69b1240 Signed-off-by: beccabroek <beccabroek@gmail.com> Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
* Consolidate button stylesYoshie Muranaka2019-06-215-37/+42
| | | | | | | | | | | | | | | | | | | | | | | | | This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes. This patchset also implements a consistent strategy for including icon assets. Currently, svg icons are imported as CSS background images or inlined into the markup. Inlining an svg is preferred, especially when used with buttons or links so the colors can be easily changed for different states (hover, focus, disabled) without having to request variants. The icon provider allows us to inline svgs without cluttering the markup. Webpack config was adjusted to use svg-inline-loader when resolving svgs that are used by the icon provider directive. - All svgs were optimized to remove unncessary information. - Removed unused svg color variants - Moved icons used by icon provider to separate directory to avoid Webpack parsing the files twice - Small changes to navigation icons Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1ca214b74fc502e6b6e760cfee88b48110237c43
* Firmware: Remove unused interpolateGunnar Mills2019-05-231-3/+2
| | | | | | | | | | | | | Interpolate was used prior to the ngToast. https://github.com/openbmc/phosphor-webui/commit/90ae95eb6f5f30e3863f24ad364b111258ea4ee4#diff-44385b1119c2cae41d7331ab4a5cd5fe moved to ngToast (later toastService) and removed the use of interpolate. Tested: Build this and the commits below and loaded onto a Witherspoon system. Uploaded an image and activated it. Change-Id: I161c7860cec006dc434bc00495b25b588f069775 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Virtual media pagebeccabroek2019-05-232-0/+427
| | | | | | | | | | | | | | | | | | | | | | | | Adds page to manage virtual media devices. User selects file and pushes 'start' button to establish websocket connection. nbdServerService added to provide ability for user to navigate away from the page and return with the ability to see the current active sessions. Currently only supports 1 Virtual Media device. Resolves openbmc/phosphor-webui#40 Tested: uploaded ubuntu image file, started the connection and mounted virtual media device from host console. Able to see Ubuntu image file. Also uploaded file and navigated away from the page, checking that the websocket remained open and was sending / recieving messages. Finally, tested that when connection was stopped, 'USB disconnect' log was present in host console. Change-Id: Ia3155d27cbcfef94c2753dde1303a151e08847cc Signed-off-by: beccabroek <beccabroek@gmail.com> Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Derick Montague <derick.montague@ibm.com>
* Fix activate image and reboot BMCDixsie Wolmers2019-05-131-3/+5
| | | | | | | | | | | | | - Change bmcReboot callback in apiutils.js to HTTP request that returns a promise that is resolved with response object - Remove emitted 'user-logged-in' as it is not needed to reboot BMC on firmware controller and bmc reboot controller - Add toast message for visual confirmation of successful BMC reboot Tested: On Server Configuration > Firmware page uploaded new image to activate and automatically reboot. After 2-3 minutes confirmed image activated and then BMC rebooted after image activation. Tested Server Control > Reboot BMC page by selecting Reboot BMC, confirmed BMC rebooted. Resolves openbmc/phosphor-webui#79 Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Ied6809ad1ed6cc3c73ac5c818c7a06607810c396
* Firmware page upload not working in some casesbeccabroek2019-04-112-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Upload was not working in some cases because of two separate issues. Inline onchange is no longer executed in Chrome. This removes the inline onchange event since it was updating a variable not being used anyway. This also updates the click-outside directive as it was missing [ ] brackets that were necessary and throwing an error in the console when loaded onto a witherspoon. see https://developer.chrome.com/extensions/contentSecurityPolicy and https://stackoverflow.com/questions/35126898/error-after-minifica tion-of-angular-js-error-injectorunpr-unknown-provider Resolves openbmc/phosphor-webui#77 Tested: Able to upload image onto Witherspoon. Click-outside directive worked when GUI was mounted on a Witherspoon Change-Id: I7b1c385751e114b2d31f516e391dd0737117ab42 Signed-off-by: beccabroek <beccabroek@gmail.com>
* Resolve accessibility isssuesDerick Montague2019-04-083-76/+91
| | | | | | | | | | | | | | | | | | - Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definition list when appropriate - Add aria-labels and aria-expanded to accordion triggers Tested: Accessibility issues tested in using Lighthouse in Chrome Developer tools Audit section and Dequeue Axe extension. Manually tested clicking on labels set focus on the form elements. Visually tested of the Network Settings page in Chrome, Firefox, and Safari to verify layout changes. Resolves openbmc/phosphor-webui#76 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib974c623e9d3b74e74e1f374c21e8191732ec26a
* SNMP page visual redesignbeccabroek2019-04-012-34/+89
| | | | | | | | | | | | | | | | | Adds form validation to SNMP page. Also adds new icons to page for edit and delete. Validation messages for inputs appear after input has been touched or if the user attempts to submit the form with validation errors. Tested: Add, remove, and update SNMP was successful and functionality unchanged. Form did not allow invalid or empty values to submitted. Used Chrome, Safari, and Firefox to verify that visual design looked as expected. Resolves openbmc/phosphor-webui#37 Change-Id: I7a97d80724e56d2f22c74ac1251041270bbc35ad Signed-off-by: beccabroek <beccabroek@gmail.com>
* Center modals and fix sizingbeccabroek2019-03-261-0/+1
| | | | | | | | | | | | | | | | | | Previously the modals were not centered on the screen and the size of the modal was set to 50% of the screen, leading to a lot of white space within modals with less content. This sizes the modal based on the amount of content within and centers the modal. Also adds the grey modal overlay to the 'confirm network settings' modal to be consistent with the other pages. Resolves openbmc/phosphor-webui#35 Tested: Viewed all modals currently in GUI (Firmware page, network page, and overview page) and modals were sized correctly and appeared with the modal overlay in the background. Change-Id: Ie35d179810d36b8bcbbf39dc1302e773387fa788 Signed-off-by: beccabroek <beccabroek@gmail.com>
* Clean up headersbeccabroek2019-02-194-18/+16
| | | | | | | | | | | | | | Updates headers to match style guide and makes them consistent throughout pages in the GUI. Removes instances where a header element existed and a different header style was being applied. For example, <h2 class="h4"> Tested: Ran GUI locally and verified that headers look consistent and have the appropriate sizing while using Chrome, Firefox and Safari. Change-Id: I187136298ed2bfd36c40c2b80d5a4f20947cbe56 Signed-off-by: beccabroek <beccabroek@gmail.com>
* Add role alert to toastsbeccabroek2019-02-064-32/+35
| | | | | | | | | | For accessibility reasons, 'role="alert" is required for toast messages. This notifies screen readers that an error or success message has appeared. Adds a service layer for toast messages that adds the role attribute to the message. Change-Id: Ic4dbf5556337eea589de5692c1b4c3323e771813 Signed-off-by: beccabroek <beccabroek@gmail.com>
* Add toast to Firmware pagebeccabroek2019-01-232-94/+25
| | | | | | | Replace error and success messages with toast notifications. Change-Id: I6c68568b7c9db4fd1f85b3de843289cf1bfba376 Signed-off-by: beccabroek <beccabroek@gmail.com>
* Add toast to Network Settings pagebeccabroek2019-01-232-45/+43
| | | | | | | | Displays error message if any settings fail to save and success if all succeed on the Network Settings page. Change-Id: Ifddf1822ba59753a217d1ec257b8d0ca870cceed Signed-off-by: beccabroek <beccabroek@gmail.com>
* Add toast to Date Time pagebeccabroek2019-01-212-11/+6
| | | | | Change-Id: I0c0912f9d18fbb170ccf4863366b5973eb25050a Signed-off-by: beccabroek <beccabroek@gmail.com>
* Add toast notifications to SNMP pagebeccabroek2019-01-152-11/+6
| | | | | | | | | | | | Design team proposed that our error and success messages be delivered as 'toast' messages on the right side of the screen. This brings in ngToast and implements notifications on SNMP page. Notifications will fade after 10 seconds or can be dismissed. https://github.com/tameraydin/ngToast Change-Id: I1053534cd1ab189ae5c2ac07e2a922acea231c70 Signed-off-by: beccabroek <beccabroek@gmail.com>
* fix date/time representation in national localesAlexander Filippov2018-12-071-7/+24
| | | | | | | | | | | | | | | | | Added "localeDate" filter to present date and time in preferred format: - the date will be displayed as: 'Dec 3, 2018' - the time will be displayed in locale preferred format. - the timezone will be displayed as abbrev or GMT+/-offset. At the 'Date and Time setting' the time zone name will displayed in long format if it is possible. All text parts of date/time representation will be in English. Resolves: openbmc/phosphor-webui#42 Change-Id: I2fdbb47c62dfc5000039b0c00a20f64a9a389fc6 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
* Display log events in user timebeccabroek2018-11-061-2/+14
| | | | | | | | | | | | | | | | | Allows user to display events in their timezone or in UTC. Previously allowed either ETC or UTC, but listed ETC as 'user timezone'. Updates date time page from GMT offset to UTC offset for overall consistency. Also updates overview page to list critical events in user timezone Resolves openbmc/phosphor-webui#36 Tested: changed timezone settings locally and validated that correct timezone and UTC offset was presented in the UI. Change-Id: I89ca5045eeb789527aa07f5b1baebaa3fbd6b1fa Signed-off-by: beccabroek <beccabroek@gmail.com>
* SNMP: Use lowerCamelCase for varsGunnar Mills2018-11-022-11/+11
| | | | | | | Following https://google.github.io/styleguide/jsguide.html. Change-Id: Ib7704018622571cf1701d3a525dc01297bed7243 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Only update SNMP fields if changedGunnar Mills2018-11-022-8/+13
| | | | | | | | | Use ng-change to determine if the SNMP fields, Address and Port, have changed and should be updated. Tested: Only see the rest calls when the fields have changed. Change-Id: I324c9c422a8b6dfb8816925167953e16099f8044 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Remove SNMP ManagersGunnar Mills2018-10-291-5/+6
| | | | | | | | | | Allow the user to remove SNMP Managers. If the SNMP Manager being removed exists in the backend, make a call to remove it. Tested: Removed SNMP Managers on a Witherspoon Change-Id: Ib392cda30754adfaa58f6301592c2d666ff2c29e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add and modify SNMP ManagersGunnar Mills2018-10-292-10/+125
| | | | | | | | This allows the user to add and edit SNMP managers. Tested: Added SNMP managers on a Witherspoon. Change-Id: Iab8d6463b03de75928e4989135172d93ab0f28a3 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Date-time: Use lowerCamelCase for varsGunnar Mills2018-10-192-41/+42
| | | | | | | | Following https://google.github.io/styleguide/jsguide.html. Also, added a comment to clarify a variable. Change-Id: I27dd8c0af6187ccd3f8093b88ebe2674fd42747b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Update code styling for network pagebeccabroek2018-10-092-51/+48
| | | | | | | | | | Now that the following style guide is being used: https://google.github.io/styleguide/jsguide.html#naming Some of the variable naming in this class needs to be updated. Change-Id: I6ca7a0ea7255ab2314bb4b5fc2d89cff9006039a Signed-off-by: beccabroek <beccabroek@gmail.com>
* Add and Update IPV4 addressbeccabroek2018-10-092-18/+55
| | | | | | | | | | | | | | | | | | This allows user to add IPV4 addresses and updates logic for editing IPV4 addresses. Resolves openbmc/phosphor-webui#12 Tested: Added, removed and modified IPV4 addresses, called API to verify that addresses had been correctly modified. Verified that if address had not been modified, no change was made for that address. Change-Id: I3dd25565f4f610dce2023e23348f6eb8d00add3d Signed-off-by: beccabroek <beccabroek@gmail.com>
* Add "(Primary)" to first NTP ServerGunnar Mills2018-10-091-1/+1
| | | | | | | | | The IBM design team though adding "(Primary)" to the first NTP Server made it more clear that this NTP server is the first NTP server the time manager talks to. Change-Id: Iaadbc4958621146db072541668a7a6f0a8834de4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Set Host Time from correct fieldsGunnar Mills2018-10-091-9/+16
| | | | | | | | | | | | | In all cases except when the time owner is "Split", Host and BMC time share fields. Make sure to set the Host time from the correct fields, which is these shared fields in all cases except when time owner is "Split". Resolves openbmc/phosphor-webui#20 Tested: Able to set the Host and BMC time Change-Id: I69985fd2de08fe71c62fd57dd1fa872f7f33ba09 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Set the Host Time if "Split" and "NTP"Gunnar Mills2018-10-091-2/+6
| | | | | | | | | | | From: https://github.com/openbmc/phosphor-time-manager Mode Owner Set BMC Time Set Host Time NTP SPLIT Fail to set OK Resolves openbmc/phosphor-webui#19 Change-Id: I72f5617581533a2bb17d415b45bdf7ec6372ecab Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Remove IPV4 addressesbeccabroek2018-10-042-18/+50
| | | | | | | | Tested: Able to remove existing IPV4 addresses. Change-Id: I772bee6ad6b68bc0a69351f3e5386acc659241ef Signed-off-by: beccabroek <beccabroek@gmail.com>
* Date-time: Change h2 titleGunnar Mills2018-10-031-1/+1
| | | | | | | This title is more clear. Change-Id: I8e4f89b1d2d91fe0745dedfcea1af124033d5cca Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Revert "Remove unused dataService"Gunnar Mills2018-09-261-4/+6
| | | | | | | | | This reverts commit e13275b837ed38b7e8553316accedb51b32ef37b. dataService is used in powerOn(), warmReboot() and isServerOff(). Change-Id: I8635ac88f93b6354ea7d352f92c9a7f4281e21a5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Remove unused dataServiceGunnar Mills2018-09-261-6/+4
| | | | | Change-Id: I99e0d16a56908beb1397bb4c15390c72c3b2f3f5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
OpenPOWER on IntegriCloud