Skip to content

Commit

Permalink
Add configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
dpino committed Jan 17, 2017
1 parent 12e3e3a commit 18d635c
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
49 changes: 49 additions & 0 deletions src/program/lwaftr/tests/data/lwaftr-vlan.conf
@@ -0,0 +1,49 @@
softwire-config {
binding-table {
br-address fc00::100;
psid-map {
addr 193.5.1.100;
end-addr 193.5.63.101;
psid-length 6;
shift 10;
}
softwire {
ipv4 193.5.17.1;
psid 44;
b4-ipv6 fc00:1:2:3:4:5:3:d84c;
}
}
external-interface {
allow-incoming-icmp false;
error-rate-limiting {
packets 600000;
}
generate-icmp-errors false;
ip 10.0.1.1;
mac 02:aa:aa:aa:aa:aa;
next-hop {
mac 02:99:99:99:99:99;
}
reassembly {
max-fragments-per-packet 40;
}
vlan-tag 164;
}
internal-interface {
allow-incoming-icmp false;
error-rate-limiting {
packets 600000;
}
generate-icmp-errors false;
ip fe80::100;
mac 02:aa:aa:aa:aa:aa;
mtu 9500;
next-hop {
mac 02:99:99:99:99:99;
}
reassembly {
max-fragments-per-packet 40;
}
vlan-tag 125;
}
}
4 changes: 3 additions & 1 deletion src/program/lwaftr/tests/hw/test_ping_on_a_stick.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

# set -x

SKIPPED_CODE=43

if [[ $EUID -ne 0 ]]; then
Expand Down Expand Up @@ -75,7 +77,7 @@ function cleanup {

trap cleanup EXIT HUP INT QUIT TERM

LWAFTR_CONF=lwaftr-migrated.conf
LWAFTR_CONF=program/lwaftr/tests/data/lwaftr-vlan.conf
EXTERNAL_IP=10.0.1.1
INTERNAL_IP=fe80::100
IPV4_ADDRESS=10.0.1.2/24
Expand Down

0 comments on commit 18d635c

Please sign in to comment.