Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
re6stnet
Commits
b5b52dc8
Commit
b5b52dc8
authored
Apr 29, 2019
by
Killian Lufau
Committed by
Julien Muchembled
May 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demo: add testing of UDP
/reviewed-on
nexedi/re6stnet!11
parent
120fff13
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
+14
-4
demo/demo
demo/demo
+5
-0
demo/m6/re6stnet.conf
demo/m6/re6stnet.conf
+3
-1
demo/m7/re6stnet.conf
demo/m7/re6stnet.conf
+3
-1
demo/m8/re6stnet.conf
demo/m8/re6stnet.conf
+2
-2
demo/registry/re6stnet.conf
demo/registry/re6stnet.conf
+1
-0
No files found.
demo/demo
View file @
b5b52dc8
...
@@ -146,6 +146,11 @@ m7_if_0.add_v4_address(address='10.0.1.3', prefix_len=24)
...
@@ -146,6 +146,11 @@ m7_if_0.add_v4_address(address='10.0.1.3', prefix_len=24)
m8_if_0.add_v4_address(address='10.0.1.4', prefix_len=24)
m8_if_0.add_v4_address(address='10.0.1.4', prefix_len=24)
m6_if_1.add_v4_address(address='192.168.241.1', prefix_len=24)
m6_if_1.add_v4_address(address='192.168.241.1', prefix_len=24)
# Add IPv6 addresses to test UDP6 between m8 and m6/m7
m6_if_0.add_v6_address(address='fc42:6::1', prefix_len=16)
m7_if_0.add_v6_address(address='fc42:7::1', prefix_len=16)
m8_if_0.add_v6_address(address='fc42:8::1', prefix_len=16)
def add_llrtr(iface, peer, dst='default'):
def add_llrtr(iface, peer, dst='default'):
for a in peer.get_addresses():
for a in peer.get_addresses():
a = a['address']
a = a['address']
...
...
demo/m6/re6stnet.conf
View file @
b5b52dc8
...
@@ -2,10 +2,12 @@ log m6/
...
@@ -2,10 +2,12 @@ log m6/
run
m6
/
run
run
m6
/
run
state
m6
/
state
m6
/
pp
1194
tcp
pp
1194
tcp
pp
1194
udp
pp
1195
udp6
ca
ca
.
crt
ca
ca
.
crt
cert
m6
/
cert
.
crt
cert
m6
/
cert
.
crt
key
m6
/
cert
.
key
key
m6
/
cert
.
key
d
efault
d
isable
-
proto
none
# TODO: Run a DHCPv4 client on machine9. Unfortunately, isc-dhcp-client 4.2.4
# TODO: Run a DHCPv4 client on machine9. Unfortunately, isc-dhcp-client 4.2.4
# fails with "Bind socket to interface: No such device"
# fails with "Bind socket to interface: No such device"
daemon
"exec dnsmasq -d8 - -i $re6stnet_iface -F 192.168.42.2,192.168.42.254,255.255.255.0,infinite -F ${re6stnet_subnet%/*},ra-only,${re6stnet_subnet#*/},1d -O option:router,192.168.42.1 -l m6/dnsmasq.leases"
daemon
"exec dnsmasq -d8 - -i $re6stnet_iface -F 192.168.42.2,192.168.42.254,255.255.255.0,infinite -F ${re6stnet_subnet%/*},ra-only,${re6stnet_subnet#*/},1d -O option:router,192.168.42.1 -l m6/dnsmasq.leases"
demo/m7/re6stnet.conf
View file @
b5b52dc8
...
@@ -2,7 +2,9 @@ log m7/
...
@@ -2,7 +2,9 @@ log m7/
run
m7
/
run
run
m7
/
run
state
m7
/
state
m7
/
pp
1194
tcp
pp
1194
tcp
pp
1194
udp
pp
1195
udp6
ca
ca
.
crt
ca
ca
.
crt
cert
m7
/
cert
.
crt
cert
m7
/
cert
.
crt
key
m7
/
cert
.
key
key
m7
/
cert
.
key
d
efault
d
isable
-
proto
none
demo/m8/re6stnet.conf
View file @
b5b52dc8
...
@@ -4,5 +4,5 @@ state m8/
...
@@ -4,5 +4,5 @@ state m8/
ca
ca
.
crt
ca
ca
.
crt
cert
m8
/
cert
.
crt
cert
m8
/
cert
.
crt
key
m8
/
cert
.
key
key
m8
/
cert
.
key
d
efault
d
isable
-
proto
none
client
10
.
0
.
1
.
2
,
1194
,
tcp
;
10
.
0
.
1
.
3
,
1194
,
tcp
client
fc42
:
6
::
1
,
1195
,
udp6
;
fc42
:
7
::
1
,
1195
,
udp6
demo/registry/re6stnet.conf
View file @
b5b52dc8
...
@@ -6,3 +6,4 @@ ca ca.crt
...
@@ -6,3 +6,4 @@ ca ca.crt
cert
registry
/
cert
.
crt
cert
registry
/
cert
.
crt
key
registry
/
cert
.
key
key
registry
/
cert
.
key
gateway
gateway
disable
-
proto
none
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment