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

Add routerlocalnet server chain element #465

Merged
merged 1 commit into from
May 10, 2022

Conversation

rejmond
Copy link

@rejmond rejmond commented May 10, 2022

Signed-off-by: Sergey Shlyanin [email protected]

Issue

#464


mechanism := kernel.ToMechanism(request.GetConnection().GetMechanism())
if mechanism != nil && mechanism.GetRouteLocalNet() {
err := enableRouteLocalNet(mechanism.GetInterfaceName())
Copy link
Member

Choose a reason for hiding this comment

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

Could we inline enableRouteLocalNet here. Its pretty simple, and then one can scan a single simple function rather than having to change context to the function.

Copy link
Author

Choose a reason for hiding this comment

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

Done.

@edwarnicke edwarnicke merged commit 127617b into networkservicemesh:main May 10, 2022
nsmbot pushed a commit to networkservicemesh/sdk-sriov that referenced this pull request May 10, 2022
…k-kernel@main

PR link: networkservicemesh/sdk-kernel#465

Commit: 127617b
Author: Ed Warnicke
Date: 2022-05-10 09:08:29 -0500
Message:
  - Merge pull request #465 from rejmond/issue-464
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/sdk-vpp that referenced this pull request May 10, 2022
…k-kernel@main

PR link: networkservicemesh/sdk-kernel#465

Commit: 127617b
Author: Ed Warnicke
Date: 2022-05-10 09:08:29 -0500
Message:
  - Merge pull request #465 from rejmond/issue-464
Signed-off-by: NSMBot <[email protected]>
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.

2 participants