-
Notifications
You must be signed in to change notification settings - Fork 19
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
Change xconnect to bridge domain in case of remote vlan #634
Conversation
8d7be3c
to
134035a
Compare
4b9f347
to
c029a3e
Compare
8747488
to
00dee63
Compare
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) | ||
} |
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 do we tell this case from a non-vlan Ethernet Payload case?
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.
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.
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.
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.
1e143db
to
a14419f
Compare
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
a14419f
to
1539820
Compare
…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>
…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>
…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>
…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>
…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>
…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>
…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>
…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>
Signed-off-by: Laszlo Kiraly laszlo.kiraly@est.tech