summaryrefslogtreecommitdiffstats
path: root/src/vat
AgeCommit message (Expand)AuthorFilesLines
2020-04-02ipsec: provide stat index in sa detailsMatthew Smith1-2/+3
2020-04-02misc: fix static analysis warningsDave Barach1-1/+1
2020-03-23sr: srv6 API cleanupJakub Grajciar1-10/+5
2020-03-21vlib: leave SIGPROF signal with its default handlerJieqiang Wang1-0/+1
2020-03-19ip: change ip API enums address_family and ip_proto size to u8Jakub Grajciar1-1/+1
2020-03-17ip: ip_address_t uses ip46_address_tNeale Ranns2-0/+533
2020-03-16vxlan: vxlan/vxlan.api API cleanupJakub Grajciar1-13/+15
2020-03-12policer: API cleanupJakub Grajciar1-24/+24
2020-03-05session: API cleanupJakub Grajciar1-29/+47
2020-03-05tap: add support for persistanceMohsin Kazmi1-1/+5
2020-03-04vxlan: vxlan-gpe/vxlan-gpe.cpi API cleanupJakub Grajciar1-66/+29
2020-02-26vat: add ip api types parser definitionsJakub Grajciar4-1/+34
2020-02-26lldp: API cleanupJakub Grajciar1-2/+2
2020-02-26pg: API cleanupJakub Grajciar1-6/+2
2020-02-26sr: API cleanupJakub Grajciar1-1/+1
2020-02-26api: improve api string safetyJakub Grajciar1-12/+7
2020-02-15tap: fix the default parameter for num_rx_queuesMohsin Kazmi1-31/+48
2020-01-30misc: deprecate netmap and ixge driversDamjan Marion1-101/+0
2020-01-16misc: binary-api sw_interface_vhost_user_dump is brokenSteven Luong1-0/+1
2020-01-08tap: split gso and checksum offload functionalityMohsin Kazmi1-0/+2
2020-01-08virtio: split gso and checksum offload functionalityMohsin Kazmi1-1/+5
2020-01-03devices: virtio API cleanupJakub Grajciar1-3/+18
2019-12-17ip: Protocol Independent IP NeighborsNeale Ranns1-869/+8
2019-12-11api: Use vl_msg_push/pop_heapNathan Skrzypczak1-15/+6
2019-12-11devices: vhost API cleanupJakub Grajciar1-3/+12
2019-12-11devices: tap API cleanupJakub Grajciar1-13/+15
2019-12-10api: multiple connections per processDave Barach2-6/+6
2019-12-04gre: Multi-point interfacesNeale Ranns1-6/+6
2019-11-26fib: Table ReplaceNeale Ranns1-15/+78
2019-11-19srv6-mobileTetsuya Murakami1-0/+1
2019-11-12ip: IP address and prefix types (moved from LISP)Neale Ranns1-3/+3
2019-10-30l2: l2tp API cleanupJakub Grajciar1-6/+6
2019-10-22ip: ipfix-export API updateJakub Grajciar1-2/+3
2019-10-14gso: Add gso feature arcMohsin Kazmi1-0/+43
2019-10-10geneve: API cleanupJakub Grajciar1-13/+24
2019-10-09interface: dump the interface device typeMohsin Kazmi1-0/+2
2019-10-09interface: callback to manage extra MAC addressesMatthew Smith1-0/+52
2019-10-07dhcp: Move to pluginNeale Ranns1-396/+0
2019-10-03dhcp: API cleanupJakub Grajciar1-10/+9
2019-09-16api: autogenerate api trace print/endianOle Troan1-0/+2
2019-09-11bonding: API cleanupJakub Grajciar1-6/+6
2019-09-11build: fix running error with vmxnet3_test_plugin.sojialv011-10/+4
2019-09-06bonding: add weight support for active-backup modeSteven Luong1-6/+56
2019-09-03api: enforce vla is last and fixed string typeOle Troan1-43/+11
2019-08-27api: revert use string type for strings in memclnt.apiOle Troan1-1/+1
2019-08-27api: use string type for strings in memclnt.apiOle Troan1-1/+1
2019-08-22dns: make the dns name resolver a pluginDave Barach1-242/+0
2019-08-20api: Cleanup APIs interface.apiJakub Grajciar2-45/+57
2019-07-31devices interface tests: vhosst GSO supportSteven Luong1-2/+10
2019-07-28pg: add GSO supportMohsin Kazmi1-2/+15
} cat $VIRL_SERVER_STATUS_FILE 2>&1) echo VIRL HOST $virl_server_candidate status is \"$virl_server_status\" if [ "$virl_server_status" == "$VIRL_SERVER_EXPECTED_STATUS" ] then # Candidate is in good status. Select this server. VIRL_SERVER="$virl_server_candidate" else # Candidate is in bad status. Remove from array. VIRL_SERVERS=("${VIRL_SERVERS[@]:0:$element}" "${VIRL_SERVERS[@]:$[$element+1]}") fi done #we will pack all the TLDK depend files and copy it to the VIRL_SERVER VIRL_DIR_LOC="/tmp" TLDK_TAR_FILE="tldk_depends.tar.gz" wget "fast.dpdk.org/rel/${DPDK_PACKAGE}" tar zcf ${TLDK_TAR_FILE} ${DPDK_PACKAGE} ./tldk/ \ ./tests/tldk/tldk_testconfig/ cat ${VIRL_PKEY} # Copy the files to VIRL host scp ${SSH_OPTIONS} ${TLDK_TAR_FILE} \ ${VIRL_USERNAME}@${VIRL_SERVER}:${VIRL_DIR_LOC}/ result=$? if [ "${result}" -ne "0" ]; then echo "Failed to copy tldk package file to virl host" echo ${result} exit ${result} fi # Start a simulation on VIRL server echo "Starting simulation on VIRL server" VIRL_TOPOLOGY=double-ring-nested.xenial VIRL_RELEASE=csit-ubuntu-16.04.1_2017-07-26_1.9 function stop_virl_simulation { ssh ${SSH_OPTIONS} ${VIRL_USERNAME}@${VIRL_SERVER}\ "stop-testcase ${VIRL_SID}" } # Upon script exit, cleanup the simulation execution trap stop_virl_simulation EXIT # use the start-testcase-TLDK for the TLDK test case VIRL_SID=$(ssh ${SSH_OPTIONS} \ ${VIRL_USERNAME}@${VIRL_SERVER} \ "start-testcase-TLDK -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VIRL_DIR_LOC}/${TLDK_TAR_FILE}") 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 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 # create a python virtual environment env 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 150 \ -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --suite "tests.tldk.func" \ --include vm_envAND3_node_single_link_topo \ --noncritical EXPECTED_FAILING \ tests/ RETURN_STATUS=$(echo $?) # Archive artifacts mkdir archive for i in ${ARCHIVE_ARTIFACTS[@]}; do cp $( readlink -f ${i} | tr '\n' ' ' ) archive/ done exit ${RETURN_STATUS}