aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_mpls.py
AgeCommit message (Expand)AuthorFilesLines
2021-06-17mpls: CLI to show the MPLS forwarding state of an interfaceNeale Ranns1-0/+7
2021-02-11tests: tag the tests that do not work with multi-worker configurationAndrew Yourtchenko1-0/+2
2020-10-21ip: convert u32 entry_flags to vl_api_mfib_entry_flags_t on mroute APINeale Ranns1-8/+18
2019-12-27tests: test_mpls_v6_ebgp_pic - don't write to stdoutPaul Vinciguerra1-1/+1
2019-12-17ip: Protocol Independent IP NeighborsNeale Ranns1-1/+1
2019-11-15tests: Add UT to test incomplete MPLS adjacencies send ARP requestsNeale Ranns1-3/+42
2019-11-11ip: functional interface to ip fragmentationOle Troan1-2/+37
2019-11-08tests: python3 use byte strings in raw()Ole Troan1-10/+10
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto1-1/+1
2019-10-09mpls: support fragmentation of mpls output packetRajesh Goel1-0/+56
2019-08-07tests: UT for MPLS 6PENeale Ranns1-1/+52
2019-07-24fib: Support the POP of a Psuedo Wire Control WordNeale Ranns1-41/+85
2019-06-18fib: fib api updatesNeale Ranns1-66/+78
2019-05-16tests: refactor. Replace literal constant w/ named constant.Paul Vinciguerra1-5/+5
2019-05-14tests: fix TestMPLSPIC tests in test_mpls.py.Paul Vinciguerra1-28/+82
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+32
2019-03-28Typos. A bunch of typos I've been collecting.Paul Vinciguerra1-11/+11
2019-03-11vpp_papi_provider: Remove more wrapper functions.Ole Troan1-10/+8
2019-03-11VPP-1508: Use scapy.compat to manage packet level library differences.Paul Vinciguerra1-1/+2
2018-12-20FIB: encode the label stack in the FIB path during table dumpNeale Ranns1-1/+7
2018-09-27IPIP and IPv6 fragmentationOle Troan1-1/+1
2018-09-26MPLS tunnel dump: use sw_if_index not tunnel_indexNeale Ranns1-0/+13
2018-09-20Route counters in the stats segmentNeale Ranns1-0/+21
2018-09-11GBP Endpoint UpdatesNeale Ranns1-1/+2
2018-03-09MPLS Unifom modeNeale Ranns1-368/+473
2018-01-09test: consolidate the multiple versions of send_and_*Neale Ranns1-16/+7
2017-11-11MPLS disposition actions at the tail of unicast LSPsNeale Ranns1-2/+112
2017-10-31Refactor IP input checks for re-use at MPLS dispositionNeale Ranns1-2/+21
2017-09-11FIB table add/delete APINeale Ranns1-6/+42
2017-08-08L2 over MPLSNeale Ranns1-56/+262
2017-05-26MPLS lookup DPO does not pop the label (nor does it handle replicate)Neale Ranns1-0/+20
2017-05-24Missing VLIB node for IPv6 disposition from mcast MPLS LSPNeale Ranns1-4/+73
2017-05-23Labelled attached paths via an MPLS tunnelNeale Ranns1-2/+25
2017-04-24Improve Load-Balance MAPsNeale Ranns1-0/+359
2017-04-07MPLS McastNeale Ranns1-22/+255
2017-03-17Fix IP feature ordering.Neale Ranns1-0/+83
2017-03-03Changing the IP table for an interface is an error if the interface already h...Neale Ranns1-4/+5
2017-02-20Python test IP and MPLS objects conform to infra.Neale Ranns1-75/+66
2016-12-23make test: improve handling of packet capturesKlement Sekera1-17/+24
2016-12-16make test: improve robustness and performanceKlement Sekera1-23/+6
2016-12-14Ping response in a VRF context uses correct FIB for responseNeale Ranns1-10/+73
2016-12-13make test: Use VXLAN built in scapy 2.3.3Matej Klotton1-28/+33
2016-12-06add missing import to mpls testGabriel Ganne1-0/+1
2016-12-05make test: fix missing log/packet messagesKlement Sekera1-6/+6
2016-12-02MPLS infrastructure improvmentsNeale Ranns1-20/+502
2016-11-01MPLS Exp-null TestsNeale Ranns1-0/+209
class="p">| ... | node interfaces. Incrementing of IP.dst (IPv4 destination address) \ | ... | is applied to both streams. | ... | | ... | - **[Ref] Applicable standard specifications:** RFC4303 and RFC2544. *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | ... | crypto_native_plugin.so | ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so | ${crypto_type}= | HW_DH895xcc | ${nic_name}= | Intel-X710 | ${nic_driver}= | vfio-pci | ${nic_rxq_size}= | 0 | ${nic_txq_size}= | 0 | ${nic_pfs}= | 2 | ${nic_vfs}= | 0 | ${osi_layer}= | L3 | ${overhead}= | ${54} | ${tg_if1_ip4}= | 192.168.10.254 | ${dut1_if1_ip4}= | 192.168.10.11 | ${dut1_if2_ip4}= | 100.0.0.1 | ${dut2_if1_ip4}= | 200.0.0.102 | ${dut2_if2_ip4}= | 192.168.20.11 | ${tg_if2_ip4}= | 192.168.20.254 | ${raddr_ip4}= | 20.0.0.0 | ${laddr_ip4}= | 10.0.0.0 | ${addr_range}= | ${24} | ${n_tunnels}= | ${1} # Traffic profile: | ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels} *** Keywords *** | Local Template | | [Documentation] | | ... | - **[Cfg]** DUT runs IPSec tunneling AES_256_GCM config. \ | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | - **[Ver]** Measure NDR and PDR values using MLRsearch algorithm. | | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer | | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} | | | | Set Test Variable | \${frame_size} | | | | # These are enums (not strings) so they cannot be in Variables table. | | ${encr_alg}= | Crypto Alg AES GCM 256 | | ${auth_alg}= | Set Variable | ${NONE} | | ${ipsec_proto}= | IPsec Proto ESP | | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} | | And Apply startup configuration on all VPP DUTs | | When Initialize layer driver | ${nic_driver} | | And Initialize layer interface | | And VPP IPsec Select Backend | ${dut1} | ${ipsec_proto} | index=${1} | | And VPP IPsec Select Backend | ${dut2} | ${ipsec_proto} | index=${1} | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${nodes} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${DUT1_${int}2}[0] | | ... | ${DUT2_${int}1}[0] | ${n_tunnels} | ${encr_alg} | ${auth_alg} | | ... | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** | 64B-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 64B | 1C | | frame_size=${64} | phy_cores=${1} | 64B-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} | 64B-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 64B | 4C | | frame_size=${64} | phy_cores=${4} | 1518B-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 1518B | 1C | | frame_size=${1518} | phy_cores=${1} | 1518B-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 1518B | 2C | | frame_size=${1518} | phy_cores=${2} | 1518B-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 1518B | 4C | | frame_size=${1518} | phy_cores=${4} | 9000B-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 9000B | 1C | | frame_size=${9000} | phy_cores=${1} | 9000B-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 9000B | 2C | | frame_size=${9000} | phy_cores=${2} | 9000B-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 9000B | 4C | | frame_size=${9000} | phy_cores=${4} | IMIX-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | IMIX | 1C | | frame_size=IMIX_v4_1 | phy_cores=${1} | IMIX-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | IMIX | 2C | | frame_size=IMIX_v4_1 | phy_cores=${2} | IMIX-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr | | [Tags] | IMIX | 4C | | frame_size=IMIX_v4_1 | phy_cores=${4}