sonic-buildimage/dockers
Andriy Yurkiv 38eef912e8
Enable PG drop counters by default, set default values only on the first start (#10935)
Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>

Backport form master
Appropriate PR on master: #7735
Appropriate PR on master #6444

Why I did it
PG drop counters should be enabled by default (merge from master)
After "config reload" or "docker swss restart" all counters were enabled even if they were disabled before

How I did it
1)Add PG drop counter enable option to dockers/docker-orchagent/enable_counters.py
2) Check if entry already exist before set default values

How to verify it
- install image and run counterpoll show CLI command and then you will see PG_STAT_DROP enabled
- Disable few counters
    counterpoll pg-drop disable
    counterpoll port disable
- Save and reload
   config save
   config reload
- Check enable status
2022-06-22 09:43:02 -07:00
..
docker-base [ci] Set default ACR in UpgrateVersion/PR/official pipeline. (#11002) 2022-06-22 17:33:20 +08:00
docker-base-stretch [ci] Set default ACR in UpgrateVersion/PR/official pipeline. (#11002) 2022-06-22 17:33:20 +08: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 [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-dhcp-relay [201911][Monit] Fix the template file of dhcp_relay (#8714) 2021-09-13 08:34:42 -07:00
docker-fpm-frr [bgp] Enable BGP Graceful Restart based on device role (#9486) 2022-04-01 09:43:53 -07:00
docker-fpm-gobgp [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-fpm-quagga Support readonly vtysh for sudoers (#7383) (#7572) 2021-05-19 09:02:16 +08:00
docker-lldp-sv2 [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-nat [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-orchagent Enable PG drop counters by default, set default values only on the first start (#10935) 2022-06-22 09:43:02 -07:00
docker-platform-monitor [Mellanox] [201911] Support new sensor conf file for MSN4700 A1/A0 (#7536) 2021-05-06 15:01:35 -07:00
docker-ptf [ci] Set default ACR in UpgrateVersion/PR/official pipeline. (#11002) 2022-06-22 17:33:20 +08: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][radv] Support multiple ipv6 prefixes per vlan interface and change radv interval to 3min (#10016) 2022-02-18 07:40:55 -08:00
docker-sflow [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-snmp-sv2 [buildfix-201911] Fix the snmp docker build error. (#7452) 2021-04-28 01:28:55 -07:00
docker-sonic-mgmt [ci] Set default ACR in UpgrateVersion/PR/official pipeline. (#11002) 2022-06-22 17:33:20 +08:00
docker-sonic-mgmt-framework [Security]: Upgrade urllib3 to fix CVE-2021-33503 2022-02-25 01:29:39 +00:00
docker-sonic-restapi [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-sonic-telemetry [201911][Monit] Restart telemetry container if memory usage is beyond the threshold (#7618) 2021-05-17 16:51:13 -07:00
docker-teamd [docker-teamd]: Increase teammgrd timeout to allow graceful shutdown. (#7662) 2021-05-27 11:24:59 -07:00
dockerfile-macros.j2 [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00