sonic-buildimage/files/build_templates
abdosi 73bd647e44 Enhanced Feature Table state enable/disable for multi-asic platforms. (#5358)
* Enhanced Feature Table state enable/disbale for multi-asic platforms.
In Multi-asic for some features we can service per asic so we need to
get list of all services.

Also updated logic to return if any one of systemctl command return failure
and make sure syslog of feature getting enable/disable only come when
all commads are sucessful.

Moved the service list get api from sonic-util to sonic-py-common

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>

* Make sure to retun None for both service list in case of error.

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>

* Return empty list as fail condition

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>

* Address Review Comments.

Made init_cfg.json.j2 knowledegable of Feature
service is global scope or per asic scope

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>

* Fix merge conflict

* Address Review Comment.

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>

Co-authored-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>
2020-09-22 11:38:19 -07:00
..
per_namespace Multi-ASIC implementation (#3888) 2020-04-15 13:08:34 -07:00
buffers_config.j2 + Modified buffer config template to include internal ASIC with 5m ca… (#4959) 2020-08-19 15:07:44 -07:00
config-setup.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2020-01-21 10:39:19 -08:00
database.service.j2 Multi-ASIC implementation (#3888) 2020-04-15 13:08:34 -07:00
dhcp_relay.service.j2 [services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (#3823) 2019-11-26 16:59:45 -08:00
docker_image_ctl.j2 [redis] Add redis Group And Grant Read/Write Access to Members (#5289) 2020-09-04 21:16:16 +00:00
init_cfg.json.j2 Enhanced Feature Table state enable/disable for multi-asic platforms. (#5358) 2020-09-22 11:38:19 -07:00
lldp.service.j2 Changes for LLDP docker to support multi-npu platforms (#4530) 2020-05-20 07:51:49 -07:00
mgmt-framework.service.j2 [services][mgmt-framework] delay mgmt-framework service on boot (#5226) 2020-09-04 21:22:12 +00:00
mgmt-framework.timer [services][mgmt-framework] delay mgmt-framework service on boot (#5226) 2020-09-04 21:22:12 +00:00
nat.service.j2 [services] remove swss from WantedBy for nat service (#4991) 2020-07-26 11:11:35 -07:00
organization_extensions.sh Framework to plugin Organization specific scripts during ONIE Image build (#951) 2017-09-19 16:23:31 -07:00
pmon.service.j2 [Services] Restart Platform-monitor service upon unexpected critical process exit. (#3689) 2019-11-04 17:44:01 -08:00
process-reboot-cause.timer [reboot cause]: Delay process-reboot-cause service until network connection is stable (#4003) 2020-01-21 10:47:13 -08:00
qos_config.j2 [qos]: Alpha and ECN settings change for Th (#4564) 2020-05-09 18:13:10 -07:00
radv.service.j2 [services] improve startup time by changing startup order (#3656) 2019-10-31 09:18:26 -07:00
restapi.service.j2 Start RestAPI container when sonic boots (#4140) 2020-02-24 10:16:02 -08:00
sflow.service.j2 [services] sflow service sets swss service as Requisite=, not Requires= (#3819) 2020-01-02 14:29:11 -08:00
snmp.service.j2 [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
snmp.timer [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
sonic_debian_extension.j2 [services][mgmt-framework] delay mgmt-framework service on boot (#5226) 2020-09-04 21:22:12 +00:00
telemetry.service.j2 [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
telemetry.timer [services] make snmp.timer work again and delay telemetry.service (#3742) 2020-01-06 10:32:24 -08:00
updategraph.service.j2 [config-setup]: create a SONiC configuration management service (#3227) 2020-01-21 10:39:19 -08:00