summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)Author
2015-10-20policy: fix how to apply policy to follow openconfig descriptionISHIDA Wataru
OpenConfig model says for Route policy evaluation: Evaluation of each policy definition proceeds by evaluating its corresponding individual policy statements in order. When a condition statement in a policy statement is satisfied, the corresponding action statement is executed. If the action statement has either accept-route or reject-route actions, policy evaluation of the current policy definition stops, and no further policy definitions in the chain are evaluated. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20scenario_test: add scenario_test to test global policyISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20scenario_test: add scenario_test to test grpc policy configurationISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20policy: clean upISHIDA Wataru
remove redundant api structures and shorten valiable names re-implement *ToApiStruct functions as a method of each structures Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-17scenario_test: remove tests to change attributes in IN_POLICYFUJITA Tomonori
We don't support such feature yet. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-17scenario_test: fix the regression due to fffd98daFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-16scenario_test: refactor route_server_policy_testFUJITA Tomonori
Currently, it's not easy to add or delete a test because it's necessary to specify a number for each test by hand. Instead, let's assign a number for each test automatically. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-10-07policy: fix bug of export neighbor condition matchingISHIDA Wataru
export neighbor condition must match to the remote address of destination peer. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-25zebra: enable to redistribute specific route typeISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-18scenario_test: fix bug of bgp_zebra_testNaoto Hanaue
container was wrong to check whether the reachable in the test. thus, modified to check the reachability between the correct container and implemented modifications of the logic associated with the above.
2015-09-17scenario_test: generate zebra configHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-09-16scenario_test: change docker base image to use in the make_gobgp_ctn()Naoto Hanaue
2015-09-16packet: support draft-ietf-idr-flow-spec-v6-06ISHIDA Wataru
you can add ipv6 flowspec routes like below $ gobgp global rib add match destination 2001::/64 10 label '=200' then discard -a ipv6-flowspec $ gobgp global rib -a ipv6-flowspec Network Next Hop AS_PATH Age Attrs *> [destination:2001::/64/10][label: =200] fictitious 00:00:23 [{Origin: i} {Extcomms: [discard]}] scenario_test is also added Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-15fix way for stop the quaggaNaoto Hanaue
does not use a 'docker rm -f' command when stop the quagga
2015-09-15scenaio_test: fix does not remove the docker container in zebra testNaoto Hanaue
2015-09-15scenario_test: preserve test logsHiroshi Yokoi
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
2015-09-11test: disable scenario test for zebraISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-11test: remove old test result before executing testISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-10test: retry docker removal when failedISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-09-04scenario_test: update run_all_tests.sh for the newly added testNaoto Hanaue
2015-09-04scenario_test: add zebra testNaoto Hanaue
2015-08-31server: support route reflector behaviorISHIDA Wataru
scenario_test is also added Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-26test: increse the number of concurrent test executionISHIDA Wataru
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
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>