47 Commits
Author SHA1 Message Date
Wataru IshidaandFUJITA Tomonori 614746ca11 *: support long lived graceful restart
Signed-off-by: Wataru Ishida <[email protected]>
2016-10-09 07:18:13 -07:00
Wataru Ishida ebd7306fd6 test: add test for vrf route injecting
Signed-off-by: Wataru Ishida <[email protected]>
2016-10-04 05:46:26 +00:00
Wataru IshidaandFUJITA Tomonori 251c32ae0f test: add scenario test for zapi v3
Signed-off-by: Wataru Ishida <[email protected]>
2016-10-03 17:04:53 -07:00
FUJITA Tomonori e8da11a5c4 test: use Docker's native network feature instead of pipework
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-09-12 23:07:44 -07:00
FUJITA Tomonori bad9935cd2 test: stop tcpdump write buffering
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-09-01 21:41:21 +09:00
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 061d894c14 test: execute gobgp monitor on docker host
docker-py's exec_start stream fails often.
execute gobgp monitor on docker host instead.

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-08-15 18:53:03 +09:00
ISHIDA WataruandFUJITA Tomonori b5e49f1319 server: fix advertising multiple local withdrawals with same prefix
a bug introduced by 3327661896

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-08-03 12:09:07 +09:00
ISHIDA WataruandFUJITA Tomonori c54f6e8289 server: support injecting multipath to zebra
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-06-06 12:43:20 +09:00
ISHIDA Wataru 81bc3851b2 server: fix active connection regression
regression introduced by 4c9cd88c61

also fix test/lib to test configuration without local-address
(configure local-address only if neighbor-address is IPv6)

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-06-01 17:37:58 +00:00
ISHIDA Wataru addc3902e8 server: support peering with ipv6 link local address
fix DialTCPTimeoutWithMD5Sig to handle ipv6 scope-id
also update ipv6 test to test this feature

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-06-01 05:06:37 +00: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
ISHIDA WataruandFUJITA Tomonori a7521827e1 server/table: fix intra-AS RTC route distribution
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-23 09:46:53 +09: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 WataruandFUJITA Tomonori f580bd8fdb test: enhance route server test
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-14 01:48:33 +09:00
ISHIDA Wataru c97a2ee34f test/bird: add RawBirdContainer for test with raw bird config
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-12 03:05:05 +00:00
ISHIDA Wataru cbb4a6ace6 test/gobgp: add RawGoBGPContainer for test with raw gobgp config
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-12 02:54:53 +00:00
ISHIDA WataruandFUJITA Tomonori c9f7596584 test/exabgp: add RawExaBGPContainer for test with raw exabgp config
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-11 18:49:03 +09:00
ISHIDA WataruandFUJITA Tomonori b780f5e590 test/quagga: add RawQuaggaBGPContainer for test with raw quagga config
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-11 18:49:03 +09:00
ISHIDA WataruandFUJITA Tomonori c2d4b6992c test: add start_tcpdump()
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-11 18:49:03 +09:00
FUJITA Tomonori 95e5dee506 Revert "travis-ci: workaround for "
Now the issue was fixed. No need for the workaround:

https://github.com/kr/text/issues/6

This reverts commit 9c8dca5b69.
2016-05-09 14:12:25 +09:00
FUJITA Tomonori 9c8dca5b69 travis-ci: workaround for
go get doesn't work for github.com/kr/text because it doesn't have
master branch somehow.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-05-05 23:29:42 +09:00
ISHIDA Wataru f6c70e980d config: make route-target config struct aligned with open-config model
have config/state container

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-27 10:07:02 +00:00
ISHIDA WataruandFUJITA Tomonori fb6e000457 test: enable pass multiple commands to vtysh()
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-26 07:10:38 +09:00
ISHIDA Wataru 23252d9ad8 test: add BGPContainer.define_policy() and BGPContainer.assign_policy()
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-24 10:43:37 +00:00
ISHIDA Wataru 1b6532d822 test/quagga: use vtysh instead of telnet
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-24 09:11:19 +00:00
ISHIDA Wataru 206aa6bec4 test/gobgp: enhance policy configuration
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-24 09:11:18 +00: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 c6ddfb1d8e table: use received time as tie-breaker
older path get preference

can be disabled by
`global.route-selection-options.external-compare-router-id = true`

close #806

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-21 15:37:11 +09:00
ISHIDA WataruandFUJITA Tomonori 802879087d server: support route-target constraint
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-20 13:14:09 +09:00
ISHIDA Wataru 59420a4c46 server: support prefix-limit
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-10 23:58:17 +00:00
ISHIDA WataruandFUJITA Tomonori a5b81ba381 server: add missing broadcastBests when dropping peer's routes
fix regression introduced by e6682c52ba

also add a test to check the behavior.

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-04-05 22:15:19 +09:00
Hiroshi YokoiandFUJITA Tomonori 6bb6ade9f8 scenerio_test: add stderr to RuntimeError message
Signed-off-by: Hiroshi Yokoi <[email protected]>
2016-03-31 11:17:06 +09:00
Hiroshi Yokoi 483fc497ac scenario_test: run scenario test on travis
Signed-off-by: Hiroshi Yokoi <[email protected]>
2016-03-14 15:14:18 +09:00
ISHIDA WataruandFUJITA Tomonori 0b78f57ccd config/server: support per-peer asn
you can override `global.config.as` by `neighbor.config.local-as`

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-02-29 15:59:42 -08:00
ISHIDA WataruandFUJITA Tomonori 53c5bc0258 server: support active connection with md5 protection
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-02-29 15:41:37 -08:00
ISHIDA WataruandFUJITA Tomonori aa3cedc03a test: add graceful restart test 2016-02-10 23:42:01 -08:00
ISHIDA WataruandFUJITA Tomonori cc8d0fd748 config: refactor config structure
- change config variable name to chaincase from camelcase
- remove unnecessary wrapper structs which only contain one slice field

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-09 05:17:57 -08:00
ISHIDA WataruandFUJITA Tomonori b0fbcc6b1b config: change enum value type to string for ease of configuration
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-09 05:17:57 -08:00
ISHIDA WataruandFUJITA Tomonori 26c03bb779 tools: avoid adding a new option to bgpyang2golang.py and fix gobgp.yang
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 <[email protected]>
2016-01-09 05:17:57 -08:00
ISHIDA Wataru 78dd33b5a5 test: add test to check as2 peer handling
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-09 15:56:39 +09:00
ISHIDA Wataru aa3b0436d2 test: set connect-retry-timer to 10 to finish scenario test faster
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-01-04 16:46:28 +09:00
ISHIDA Wataru 58946b7924 config: make config/state variable name simple
Signed-off-by: ISHIDA Wataru <[email protected]>
2015-12-28 21:02:03 +09:00
ISHIDA Wataru 660b38e5ae test: add BIRD for performance test target
Signed-off-by: ISHIDA Wataru <[email protected]>
2015-11-11 00:47:17 +09:00
ISHIDA Wataru bedb153041 test: support rs-client configuration for quagga container
Signed-off-by: ISHIDA Wataru <[email protected]>
2015-11-11 00:31:35 +09:00
ISHIDA Wataru 4ee18568a0 test: better name for bridge when TEST_PREFIX is not specified
e.g _br01 => br01

Signed-off-by: ISHIDA Wataru <[email protected]>
2015-11-11 00:31:35 +09:00
ISHIDA Wataru 1581268628 move lib to parent directory
Signed-off-by: ISHIDA Wataru <[email protected]>
2015-11-11 00:28:42 +09:00