From 20b30ed516cdee0f1796473248042d08e881543a Mon Sep 17 00:00:00 2001 From: Prince <prince.sunny@microsoft.com> Date: Thu, 13 Aug 2020 01:54:04 +0000 Subject: [PATCH 1/2] Enable restapi if included in image --- files/build_templates/init_cfg.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { From 1fee05266606cb5514ee6d848a81507faebd492b Mon Sep 17 00:00:00 2001 From: Prince <prince.sunny@microsoft.com> Date: Thu, 13 Aug 2020 01:56:46 +0000 Subject: [PATCH 2/2] [Submodule update] sonic-restapi --- src/sonic-restapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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