Skip to content

[pull] master from Azure:master#917

Merged
pull[bot] merged 2 commits intopphuchar:masterfrom
sonic-net:master
Aug 12, 2020
Merged

[pull] master from Azure:master#917
pull[bot] merged 2 commits intopphuchar:masterfrom
sonic-net:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Aug 12, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

bratashX and others added 2 commits August 12, 2020 12:01
- [pcied] Fix path to pcie.yaml in pcied daemon (#84) 
>  0231b49

Signed-off-by: Petro Bratash <petrox.bratash@intel.com>
Calls to cfggen take considerable time. With batch mode, we will have the ability
to reduce number of calls from services.

Example of the batch mode command:
sonic-cfggen -t template-1.j2 -t template-2.j2,config-db -t template-3.j2,config-db -t template-4.j2,file1 -t template-5.j2,file2 --write-to-db.

template-1.j2 will be rendered to stdout since it is missing the dest part. stdout is default
config-db is a special keyword that will inject the rendered template into internal data structure. The internal data structure gets written to redis-db with --write-to-db switch. In the case the user would like to write to a file named config-db, it could be given as /config-db or ./config-db

signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
@pull pull bot added the ⤵️ pull label Aug 12, 2020
@pull pull bot merged commit f9edf6e into pphuchar:master Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants