Skip to content

Commit

Permalink
[swss_vars]: Add 'resource_type' attribute. (sonic-net#7526)
Browse files Browse the repository at this point in the history
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
  • Loading branch information
nazariig authored and raphaelt-nvidia committed May 13, 2021
1 parent 780fa69 commit 13600ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/build_templates/swss_vars.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"asic_type": "{{ asic_type }}",
"asic_id": "{{ DEVICE_METADATA.localhost.asic_id }}",
"mac": "{{ DEVICE_METADATA.localhost.mac }}",
"resource_type": "{{ DEVICE_METADATA.localhost.resource_type }}",
"synchronous_mode": {% if DEVICE_METADATA.localhost.synchronous_mode == "disable" %}"disable"{% else %}"enable"{% endif %}
}

0 comments on commit 13600ec

Please sign in to comment.