-
Notifications
You must be signed in to change notification settings - Fork 543
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
Add mgmt VRF support. #3299
Add mgmt VRF support. #3299
Conversation
This PR depends on sonic-net/sonic-swss-common#920 merge first. |
/azpw run Azure.sonic-swss |
/AzurePipelines run Azure.sonic-swss |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-swss |
/AzurePipelines run Azure.sonic-swss |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-swss |
/AzurePipelines run Azure.sonic-swss |
Azure Pipelines successfully started running 1 pipeline(s). |
case 'v': | ||
if (optarg) | ||
{ | ||
vrf = optarg; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is it used? #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When mgmt VRF feature enabled, orchagent need start with "-v mgmt" parameter. "mgmt" is the VRF name.
Here is the code change:
sonic-net/sonic-buildimage#20345
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part of code can't cover by VS test because VS test does not enable VRF.
There already VRF test case failed in sonic-mgmt, and will fix by this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add a test case for code coverage
/azpw run Azure.sonic-swss |
/AzurePipelines run Azure.sonic-swss |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks good to me, but I'm not sure whether there is a same issue on the Redis channel. Should we have an ADO for tracking it?
@prsunny @qiluo-msft
/azpw run Azure.sonic-swss |
/AzurePipelines run Azure.sonic-swss |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-swss |
/AzurePipelines run Azure.sonic-swss |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-swss |
/AzurePipelines run Azure.sonic-swss |
Azure Pipelines successfully started running 1 pipeline(s). |
Add mgmt VRF support. #### Why I did it Fix following issue: sonic-net/sonic-buildimage#19638 ### How I did it Add VRF parameter and bind ZMQ to VRF. #### How to verify it Pass all UT. Manually verify issue fixed. ### Description for the changelog Add mgmt VRF support.
Add mgmt VRF support. #### Why I did it Fix following issue: sonic-net/sonic-buildimage#19638 ### How I did it Add VRF parameter and bind ZMQ to VRF. #### How to verify it Pass all UT. Manually verify issue fixed. ### Description for the changelog Add mgmt VRF support.
Add mgmt VRF support. #### Why I did it Fix following issue: sonic-net/sonic-buildimage#19638 ### How I did it Add VRF parameter and bind ZMQ to VRF. #### How to verify it Pass all UT. Manually verify issue fixed. ### Description for the changelog Add mgmt VRF support.
Add mgmt VRF support.
Why I did it
Fix following issue:
sonic-net/sonic-buildimage#19638
Work item tracking
How I did it
Add VRF parameter and bind ZMQ to VRF.
How to verify it
Pass all UT.
Manually verify issue fixed.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Add mgmt VRF support.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)