From 3fee094760bc433d8aa3bf5ed7bc5c8ff65738c9 Mon Sep 17 00:00:00 2001 From: Prince Sunny Date: Thu, 13 Aug 2020 11:29:49 -0700 Subject: [PATCH] Enable restapi, update sonic-restapi (#5169) * Enable restapi if included in image * [Submodule update] sonic-restapi --- files/build_templates/init_cfg.json.j2 | 2 +- src/sonic-restapi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/build_templates/init_cfg.json.j2 b/files/build_templates/init_cfg.json.j2 index 63d54989f5d0..334593a9d3cc 100644 --- a/files/build_templates/init_cfg.json.j2 +++ b/files/build_templates/init_cfg.json.j2 @@ -30,7 +30,7 @@ {%- if include_iccpd == "y" %}{% do features.append(("iccpd", "disabled", "enabled")) %}{% endif %} {%- if include_mgmt_framework == "y" %}{% do features.append(("mgmt-framework", "enabled", "enabled")) %}{% endif %} {%- if include_nat == "y" %}{% do features.append(("nat", "disabled", "enabled")) %}{% endif %} -{%- if include_restapi == "y" %}{% do features.append(("restapi", "disabled", "enabled")) %}{% endif %} +{%- if include_restapi == "y" %}{% do features.append(("restapi", "enabled", "enabled")) %}{% endif %} {%- if include_sflow == "y" %}{% do features.append(("sflow", "disabled", "enabled")) %}{% endif %} {%- if include_system_telemetry == "y" %}{% do features.append(("telemetry", "enabled", "enabled")) %}{% endif %} "FEATURE": { diff --git a/src/sonic-restapi b/src/sonic-restapi index ed640ac1f917..d821e5a9d85f 160000 --- a/src/sonic-restapi +++ b/src/sonic-restapi @@ -1 +1 @@ -Subproject commit ed640ac1f917f52c2298c0b799fb6a6cfbecccb4 +Subproject commit d821e5a9d85f346942e694698b8b75b5bddea902