Wataru Ishida
93d1dca70a
config: simplify route-disposition configuration
...
before:
```yaml
actions:
route-disposition:
accept-route: true
reject-route: false
```
after
```yaml
action:
router-disposition: accept-route
```
Signed-off-by: Wataru Ishida <[email protected] >
2016-11-17 23:22:55 -05:00
Ruben Kerkhof and FUJITA Tomonori
b68491f62c
fix a few typos
2016-11-13 16:25:34 -08:00
Wataru Ishida and FUJITA Tomonori
6d52e8c1e5
ops: drop open switch support
...
Signed-off-by: Wataru Ishida <[email protected] >
2016-11-12 21:21:49 -08:00
Wataru Ishida and FUJITA Tomonori
771d1f90af
docs: update cli doc
...
Signed-off-by: Wataru Ishida <[email protected] >
2016-11-04 13:20:09 +09:00
FUJITA Tomonori
c7653aa9d4
allow add local route with specific mpls label
...
Also don't allocate label for local routes. The label management needs
to work with other components rather than bgp.
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-11-03 02:49:59 -07:00
Wataru Ishida
1f4a3192af
cli/api: support getting table summary information
...
$ gobgp global rib summary -a ipv4
$ gobgp neighbor 10.0.0.1 local summary
$ gobgp neighbor 10.0.0.1 adj-in summary
$ gobgp neighbor 10.0.0.1 adj-out summary
Signed-off-by: Wataru Ishida <[email protected] >
2016-10-16 14:07:06 +00: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 Ishida and FUJITA Tomonori
614746ca11
*: support long lived graceful restart
...
Signed-off-by: Wataru Ishida <[email protected] >
2016-10-09 07:18:13 -07:00
FUJITA Tomonori
cab09990b8
docs: add cli example to add route with blackhole community
...
[ci skip]
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-10-08 05:50:53 -07:00
Wataru Ishida
0a6e9eec9f
docs: add a reference to route server RFC
...
Signed-off-by: Wataru Ishida <[email protected] >
2016-09-16 09:47:23 +00:00
Wataru Ishida and FUJITA Tomonori
a3ccd8e86b
bgp/cli: Support Large Community
...
see https://tools.ietf.org/html/draft-heitz-idr-large-community-04
Signed-off-by: Wataru Ishida <[email protected] >
2016-09-14 11:35:50 +09:00
ISHIDA Wataru and FUJITA Tomonori
4a5828daf1
docs: add a route-type condition example
...
[ci skip]
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-08-17 21:23:08 +09:00
ISHIDA Wataru and FUJITA 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
ISHIDA Wataru
f52f3245c5
cli: support setting flowspec "procotol" in octet
...
$ gobgp global rib -a ipv4-flowspec add match protocol 100 then discard
close #1052
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-08-16 18:09:07 +00: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 Wataru and FUJITA Tomonori
59997e8daa
server: move default config setting logic inside BgpServer's methods
...
We have three ways to configure gobgp. config file, grpc api and native lib.
Every methods eventually call (*server.BgpServer).Start() or
(*server.BgpServer).AddNeighbor() when starting bgp server or adding
neighbors.
This commit moves default config setting logic inside them to remove
redundant code in grpc_server.go and simplify the usage of native lib.
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-07-29 16:31:35 +09:00
ISHIDA Wataru and FUJITA Tomonori
f3ae68b9f2
config: curve out code specific to default global config setting
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-07-29 16:31:35 +09:00
ISHIDA Wataru and FUJITA Tomonori
e97a59c539
config: curve out code specific to default neighbor config setting
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-07-29 16:31:35 +09:00
FUJITA Tomonori
af98780240
move grpc_server.go from server/ to api/
...
Now all gRPC code was moved to api/.
server/ isn't dependent on gRPC anymore.
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-07-29 00:43:52 +09:00
FUJITA Tomonori
5aea2d93fd
doc: update lib.md with the new native APIs
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-07-27 10:28:01 +09:00
FUJITA Tomonori
4635014cbb
remove gRPC dependency from table/
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-07-20 06:50:15 +09:00
FUJITA Tomonori
d59f1b147e
remove REQ_GRPC_ADD_NEIGHBOR
...
replace REQ_GRPC_ADD_NEIGHBOR with REQ_ADD_NEIGHBOR
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-07-20 04:24:47 +09:00
Jun-ya Kato and FUJITA Tomonori
49e45d4e0c
fix typo: s/dispodition/disposition/ in policy document
2016-07-20 16:12:07 +09:00
Shintaro Kojima
ff58dba190
Fix and get along with gobgpd v1.9
2016-07-20 05:58:16 +09:00
Ben Agricola and FUJITA Tomonori
ed62f3f3d9
Add shorter prefix search
...
Adds a shorter-prefixes search mode that finds any identical-or-less-specific routes
than the input values.
Bug-Url: #1006
Signed-off-by: Ben Agricola [email protected]
2016-07-11 21:41:01 +09:00
ISHIDA Wataru and FUJITA Tomonori
aca6fd6ad4
server: refactoring for monitorbestchanged api. use watcher infra
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-06-06 12:43:20 +09:00
ISHIDA Wataru and FUJITA Tomonori
ed23fbe22b
docs: another update for lib.md
...
fix 9f6b62a5e5
[skip ci]
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-06-01 10:36:03 +09:00
ISHIDA Wataru
9f6b62a5e5
docs: update lib.md
...
[skip ci]
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-05-31 03:59:23 +00:00
FUJITA Tomonori
8d7129d399
docs: fix typos in cli examples
...
[ci skip]
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-05-29 09:33:32 +09:00
FUJITA Tomonori
c1b95aa961
docs: update go versions
...
[ci skip]
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-05-26 16:45:12 +09:00
ISHIDA Wataru
0dbf1d87cb
policy: add local-pref action
...
$ gobgp policy statement st01 add action local-pref 110
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-05-25 02:53:42 +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
ISHIDA Wataru
949c58fbf6
docs: update policy.md
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-05-16 08:44:28 +00:00
Peng Xiao and FUJITA Tomonori
b8f61bd749
docs: add yabgp testing to evpn
...
Signed-off-by: Peng Xiao <[email protected] >
2016-05-16 13:35:18 +09:00
Yi Tseng
03c5cb31af
Add remote-port to configuration example
2016-05-15 17:20:13 +08:00
FUJITA Tomonori
69df401cdd
docs: mrt update
...
- remove MRT dump streaming GRPC API
- add the examples of MRT BGP4MP dump feature
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-05-10 16:03:15 +09:00
ISHIDA Wataru
425e947b4c
docs: update lib.md
...
[ci skip]
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-04-27 17:10:57 +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
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 Wataru and FUJITA Tomonori
ae671a791a
policy: fix as-path match optimization
...
following as-path pattern will be optimized
- ^<asn>_ # left-most
- _<asn>$ # origin
- _<asn>_ # include
- ^<asn>$ # only
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-04-21 14:37:47 +09:00
tamihiro and FUJITA Tomonori
7e1b186819
config: add set-next-hop option
2016-04-21 12:27:59 +09:00
tamihiro
ad389540f8
more fixes on erring statements
2016-04-15 00:41:55 +09:00
tamihiro
f55ea115fc
correct policy statement
2016-04-13 12:09:34 +09:00
ISHIDA Wataru
59420a4c46
server: support prefix-limit
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-04-10 23:58:17 +00:00
ISHIDA Wataru and FUJITA Tomonori
310be31d88
docs: update policy document
2016-04-09 16:55:56 +09:00
ISHIDA Wataru
0bd939e926
docs/packet: s/draft-ietf-idr-flowspec-redirect-rt-bis-05/RFC7674
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-04-01 14:46:55 +09:00
FUJITA Tomonori
311324fab8
move packet/*.go to packet/bgp/*.go for Go's convention
...
Later, we move non-bgp protocol stuff like mrt under their own
direcotries.
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-03-31 13:19:17 +09:00
ISHIDA Wataru and FUJITA 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