162 Commits
Author SHA1 Message Date
ISHIDA WataruandFUJITA Tomonori 70a654a238 docs: add doc for unnumberd BGP
Signed-off-by: ISHIDA Wataru <[email protected]>
2017-04-04 22:07:46 +09:00
Mark StrotherandFUJITA Tomonori 0cfb8f65a0 doc: improve bmp documentation
Add documentation for route-monitoring-policy = "both".
2017-03-05 05:49:18 +09:00
Matthieu TexierandFUJITA Tomonori 55e9684259 flowspec: comply with new draft RFC5575bis normalized operators 2017-03-02 15:56:02 +09:00
FUJITA Tomonori e11bceddec doc: update policy
add note that prefix-set has either v4 or v6.

[skip ci]

Signed-off-by: FUJITA Tomonori <[email protected]>
2017-02-24 15:16:33 +09:00
Matthieu TexierandFUJITA Tomonori 6de16dc885 flowspec: comply with RFC 5575 about TCP flags rules
This patch proposes a new way to configure BGP flowspec TCP flags
rules It allows to comply with RFC 5575 by defining flags like this
=SA =A / '!SA' / '=SA&=!U' = means match, ! means not, & means and,
all TCP flags are identified by their first charater S for SYN A for
Ack ...
2017-02-17 21:20:59 +09:00
Mark StrotherandGitHub a1aa21844e Document support for post-policy BMP flows 2017-02-17 03:47:05 -08:00
ISHIDA WataruandFUJITA Tomonori 9a45ed09b0 cli: add current option to monitor commands
Signed-off-by: ISHIDA Wataru <[email protected]>
2017-02-15 00:10:15 +09:00
tamihiroandFUJITA Tomonori 512b156be6 fix configuration examples with correct route-disposition policy syntax 2017-01-15 06:30:26 -08:00
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 KerkhofandFUJITA Tomonori b68491f62c fix a few typos 2016-11-13 16:25:34 -08:00
Wataru IshidaandFUJITA Tomonori 6d52e8c1e5 ops: drop open switch support
Signed-off-by: Wataru Ishida <[email protected]>
2016-11-12 21:21:49 -08:00
Wataru IshidaandFUJITA 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 IshidaandFUJITA 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 IshidaandFUJITA 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 WataruandFUJITA 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 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
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 WataruandFUJITA 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 WataruandFUJITA 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 WataruandFUJITA 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 KatoandFUJITA 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 AgricolaandFUJITA 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 WataruandFUJITA 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 WataruandFUJITA 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 XiaoandFUJITA 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 WataruandFUJITA 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