/openbmc/openbmc-test-automation/redfish/managers/ |
H A D | test_bmc_network_protocol.robot | 2 Documentation NTP configuration and verification 22 Verify NTP Server Set 23 [Documentation] Patch NTP servers and verify NTP servers is set. 25 [Setup] Set NTP state ${True} 28 ... body={'NTP':{'NTPServers': ['${ntp_server_1}', '${ntp_server_2}']}} 31 # NTP network take few seconds to reload. 32 Wait Until Keyword Succeeds 30 sec 10 sec Verify NTP Servers Are Populated 35 Verify NTP Server Value Not Duplicated 36 [Documentation] Verify NTP servers value not same for both primary and secondary server. 40 ... body={'NTP':{'NTPServers': ['${ntp_server_1}', '${ntp_server_1}']}} [all …]
|
H A D | test_managers_bmc.robot | 169 [Setup] Run Keywords Update NTP Test Initial Status AND 170 ... Set NTP state ${TRUE} 171 [Teardown] Restore NTP Status 204 Update NTP Test Initial Status 205 [Documentation] Update the initial status of NTP. 208 ${original_ntp}= Redfish.Get Attribute ${REDFISH_NW_PROTOCOL_URI} NTP 212 Set NTP state 213 [Documentation] Set NTP service inactive. 217 Redfish.Patch ${REDFISH_NW_PROTOCOL_URI} body={'NTP':{'ProtocolEnabled': ${state}}} 221 Restore NTP Status [all …]
|
H A D | test_managers_bmc_time.robot | 120 Get NTP Initial Status 124 ... Enable NTP And Add NTP Address 132 Restore NTP Status
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_date_and_time_utils.robot | 2 Documentation This module provides general keywords for date time and ntp. 62 Redfish.Patch ${REDFISH_NW_PROTOCOL_URI} body={'NTP':{'ProtocolEnabled': ${False}}} 85 Set NTP state 86 [Documentation] Set NTP service inactive. 89 Redfish.Patch ${REDFISH_NW_PROTOCOL_URI} body={'NTP':{'ProtocolEnabled': ${state}}} 93 Get NTP Initial Status 94 [Documentation] Get NTP service Status. 96 ${original_ntp}= Redfish.Get Attribute ${REDFISH_NW_PROTOCOL_URI} NTP 100 Restore NTP Status 101 [Documentation] Restore NTP Statu [all...] |
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntp/ |
H A D | ntp_4.2.8p18.bb | 2 DESCRIPTION = "The Network Time Protocol (NTP) is used to \ 6 HOMEPAGE = "http://support.ntp.org" 8 LICENSE = "NTP" 13 SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ 14 file://ntp-4.2.4_p6-nano.patch \ 20 file://ntp.conf \ 32 CVE_STATUS_NTP[status] = "fixed-version: Yocto CVE check can not handle 'p' in ntp version" 75 NTP_USER_HOME ?= "/var/lib/ntp" 78 --shell /bin/false --user-group ntp" 80 # NB: debug is default-enabled by NTP; keep it default-enabled here. [all …]
|
/openbmc/webui-vue/src/views/Settings/DateTime/ |
H A D | DateTime.vue | 127 value="ntp" 130 NTP 136 label-for="input-ntp-1" 140 id="input-ntp-1" 141 v-model="form.ntp.firstAddress" 142 :state="getValidationState(v$.form.ntp.firstAddress)" 145 @blur="v$.form.ntp.firstAddress.$touch()" 148 <div v-if="v$.form.ntp.firstAddress.required.$invalid"> 158 label-for="input-ntp-2" 162 id="input-ntp-2" [all …]
|
/openbmc/phosphor-webui/app/configuration/controllers/ |
H A D | date-time-controller.html | 5 <h2>Set date and time manually or configure a Network Time Protocol (NTP) Server</h2> 11 …<label class="control-radio" for="ntp-time">Obtain Automatically from a Network Time Protocol (NTP… 12 <input type="radio" id="ntp-time" ng-model="time.mode" value="NTP"> 17 … <fieldset class="date-time__ntp-servers" ng-repeat="server in ntp.servers track by $index"> 18 …<label for="ntp-server{{$index+1}}">NTP Server Address {{$index+1}} <span ng-if="$first">(Primary)… 20 …<input id="ntp-server{{$index+1}}" type="text" ng-readonly="time.mode != 'NTP'" ng-model="server" … 26 … <button type="button" class="btn btn-primary" ng-click="addNTPField()">Add new NTP server</button> 38 …<input type="date" ng-model="bmc.date" ng-readonly="time.mode == 'NTP'" min="2018-01-01" max="2099… 39 <input type="time" ng-model="bmc.date" ng-readonly="time.mode == 'NTP'" />
|
H A D | date-time-controller.js | 18 $scope.ntp = {servers: []}; class in $scope 70 $scope.ntp.servers = data.data; 83 …github.com/openbmc/phosphor-time-manager/blob/master/README.md#special-note-on-changing-ntp-setting 84 * When time mode is initially set to Manual from NTP, 85 * NTP service is disabled and the NTP service is 87 * There are no responses from backend to notify when NTP is stopped. 88 * To work around, a timeout is set to allow NTP to fully stop 133 // Set the Host if Split even if NTP. In split mode, the host has 159 $scope.ntp.servers.push(''); 163 $scope.ntp.servers.splice(index, 1); [all …]
|
/openbmc/webui-vue/src/store/modules/Settings/ |
H A D | DateTimeStore.js | 24 const ntpServers = response.data.NTP.NTPServers; 25 const isNtpProtocolEnabled = response.data.NTP.ProtocolEnabled; 35 NTP: { class in DateTimeStore.actions.updateDateTime.ntpData 40 ntpData.NTP.NTPServers = dateTimeForm.ntpServersArray; 53 …github.com/openbmc/phosphor-time-manager/blob/master/README.md#special-note-on-changing-ntp-setting 54 * When time mode is initially set to Manual from NTP, 55 * NTP service is disabled and the NTP service is 57 * There are no responses from backend to notify when NTP is stopped. 58 * To work around, a timeout is set to allow NTP to fully stop
|
/openbmc/phosphor-time-manager/ |
H A D | README.md | 76 - NTP: The time is set via NTP server. 83 | NTP | Fail to set | 86 - To set an NTP [server](https://tf.nist.gov/tf-cgi/servers.cgi): 101 - To go into NTP mode 107 TimeSyncMethod s "xyz.openbmc_project.Time.Synchronization.Method.NTP" 111 '{"data": "xyz.openbmc_project.Time.Synchronization.Method.NTP" }' \ 115 ### Special note on changing NTP setting 118 new beahvior that it checks the NTP services' status during setting time, 119 instead of checking the NTP setting: 121 - When NTP server is set to disabled, and the NTP service is stopping but not
|
H A D | manager.cpp | 18 constexpr auto propertyNtp = "NTP"; 51 bool oldNtpMode = (Mode::NTP == getTimeMode()); in onPropertyChanged() 57 debug("NTP property changed in phosphor-settings, update to systemd" in onPropertyChanged() 62 debug("NTP mode is already the same, skip setting to systemd time" in onPropertyChanged() 105 bool oldNtpMode = (Mode::NTP == getTimeMode()); in onTimedateChanged() 116 debug("NTP property changed in systemd time service, update to" in onTimedateChanged() 121 debug("NTP mode is already the same, skip setting to" in onTimedateChanged() 127 error("Failed to sync NTP: {ERROR}", "ERROR", ex); in onTimedateChanged() 138 (value == "xyz.openbmc_project.Time.Synchronization.Method.NTP"); in updateNtpSetting() 145 info("Updated NTP setting: {ENABLED}", "ENABLED", isNtp); in updateNtpSetting() [all …]
|
H A D | manager.hpp | 85 * Notify listeners that time mode is changed and update ntp setting 91 /** @brief Callback to handle change in NTP 111 * @param[in] forceSet - true: Force sync NTP Settings to systemd time 118 /** @brief Update the NTP setting to systemd time service 120 * @param[in] value - The time mode value, e.g. "NTP" or "MANUAL"
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntpsec/ntpsec/ |
H A D | volatiles.ntpsec | 1 d ntp ntp 0755 @NTP_USER_HOME@ none 2 d ntp ntp 0755 /var/log/ntpstats none 3 f ntp ntp 0644 /var/log/ntpd.log none
|
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/ |
H A D | test_date_and_time_sub_menu.robot | 44 Page Should Contain If NTP is selected but an NTP server is not given or the 45 ... given NTP server is not reachable, then time.google.com will be used. 149 Verify NTP Server Input Fields In Date And Time Page 150 [Documentation] Verify NTP server input fields in date and time page. 161 # Refresh the NTP Page. 203 Verify Changing BMC Time From NTP To Manual 204 [Documentation] Verify that BMC time can be changed from NTP to 209 # Add NTP server for BMC time to sync. 229 # Refresh the NTP Page. 238 Verify Moving From Manual To NTP [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/chrony/chrony/ |
H A D | chrony.conf | 4 # Use public NTP servers from the pool.ntp.org project. 8 # read and comply with http://www.pool.ntp.org/vendors.html 9 pool 0.openembedded.pool.ntp.org iburst 38 # Allow NTP client access from local network. 41 # Serve time even if not synchronized to any NTP server. 44 # Specify file containing keys for NTP authentication.
|
/openbmc/linux/include/linux/ |
H A D | timekeeper_internal.h | 19 * @mult: (NTP adjusted) multiplier for scaled math conversion 61 * @cycle_interval: Number of clock cycles in one NTP interval 62 * @xtime_interval: Number of clock shifted nano seconds in one NTP 66 * @raw_interval: Shifted raw nano seconds accumulated per NTP interval. 67 * @ntp_error: Difference between accumulated time and NTP time in ntp 70 * ntp shifted nano seconds. 120 /* Difference between accumulated time and NTP time in ntp 125 /* Flag used to avoid updating NTP twice with same second */
|
H A D | timex.h | 43 * Created file $NTP/include/sys/timex.h 94 * second. Changing this value changes the stiffness of the ntp 96 * NTP convergence time. A higher value makes it stiffer, increasing 102 * https://lists.ntp.org/pipermail/hackers/2008-January/003487.html 144 * Note: maximum error = NTP sync distance = dispersion + delay / 2; 145 * estimated error = NTP dispersion.
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntp/ntp/ |
H A D | ntpd | 4 # Provides: ntp 9 # Short-Description: Start NTP daemon 17 # ntpd init.d script for ntpdc from ntp.isc.org 18 test -x $DAEMON -a -r /etc/ntp.conf || exit 0 42 …start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -u ntp:ntp -p $…
|
/openbmc/openbmc/meta-google/recipes-google/systemd/files/ |
H A D | 40-gbmc-time.conf | 7 NTP=2001:4860:4806:: 8 NTP=2001:4860:4806:4:: 9 NTP=2001:4860:4806:8:: 10 NTP=2001:4860:4806:c::
|
/openbmc/openbmc/poky/meta/recipes-connectivity/dhcpcd/ |
H A D | dhcpcd_10.1.0.bb | 31 # ntp conflicts with chrony 32 PACKAGECONFIG[ntp] = "--with-hook=ntp, , ,ntp" 33 PACKAGECONFIG[chrony] = "--with-hook=ntp, , ,chrony"
|
/openbmc/phosphor-time-manager/test/ |
H A D | TestUtils.cpp | 18 EXPECT_EQ(Mode::NTP, in TEST() 19 strToMode("xyz.openbmc_project.Time.Synchronization.Method.NTP")); in TEST() 34 EXPECT_EQ("xyz.openbmc_project.Time.Synchronization.Method.NTP", in TEST() 35 modeToStr(Mode::NTP)); in TEST()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntpsec/ |
H A D | ntpsec_1.2.2a.bb | 4 LICENSE = "CC-BY-4.0 & BSD-2-Clause & NTP & BSD-3-Clause & MIT" 9 file://LICENSES/NTP;md5=cb56b7747f86157c78ca81f224806694" 71 NTP_USER_HOME ?= "/var/lib/ntp" 82 cp -r ${S}/etc/ntp.d ${D}${sysconfdir} 118 --shell /bin/false --user-group ntp" 123 SYSTEMD_SERVICE:${PN} = "ntpd.service ntp-wait.service"
|
/openbmc/u-boot/doc/ |
H A D | README.SNTP | 4 The "sntp" command gets network time from NTP time server and 16 2. Only the 1st NTP server IP, in the option ntp-servers of DHCP, will
|
/openbmc/openbmc-test-automation/gui/test/server_config/ |
H A D | test_obmc_gui_date_and_time_settings.robot | 15 ${xpath_set_time_from_ntp} //*[@for="ntp-time"] 16 ${xpath_add_new_ntp_server} //button[contains(text(), "Add new NTP server")] 31 ... Protocol (NTP) Server
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-core/packagegroups/ |
H A D | packagegroup-meta-networking.bb | 201 ntp sntp ntpdc ntpq ntp-tickadj ntp-utils \ 254 # Use ntp and not chrony or ntimed
|