sonic-buildimage/dockers
Tamer Ahmed afc952535e [mgmt-framework] Call sonic-cfggen Once (#4937)
Optimizing number of calls made to sonic-cfggen during service
start up as it adds to total system boot up time.

***-Test 1***
there is an average saving of 1 to 1.5 sec between old script and new script
```
root@str-s6000-acs-14:/# time /usr/bin/rest-server-old.sh
Generating temporary TLS server certificate ...
2020/07/09 19:03:33 wrote cert.pem
2020/07/09 19:03:33 wrote key.pem
REST_SERVER_ARGS = -ui /rest_ui -logtostderr -cert /tmp/cert.pem -key /tmp/key.pem
/usr/sbin/rest_server -ui /rest_ui -logtostderr -cert /tmp/cert.pem -key /tmp/key.pem

real	0m8.790s
user	0m7.993s
sys	0m0.584s
root@str-s6000-acs-14:/# time /usr/bin/rest-server-new.sh
Generating temporary TLS server certificate ...
2020/07/09 19:03:45 wrote cert.pem
2020/07/09 19:03:45 wrote key.pem
REST_SERVER_ARGS = -ui /rest_ui -logtostderr -cert /tmp/cert.pem -key /tmp/key.pem
/usr/sbin/rest_server -ui /rest_ui -logtostderr -cert /tmp/cert.pem -key /tmp/key.pem

real	0m6.940s
user	0m5.670s
sys	0m0.386s
```
***-Test 2***
Built an image with this change and rest server is running with params as described in test 1 above
```
admin@str-s6000-acs-14:~$ ps -ef | grep rest_server
root      3301  2866  2 02:09 pts/0    00:00:10 /usr/sbin/rest_server -ui /rest_ui -logtostderr -cert /tmp/cert.pem -key /tmp/key.pem

```

signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
2020-12-22 09:51:54 -08: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 [docker-base-stretch]: install rsyslog from stretch-backports (#5411) 2020-09-21 02:08:30 -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 [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
docker-dhcp-relay [dhcp-relay] Reduce Calls to SONiC Cfggen (#5175) 2020-12-22 09:51:54 -08:00
docker-fpm-frr [frr] Reduce Calls to SONiC Cfggen (#5176) 2020-12-22 09:51:54 -08:00
docker-fpm-gobgp [frr] Reduce Calls to SONiC Cfggen (#5176) 2020-12-22 09:51:54 -08:00
docker-fpm-quagga [frr] Reduce Calls to SONiC Cfggen (#5176) 2020-12-22 09:51:54 -08:00
docker-lldp-sv2 [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
docker-nat [dockers][supervisor] Increase event buffer size for dependent-startup (#5247) 2020-09-28 16:12:53 +00:00
docker-orchagent [swss] Reduce Calls to SONiC Cfggen (#5177) 2020-12-22 09:51:54 -08:00
docker-platform-monitor [thermalctld] Enlarge startretries value to avoid thermalctld not able to restart during regression test (#5633) 2020-11-03 08:19:19 -08:00
docker-ptf [docker-ptf] add gnmi python client (#4928) 2020-08-27 08:05:41 -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 [radv] Reduce Calls to SONiC Cfggen (#5178) 2020-12-22 09:51:54 -08:00
docker-sflow [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
docker-snmp-sv2 [snmp]: Reduce Calls to SONiC Cfggen (#5166) 2020-12-22 09:51:54 -08: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] Call sonic-cfggen Once (#4937) 2020-12-22 09:51:54 -08:00
docker-sonic-restapi [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
docker-sonic-telemetry [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
docker-teamd [multi-asic] teamdctl support for multi-asic (#5851) 2020-11-09 12:33:41 -08:00
dockerfile-macros.j2 [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00