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
FUJITA Tomonori
955409c37c
rpki: support show the state of RPKI servers
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-08-31 22:00:09 +09:00
FUJITA Tomonori
4f3f0468a1
mrt: inject properly uses AS number and RouterID
...
Currently, mrt inject wrongly use gobgpd's AS number and
RouterID. Instead use these in the dump file.
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-08-29 13:17:46 +09:00
ISHIDA Wataru and FUJITA Tomonori
319841ac5e
api: add route family field to struct Path
...
we can't parse Path.nlri field (whose type is []byte) without route family.
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-27 00:51:19 +09:00
ISHIDA Wataru
da62a69866
api/cli: support showing extended community action
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-22 13:07:13 +09:00
ISHIDA Wataru
94ba9c23ee
*: s/distribute/in
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-18 10:40:01 +09:00
ISHIDA Wataru and FUJITA Tomonori
56ca9eee5f
api/cli: reuse api.Path in ModPathArguments
...
kill redundant lines
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-13 20:15:54 +09:00
FUJITA Tomonori
6180ffb710
support rpki validation
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-08-12 13:44:33 +09:00
ISHIDA Wataru and FUJITA Tomonori
a768264840
api: kill protobuf Addressfamily struct
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-12 08:04:30 +09:00
ISHIDA Wataru and FUJITA Tomonori
a01b549fff
*: kill protobuf path structure
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-08 20:56:46 +09:00
ISHIDA Wataru and FUJITA Tomonori
ecd079e318
api: add api to configure vrf
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-08 20:56:46 +09:00
ISHIDA Wataru and FUJITA Tomonori
ef934f76a5
api: change arguments name from neighbor_address to name
...
planning to use this variable more generally (for vrf)
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-08 20:56:46 +09:00
Naoto Hanaue and FUJITA Tomonori
ad4bfac371
config: change type of Prefix in the PrefixSet
2015-08-05 22:12:24 +09:00
ISHIDA Wataru and FUJITA Tomonori
c059eb0f88
test: add scenario test for evpn
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-05 17:24:36 +09:00
ISHIDA Wataru and FUJITA Tomonori
2017bdc7a9
api/packet: add evpn extended community structs
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-05 17:24:36 +09:00
ISHIDA Wataru and FUJITA Tomonori
cf23ecec82
mrt: merge gomrt to gobgp cli command
...
Usage
$ gobgp mrt inject global <filename> [<count>]
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-03 21:59:39 +09:00
ISHIDA Wataru and FUJITA Tomonori
84dd9d6983
api: use serialized buffer rather than protobuf struct to add paths
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-03 21:59:39 +09:00
ISHIDA Wataru and FUJITA Tomonori
46b21a1725
mrt: support mrt rib dump of neighbor's local rib
...
This feature can be used in route-server env.
CLI syntax changed like below
$ gobgp mrt dump rib global [<interval>]
$ gobgp mrt dump rib neighbor <neighbor addr> [<interval>]
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-03 14:18:18 +09:00
ISHIDA Wataru and FUJITA Tomonori
28ae39ae03
api: s/router_id/neighbor_address
...
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-08-03 14:18:18 +09:00
Hiroshi Yokoi and FUJITA Tomonori
0b4b806c06
config: use the latest openconfig yang
2015-07-31 16:26:17 +09:00
FUJITA Tomonori
427e9efa79
add RPKI support
...
Just get info from ROA server. Not varidate any route yet.
Currently, "--rpki-server" option enables RPKI:
$ gobgpd --rpki-server 210.173.170.254:323
We'll use the configuration file for this later.
You can see ROAs via CLI:
$ gobgp rpki
For ipv6,
$ gobgp rpki -a v6
Signed-off-by: FUJITA Tomonori <[email protected] >
2015-07-28 12:59:28 +09:00
ISHIDA Wataru and FUJITA Tomonori
a4501ccc3f
mrt: support mrt dump
...
$ gobgp mrt dump 10 -o ./dump
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-07-22 14:49:46 +09:00
Naoto Hanaue
3cfce356e4
cli: support extended community
2015-07-15 19:37:21 +09:00
Hiroshi Yokoi
c0d597433f
cli: add aspath prepend support
2015-07-13 15:41:08 +09:00
ISHIDA Wataru and FUJITA Tomonori
2fc9b887fc
server/cli: support add/delete vpnv4/vpnv6 routes
...
$ gobgp global rib add 1:10.0.0.1:1000:10.0.0.0/24 -a vpnv4
Signed-off-by: ISHIDA Wataru <[email protected] >
2015-07-05 23:44:22 +09:00