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

Change xconnect to bridge domain in case of remote vlan #634

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

ljkiraly
Copy link
Contributor

@ljkiraly ljkiraly commented Sep 1, 2022

Signed-off-by: Laszlo Kiraly laszlo.kiraly@est.tech

@ljkiraly ljkiraly force-pushed the vlan-xconn-to-bridge branch 3 times, most recently from 8d7be3c to 134035a Compare September 7, 2022 15:10
@ljkiraly ljkiraly force-pushed the vlan-xconn-to-bridge branch 2 times, most recently from 4b9f347 to c029a3e Compare October 25, 2022 12:59
@ljkiraly ljkiraly force-pushed the vlan-xconn-to-bridge branch 2 times, most recently from 8747488 to 00dee63 Compare November 3, 2022 15:57
@ljkiraly ljkiraly requested a review from zolug November 3, 2022 15:59
@ljkiraly ljkiraly marked this pull request as ready for review November 8, 2022 13:33
func (v *l2BridgeDomainServer) Request(ctx context.Context, request *networkservice.NetworkServiceRequest) (*networkservice.Connection, error) {
if request.GetConnection().GetPayload() != payload.Ethernet {
return next.Server(ctx).Request(ctx, request)
}
Copy link
Member

Choose a reason for hiding this comment

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

How do we tell this case from a non-vlan Ethernet Payload case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At the beginning of function addBridgeDomain there is a check if there is a vlan_id stored for the connection context. The function returns immediately if this is missing. The VLAN ID is stored when the sub-interface is created.

Copy link
Member

Choose a reason for hiding this comment

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

Might be good to make this clearer by putting such a check up at the top of request so its clear to the reader when we do or don't carry out this chain.

@ljkiraly ljkiraly force-pushed the vlan-xconn-to-bridge branch 3 times, most recently from 1e143db to a14419f Compare November 15, 2022 21:22
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
@edwarnicke edwarnicke merged commit df106db into networkservicemesh:main Nov 16, 2022
nsmbot pushed a commit to networkservicemesh/cmd-nsc-simple-docker that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsc-vpp that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-forwarder-vpp that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-firewall-vpp that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-icmp-responder-vpp that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-simple-vl3-docker that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vl3-vpp that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vlan-vpp that referenced this pull request Nov 16, 2022
…k-vpp@main

PR link: networkservicemesh/sdk-vpp#634

Commit: df106db
Author: Laszlo Kiraly
Date: 2022-11-16 18:54:33 +0100
Message:
  - Change xconnect to bridge domain in case of remote vlan (#634)
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
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