-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathwan_server.yaml
More file actions
73 lines (53 loc) · 2.92 KB
/
Copy pathwan_server.yaml
File metadata and controls
73 lines (53 loc) · 2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
######################
# WAN SERVER EXAMPLE #
######################
##################################
# ALLOWED TOPICS
# Allowing FastDDS and ROS2 HelloWorld demo examples topics
allowlist:
- name: HelloWorldTopic # 1
- name: rt/chatter # 2
##################################
# PARTICIPANTS
participants:
##################################
# SIMPLE PARTICIPANT
# This participant will subscribe to topics in allowlist in domain 0 and listen every message published there
- name: SimpleParticipant # 3
kind: local # 4
domain: 0 # 5
##################################
# WAN SERVER
# This participant will subscribe to topics in allowlist and connect to clients through Initial Peers.
- name: WANServer # 6
kind: wan # 7
listening-addresses: # 8
- ip: 1.1.1.1 # 9
port: 11666 # 10
transport: udp # 11
##################################
# CONFIGURATION DESCRIPTION
# This configuration example configures a DDS Router to listen to every message published in domain 0 in topics
# HelloWorldTopic (from Fast DDS HelloWorld) and rt/chatter from ROS2 demo_nodes, and to transmit these messages
# through a WAN Participant (configured as Server) to another WAN Participant.
# The other direction of communication is also possible; receive messages at the WAN Participant and locally
# publish them in domain 0.
# Server specifies which DDS Router starts the communication with the other, and after communication has been
# established, both routers behave in the same way.
# 1: Allow DDS Topic Name <HelloWorldTopic> with type <HelloWorld>.
# 2: Insert new topics in order to route them.
# 3: New Participant with name <SimpleParticipant>.
# 4: Kind of SimpleParticipant: <local>.
# LAN UDP communication with default simple multicast discovery.
# 5: SimpleParticipant will use DDS Domain ID <0>.
# 6: New Participant with name <WANServer>.
# 7: Kind of WANServer: <wan>.
# WAN communication with another DDS Router.
# 8: Add the interfaces where this Participant will listen in WAN.
# Add as many listening-addresses as needed.
# 9: Listen in public IP (1.1.1.1) for remote traffic.
# This IP must be set to the public IP of the host where this DDS Router will run.
# 10: Listening port is 11666.
# Remember that if the host is under a NAT, the IP must be the public one and must be forwarded from network
# router to this host to the same port.
# 11: It uses UDP transport by default if not set. Could be set to "udp" or "tcp".