summaryrefslogtreecommitdiffhomepage
path: root/tools
AgeCommit message (Collapse)Author
2016-01-25config: add openconfig identity structs in bgp_configs.goISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-25config: add go type of embeded enums defined in openconfigISHIDA Wataru
these types are embeded enums of openconfig and were left uint32 Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09bmp: use watcher infra to implement bmp featureISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: refactor config structureISHIDA Wataru
- change config variable name to chaincase from camelcase - remove unnecessary wrapper structs which only contain one slice field Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: add DO NOT EDIT warningISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: remove unnecessary augmentISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: we don't need to modify origin PeerType nameISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: remove redundant definition in gobgp.yangISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: add FromInt() method to config typedefISHIDA Wataru
use for the translation between api structs Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: catch up with the latest openconfigISHIDA Wataru
using commit 20b9cc544012201069e9d6a159ebab17f4172dfb from github.com/openconfig/public Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09config: change enum value type to string for ease of configurationISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-01-09tools: avoid adding a new option to bgpyang2golang.py and fix gobgp.yangISHIDA Wataru
pyang has an internal flag "multiple_modules" to handle multiple yang modules. use it instead of introducing a new option --augment also, fix warnings and errors in gobgp.yang which were there but not has been detected for a while due to the usage of --augment. by using "multiple_modules" flag, pyang detected them. most notable error is wrong usage of list, which needs a key in its substatement. this patch adds key to some of them, and for others uses leaf-list instead. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-12-29config: use viper and support multiple configuration formatsISHIDA Wataru
// toml by default $ gobgpd -f gobgpd.toml // use -t to change configuration type $ gobgpd -t yaml -f gobgpd.yaml Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-12-28config: make config/state variable name simpleISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-12-22gobgpd/gobgp: change grcp port to 50051 from 8080ISHIDA Wataru
also add an option to change grpc port Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-12-21*: add global listen port configurationISHIDA Wataru
if port < 0, gobgpd won't listen on tcp:179 Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-12-19doc: update ruby grpcHiroshi Yokoi
2015-12-16bmp: support post-policy routing monitoringFUJITA Tomonori
"RouteMonitoringPolicy" option added: 0: pre-policy (by default) 1: post-policy 2: both = [BmpServers] [[BmpServers.BmpServerList]] [BmpServers.BmpServerList.BmpServerConfig] Address = "127.0.0.1" Port = 11019 RouteMonitoringPolicy = 2 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-12-16Sync C++ examples with recent changes in gRPC and GoGBP APIPavel Odintsov
2015-12-07doc: update python grpc instructionHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-11-30cli: update README of bash completionNaoto Hanaue
Add the description of how to customize bash_completion.
2015-11-30cli: split files of bash completionNaoto Hanaue
2015-11-30cli: the follow to bash_completion format generated by the latest cobra libraryNaoto Hanaue
2015-11-26cli: update bash_complitionNaoto Hanaue
Support to the completion of following commands. - gobgp rpki enable - gobgp mrt update enable - disabel - rotate - reset
2015-11-15Add an example of Node.jsShintaro Kojima
2015-11-05tool: update grpc python example codeFUJITA Tomonori
for the latest API. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-26cli: fix bash completion in order to respond to dynamic complementaryNaoto Hanaue
2015-10-26cli: generate the latest bash completion file using cobra libraryNaoto Hanaue
run the following command to generate the latest bash completion file $ gobgp -c --bash-cmpl-file=gobgp-completion.bash
2015-10-21tools: add field keysHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-10-02Enhanced C++ client libraryPavel Odintsov
Now we could call any important functions for IPv4 unicast and IPv4 Flow Spec. I have updated code for new service / packages names.
2015-09-25config: add zebra redistribution configurationISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-25config: add mpls label range configurationISHIDA Wataru
you can specify mpls label range from which gobgpd automatically assign to vpn routes like below ``` [Global] As = 65000 RouterId = "192.168.255.1" [Global.MplsLabelRange] MinLabel = 1000 MaxLabel = 1999 ``` default values (min:16000, max:1048575) is taken from cisco ios xr. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-23tools: change for renaming api-name of package/service to gobgpapiToshiki Tsuboi
Needs to change it because of renaming name from Grpc to GobgpApi.
2015-09-17config: add zebra configurationHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-09-13Add bmp supportFUJITA Tomonori
Can be enabled like: [Global] [Global.GlobalConfig] As = 64512 RouterId = "10.0.255.254" [BmpServers] [[BmpServers.BmpServerList]] [BmpServers.BmpServerList.BmpServerConfig] Address = "127.0.0.1" Port=11019 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-09-08server: add mrt bgp4mp supportFUJITA Tomonori
You can enable the feature like: [Global] [Global.GlobalConfig] As = 64512 RouterId = "10.0.255.254" [Global.Mrt] FileName = "update.dump" Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-09-04doc: merge grpc C++ README into grpc-client.mdFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-09-04Add gRPC API client examples in C++Pavel Odintsov
2015-08-27doc/tools: add doc explains how to interact with gobgp using rubyISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-21doc: add how to manage gobgp with your favorite laguageHiroshi Yokoi
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-08-13config: add rpki configurationNaoto Hanaue
2015-08-12rpki: don't show validation result if rpki disabledFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-08-11config: add structure to be used in the match of the validation result of rpkiNaoto Hanaue
2015-08-11config: cancel as-path-set-memberHiroshi Yokoi
2015-08-11config: insert gobgp-specific elements with augment statements defined in ↵Hiroshi Yokoi
gobgp.yang
2015-08-05config: change type of Prefix in the PrefixSetNaoto Hanaue
2015-08-05config: change the structure of AsPathSet, CommunitySet and ExtCommunitySet ↵Naoto Hanaue
as the PrefixSet
2015-07-31config: use the latest openconfig yangHiroshi Yokoi
2015-07-15cli: update bash completionNaoto Hanaue
2015-07-11tool: update example_toml.goNaoto Hanaue