7 Commits
Author SHA1 Message Date
Wataru IshidaandFUJITA Tomonori 3235c0618c api/cli: kill cmd package custom path/destination structs
reuse table package

Signed-off-by: Wataru Ishida <[email protected]>
2016-08-25 15:53:14 +09:00
ISHIDA WataruandFUJITA Tomonori a768264840 api: kill protobuf Addressfamily struct
Signed-off-by: ISHIDA Wataru <[email protected]>
2015-08-12 08:04:30 +09:00
ISHIDA WataruandFUJITA 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 WataruandFUJITA 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
ISHIDA Wataru 0f33a50889 api/packet: add extended community/rt nlri structure to api
Signed-off-by: ISHIDA Wataru <[email protected]>
2015-05-01 10:14:21 +00:00
ISHIDA Wataru 99cccf9812 table: add support for encapsulation nlri
add encap end point route(10.0.0.1) with vni 20

$ gobgp global rib add 10.0.0.1 20 -a encap

check it

$ gobgp global rib -a encap

Please specify one command of: add or del
   Network            Next Hop        AS_PATH    Age        Attrs
*> 10.0.0.1           0.0.0.0         [64512]    00:00:01   [{Origin: IGP} {Encap: < VXLAN | color: 20 >}]

Signed-off-by: ISHIDA Wataru <[email protected]>
2015-04-25 15:16:45 +00:00
ISHIDA Wataru 3f6876df0b api: add a method to convert internal structs to protobuf structs
- add ToApiStruct() for convertion of internal structs to protobuf structs
  to avoid ugly convertion by json.Marshal() && json.Unmarshal()
- move grpc server code under /server instead of /api
- update proto file to include more detailed path information

Signed-off-by: ISHIDA Wataru <[email protected]>
2015-04-15 05:24:58 +00:00