regress: Tweaked HP timing parameters
This commit is contained in:
1 parent
aee032f258
commit
4154ed4eb5
2 files changed
+5
-2
No files matched your search
@@ -67,7 +67,7 @@ if (defined($ENV{'OFT_HP_COMMUNITY'})) {
|
||||
`snmpset -v2c -c ${of_hp_community} ${of_hp_switch_ip} iso.org.dod.internet.private.enterprises.11.2.14.11.5.1.7.1.35.1.1.2.${of_hp_vlan} i 2`;
|
||||
|
||||
# Make sure the snmp commands don't coalesce
|
||||
usleep(300000);
|
||||
usleep(200000);
|
||||
|
||||
# set OpenFlow Controller string
|
||||
`snmpset -v2c -c ${of_hp_community} ${of_hp_switch_ip} iso.org.dod.internet.private.enterprises.11.2.14.11.5.1.7.1.35.1.1.3.${of_hp_vlan} s ${of_hp_controller}`;
|
||||
@@ -79,3 +79,6 @@ if (defined($of_hp_listener)) {
|
||||
|
||||
# enable OpenFlow module
|
||||
`snmpset -v2c -c ${of_hp_community} ${of_hp_switch_ip} iso.org.dod.internet.private.enterprises.11.2.14.11.5.1.7.1.35.1.1.2.${of_hp_vlan} i 1`;
|
||||
|
||||
# Starting OpenFlow takes time, give switch a bit of time...
|
||||
usleep(900000);
|
||||
@@ -29,7 +29,7 @@ sub INT_Handler {
|
||||
# Test need extra delay due to slow controller socket
|
||||
# Add more idle time due to stat resolution
|
||||
# byte count is not available - Jean II
|
||||
push @ARGV, "--root=$ENV{'OFT_ROOT'}", "--common-st-args=hp", "--controller=".$ENV{'OFT_HP_CONTROLLER'}, "--port_base=1", "--send_delay=500000", "--base_idle=3", "--ignore_byte_count";
|
||||
push @ARGV, "--root=$ENV{'OFT_ROOT'}", "--common-st-args=hp", "--controller=".$ENV{'OFT_HP_CONTROLLER'}, "--port_base=1", "--send_delay=300000", "--base_idle=2", "--ignore_byte_count";
|
||||
|
||||
# Use a single random port instead of all four
|
||||
push @ARGV, "--less_ports";
|
||||
|
||||
Reference in new issue
Block a user