Create a shadow ZTP data json file accessible to non-root user#21
Open
rajendra-dendukuri wants to merge 1 commit intosonic-net:201911from
Open
Create a shadow ZTP data json file accessible to non-root user#21rajendra-dendukuri wants to merge 1 commit intosonic-net:201911from
rajendra-dendukuri wants to merge 1 commit intosonic-net:201911from
Conversation
To allow non-root user to view status information, a shadow file for the current ztp_data.json is created. The shadow file (ztp_data_shadow.json) contains only status information which does not provide knowledge of url's of the configuration scripts used for ztp. The ztp_data_shadow.json file is updated everytume ztp_data.json is updated. The ztp_data_shadow.json is accessible to non-root user as well while ztp_data.json is accessible only to root user and has more information about the url's where configuration scripts can be downloaded from. Signed-off-by: Rajendra Dendukuri <rajendra.dendukuri@broadcom.com>
Collaborator
Author
shlomibitton
approved these changes
Nov 17, 2020
liat-grozovik
approved these changes
Dec 29, 2020
|
Who is the ztp maintainer that can approve and merge it? |
Collaborator
|
Collaborator
Author
|
/easycla |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To allow non-root user to view status information, a shadow file for the current
ztp_data.json is created. The shadow file (ztp_data_shadow.json) contains only
status information which does not provide knowledge of url's of the
configuration scripts used for ztp. The ztp_data_shadow.json file is updated
everytume ztp_data.json is updated. The ztp_data_shadow.json is accessible to
non-root user as well while ztp_data.json is accessible only to root user and
has more information about the url's where configuration scripts can be downloaded
from.