Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chassis] Added support of subtype for SpineRouter as UpstreamLC/DownStreamLC/Supervisor #20566

Merged
merged 16 commits into from
Nov 8, 2024

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Oct 22, 2024

What I did:
Added support of subtype for SpineRouter as UpstreamLC/DownStreamLC/Supervisor
It is done using MacSec Device Property. Macsec is enable on upstreamLC

Why I did:
subtype is used by this PR: #20224

How I verify:
Manual Testing
UT added.

abdosi and others added 13 commits June 4, 2024 21:34
This reverts commit 598ab99.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Without this it causes Yang Validation failure for Systems that are Pure
L2/Chassis Supervisor (no BGP) as Yang expects bgp_asn as valid
as_number

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Basically handle any exception when calling API
get_device_runtime_metadata() and go for retry.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@abdosi abdosi requested a review from qiluo-msft as a code owner October 22, 2024 01:04
@abdosi abdosi requested review from arlakshm and judyjoseph and removed request for qiluo-msft October 22, 2024 01:05
abdosi and others added 3 commits October 30, 2024 13:14
Copy link
Contributor

@judyjoseph judyjoseph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rlhui rlhui merged commit 54b137c into sonic-net:master Nov 8, 2024
22 checks passed
@abdosi
Copy link
Contributor Author

abdosi commented Nov 8, 2024

@yejianquan for cherry-pick 202405 branch

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Nov 8, 2024
…StreamLC/Supervisor (sonic-net#20566)

Added support of subtype for SpineRouter as UpstreamLC/DownStreamLC/Supervisor
It is done using MacSec Device Property. Macsec is enable on upstreamLC

---------

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #20736

mssonicbld pushed a commit that referenced this pull request Nov 13, 2024
…StreamLC/Supervisor (#20566)

Added support of subtype for SpineRouter as UpstreamLC/DownStreamLC/Supervisor
It is done using MacSec Device Property. Macsec is enable on upstreamLC

---------

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
aidan-gallagher pushed a commit to aidan-gallagher/sonic-buildimage that referenced this pull request Nov 16, 2024
…StreamLC/Supervisor (sonic-net#20566)

Added support of subtype for SpineRouter as UpstreamLC/DownStreamLC/Supervisor
It is done using MacSec Device Property. Macsec is enable on upstreamLC

---------

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
arlakshm pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Nov 27, 2024
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>
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 30, 2024
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>
mssonicbld pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Nov 30, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

6 participants