summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-05-08server: replace github.com/satori/go.uuidFUJITA Tomonori
satori/go.uuid broke the API without the major version updated. We could work around this with the module feature but looks like there is a better option, google/uuid, so let's replace it. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-05-08zebra: supporting FRRouting version 7Hitoshi Irino
- the "version" parameter (which means ZAPI) 6 in zebra config changes supporting FRRouting version 7 instead of FRRouting version 6. - the "software-name" parameter which supports backward compatibility is added in zebra config. (GoBGP support FRRouting version 6 when "version = 6" and "software-name = frr6" is configured.)
2019-05-02Consolidate duplicate code blocks both updating peer groupsCarl Baldwin
There were only two differences: 1) the first block updates `updatePolicy` and 2) the log statements are a little bit different (`pg.State` vs `pg.Config` and `%v` vs `%s`). To be consistent with the other blocks above it, changed to use `pg.Config` rather than `pg.State`.
2019-05-02v2.4.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-05-01zebra: using LABEL_MANAGER_CONNECT_ASYNC instead of LABEL_MANAGER_CONNECTHitoshi Irino
2019-04-16server: make ListPath API show filtered pathsFUJITA Tomonori
This adds the feature to show filtered paths by policies to ListPath API. with EnableFiltered in ListPathRequest enabled: - ListPath for adj-in sets filtered on paths filtered by policys - ListPath for adj-out includes paths filtered by policys with filtered set. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-12table: delete unused reason in Path structFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-12travis: simplify unit test commandFUJITA Tomonori
vendor directory doesn't exist anymore. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-11README: drop the mailing listFUJITA Tomonori
Seems that the mailing list is unpopular nowadays. Let's focus on github and slack. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-11cmd/gobgp: Parse evpn IPMSI parameterJieJhih Jhang
2019-04-10docs: add how policy and soft reset worksFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-10Add evpn I-PMSI to proto fileJieJhih Jhang
2019-04-09fsm: not reject open message with restart flag unset from gr peerwanghonghao
2019-04-08scenario_test: fix malfunctional testNasato Goto
2019-04-06add script to generate api/gobgp.pb.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-05update module dependencyFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-04test: switch to module from dep completelyFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-03docs: update BUILD.md for module supportFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-02server: fix path validatoin result regressionFUJITA Tomonori
Somehow the state isn't updated. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-02add secondary-route feature for router serverFUJITA Tomonori
if an export policy rejects a selected route, try the next route in order until one that is accepted is found or all routes for the peer are rejected. the default is disabled. You can enable this feature in the following way: [neighbors.route-server.config] route-server-client = true secondary-route = true Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-02v2.3.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-01server: fix passive-modeFUJITA Tomonori
passive mode configuration is just ignored. Fixed it to work. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-29docs: update image of route server policy modelNasato Goto
Corresponding to Single RIB structure.
2019-03-29server: fix ListPath handle UseMultiPath optionFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-26Implement evpn I-PMSIJieJhih Jhang
2019-03-26fix same issues in other filesJieJhih Jhang
2019-03-26Use Itoa method instead sprintfJieJhih Jhang
2019-03-26server: handle grpc listen failure as fatal errorFUJITA Tomonori
Fixed the bug to ignore grpc listen failure. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-25support BMP sysName and sysDescr configurationJieJhih Jhang
2019-03-25travis: update go version to 1.12FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-24server: broadcast BMPPeerDownMessage for peer deletionFUJITA Tomonori
Sends peerdown message when a peer is de-condigured and down. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-24cmd/gobgp: fix RPKI result in neighbor policy commandNasato Goto
2019-03-24fix race of peer deletionFUJITA Tomonori
Fixed a race bug that causes the unittest failure. Also fixed StopBgp() to block until all the peers are deleted cleanly. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-24table: fix Path.SetLargeCommunities not to set vacant communities valueNasato Goto
2019-03-21pkg/packet/bgp: avoid crash when receiving an update with invalid AS_PATH lenEiichiro Watanabe
2019-03-21pkg/packt/bgp: add test when receiving an update with invalid AS_PATH LengthEiichiro Watanabe
2019-03-17Deleteing goroutine for assignMplsLabel and moveing code relating MPLS L3VPN ↵Hitoshi Irino
(introduced from PR osrg#1992, commit 3a79ad3) from table_manager.go to zclient.go
2019-03-16Fixed typoszabio3
2019-03-14pkg/server: fix global rib summary commandFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-14contrib: update the service systemdRobin Douine
2019-03-14cmd/gobgp: use sd_notify protocol to notify the status change to systemdRobin Douine
2019-03-14Updating documet integrating with FRRouting and use of mpls-label-range-size.Hitoshi Irino
2019-03-14Refactoring source code for BGP/MPLS L3VPN with ZAPI 6Hitoshi Irino
- Deleting receiveVrfId (which is introduced on 2 previous commit 90eeb5de870b95345650e3ee98741e040a0b6e93) from Path struct and Introducing pathVrf Map in zclient. - Recovering logic (which is changed on 1 previous commit acfd5bedb6d94775392200db597a5ac420b31b2e) to use assignMplsLabel in server.go. - Refectoring zclient's newIPRouteBody for deleating duplicate logic for IPv4 and IPv6.
2019-03-14Fix bug using variable of zclient in AddVrf of server.go.Hitoshi Irino
2019-03-14Supporting BGP/MPLS L3VPNs with Frrouting Zebra API 6Hitoshi Irino
- This commit aims to solve reported problem on issues #1611, #1648 and #1912 - Partial changes of this commit duplicate with changes on PR #1587 (not merged) and PR #1766 (not merged and already closed) - This commit is tested with only FRRouting version 6.0.2 (which uses Zebra API 6) - This commit fixes lack of LABEL_MANAGER_CONNECT_ASYNC for ZAPI6. (This bug is introduced on commit 2bdb76f2dcf24b891f2b6327a57c31b26463b2dd "Supporting Zebra API version 6 which is used in FRRouting version 6")
2019-03-05doc: fix "del" command for removing a neighborVincent Bernat
`gobgp neighbor delete` doesn't work. We need to use `gobgp neighbor del`.
2019-03-02v2.2.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-02-19docs: add v6 route example to libFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-02-18docs: delete the description of obsolete mrt cli commandsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-02-18cmd/gobgp: fix non existing neighbor crashFUJITA Tomonori
Fixes some crash bugs when non existing neighbor is specified. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>