aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-08-23 17:00:29 +0200
committerVratko Polak <vrpolak@cisco.com>2019-08-23 17:00:29 +0200
commitff820e3d53434889aacde2373314c3be8d00f765 (patch)
tree4172584444e7408af0ef47db4288cfdf4bad9ef7 /resources/libraries/bash
parentfbbc47359e3f7b59bbd5a84d85c673374933a50a (diff)
Introduce reconfig suites, for dot1q+ip4+vxlan
Ticket: CSIT-1551 + Config copied from other suites. + Layer keywords prepared for additional chains. + Renamed "create" argument to "vlan_per_chain". + TrafficGenerator result extraction improvements. + Also unified TG type and subtype checking. + Throughput estimated as PDR for zero PLR. + Actual Qemu start is skipped. + Parse xstats instead of stats in trex stop scipt. - Because stats are unconditionally cleared on each script connect. + Remember start values to get better ReceiveMeasurementResult at stop. + Expose loss count and time as appropriate test message. + Autogen support. + Multiple chain amounts and core densities. - Only 1 additional chain. + Proper TAGs. Documented. + Clarified min framesize tags are for TG-DUT. + Added a TODO concerning overhead values. + Added 118B tag. + Robot performance keywords improvements. + Added missing return value documentation. + Frame size as required test variable, not an explicit argument. + MLRsearch keyword to store result (not into test message). - TODO: De-duplicate: main keyword to measure, minor to set test message. - But implementation uses the fact default arguments are different. + Keywords for starting and stopping background traffic. - No checks whether start-stop pair is complete. + Multiple minor indentation and logging improvements. - Missing / TODOs: - Support also vlan_per_chain=True? - Support dot1q without vxlan? - Support also deletion? - How to package config steps so -reconf can be generated from -ndrpdr? Change-Id: If0270697f9ffa837c34ef802917220a53f156703 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/bash')
-rw-r--r--resources/libraries/bash/entry/check/tc_naming.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/bash/entry/check/tc_naming.sh b/resources/libraries/bash/entry/check/tc_naming.sh
index b8a2775035..b193cfad5e 100644
--- a/resources/libraries/bash/entry/check/tc_naming.sh
+++ b/resources/libraries/bash/entry/check/tc_naming.sh
@@ -66,7 +66,7 @@ r_testc_rules=(
#'(ipsec[[:digit:]]+tnlhw|ipsec[[:digit:]]+tnlsw|'
#'srhip6|tcp|udp|lispip6|lispip4|vxlan){0,1}'
#'(http){0,1}-'
- '(.*)-(dev|ndrpdr|cps|rps)$'
+ '(.*)-(dev|ndrpdr|cps|rps|reconf)$'
)
s_suite_rules=(
'number of SUT nodes'
@@ -85,7 +85,7 @@ r_suite_rules=(
#'(ipsec[[:digit:]]+tnlhw|ipsec[[:digit:]]+tnlsw|'
#'srhip6|tcp|udp|lispip6|lispip4|vxlan){0,1}'
#'(http){0,1}-'
- '(.*)-(dev|ndrpdr|cps|rps)$'
+ '(.*)-(dev|ndrpdr|cps|rps|reconf)$'
)
rm -f "tc_naming.log" || die
an class="o">== DPO_PUNT); } static void punt_dpo_lock (dpo_id_t *dpo) { /* * not maintaining a lock count on the punt * more trouble than it's worth. * There always needs to be one around. no point it managing its lifetime */ } static void punt_dpo_unlock (dpo_id_t *dpo) { } static u8* format_punt_dpo (u8 *s, va_list *ap) { CLIB_UNUSED(index_t index) = va_arg(*ap, index_t); CLIB_UNUSED(u32 indent) = va_arg(*ap, u32); return (format(s, "dpo-punt")); } const static dpo_vft_t punt_vft = { .dv_lock = punt_dpo_lock, .dv_unlock = punt_dpo_unlock, .dv_format = format_punt_dpo, }; /** * @brief The per-protocol VLIB graph nodes that are assigned to a punt * object. * * this means that these graph nodes are ones from which a punt is the * parent object in the DPO-graph. */ const static char* const punt_ip4_nodes[] = { "ip4-punt", NULL, }; const static char* const punt_ip6_nodes[] = { "ip6-punt", NULL, }; const static char* const punt_mpls_nodes[] = { "mpls-punt", NULL, }; const static char* const * const punt_nodes[DPO_PROTO_NUM] = { [DPO_PROTO_IP4] = punt_ip4_nodes, [DPO_PROTO_IP6] = punt_ip6_nodes, [DPO_PROTO_MPLS] = punt_mpls_nodes, }; void punt_dpo_module_init (void) { dpo_register(DPO_PUNT, &punt_vft, punt_nodes); }