aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_scripts
AgeCommit message (Expand)AuthorFilesLines
2019-01-15fix failing tests after namespace updates in HCMichal Cmarada1-1/+1
2018-12-07VPP_Device - add baseline tests - part IJan Gelety1-67/+78
2018-05-04Fix various pylint 1.5.4 warningsVratko Polak1-1/+0
2017-11-08CSIT-811 HC Test: BGP functional testsselias1-0/+85
2017-09-28HC Test: Fix intermittent failures of HC startupselias1-32/+26
2017-09-18Ignore unexpected ICMPv6 Neighbor Discovery - Neighbor Solicitation packetsJan Gelety22-424/+631
2017-08-09CSIT-611: HC Test: Lisp suite updates + LispGPEselias2-0/+350
2017-07-05 Change the bootstrap script file and test the CI-management.Fangyin Hu4-16/+52
2017-06-30CSIT-619 HC Test: Honeycomb performance testing - initial commitselias1-0/+360
2017-06-09 Add the NSH SFC functional test cases.Fangyin Hu4-0/+372
2017-04-25Vhost testsMatej Klotton2-0/+123
2017-03-30CSIT-532 HC Test: IPv6 Neighbor Discovery proxyselias1-0/+194
2017-03-29Virl test: dot1q ip4baseMatej Klotton1-33/+71
2017-03-10SPAN test - improvement of packet checkJan Gelety1-31/+97
2017-02-24VIRL test: Dot1Q-L2BD-vhost_user test (CSIT-502)Matej Klotton1-3/+30
2017-02-23Add pypcap python requirementMatej Klotton3-26/+26
2017-02-15HC Test: ACL updatesselias1-0/+125
2016-11-11CSIT-471: Fix check of DHCPv6 message types.Jan Gelety1-12/+42
2016-11-10DHCPv6 messages - increase log infoJan Gelety1-19/+31
2016-10-28DHCPv6 Proxy test updatePatrik Hrnciar1-6/+6
2016-10-04CSIT-227, CSIT-240 IPv4/IPv6 Multipath routing testsPatrik Hrnciar1-0/+131
2016-10-04CSIT-365: IPv6 encaps softwire - MAP-E part IIMatej Klotton1-0/+1
2016-10-03CSIT-235: Switched Port Analyzer mirroring (SPAN) - IPv4selias3-5/+142
2016-09-14CSIT-241: IPv6 Router Advertisementselias2-6/+133
2016-09-12CSIT-383: IPSEC IPv4 negative test casesJan Gelety1-3/+1
2016-09-06CSIT-353: MAP-T FIX: Add tx src mac to traffic scriptMatej Klotton1-2/+4
2016-08-26CSIT-124: IPv4 encapsulations - IP4-GRE-IP4Matej Klotton1-0/+124
2016-08-26CSIT-252 IPFIX - ipv6 functional scaleselias1-2/+2
2016-08-25CSIT-234 IPFIX - ipv4 functional scaleselias1-0/+225
2016-08-25CSIT-353: Add basic map-t testsMatej Klotton2-0/+265
2016-08-25CSIT-237: VPN routed forwarding (VRF) - baseline for IPv6Zdeno Olsovsky1-14/+80
2016-08-25CSIT-233 IPv4 IPFIX - baseline testsselias1-0/+198
2016-08-25CSIT-31 DHCPv6 Proxy testPatrik Hrnciar1-0/+330
2016-08-18CSIT-171 CSIT-172 Policer tests initial commitMatus Fabian1-0/+125
2016-08-15CSIT-197: Add basic mapping rule tests for MAP-EMatej Klotton1-2/+3
2016-08-09CSIT-341 Refactor DHCPv4 proxy testPatrik Hrnciar2-72/+69
2016-08-01CSIT-25 DHCPv4 proxy testsPatrik Hrnciar2-0/+381
2016-07-19CSIT-34: VLAN tag rewrite translate tests with x-connects - IPv4Jan Gelety2-13/+46
2016-07-13CSIT-32: Add lightweight hairpinning testMatej Klotton1-0/+144
2016-07-13CSIT-32: Add decapsulation testMatej Klotton1-0/+126
2016-07-13CSIT-32: Add Softwire lw4o6 ICMP testMatej Klotton2-0/+139
2016-07-12CSIT-32: Add Lightweight 4over6 test.Matej Klotton1-0/+135
2016-06-30CSIT-24 Proxy ARP testPatrik Hrnciar1-0/+4
2016-06-17Fix VPP sends ARP requests for unknown destinations TC destination MAC addressMatej Klotton1-13/+30
2016-06-16Router Advertisement TestsZdeno Olsovsky1-0/+87
2016-06-07iACL TCP/UDP testsPatrik Hrnciar1-0/+121
2016-06-06Add test VPP honors DHCPv4 lease timeMatej Klotton2-0/+224
2016-06-06Add test VPP sends DHCP REQUEST after OFFERMatej Klotton1-0/+218
2016-05-31CSIT-23 Add ARP request test.Patrik Hrnciar1-0/+118
2016-05-31Sample test suite for vpp sample plugin (macswap)Miroslav Miklus1-0/+66
>index}]}" else if [ "${OS}" == "centos7" ]; then scp ${SSH_OPTIONS} *.rpm \ ${VIRL_USERNAME}@${VIRL_SERVER[${index}]}:${VIRL_DIR_LOC}/ else scp ${SSH_OPTIONS} *.deb \ ${VIRL_USERNAME}@${VIRL_SERVER[${index}]}:${VIRL_DIR_LOC}/ fi result=$? if [ "${result}" -ne "0" ]; then echo "Failed to copy files to VIRL host ${VIRL_SERVER[${index}]}" echo ${result} exit ${result} else echo "files successfully copied to the VIRL host ${VIRL_SERVER[${index}]}" fi DONE+=(${VIRL_SERVER[${index}]}) fi done # Start a simulation on VIRL server echo "Starting simulation on VIRL server" function stop_virl_simulation { ssh ${SSH_OPTIONS} ${VIRL_USERNAME}@${VIRL_SERVER}\ "stop-testcase ${VIRL_SID}" } VIRL_SID=$(ssh ${SSH_OPTIONS} \ ${VIRL_USERNAME}@${VIRL_SERVER} \ "start-testcase -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VPP_PKGS_FULL[@]}") retval=$? if [ "${retval}" -ne "0" ]; then echo "VIRL simulation start failed" exit ${retval} fi if [[ ! "${VIRL_SID}" =~ session-[a-zA-Z0-9_]{6} ]]; then echo "No VIRL session ID reported." exit 127 fi # Upon script exit, cleanup the simulation execution trap stop_virl_simulation EXIT echo ${VIRL_SID} ssh_do ${VIRL_USERNAME}@${VIRL_SERVER} cat /scratch/${VIRL_SID}/topology.yaml # Download the topology file from virl session scp ${SSH_OPTIONS} \ ${VIRL_USERNAME}@${VIRL_SERVER}:/scratch/${VIRL_SID}/topology.yaml \ topologies/enabled/topology.yaml retval=$? if [ "${retval}" -ne "0" ]; then echo "Failed to copy topology file from VIRL simulation" exit ${retval} fi virtualenv --system-site-packages env . env/bin/activate echo pip install pip install -r ${SCRIPT_DIR}/requirements.txt pykwalify -s ${SCRIPT_DIR}/resources/topology_schemas/3_node_topology.sch.yaml \ -s ${SCRIPT_DIR}/resources/topology_schemas/topology.sch.yaml \ -d ${SCRIPT_DIR}/topologies/enabled/topology.yaml \ -vvv if [ "$?" -ne "0" ]; then echo "Topology schema validation failed." echo "However, the tests will start." fi PYTHONPATH=`pwd` pybot -L TRACE -W 136\ -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --suite "tests.vpp.func" \ --include HC_FUNC \ --noncritical EXPECTED_FAILING \ tests/ RETURN_STATUS=$? # Get Honeycomb log file from virl host scp ${SSH_OPTIONS} \ ${VIRL_USERNAME}@${VIRL_SERVER}:/scratch/${VIRL_SID}/honeycomb.log . || true # Archive artifacts mkdir archive for i in ${ARCHIVE_ARTIFACTS[@]}; do cp $( readlink -f ${i} | tr '\n' ' ' ) archive/ done exit ${RETURN_STATUS}