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

[MACsec]: Support switchId and portId for gearbox #1717

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

byu343
Copy link
Contributor

@byu343 byu343 commented Apr 20, 2021

What I did
To support MACsec on Arista 7280cr3, which uses external gearbox chips, the switch Id and port Id used in MACsec SAI APIs have to be coming from the context of the gearbox chips. This change implements it by saving the Ids in initGearboxPort() and used them in MACsecOrchContext.

Why I did it

How I verified it

Details if related

Signed-off-by: Boyang Yu <byu@arista.com>
@lguohan
Copy link
Contributor

lguohan commented Apr 24, 2021

@Pterosaur , to review

@lguohan
Copy link
Contributor

lguohan commented Apr 24, 2021

@byu343 , can you enhance the vstest?

@Pterosaur
Copy link
Contributor

lgtm

@Pterosaur
Copy link
Contributor

/Azurepipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Pterosaur Pterosaur merged commit edc0883 into sonic-net:master Jun 22, 2021
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-swss that referenced this pull request Oct 5, 2021
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…ddress type (sonic-net#1717)

#### What I did
Update CLI reference document following PR : sonic-net/sonic-buildimage#8211
Add a new API on utilities_common to get IP type.

#### How I did it
- Update doc/Command-Reference.md with new DHCP CLI.
- Add ipaddress_type API to utilities_common/cli.py

#### How to verify it
- Build an image with PR sonic-net/sonic-buildimage#8211 and this PR.
- Run DHCP CLI commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants