Skip to content

Commit

Permalink
Fix lwaftr's test vlan configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Tallon committed May 18, 2017
1 parent fc8980b commit f27f70a
Show file tree
Hide file tree
Showing 15 changed files with 1,014 additions and 755 deletions.
124 changes: 71 additions & 53 deletions src/program/lwaftr/tests/data/vlan/big_mtu_no_icmp.conf
Original file line number Diff line number Diff line change
@@ -1,94 +1,112 @@
softwire-config {
binding-table {
br-address 8:9:a:b:c:d:e:f;
br-address 1e:1:1:1:1:1:1:af;
br-address 1e:2:2:2:2:2:2:af;
psid-map {
addr 178.79.150.15;
psid-length 4;
shift 12;
}
psid-map {
addr 178.79.150.233;
psid-length 16;
shift 0;
}
psid-map {
addr 178.79.150.1;
psid-length 0;
shift 16;
}
psid-map {
addr 178.79.150.2;
psid-length 16;
shift 0;
}
psid-map {
addr 178.79.150.3;
psid-length 6;
shift 10;
softwire {
ipv4 178.79.150.3;
psid 4;
b4-ipv6 127:14:25:36:47:58:69:128;
br-address 1e:2:2:2:2:2:2:af;
port-set {
psid-length 6;
}
}
softwire {
ipv4 178.79.150.233;
psid 4660;
psid 22788;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.1;
psid 0;
b4-ipv6 127:10:20:30:40:50:60:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 0;
}
}
softwire {
ipv4 178.79.150.233;
psid 80;
b4-ipv6 127:2:3:4:5:6:7:128;
psid 2700;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 54192;
psid 4660;
b4-ipv6 127:11:12:13:14:15:16:128;
}
softwire {
ipv4 178.79.150.3;
psid 4;
b4-ipv6 127:14:25:36:47:58:69:128;
br 3;
}
softwire {
ipv4 178.79.150.2;
psid 7850;
b4-ipv6 127:24:35:46:57:68:79:128;
br 2;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 7850;
psid 54192;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 2300;
psid 7850;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 22788;
b4-ipv6 127:11:12:13:14:15:16:128;
ipv4 178.79.150.15;
psid 1;
b4-ipv6 127:22:33:44:55:66:77:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 4;
}
}
softwire {
ipv4 178.79.150.233;
psid 2700;
psid 2300;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.15;
psid 1;
psid 0;
b4-ipv6 127:22:33:44:55:66:77:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 4;
}
}
softwire {
ipv4 178.79.150.15;
psid 0;
b4-ipv6 127:22:33:44:55:66:77:128;
ipv4 178.79.150.233;
psid 80;
b4-ipv6 127:2:3:4:5:6:7:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.2;
psid 7850;
b4-ipv6 127:24:35:46:57:68:79:128;
br-address 1e:1:1:1:1:1:1:af;
port-set {
psid-length 16;
}
}
}
external-interface {
Expand Down
33 changes: 20 additions & 13 deletions src/program/lwaftr/tests/data/vlan/icmp_endaddr.conf
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
softwire-config {
binding-table {
br-address 8:9:a:b:c:d:e:f;
br-address 1e:1:1:1:1:1:1:af;
br-address 1e:2:2:2:2:2:2:af;
psid-map {
addr 178.79.150.233;
end-addr 178.79.150.236;
psid-length 0;
shift 16;
}
softwire {
ipv4 178.79.150.233;
ipv4 178.79.150.234;
psid 0;
b4-ipv6 127:10:20:30:30:50:60:128;
b4-ipv6 127:10:20:30:40:50:60:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 0;
}
}
softwire {
ipv4 178.79.150.234;
ipv4 178.79.150.233;
psid 0;
b4-ipv6 127:10:20:30:40:50:60:128;
b4-ipv6 127:10:20:30:30:50:60:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 0;
}
}
softwire {
ipv4 178.79.150.235;
psid 0;
b4-ipv6 127:10:20:30:50:50:60:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 0;
}
}
softwire {
ipv4 178.79.150.236;
psid 0;
b4-ipv6 127:10:20:30:60:50:60:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 0;
}
}
}
external-interface {
Expand Down
124 changes: 71 additions & 53 deletions src/program/lwaftr/tests/data/vlan/icmp_on_fail.conf
Original file line number Diff line number Diff line change
@@ -1,94 +1,112 @@
softwire-config {
binding-table {
br-address 8:9:a:b:c:d:e:f;
br-address 1e:1:1:1:1:1:1:af;
br-address 1e:2:2:2:2:2:2:af;
psid-map {
addr 178.79.150.15;
psid-length 4;
shift 12;
}
psid-map {
addr 178.79.150.233;
psid-length 16;
shift 0;
}
psid-map {
addr 178.79.150.1;
psid-length 0;
shift 16;
}
psid-map {
addr 178.79.150.2;
psid-length 16;
shift 0;
}
psid-map {
addr 178.79.150.3;
psid-length 6;
shift 10;
softwire {
ipv4 178.79.150.3;
psid 4;
b4-ipv6 127:14:25:36:47:58:69:128;
br-address 1e:2:2:2:2:2:2:af;
port-set {
psid-length 6;
}
}
softwire {
ipv4 178.79.150.233;
psid 4660;
psid 22788;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.1;
psid 0;
b4-ipv6 127:10:20:30:40:50:60:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 0;
}
}
softwire {
ipv4 178.79.150.233;
psid 80;
b4-ipv6 127:2:3:4:5:6:7:128;
psid 2700;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 54192;
psid 4660;
b4-ipv6 127:11:12:13:14:15:16:128;
}
softwire {
ipv4 178.79.150.3;
psid 4;
b4-ipv6 127:14:25:36:47:58:69:128;
br 3;
}
softwire {
ipv4 178.79.150.2;
psid 7850;
b4-ipv6 127:24:35:46:57:68:79:128;
br 2;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 7850;
psid 54192;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 2300;
psid 7850;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.233;
psid 22788;
b4-ipv6 127:11:12:13:14:15:16:128;
ipv4 178.79.150.15;
psid 1;
b4-ipv6 127:22:33:44:55:66:77:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 4;
}
}
softwire {
ipv4 178.79.150.233;
psid 2700;
psid 2300;
b4-ipv6 127:11:12:13:14:15:16:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.15;
psid 1;
psid 0;
b4-ipv6 127:22:33:44:55:66:77:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 4;
}
}
softwire {
ipv4 178.79.150.15;
psid 0;
b4-ipv6 127:22:33:44:55:66:77:128;
ipv4 178.79.150.233;
psid 80;
b4-ipv6 127:2:3:4:5:6:7:128;
br-address 8:9:a:b:c:d:e:f;
port-set {
psid-length 16;
}
}
softwire {
ipv4 178.79.150.2;
psid 7850;
b4-ipv6 127:24:35:46:57:68:79:128;
br-address 1e:1:1:1:1:1:1:af;
port-set {
psid-length 16;
}
}
}
external-interface {
Expand Down
Loading

0 comments on commit f27f70a

Please sign in to comment.