summaryrefslogtreecommitdiffhomepage
path: root/pkg/server
AgeCommit message (Collapse)Author
2018-10-23server: deal with mac mobility seqence number in path from apiwanghonghao
2018-10-21Supporting Zebra API version 6 which is used in FRRouting version 6Hitoshi Irino
2018-09-18fsm: get rid of dead lockwanghonghao
2018-08-31fix closing listening socket blockedFUJITA Tomonori
with go v1.11, closing a listening socket is blocked and unittests fail due to timeout. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-28api: remove unused membersFUJITA Tomonori
fixes #1816 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-28api: change FamilyFUJITA Tomonori
fixes #1812 Avoid the cast and use strightforward data strcuture; two variables for afi and safi instead of squashing two into one variable. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-27Release read lock before calling llgrFamiliesCarl Baldwin
llgrFamilies gets a read lock itself but the caller already has one. Deadlock occurs when another goroutine is blocked on a write lock. Addresses #1818
2018-08-23policy cleanupFUJITA Tomonori
- remove ReplaceDefinedSet and ReplaceStatement APIs; not intutive and should create a new one instead of modifying the existing. - Rename ReplacePolicyAssignment to SetPolicyAssignment API; we use internally SetPolicy() name from the beginning. - Rename UpdatePolicy() to SetPolicies() API; It doesn't update anything so the name is confusing. It discards the all policies and create policies from the argument. - Changes some member names in structures for policy. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-18pkg/server: ListPolicyAssignment() returns all assignments by defaultFUJITA Tomonori
Like other ListPolicy*() functions, if no conditions are specified, all assignments are returned. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-18ZAPI5 (FRRouting version 5) supportHitoshi Irino
2018-08-17ignore duplicate RTC Membership announcementsMarcin Ptaszynski
2018-08-16pkg/server: handleUpdate() should not inject echo route from RRYichen Wang
2018-08-16pkt/server: ListPolicy() and ListStatement() support filtering like ↵FUJITA Tomonori
ListDefinedSet() and ListPolicyAassignment() Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-10pkg/server: public APIs use structures in api/FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-08rpc cleanupFUJITA Tomonori
- clean up RPC function names - rewrite gobgp command to use the api instead of config package - delete unused client package Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-24pkg/server: send all families (including RTC) after deferral time expiredFUJITA Tomonori
fixes #1788 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-24fix unittest warnings with go tipFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-19fix races and enable race detector in unittestjhserrano
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-16use function Equal() instead of build-in comparewanghonghao
2018-07-15pkg/server: enable active connection with graceful restartFUJITA Tomonori
No reason why active connection with graceful restart is disabled. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-15fsm: Connect to bgp peers regardless of whether the peers are restartingwanghonghao
2018-07-14fix missing EbgpMultihop configtamihiro
2018-07-08remove package dependency except for grpc in api/FUJITA Tomonori
Nothing except for protobuf IDL files and files generated by protobuf in api/. Try to make the APIs portable to any languages. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-07follow Standard Go Project LayoutFUJITA Tomonori
https://github.com/golang-standards/project-layout Now you can see clearly what are private and public library code. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>