summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-09-29Add version to zebra-config in gobgp.yang.kishiguro
2016-09-29Apply previous change's to test as well.kishiguro
2016-09-29Support of ZAPI version 3 (handles VRF ID).kishiguro
2016-09-28tools: use forked openconfig repositoryFUJITA Tomonori
Use the specific commit id. [ci skip] Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-28table: MP_UNREACH_NLRI shouldn't carry any other path attributesFUJITA Tomonori
RFC4760 says: An UPDATE message that contains the MP_UNREACH_NLRI is not required to carry any other path attributes. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-25cli: add description to PeerConf structWataru Ishida
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-16docs: add a reference to route server RFCWataru Ishida
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-16server/table: don't modify/delete path attributes for route server clientWataru Ishida
RFC7947 2.2 says Optional recognized and unrecognized BGP attributes, whether transitive or non-transitive, SHOULD NOT be updated by the route server (unless enforced by local IXP operator configuration) and SHOULD be passed on to other route server clients Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-15bgp/cli: support evpn route type 5 (ip prefix advertisement)Wataru Ishida
see draft-ietf-bess-evpn-prefix-advertisement-03 $ gobgp g ri -a evpn add prefix 10.0.0.0/24 etag 20 rd 100:100 rt 100:100 gw 10.10.10.10 label 100 $ gobgp g ri -a evpn add prefix 200::/64 etag 20 rd 100:100 rt 100:100 gw 200::1 label 10000 close #1082 Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-15bgp/cli: support flowspec ip-proto/ether-type range matchWataru Ishida
$ gobgp g ri -a ipv4-flowspec add match protocol '>tcp' then accept $ gobgp g ri -a ipv4-flowspec add match protocol '>40&<50' then accept $ gobgp g ri -a l2vpn-flowspec add rd 100:100 match ether-type '>ipv4' then accept close #1084 Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-14travis: use global environment variable for DOCKER_IMAGEFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-14bgp/cli: Support Large CommunityWataru Ishida
see https://tools.ietf.org/html/draft-heitz-idr-large-community-04 Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-14bgp: support latest Opaque Signaling draftWataru Ishida
see https://tools.ietf.org/html/draft-lapukhov-bgp-opaque-signaling-02 $ gobgp global rib -a opaque add key hello value world $ gobgp global rib -a opaque del key hello Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-14travis: divide scenario tests to multiple travis jobsWataru Ishida
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-13server/table: fix a bug of vrf route injectionWataru Ishida
regression due to 43dc07d72353fc8bcb79a18a5739ea0a90dda6bb before: $ gobgp vrf add vrf01 rd 100:100 rt both 100:100 $ gobgp vrf vrf01 rib add 10.0.0.0/24 $ gobgp global rib -a ipv4 Network Next Hop AS_PATH Age Attrs *> 10.0.0.0/24 0.0.0.0 00:00:19 [{Origin: ?} {Extcomms: [100:100]}] after: $ gobgp vrf add vrf01 rd 100:100 rt both 100:100 $ gobgp vrf vrf01 rib add 10.0.0.0/24 $ gobgp global rib -a ipv4 Network not in table $ gobgp global rib -a vpnv4 Network Labels Next Hop AS_PATH Age Attrs *> 100:100:10.0.0.0/24 [16000] 0.0.0.0 00:00:19 [{Origin: ?} {Extcomms: [100:100]}] Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-13table: fix route filtering with IP addressWataru Ishida
close #1081 Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-13cli/table: support filtering of IPv4/IPv6 MPLS routesWataru Ishida
close #1086 Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-12server: portability fix for setsockopt() on LinuxVincent Bernat
On some architecture, setsockopt() is a multiplexed syscall and is not available directly (for example, on i386). Instead of invoking the syscall directly, use syscall.SetsockoptString() which is safe as strings are not null-terminated with Go. On BSD, use syscall.SetsockoptInt(), but I don't know if there are architectures with the same limitations as for Linux. Signed-off-by: Vincent Bernat <vincent@bernat.im>
2016-09-12test: test monitor feature in unit test instead of scenario testWataru Ishida
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-12test: run policy test sequenciallyWataru Ishida
for stable test on travis-ci Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-09-12travis: enable ipv6 manuallyFUJITA Tomonori
IPv6 is disabled by default on travis-ci env https://github.com/travis-ci/packer-templates/pull/228 https://blog.travis-ci.com/2016-08-16-gce-images-precise-trusty-outage/ Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-12test: use Docker's native network feature instead of pipeworkFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-12test: avoid hard-code interface names in bgp_zebra_test.pyFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-12test: use shorter device namesFUJITA Tomonori
Don't be over 16 bytes. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-01mrt: fix rotation and dump interval handling in table modeFUJITA Tomonori
Having two interval options easily confuse users. With this, either can be specified. If you specify the rotation interval, gobgpd dumps a table and rotates a log file every the rotation interval. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-01test: stop tcpdump write bufferingFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-01test: use ryu version 4.5FUJITA Tomonori
Seems that 4.6's bgp parser has a bug. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-09-01GoBGP 1.11FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-29config: stop resetting Neighbor.Config.DescriptionFUJITA Tomonori
Due to this bug, the description isn't set. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-26add RemoteRouterId to config.NeighborStateFUJITA Tomonori
Stop using config.NeighborState's Description in a hacky way for the remote Router Id. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-26zebra: add grpc apiFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-25table: add Best/MultiPath option to SelectOptionWataru Ishida
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-08-25api: publish ToPathApi(*table.Path)Wataru Ishida
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-08-25api/cli: kill cmd package custom path/destination structsWataru Ishida
reuse table package Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-08-25server/api: fix GetRib API to return sorted destinationWataru Ishida
the feature has been broken. Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-08-25server: fix RIB lookup with longer-prefixes optionWataru Ishida
the feature was somehow broken. Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-08-25server: handle error of net.ParseCIDR()Wataru Ishida
invalid key could crash BgpServer
2016-08-21fixed some misspell errorPeng Xiao
Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
2016-08-21api: enable to set/get UseMultiplePaths global settingWataru Ishida
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2016-08-17travis: add go1.7FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-17policy: fix global default policy initializationISHIDA Wataru
Allow all routes coming in and going out by default Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-08-17Revert "server: add missing default policy setting in (*BgpServer).Start()"ISHIDA Wataru
This reverts commit 7bf91ea437181b85ecc3a1473adc3fbc0da80cbe. This commit causes misleading error message "failed to get policy info" when global policy is configured at startup.
2016-08-17docs: add a route-type condition exampleISHIDA Wataru
[ci skip] Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-08-17policy: support route-type conditionISHIDA Wataru
// match with routes locally generated $ gobgp policy statement s0 add condition route-type local // match with routes received from eBGP peers $ gobgp policy statement s0 add condition route-type external // match with routes received from iBGP peers $ gobgp policy statement s0 add condition route-type internal Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-08-17server: passive tcp md5 support on OpenBSDFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-17server: add debug messages about tcp md5FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-17server: support passive md5 and ttl on *bsdFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-08-16cli: support setting flowspec "procotol" in octetISHIDA Wataru
$ gobgp global rib -a ipv4-flowspec add match protocol 100 then discard close #1052 Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-08-16api: support address family filtering of MonitorRib APIISHIDA Wataru
the feature was somehow dropped Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-08-15server: move linux specific functions to sockopt_linux.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>