update GoBGP to v3.26.0 #162
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "wrgeorge1983/161_update_GoBGP"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
troubleshooting for #161 made it clear what's actually going on is just need to target the newer release.
With these changes I was able to get GoBGP working
looking at the original go.mod it was targeting v2.4.0 (circa 2019). v3.0.0 came out in 2022.
Since I don't have any detailed knowledge, I assumed "latest is best" and targeted 3.26.0 here, but imagine any other semi-recent releases would work as well.
Most of the changes come down to using "asn" in field names instead of "as" and "ASNumber".
also change to the enum AddPeerMode enum (line 90 pkg/sources/gobgp/apiutil/capability.go) of appears correct (IDE says so!), but I don't know enough Go to be certain.
Let me know if you want any more info or changes!
Checkout
From your project repository, check out a new branch and test the changes.