sonic-buildimage/dockers
Tamer Ahmed 755319c37c [docker-orchagent] Call sonic-cfggen Once (#4936)
Optimizing number of calls made to sonic-cfggen during service
start up as it adds to total system boot up time.

signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>

**- Why I did it**
sonic-cfggen call is slow and it adds to system start up time

**- How I did it**
places all required variable into single template and called into sonic-cfggen using this template

**- How to verify it**
***-Test 1***
there is an average saving of .5 to 1 sec between old script and new script
```
root@str-s6000-acs-14:/# time ./orchagent_old.sh
/usr/bin/orchagent -d /var/log/swss -b 8192 -m f4:8e:38:16:bc:8d

real	0m3.546s
user	0m2.365s
sys	0m0.585s

root@str-s6000-acs-14:/# time ./orchagent_new.sh
/usr/bin/orchagent -d /var/log/swss -b 8192 -m f4:8e:38:16:bc:8d

real	0m2.058s
user	0m1.650s
sys	0m0.363s
```
***-Test 2***
Built an image with this change and orchagent is running with intended params:
```
admin@str-s6000-acs-14:~$ ps -ef | grep orchagent
root      2988  1901  1 02:09 pts/0    00:00:02 /usr/bin/orchagent -d /var/log/swss -b 8192 -m f4:8e:38:16:bc:8d
```

signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
2020-07-26 11:19:15 -07:00
..
docker-base Change the dpkg default behavior in slave, and docker-base, in order to prevent prompt (#3879) 2020-02-03 15:57:33 -08:00
docker-base-stretch [telemetry] Call sonic-cfggen Once (#4901) 2020-07-11 09:45:22 -07:00
docker-basic_router Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
docker-config-engine Remove unused packages in docker images and host (#2807) 2019-04-29 17:21:24 -07:00
docker-config-engine-stretch [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00
docker-database [sonic-buildimage] Changes to make network specific sysctl common for both host and docker namespace (#4838) 2020-07-05 15:32:30 -07:00
docker-dhcp-relay [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-fpm-frr [bgpcfgd]: Add Vlan prefix list to the FRR templates (#5005) 2020-07-26 11:17:29 -07:00
docker-fpm-gobgp [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-fpm-quagga [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-lldp-sv2 [201911][docker-lldp] Correct lldp-syncd program name in critical_processes file (#4863) 2020-06-28 11:09:27 -07:00
docker-nat [NAT]: Update the conntrack entries timeout to Max value after warmboot (#4596) 2020-07-26 11:18:42 -07:00
docker-orchagent [docker-orchagent] Call sonic-cfggen Once (#4936) 2020-07-26 11:19:15 -07:00
docker-platform-monitor [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-ptf [docker-ptf] Add support for spytest to ptf container (#4410) 2020-07-14 22:06:05 -07:00
docker-ptf-saithrift [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638) 2017-05-26 17:18:11 -07:00
docker-router-advertiser [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-sflow [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-snmp-sv2 [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-sonic-mgmt [mgmt docker] move pycryptodome installation to the end of the docker building (#4917) 2020-07-11 09:46:51 -07:00
docker-sonic-mgmt-framework [mgmt-framework]: Removing explicit libyang plugin path settings (#4144) 2020-03-19 22:20:07 -07:00
docker-sonic-restapi [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
docker-sonic-telemetry [telemetry] Call sonic-cfggen Once (#4901) 2020-07-11 09:45:22 -07:00
docker-teamd [201911][dockers] Update critical_processes file syntax (#4854) 2020-06-26 11:37:05 -07:00
dockerfile-macros.j2 [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00