-
Notifications
You must be signed in to change notification settings - Fork 1.8k
sysready #8889
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
sysready #8889
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,7 +51,27 @@ | |
| {%- if feature in ["lldp", "pmon", "radv", "snmp", "telemetry"] %} | ||
| "set_owner": "kube", {% else %} | ||
| "set_owner": "local", {% endif %} {% endif %} | ||
| "high_mem_alert": "disabled" | ||
| "high_mem_alert": "disabled", | ||
| {%- if feature in ["bgp", "swss", "pmon", "nat", "teamd", "dhcp_relay", "sflow", "l2mcd", "udld", "stp", "snmp", "lldp", "radv", "iccpd", "syncd", "vrrp", "mgmt-framework", "tam"] %} | ||
| "check_up_status" : "false" | ||
|
||
| {%- else %} | ||
| "check_up_status" : "false" | ||
| {%- endif %} | ||
| }{% if not loop.last %},{% endif -%} | ||
| {% endfor %} | ||
| }, | ||
| {%- set host_features = [("caclmgrd", false), | ||
| ("cron", false), | ||
| ("docker", false), | ||
| ("hostcfgd", false)] %} | ||
| "HOST_FEATURE": { | ||
| {%- for host_feature, check_up_status in host_features %} | ||
| "{{host_feature}}": { | ||
| {%- if host_feature in ["caclmgrd", "hostcfgd"] %} | ||
| "check_up_status" : "false" | ||
| {%- else %} | ||
| "check_up_status" : "false" | ||
| {%- endif %} | ||
| }{% if not loop.last %},{% endif -%} | ||
| {% endfor %} | ||
| } | ||
|
|
||
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.
dhcp_relay is now an application extension package. We should not have it hardcoded as we may have images with dhcp_relay and without it.
We need to add this new field here - https://github.com/Azure/sonic-utilities/blob/master/sonic_package_manager/service_creator/feature.py#L34.
And we need to add a new manifest variable to control whether "check_up_status" should be up true or false which will also be an indication whether docker implements marking the up_status flag in STATE_DB.