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
ISHIDA Wataru
304523e48a
server: add missing api.Global field
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-03-17 10:44:43 +09:00
ISHIDA Wataru and FUJITA Tomonori
a45bd1f290
api: add neighbor-ip field to grpc Path message
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-03-02 03:22:28 -08:00
Naoto Hanaue and FUJITA Tomonori
a53d194505
ops: fix and integration the attribute name that indicates the route received from an external resource
2016-02-27 03:47:00 -08:00
FUJITA Tomonori
08df3e5fb1
rpki: remove homegrown SplitHostPort function
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-02-21 06:04:37 -08:00
Naoto Hanaue and FUJITA Tomonori
496ce6cd08
update proto
2016-02-19 21:14:59 -08:00
ISHIDA Wataru
ecbfa29d08
server/api: add DEL_ALL operation support in ModPath() api
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-02-13 08:37:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
023a498e4a
server: support graceful-restart helper-speaker behavior
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-02-10 23:41:44 -08:00
ISHIDA Wataru
64fdc90646
server: add API to monitor incoming updates
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-02-07 07:19:15 +09:00
ISHIDA Wataru
498400adad
api: fix typo s/advertized/advertised
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-01-29 16:44:21 +09:00
FUJITA Tomonori
8285553257
rpki: make monitor API's reason explicit about manual validate
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-01-25 05:26:45 -08:00
FUJITA Tomonori
0986a67e07
rpki: improve statistics API
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-01-20 07:09:11 -08:00
FUJITA Tomonori
70fae5c8cc
rpki: add reason to rpki monitor api
...
tells a reason why notificaiton was sent, withdraw, peer down, and others
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-01-17 09:26:56 -08:00
FUJITA Tomonori
f4c4099418
update rpki monitor API
...
- handle withdraw
- added some new info (peer address, timestamp, aspath attribute)
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-01-17 06:21:23 -08:00
ISHIDA Wataru
d94bb930dc
api: support bmp configuration
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2016-01-09 22:52:15 +09:00
FUJITA Tomonori
302632715c
rpki: add monitor command support
...
monitor the change of rpki validation results:
$ gobgp monitor rpki
Signed-off-by: FUJITA Tomonori <[email protected] >
2016-01-06 12:40:17 +09:00
FUJITA Tomonori
7a2b395116
add MOD_PATH API
...
Handle only one route unlike MOD_PATHS API. When the API returns an
uuid when a route is created. The uuid can be used to remove the route
later.
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-12-26 19:24:46 -08:00
FUJITA Tomonori
01157e466a
rename ModPath to ModPaths
...
ModPath API to modify multiple paths so let's use more an appropriate name.
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-12-25 20:58:18 -08:00
ISHIDA Wataru
406efffa74
*: add global listen port configuration
...
if port < 0, gobgpd won't listen on tcp:179
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-12-21 19:28:25 +09:00
FUJITA Tomonori
bbc640470e
rpki: support multiple roa servers
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-12-17 15:31:48 -08:00
ISHIDA Wataru
d6148c75a3
api: refactor afisafi api
...
remove unused fields
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-12-15 18:26:32 +09:00
FUJITA Tomonori
71588f6a1a
rpki: show ROA with server information
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-12-10 11:51:47 +09:00
ISHIDA Wataru
ec6bcf13f1
api/cli: show all longer prefixes with longer-prefixes option
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-12-06 10:38:16 +09:00
ISHIDA Wataru
7ff862f3ee
api/cli: support showing longer-prefix
...
$ gobgp global rib
Network Next Hop AS_PATH Age Attrs
*> 10.0.0.0/24 0.0.0.0 00:00:01 [{Origin: ?}]
$ gobgp global rib 10.0.0.0/20
Network not in table
$ gobgp global rib 10.0.0.0/20 longer-prefix
Network Next Hop AS_PATH Age Attrs
*> 10.0.0.0/24 0.0.0.0 00:00:01 [{Origin: ?}]
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-12-04 11:01:07 +09:00
ISHIDA Wataru and FUJITA Tomonori
ff26d4e93b
api/server: refine GetRib API
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-12-02 08:53:04 +09:00
ISHIDA Wataru and FUJITA Tomonori
b35796161c
api: regenerate gobgp.pb.go to make it work with latest protobuf pkg
...
https://github.com/golang/protobuf/commit/02ac84f19cf2febf53ac06e7fbc446c1ea0258e3
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-11-27 19:02:25 -08:00
FUJITA Tomonori
a1602f3a25
rpki: grpc support
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-11-23 23:00:18 -08:00
FUJITA Tomonori
95e7cc7308
mrt: support reset/rotate commands
...
$ gobgp mrt update reset
create a new file or reopen the existing file and continue to write
update messages to it.
$ gobgp mrt update <filename>
rename the current logging file to <filename> and truncate the logging
file and continue to write update messages to it.
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-11-12 15:01:12 +09:00
YujiOshima
1cc19fd280
cmd/api: get peer remote router id not neighbor address
...
Signed-off-by: YujiOshima <[email protected] >
2015-11-06 10:05:52 +09:00
ISHIDA Wataru and FUJITA Tomonori
e3185194bb
server: enable to start without configuration file
...
add grpc api to configure global as/router-id
$ gobgp global as 65000 router-id 10.0.0.1
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-30 15:05:09 +09:00
Yuji Oshima and FUJITA Tomonori
b780fed28a
api: confirm api.Peer to openconfig and add ModPeer api
...
Signed-off-by: YujiOshima <[email protected] >
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-10-29 17:26:01 +09:00
ISHIDA Wataru and FUJITA Tomonori
4193c36b06
api: stop using raw flag values and define grpc dedicated flags
...
make it easy to use grpc api
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 16:57:13 +09:00
ISHIDA Wataru and FUJITA Tomonori
b94943ac38
api: update comment
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
f634b50357
api: support policy assignment modification via grpc
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
9362bba919
api: support policy modification via grpc
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
95e68a8d88
api/cli: refactor api to retrieve policy
...
make it similar to other policy api
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
f834e42128
cli: support statement configuration
...
- create statement
$ gobgp policy statement add st01
- add community condition
$ gobgp policy statement st01 condition add community c1
- add route action
$ gobgp policy statement st01 action add accept
- add set-community action
$ gobgp policy statement st01 action add community 100:100
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
a88e0b5592
api: support statement modification via grpc
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
7cb50ce1cf
api/cli: add api to retrieve statements and support showing them via cli
...
$ gobgp policy statement
$ gobgp policy statement st0
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
68635d8f06
api: support defined set modification via grpc
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
722975bfaf
policy: another cleanup
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
0ba93b0aa9
api: use two ints instead of string to represent mask-length-range
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
7937d8ddb6
policy: clean up
...
remove redundant api structures and shorten valiable names
re-implement *ToApiStruct functions as a method of each structures
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:10 +09:00
ISHIDA Wataru and FUJITA Tomonori
08d8503c62
api: support per in/import/export policy configuration
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-20 10:33:09 +09:00
ISHIDA Wataru and FUJITA Tomonori
eb67afbdad
api: make enum RouteAction to avoid using raw string
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-09 19:22:56 +09:00
FUJITA Tomonori
79624fa3b6
api: sync with the latest protoc-gen-go
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-10-02 12:23:48 +09:00
ISHIDA Wataru and FUJITA Tomonori
94836fe9a9
cli: add command to show accepted/rejected routes
...
$ gobgp neighbor <remote addr> accepted
$ gobgp neighbor <remote addr> rejected
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-10-02 03:30:29 +09:00
ISHIDA Wataru
e986668fc8
api: rename package/service name to gobgpapi
...
api/Grpc is too general for package/service name.
rename them to gobgpapi/GobgpApi.
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-09-20 17:16:33 +09:00
ISHIDA Wataru
cf1965a963
api: enable injecting multiple routes at once
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-09-10 13:58:22 +09:00
ISHIDA Wataru
d8dc45772c
api: kill api.Capability
...
keep protobuf structures simple
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-09-08 13:13:37 +09:00