Command Channel by <command>b10-msgq</command> with other
modules like <command>bind10</command>, <command>b10-auth</command>
and so on. <command>b10-stats</command> periodically requests statistics
- data to each module and receives. The interval time can be configured
+ data from each module. The interval time can be configured
via <command>bindctl</command>. <command>b10-stats</command> cannot
accept any command from other modules for updating statistics data. The
stats module collects data and
def update_statistics_data(self, owner=None, mid=None, data=None):
"""
- change statistics date of specified module into specified
+ change statistics data of specified module into specified
data. It updates information of each module first, and it
updates statistics data. If specified data is invalid for
statistics spec of specified owner, it returns a list of error
messages. If there is no error or if neither owner nor data is
- specified in args, it returns None. The 'mid' argument is a identifier of
+ specified in args, it returns None. The 'mid' argument is an identifier of
the sender module in order for stats to identify which
instance sends statistics data in the situation that multiple
instances are working.
# Note:
# The fix of #1751 is for multiple instances working. It is
# assumed here that they send different statistics data with
- # each the sender module id(mid) . Stats should save their statistics data by
+ # each sender module id (mid). Stats should save their statistics data by
# mid. The statistics data, which is the existing variable, is
- # preserved by accumlating from statistics data by the module id. This
+ # preserved by accumlating from statistics data by the mid. This
# is an ad-hoc fix because administrators can not see
# statistics by each instance via bindctl or HTTP/XML. These
# interfaces aren't changed in this fix.