From 0e970582c1b611c006018aa47edaa70ff7e5aa91 Mon Sep 17 00:00:00 2001 From: Nazarii Hnydyn Date: Mon, 3 May 2021 20:38:11 +0300 Subject: [PATCH] [swss_vars]: Add 'resource_type' attribute. (#7188) Signed-off-by: Nazarii Hnydyn --- files/build_templates/swss_vars.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/build_templates/swss_vars.j2 b/files/build_templates/swss_vars.j2 index a9bd01565c..d720a61e67 100644 --- a/files/build_templates/swss_vars.j2 +++ b/files/build_templates/swss_vars.j2 @@ -2,5 +2,6 @@ "asic_type": "{{ asic_type }}", "asic_id": "{{ DEVICE_METADATA.localhost.asic_id }}", "mac": "{{ DEVICE_METADATA.localhost.mac }}", - "synchronous_mode": {% if DEVICE_METADATA.localhost.synchronous_mode == "disable" %}"disable"{% else %}"enable"{% endif %} + "synchronous_mode": {% if DEVICE_METADATA.localhost.synchronous_mode == "disable" %}"disable"{% else %}"enable"{% endif %}, + "resource_type": "{{ DEVICE_METADATA.localhost.resource_type }}" }