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

fix: filtermechanisms chain element should work correctly when NSE/crossNSE registered with tcp url #475

Merged

Conversation

denis-tingaikin
Copy link
Member

Signed-off-by: Denis Tingajkin [email protected]

Motivation

#461

@denis-tingaikin denis-tingaikin changed the title Fix filter mechanisms Fix filtermechanisms chain element Sep 23, 2020
Signed-off-by: denis-tingajkin <[email protected]>
@denis-tingaikin denis-tingaikin marked this pull request as ready for review September 23, 2020 15:54
}

func (f *filterMechanismsServer) Request(ctx context.Context, request *networkservice.NetworkServiceRequest) (*networkservice.Connection, error) {
p, ok := peer.FromContext(ctx)
if ok {
if p.Addr.Network() == "unix" {
Copy link
Member Author

@denis-tingaikin denis-tingaikin Sep 23, 2020

Choose a reason for hiding this comment

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

Note: endpoint/crossnse could pass tcp URL for its local nsmgr on registration

Signed-off-by: denis-tingajkin <[email protected]>
@denis-tingaikin denis-tingaikin changed the title Fix filtermechanisms chain element fix: filtermechanisms chain element should work correctly when NSE/crossNSE registered with tcp url Sep 23, 2020
@edwarnicke edwarnicke merged commit d21b674 into networkservicemesh:master Sep 23, 2020
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Sep 23, 2020
…k@master networkservicemesh/sdk#475

networkservicemesh/sdk PR link: networkservicemesh/sdk#475

networkservicemesh/sdk commit message:
commit d21b6743422d22e1bccf118a3c80e01fa8732a8a
Author: Denis Tingaikin <[email protected]>
Date:   Wed Sep 23 23:16:26 2020 +0700

    fix: filtermechanisms chain element should work correctly when NSE/crossNSE registered with tcp url  (#475)

    * fix filtermechanisms chain element

    Signed-off-by: denis-tingajkin <[email protected]>

    * fix linter issues

    Signed-off-by: denis-tingajkin <[email protected]>

Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Sep 23, 2020
…k@master networkservicemesh/sdk#475

networkservicemesh/sdk PR link: networkservicemesh/sdk#475

networkservicemesh/sdk commit message:
commit d21b6743422d22e1bccf118a3c80e01fa8732a8a
Author: Denis Tingaikin <[email protected]>
Date:   Wed Sep 23 23:16:26 2020 +0700

    fix: filtermechanisms chain element should work correctly when NSE/crossNSE registered with tcp url  (#475)

    * fix filtermechanisms chain element

    Signed-off-by: denis-tingajkin <[email protected]>

    * fix linter issues

    Signed-off-by: denis-tingajkin <[email protected]>

Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Sep 23, 2020
…k@master networkservicemesh/sdk#475

networkservicemesh/sdk PR link: networkservicemesh/sdk#475

networkservicemesh/sdk commit message:
commit d21b6743422d22e1bccf118a3c80e01fa8732a8a
Author: Denis Tingaikin <[email protected]>
Date:   Wed Sep 23 23:16:26 2020 +0700

    fix: filtermechanisms chain element should work correctly when NSE/crossNSE registered with tcp url  (#475)

    * fix filtermechanisms chain element

    Signed-off-by: denis-tingajkin <[email protected]>

    * fix linter issues

    Signed-off-by: denis-tingajkin <[email protected]>

Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Sep 23, 2020
…k@master networkservicemesh/sdk#475

networkservicemesh/sdk PR link: networkservicemesh/sdk#475

networkservicemesh/sdk commit message:
commit d21b6743422d22e1bccf118a3c80e01fa8732a8a
Author: Denis Tingaikin <[email protected]>
Date:   Wed Sep 23 23:16:26 2020 +0700

    fix: filtermechanisms chain element should work correctly when NSE/crossNSE registered with tcp url  (#475)

    * fix filtermechanisms chain element

    Signed-off-by: denis-tingajkin <[email protected]>

    * fix linter issues

    Signed-off-by: denis-tingajkin <[email protected]>

Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/sdk-vppagent that referenced this pull request Sep 23, 2020
…k@master networkservicemesh/sdk#475

networkservicemesh/sdk PR link: networkservicemesh/sdk#475

networkservicemesh/sdk commit message:
commit d21b6743422d22e1bccf118a3c80e01fa8732a8a
Author: Denis Tingaikin <[email protected]>
Date:   Wed Sep 23 23:16:26 2020 +0700

    fix: filtermechanisms chain element should work correctly when NSE/crossNSE registered with tcp url  (#475)

    * fix filtermechanisms chain element

    Signed-off-by: denis-tingajkin <[email protected]>

    * fix linter issues

    Signed-off-by: denis-tingajkin <[email protected]>

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