Merge "[Trivial Fix] fix typos in docstrings"
This commit is contained in:
commit
3e0b05cdbf
@ -652,7 +652,7 @@ def is_low_core_system(ihost, dba):
|
|||||||
"""Determine whether a low core cpu count system.
|
"""Determine whether a low core cpu count system.
|
||||||
|
|
||||||
Determine if the hosts core count is less than or equal to a xeon-d cpu
|
Determine if the hosts core count is less than or equal to a xeon-d cpu
|
||||||
used with get_required_platform_reserved_memory to set the the required
|
used with get_required_platform_reserved_memory to set the required
|
||||||
platform memory for xeon-d systems
|
platform memory for xeon-d systems
|
||||||
"""
|
"""
|
||||||
cpu_list = dba.cpu_get_by_host(ihost['uuid'])
|
cpu_list = dba.cpu_get_by_host(ihost['uuid'])
|
||||||
|
@ -341,7 +341,7 @@ void mtcTimer_reset ( struct mtc_timer * mtcTimer_ptr )
|
|||||||
* timers at that time. They are defaulted to zero and should
|
* timers at that time. They are defaulted to zero and should
|
||||||
* remain that way. The mtcTimer_dump_data utility can be
|
* remain that way. The mtcTimer_dump_data utility can be
|
||||||
* called periodically by a process audit, will create a Swerr
|
* called periodically by a process audit, will create a Swerr
|
||||||
* log with the recorded data and then clear the these vars only
|
* log with the recorded data and then clear these vars only
|
||||||
* to allow the next occurance to be recorded and loged on the
|
* to allow the next occurance to be recorded and loged on the
|
||||||
* next audit interval.
|
* next audit interval.
|
||||||
*
|
*
|
||||||
|
@ -697,7 +697,7 @@ int pingUtil_acc_monitor ( ping_info_type & ping_info )
|
|||||||
{
|
{
|
||||||
if ( ++ping_info.recv_retries > (PING_MAX_RECV_RETRIES) )
|
if ( ++ping_info.recv_retries > (PING_MAX_RECV_RETRIES) )
|
||||||
{
|
{
|
||||||
/* only print this log once on the the resend attempt */
|
/* only print this log once on the resend attempt */
|
||||||
if ( ping_info.send_retries >= PING_MAX_SEND_RETRIES )
|
if ( ping_info.send_retries >= PING_MAX_SEND_RETRIES )
|
||||||
{
|
{
|
||||||
mlog ("%s ping recv from %s missed ; identity:%04x sequence:%04x (try %d of %d)\n",
|
mlog ("%s ping recv from %s missed ; identity:%04x sequence:%04x (try %d of %d)\n",
|
||||||
|
@ -63,7 +63,7 @@ static void __retry_holdoff( int delay )
|
|||||||
* The signal handler is serviced.
|
* The signal handler is serviced.
|
||||||
*
|
*
|
||||||
* Behavior : Issue non-blocking token request. If the request fails
|
* Behavior : Issue non-blocking token request. If the request fails
|
||||||
* immediately the the far end did not connect and we backoff
|
* immediately the far end did not connect and we backoff
|
||||||
* for RETRY_DELAY seconds. With a successful send we loop for
|
* for RETRY_DELAY seconds. With a successful send we loop for
|
||||||
* up to 2 seconds longer than the specified timeout, Any failure
|
* up to 2 seconds longer than the specified timeout, Any failure
|
||||||
* results in a retry after RETRY_DELAY seconds.
|
* results in a retry after RETRY_DELAY seconds.
|
||||||
|
@ -7127,7 +7127,7 @@ int nodeLinkClass::ar_manage ( struct nodeLinkClass::node * node_ptr,
|
|||||||
*
|
*
|
||||||
* Name : report_dor_recovery
|
* Name : report_dor_recovery
|
||||||
*
|
*
|
||||||
* Description: Create a specifically formatted log for the the specified
|
* Description: Create a specifically formatted log for the specified
|
||||||
* hosts DOR recovery state and timing.
|
* hosts DOR recovery state and timing.
|
||||||
*
|
*
|
||||||
* Parameters : The node and a caller prefix string that states if the node
|
* Parameters : The node and a caller prefix string that states if the node
|
||||||
|
@ -345,7 +345,7 @@ class hwmonHostClass
|
|||||||
*
|
*
|
||||||
* ipmi_load_sensor_samples - loads the samples into the sample list.
|
* ipmi_load_sensor_samples - loads the samples into the sample list.
|
||||||
*
|
*
|
||||||
* ipmi_update_sensors - updates the the hwmond with the latest sensor
|
* ipmi_update_sensors - updates the hwmond with the latest sensor
|
||||||
* sample severity level for the specified host.
|
* sample severity level for the specified host.
|
||||||
*
|
*
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
@ -1602,7 +1602,7 @@ int hwmonHostClass::ipmi_sensor_monitor ( struct hwmonHostClass::hwmon_host * ho
|
|||||||
ptr->status.c_str(),
|
ptr->status.c_str(),
|
||||||
get_severity(severity).c_str());
|
get_severity(severity).c_str());
|
||||||
|
|
||||||
/* debounce of the the transient 'na' case is debounced
|
/* debounce of the transient 'na' case is debounced
|
||||||
* if ( host_ptr->sensor_query_count > 5 )
|
* if ( host_ptr->sensor_query_count > 5 )
|
||||||
* log_sensor_data ( host_ptr, ptr->sensorname, ptr->status, get_ipmi_severity(ptr->sample_severity));
|
* log_sensor_data ( host_ptr, ptr->sensorname, ptr->status, get_ipmi_severity(ptr->sample_severity));
|
||||||
*/
|
*/
|
||||||
|
@ -100,7 +100,7 @@ int mtcInvApi_read_inventory ( int batch )
|
|||||||
|
|
||||||
dlog ("Path:%s\n", obj_ptr->sysinvEvent.token.url.c_str());
|
dlog ("Path:%s\n", obj_ptr->sysinvEvent.token.url.c_str());
|
||||||
|
|
||||||
/* The inventory server returns a path the the next element.
|
/* The inventory server returns a path the next element.
|
||||||
* This code manages the setting the entity path that allows
|
* This code manages the setting the entity path that allows
|
||||||
* a walk through the inventory on subsequent calls if the
|
* a walk through the inventory on subsequent calls if the
|
||||||
* batch number is less that the provisioned inventory number
|
* batch number is less that the provisioned inventory number
|
||||||
|
@ -76,7 +76,7 @@ static bool add_host_to_awol_list ( string hostname, std::list<string> & mnfa_aw
|
|||||||
*
|
*
|
||||||
* Name : mnfa_add_host
|
* Name : mnfa_add_host
|
||||||
*
|
*
|
||||||
* Description: Add a failed host the the mnfa count and manage
|
* Description: Add a failed host the mnfa count and manage
|
||||||
* the failed list
|
* the failed list
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
@ -780,7 +780,7 @@ int nodeLinkClass::workQueue_done ( struct nodeLinkClass::node * node_ptr )
|
|||||||
{
|
{
|
||||||
int rc = PASS ;
|
int rc = PASS ;
|
||||||
|
|
||||||
/* have we timed out waiting the the work queue tom deplete */
|
/* have we timed out waiting the work queue to deplete */
|
||||||
if ( node_ptr->mtcTimer.ring == true )
|
if ( node_ptr->mtcTimer.ring == true )
|
||||||
{
|
{
|
||||||
qlog ( "%s Ring handler\n" , node_ptr->hostname.c_str());
|
qlog ( "%s Ring handler\n" , node_ptr->hostname.c_str());
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
# This utility is primarily used by no reboot patching for process restart
|
# This utility is primarily used by no reboot patching for process restart
|
||||||
#
|
#
|
||||||
# This script sends a jason string containing the the restart command
|
# This script sends a json string containing the restart command
|
||||||
# and ${1} as the specified process name to pmond over the loopback
|
# and ${1} as the specified process name to pmond over the loopback
|
||||||
# interface on port 2117
|
# interface on port 2117
|
||||||
#
|
#
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
# This utility is primarily used by no reboot patching for process restart
|
# This utility is primarily used by no reboot patching for process restart
|
||||||
#
|
#
|
||||||
# This script sends a jason string containing the the restart command
|
# This script sends a json string containing the restart command
|
||||||
# and ${1} as the specified process name to pmond over the loopback
|
# and ${1} as the specified process name to pmond over the loopback
|
||||||
# interface on port 2117
|
# interface on port 2117
|
||||||
#
|
#
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
# This utility is primarily used by no reboot patching for process restart
|
# This utility is primarily used by no reboot patching for process restart
|
||||||
#
|
#
|
||||||
# This script sends a jason string containing the the restart command
|
# This script sends a json string containing the restart command
|
||||||
# and ${1} as the specified process name to pmond over the loopback
|
# and ${1} as the specified process name to pmond over the loopback
|
||||||
# interface on port 2117
|
# interface on port 2117
|
||||||
#
|
#
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
# This utility is primarily used by no reboot patching for process restart
|
# This utility is primarily used by no reboot patching for process restart
|
||||||
#
|
#
|
||||||
# This script sends a jason string containing the the restart command
|
# This script sends a json string containing the restart command
|
||||||
# and ${1} as the specified process name to pmond over the loopback
|
# and ${1} as the specified process name to pmond over the loopback
|
||||||
# interface on port 2117
|
# interface on port 2117
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user