-
Notifications
You must be signed in to change notification settings - Fork 51
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
Yaml support #1461
base: b4.4
Are you sure you want to change the base?
Yaml support #1461
Conversation
@nick-enoent could you take a look at these build failures? |
ldms/src/ldmsd/ldmsd_config.c
Outdated
if (lineno) | ||
strcat(cfg_str, cstr); | ||
else | ||
snprintf(cfg_str, sizeof(cstr), cstr); |
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 this sizeof(cstr) is 8, not 256 like you intended. This is what is breaking the build.
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.
Addressed in the latest commit.
Rename ClusterCtrl to YamlCfg Move YamlCfg to parser_util.py Remove maestro-specific functionailty from YamlCfg
Support for advertisers and producer listeners in YAML configuration file Support for multiple yaml files on configuration line Update error handling in parser_util.c Update error handling in __process_yaml_config_file
4dcfd51
to
2b0c658
Compare
Done. |
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 could you please remove the [wip] from the description and I will accept this? |
Support for YAML configuration files for LDMSD.
YAML configuration file allows configuration of an entire cluster in a single YAML file.
Add -y option to LDMSD CLI that loads a YAML configuration file in the same manner as "-c" for LDMS v4 configuration files.
The -y option parses a YAML cluster file and applies relevant configuration to a specific daemon.
New command ldmsd_yaml_parser command that can generate v4 configuration files from a YAML file.