148 Commits
Author SHA1 Message Date
FUJITA Tomonori be9918a163 remove label allocation completely
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-11-03 02:49:59 -07:00
Wataru Ishida d46da74d4f policy: support large-community match/action
close #1133

Signed-off-by: Wataru Ishida <[email protected]>
2016-10-10 05:18:17 +00:00
Wataru IshidaandFUJITA Tomonori 614746ca11 *: support long lived graceful restart
Signed-off-by: Wataru Ishida <[email protected]>
2016-10-09 07:18:13 -07:00
Wataru IshidaandFUJITA Tomonori 6b6f6974fc *: Notification support for BGP GR
implement draft-ietf-idr-bgp-gr-notification-07

Signed-off-by: Wataru Ishida <[email protected]>
2016-10-09 07:15:08 -07:00
kishiguroandFUJITA Tomonori 8f4603b25a Add version to zebra-config in gobgp.yang. 2016-09-29 16:29:15 -07:00
FUJITA Tomonori db3dbd7257 tools: use forked openconfig repository
Use the specific commit id.

[ci skip]

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-09-28 20:08:14 -07:00
FUJITA Tomonori eef1fc0a75 add RemoteRouterId to config.NeighborState
Stop using config.NeighborState's Description in a hacky way for the
remote Router Id.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-08-26 18:15:03 +09:00
Peng XiaoandFUJITA Tomonori b0bead46c8 fixed some misspell error
Signed-off-by: Peng Xiao <[email protected]>
2016-08-21 08:29:42 +09:00
ISHIDA WataruandFUJITA Tomonori cd4b0107c3 policy: support route-type condition
// 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 <[email protected]>
2016-08-17 21:23:08 +09:00
FUJITA Tomonori 2c12fa2b92 mrt: support per-peer table dump with route server configuration
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-08-15 09:24:49 +09:00
FUJITA Tomonori 411bf84633 support mrt table dump (TABLE_DUMPv2 format)
Only global rib dumping is supported for now.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-08-14 07:51:42 +09:00
ISHIDA WataruandFUJITA Tomonori 1890b4c5ef config: support unnumbered bgp peering
from configuration file:

```toml
[[neighbors]]
[[neighbors.afi-safis]]
neighbor-interface = "eth0"
peer-as = 65000
```

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-08-02 10:48:58 +09:00
FUJITA Tomonori c31164d90d move gRPC-related code for RPKI to grpc_server.go
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-07-20 04:25:25 +09:00
FUJITA Tomonori b6e606a994 remove gRPC dependency from peer.go
move gRPC dependency from peer.go to grpc_server.go

Preparation for the removal of gRPC dependency from packages except
for api package.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-07-20 02:52:59 +09:00
Shintaro Kojima ff58dba190 Fix and get along with gobgpd v1.9 2016-07-20 05:58:16 +09:00
FUJITA Tomonori 37d3629d8b config: handle entry's empty name
Equal method assumes that an each entry has unique name and uses it as
a key for map. However, currently, an entry is allowed to have an
empty name. To work around the problem, uses an index in the list as a
key for map.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-05-28 07:54:52 +09:00
FUJITA Tomonori 1e360ff7f5 config: fix misuse of pointers
Equal method for map misuses a pointer; all the entry of the map
becomes idential.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-05-28 07:36:13 +09:00
FUJITA Tomonori 7c42e295e2 add collector feature
dump the update messages and the state change of peers into influxdb:

[collector.config]
  url = "http://localhost:8086"
  db-name = "gobgp"

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-05-23 20:32:47 +09:00
ISHIDA Wataru 982c5de889 tools: support loading completion scripts when bash boots up
[ci skip]

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-17 11:02:02 +00:00
FUJITA Tomonori 8fd25af4ce zebra: make zebra config consistent with the rests
- split config and state
- move to Bgp structure (aligned with Rpki, Bmp, and Mrt)

