-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new aliases to the sample interval, reconnect interval, and update interval attributes #1507
base: b4.4
Are you sure you want to change the base?
Conversation
@nick-enoent I'm not sure whether this patch affects the YAML patch or Maestro or not. |
Resolves #1497 |
@@ -357,42 +357,66 @@ class LdmsdCmdParser(cmd.Cmd): | |||
def complete_daemon_exit(self, text, line, begidx, endidx): | |||
return self.__complete_attr_list('daemon_exit', text) | |||
|
|||
def __handle_reconnect_alias(reconnect_interval, reconnect, interval): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we possibly move this function to ldmsd_communicator.py? I realize we don't have parser_util.py merged yet, or I'd suggest moving it there. This would be useful to be able to call when parsing YAML files for both the ldmsd -y option and maestro_ctrl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nick-enoent let's look at the API and decide if we need something else.
870cd0e
to
1786789
Compare
Change the attribute name to 'reconnect_interval' for consistency with the attributes in prdcr_add, prdcr_start, and prdcr_start_regex
1786789
to
4b53b3b
Compare
On Hold for Future Release (v4.5+) This PR is being postponed to a future release due to potential impacts on existing configuration file generation scripts. Impact:
We'll revisit this change after v4.4.5 to ensure a smooth transition for all users. The pull request was converted to draft until a target version is made. |
No description provided.