docker-sonic-alpinevs base code#37
Conversation
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
Includes the makefile and docker-sonic-alpinevs directory Signed-off-by: Sreemoolanathan Iyer <sbiyer@google.com>
|
/azp run |
|
No pipelines are associated with this pull request. |
sreeiyer-1
left a comment
There was a problem hiding this comment.
@sonikajindal - Copied comments from #34 to here.
| @@ -0,0 +1,2 @@ | |||
| #!/bin/sh | |||
| exit 0 | |||
There was a problem hiding this comment.
[sonikajindal] : What does this file do?
When 'show interfaces status' is executed, it calls get_routing_stack() in https://github.com/sonic-net/sonic-utilities/blob/9635c23a28bde82629b57b8c97bbae5481ddc159/show/main.py#L96 which has a 'docker ps' call.
Because of this in docker-sonic-alpinevs, 'show interface status' displays a 'docker: command not found" on the terminal before the actual output is printed (docker-sonic-vs prints that error). This is a dummy file to suppress that error message.
There was a problem hiding this comment.
Ack, lets add a comment in this file that this is dummy to support various "docker ps" calls which shud be a no-op in avs-lite
There was a problem hiding this comment.
Will add it in the next PR.
Includes the makefile and docker-sonic-alpinevs directory
Loosely based on docker-sonic-vs
orchagent.sh, p4rt.sh and telemetry.sh, and their associated j2 files, are copies of the files present under sonic-buildimage/dockers. These are the starting points of the respective processes
config_db.json is currently embedded and has a fixed configuration