Skip to content

Commit

Permalink
[Chassis] Added MacSecEnabled as DeviceProperty (#15706)
Browse files Browse the repository at this point in the history
What I did:

As per PR: sonic-net/sonic-buildimage#20566 we need MacSecEnabled property to mark Chassis LC's as Upstream or DownStream.

How I did:
For T2 topo dut index == 0 is upstream lc (macsec) and all other LC's are downstream (non-macsec). For supervisor MacSecEnabled property does not exist.

How I verify:
Manual Verification.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
  • Loading branch information
abdosi authored and mssonicbld committed Nov 30, 2024
1 parent 52bbe7b commit e7a8030
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ansible/templates/minigraph_meta.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@
<a:Reference i:nil="true"/>
<a:Value>Profile0</a:Value>
</a:DeviceProperty>
{% if 't2' in topo %}
{% if card_type is not defined or card_type != 'supervisor' %}
<a:DeviceProperty>
<a:Name>MacSecEnabled</a:Name>
<a:Reference i:nil="true"/>
{% if dut_index|int == 0 %}
<a:Value>True</a:Value>
{% else %}
<a:Value>False</a:Value>
{% endif %}
</a:DeviceProperty>
{% endif %}
{% endif %}
{% if 'dualtor' in topo %}
<a:DeviceProperty>
<a:Name>GeminiEnabled</a:Name>
Expand Down

0 comments on commit e7a8030

Please sign in to comment.