-
Notifications
You must be signed in to change notification settings - Fork 13
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
VRF: move from cloud
APIs to evpn-gw
APIs
#66
Conversation
2f8af5c
to
558dee6
Compare
cloud
APIs to evpn-gw
APIs
9eab3d2
to
522e181
Compare
Codecov Report
@@ Coverage Diff @@
## main #66 +/- ##
==========================================
- Coverage 36.88% 34.23% -2.65%
==========================================
Files 5 5
Lines 686 739 +53
==========================================
Hits 253 253
- Misses 412 465 +53
Partials 21 21
|
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
f06e310
to
4828d4f
Compare
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
As agreed on the OPI commiunity meeting Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
fmt.Printf("Failed to add Bridge to VRF: %v", err) | ||
return nil, err | ||
} | ||
// Example: ip link set br100 addr aa:bb:cc:00:00:02 |
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.
ip link set br100 addr aa:bb:cc:00:00:02 type bridge
I think this is the correct command. Not sure if there is any difference. This is for setting the router MAC I believe
fmt.Printf("Failed to up Bridge link: %v", err) | ||
return nil, err | ||
} | ||
// Example: ip link add vni100 type vxlan local 10.0.0.4 dstport 4789 id 100 nolearning |
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.
ip link add vni100 type vxlan local 10.0.0.4 dstport 4789 id 100 nolearning proxy
I think this is the right command.
fmt.Printf("Failed to create Vxlan link: %v", err) | ||
return nil, err | ||
} | ||
// Example: ip link set vni100 master br100 addrgenmode none |
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.
ip link set vni100 master br100
This is the command that we have used. Not sure if the difference plays a role.
Merging this PR and opened few issues to address the gaps from the code review |
CreateTunnel
andCreateSubnet
intoCreateVrf
Signed-off-by: Boris Glimcher Boris.Glimcher@emc.com