Skip to content
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

[Feature]: Add AutoGen from Policy to XML #356

Open
os-d opened this issue May 23, 2024 · 1 comment
Open

[Feature]: Add AutoGen from Policy to XML #356

os-d opened this issue May 23, 2024 · 1 comment
Assignees
Labels
state:needs-triage Needs to triaged to determine next steps type:feature-request A new feature proposal urgency:medium Important with a moderate impact

Comments

@os-d
Copy link
Contributor

os-d commented May 23, 2024

Feature Overview

Many end consumers of config knobs use policy from PolicyServicePkg to get their configuration options. To enable a platform to easily create config knobs that map 1:1 with the policy, create a tool that will generate XML from a given policy structure. This will be intended to help during tuning time and that a platform will craft their configuration options to be meaningful to their platform after this point.

Solution Overview

See above.

Alternatives Considered

No response

Urgency

Medium

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

@os-d os-d added type:feature-request A new feature proposal state:needs-triage Needs to triaged to determine next steps labels May 23, 2024
@os-d os-d self-assigned this May 23, 2024
@github-actions github-actions bot added the urgency:medium Important with a moderate impact label May 23, 2024
@MarcChen46
Copy link
Contributor

Since the XML has multiple fields like name, type, default, help, and the config knob may use a customized type that need to declare Enum, in that case, we may need to define a rule how to put those information in policy structure with comment well, then the tool could generate all the required elements in XML files accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:needs-triage Needs to triaged to determine next steps type:feature-request A new feature proposal urgency:medium Important with a moderate impact
Projects
None yet
Development

No branches or pull requests

2 participants