summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)Author
2015-08-22test: fix test script to generate nosetest.xmlISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-22test: remove unused filesISHIDA Wataru
now all scenario_test uses scenario_test/lib. remove unused files. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-22test: enable parallel execution of malformed testISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-22test: add a method BGPContainer.log() to get log of bgp speakersISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-22test: throttle the number of concurrent executionISHIDA Wataru
revert this commit when jenkins server get enough resouce Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-22test: enable parallel execution of policy testISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-22test: enable to change base image of gobgp docker imageISHIDA Wataru
$ fab -f ./lib/base.py make_gobgp_ctn:tag=gobgp,from_image=gobgp Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-19scenario_test: add ext-community action testHiroshi Yokoi
2015-08-18test: add a script for local scenario testingISHIDA Wataru
NOTE: This script doesn't make a gobgp docker image for testing. Type the command below to make/update the image. $ fab -f ./lib/base.py make_gobgp_ctn --set tag=gobgp Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-12test: add flowspec scenario testISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-12test: use a cleaner base container golang:1.4 for testsISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-11config: rename distributed-policy to in-policyNaoto Hanaue
2015-08-08*: kill protobuf path structureISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-08test: use test/lib for route_server_test and route_server_ipv4_v6_testISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-05config: change type of Prefix in the PrefixSetNaoto Hanaue
2015-08-05test: add scenario test for evpnISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-05config: change the structure of Neighbor.RouteServer as the ↵Naoto Hanaue
Neighbor.RouteReflector
2015-08-05config: change the structure of AsPathSet, CommunitySet and ExtCommunitySet ↵Naoto Hanaue
as the PrefixSet
2015-08-04scenario_test: add test in the case of setting only the prefix conditionNaoto Hanaue
2015-08-03server: fix bug of re-establishISHIDA Wataru
we must call filterpath() in case of re-establish. scenario_test is also added to check this. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-31config: use the latest openconfig yangHiroshi Yokoi
2015-07-29test: insert sleep to fix unstable testISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-27test: parallel execution of bgp_router_test and ibgp_router_testISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-27test: change pipeworked interface nameISHIDA Wataru
aimed to shorten pipeworked interface name. since we introduced test_prefix, pipeworked interface name tends to get longer. This may violate IFNAMSIZ(=16). Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-27test: introduce test_prefix to separate test executionISHIDA Wataru
test_prefix is used for work directory, docker name, bridge name Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-27test: don't give ip address to a bridge by defaultISHIDA Wataru
now telnet to quagga occurs in quagga container's local network namespace. we don't need to address a bridge Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-27test: telnet to quagga from local network namespaceISHIDA Wataru
this is preparation for parallel execution of scenario tests Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-24test: fix missing sudo to remove useless docker images correctlyISHIDA Wataru
Tested-by: Hiroshi Yokoi <yokoi.hirochi@po.ntts.co.jp> Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-24test: build docker image once, use it for all testsISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-15cli: support extended communityNaoto Hanaue
2015-07-15scenaio_test: add extended community testNaoto Hanaue
2015-07-14server: fix bug of active connectionISHIDA Wataru
also added scenario test to check active connection properly works Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-13server/table: support iBGP behaviorISHIDA Wataru
also added scenario_test Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-11scenario_test: add test case for aspath prepend actionHiroshi Yokoi
2015-07-03test: stop using gobgp monitor commandISHIDA Wataru
gobgp monitor command can failed to get notification. stop using it in case Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-03test: stretch timeoutISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-03server: bug fix of extra as-path prependingISHIDA Wataru
When gobgp originates a route, the generated route had incorrect as-path. this patch fix this bug. Scenario test is also added to check this. [before] $ gobgp neighbor global rib Network Next Hop AS_PATH Age Attrs *> 10.0.1.0/24 192.168.10.3 65001 00:03:20 [{Origin: IGP} {Med: 0}] *> 10.0.2.0/24 192.168.10.4 65002 00:03:36 [{Origin: IGP} {Med: 200}] *> 10.10.0.0/24 0.0.0.0 65000 00:03:37 [{Origin: IGP}] $ gobgp neighbor 192.168.10.5 adj-out Network Next Hop AS_PATH Attrs 10.0.1.0/24 192.168.10.2 65000 65001 [{Origin: IGP}] 10.0.2.0/24 192.168.10.2 65000 65002 [{Origin: IGP}] 10.10.0.0/24 192.168.10.2 65000 65000 [{Origin: IGP}] [after] $ gobgp neighbor global rib Network Next Hop AS_PATH Age Attrs *> 10.0.1.0/24 192.168.10.3 65001 00:03:20 [{Origin: IGP} {Med: 0}] *> 10.0.2.0/24 192.168.10.4 65002 00:03:36 [{Origin: IGP} {Med: 200}] *> 10.10.0.0/24 0.0.0.0 00:03:37 [{Origin: IGP}] $ gobgp neighbor 192.168.10.5 adj-out Network Next Hop AS_PATH Attrs 10.0.1.0/24 192.168.10.2 65000 65001 [{Origin: IGP}] 10.0.2.0/24 192.168.10.2 65000 65002 [{Origin: IGP}] 10.10.0.0/24 192.168.10.2 65000 [{Origin: IGP}] Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-03test: run pip install in jenkins scriptISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-03test: update pip-requires.txtISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-03test: check gobgp properly adds it's own asn to aspathISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-03test: introduce modular test libraryISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-07-01scenario_test: add the test of med actioinNaoto Hanaue
2015-07-01scenario_test: add test case for distribute policy updateHiroshi Yokoi
2015-07-01server: gofmtHiroshi Yokoi
2015-07-01scenario_test: add test cases for distribute policyHiroshi Yokoi
2015-07-01scenario_test: remove policy config part from quagga-rsconfigHiroshi Yokoi
2015-06-18scenario_test: check gobgp container before remove in its preparationHiroshi Yokoi
2015-06-12scenario_test: fix doesn't execute 'go build' and 'go get' if you don't ↵Naoto Hanaue
specify the use-local option
2015-06-10scenario_test: execute the cli command using the docker exec in testNaoto Hanaue
2015-06-10scenario_test: use docker stopHiroshi Yokoi