Also makes zebra configured via GRPC channel.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-05-17 08:52:28 +09:00
tamihiroandFUJITA Tomonori ce3177c565 Accommodate latest gobgp.proto message updates. Handle request timeouts. 2016-05-14 00:55:49 +09:00
ISHIDA Wataru 6e8d1bb162 config: support reload of AdminDown
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-27 10:32:42 +00:00
ISHIDA Wataru 1cbebfd6a3 config: don't take into account State struct in Equal()
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-27 10:32:42 +00:00
ISHIDA Wataru f99362e876 config: make listen config struct aligned with open-config model
have config/state container

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-27 10:32:39 +00:00
ISHIDA Wataru f6c70e980d config: make route-target config struct aligned with open-config model
have config/state container

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-27 10:07:02 +00:00
FUJITA Tomonori 21938add9f move NeighborPortNumber config to transport.Config
More appropriate.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-04-26 07:20:47 +09:00
FUJITA Tomonori 45050d9b97 remove collector mode support
We need to update yang config collector mode (split into config and
state). before that, let's remove the feature itself to see if there
is any user of it.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-04-25 23:52:21 +09:00
ISHIDA Wataru a34d8d2651 config: simplify config structures
stop generating self-contained leafref fields in openconfig model.
(e.g. bgp:neighbor/bgp:neighbor-address )

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-21 08:57:21 +00:00
ISHIDA WataruandFUJITA Tomonori 802879087d server: support route-target constraint
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-20 13:14:09 +09:00
ISHIDA WataruandFUJITA Tomonori ba727eb444 packet: fix encap nlri (add encap ipv6 nlri)
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-20 13:14:09 +09:00
ISHIDA Wataru 957e22d05d config: generate Equal() method
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-19 11:12:44 +00:00
Yi Tseng 85d038d209 Add neighbor-port-number to bgp neighbor config
Allow user to setup neighbor BGP TCP port (Default is 179)
2016-04-11 15:57:39 +08:00
ISHIDA Wataru aa79a4de21 config: add PrefixLimit configuration knob to top-level of AfiSafi
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-10 23:58:17 +00:00
ISHIDA WataruandFUJITA Tomonori 051621bf3a *: support draft-ietf-idr-flowspec-l2vpn-03
$ gobgp g ri add -a l2vpn-flowspec match destination-mac 01:01:01:01:01:01 ether-type ipv4 vid 10 cos 20
$ gobgp g ri add -a l2vpn-flowspec match source-mac 01:01:01:01:01:01 ether-type arp inner-vid 20 inner-cos 20

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-03-31 11:38:17 +09:00
root 88504f08b2 Errors while compile gRPC client for C++ 2016-03-30 12:00:55 +03:00
Junpei YOSHINOandFUJITA Tomonori f9e5428ac8 dd :this_channel_is_insecure option to Stub.new() in ruby sample 2016-03-22 21:11:20 +09:00
ISHIDA WataruandFUJITA Tomonori 2a0168f867 *: support Opaque Signaling
see https://tools.ietf.org/html/draft-lapukhov-bgp-opaque-signaling-01

using 16397 for AFI, 241 for SAFI, 41 for Opaque Path Attribute
temporarily.

$ gobgp global rib add -a opaque key hello value world

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-03-20 01:00:51 +09:00
FUJITA Tomonori 731f4fa3ea server: support mrt dump rotation like Quagga
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-03-20 00:09:44 +09:00
FUJITA Tomonori 714ed723a0 doc: fix typo
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-03-18 23:47:19 +09:00
tamihiroandFUJITA Tomonori ea7180b18d remove offending argument to avoid ValueError 2016-03-15 10:21:54 +09:00
ISHIDA Wataru 5120cfc7ca config: move Mrt/Bmp configuration outside of Global configuration
Global config basically store configuration whose change will cause
all neighbor session restart.

Mrt and Bmp configuration is not such. Put them outside of Global
config.

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-03-17 10:47:03 +09:00
ISHIDA WataruandFUJITA Tomonori b19bbd415e gobgpd: support graceful-restart restarting-speaker behavior
use `-r` option to start gobgpd in restarting-speaker mode

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-02-10 23:35:41 -08:00
FUJITA Tomonori d280168106 add route collector feature support
like openbgp's route collector, sends all updates (not only best).

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-02-06 15:07:36 -08:00
ISHIDA WataruandFUJITA Tomonori c9436bc721 server: add support specifying addresses to listen
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-02-04 23:34:24 -08:00
ISHIDA WataruandFUJITA Tomonori d94f5d2c03 config: add openconfig identity structs in bgp_configs.go
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-25 04:57:11 -08:00
ISHIDA WataruandFUJITA Tomonori cca91da0df config: add go type of embeded enums defined in openconfig
these types are embeded enums of openconfig and were left uint32

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-25 04:57:11 -08:00
ISHIDA Wataru aff1c244ad bmp: use watcher infra to implement bmp feature
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-09 22:51:23 +09:00
ISHIDA WataruandFUJITA Tomonori cc8d0fd748 config: refactor config structure
- change config variable name to chaincase from camelcase
- remove unnecessary wrapper structs which only contain one slice field

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-09 05:17:57 -08:00
ISHIDA WataruandFUJITA Tomonori 0c1c373e49 config: add DO NOT EDIT warning
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-09 05:17:57 -08:00
ISHIDA WataruandFUJITA Tomonori 75d4e2a9ab config: remove unnecessary augment
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-09 05:17:57 -08:00