You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: examples/routing_service/shmem_udp_gateway/README.md
+36-31
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,23 @@ a second configuration option using RTI Cloud Discovery Service to use Unicast.
11
11
12
12
For your convenience, there are 2 scripts to set up environment variables:
13
13
14
-
- Linux: _variables.sh_
15
-
- Windows: _variables.bat_
14
+
- Linux: *variables.sh*
15
+
- Windows: *variables.bat*
16
16
17
17
These are the variables they contain, which you should modify according to your
18
18
system:
19
19
20
20
-**NDDSHOME**: path to the installation of RTI Connext Professional.
21
-
-**NDDS_QOS_PROFILES**: path to the _qos.xml_ file containing QoS profiles.
21
+
-**NDDS_QOS_PROFILES**: path to the *qos.xml* file containing QoS profiles.
22
22
-**SHMEM_DOMAIN**: the domain for the applications using SHMEM.
23
-
-**UDP_DOMAIN**: the domain for the applications using UDP (mainly the DomainParticipant of RTI Routing Service).
24
-
-**APPS**: total number of DomainParticipants on the localhost. By default, Connext will try to reach out to the first 5 created applications on SHMEM, therefore, we need to increase that number if there are more than 5 applications.
25
-
-**CDS_IP_ADDRESS**: the IP address of the host that contains RTI Cloud Discovery Service.
23
+
-**UDP_DOMAIN**: the domain for the applications using UDP (mainly the
24
+
DomainParticipant of RTI Routing Service).
25
+
-**APPS**: total number of DomainParticipants on the localhost. By default,
26
+
Connext will try to reach out to the first 5 created applications on SHMEM,
27
+
therefore, we need to increase that number if there are more than 5
28
+
applications.
29
+
-**CDS_IP_ADDRESS**: the IP address of the host that contains RTI Cloud
30
+
Discovery Service.
26
31
-**CDS_PORT**: the UDP port that CDS will use.
27
32
28
33
On Linux, you can use the environment variables by sourcing the file:
@@ -44,23 +49,23 @@ instead of the Windows variable signs (%%).
44
49
45
50
You will need 3 terminals to run this example.
46
51
47
-
1. On terminal 1, source the variables script and run an RTI DDS Ping publisher
48
-
on SHMEM acting as a local publisher:
52
+
1.On terminal 1, source the variables script and run an RTI DDS Ping
4. The subscriber should now be receiving data. For instance:
77
+
78
+
4. The subscriber should now be receiving data. For instance:
73
79
74
80
```bash
75
81
...
@@ -81,52 +87,52 @@ source the variables script and start Routing Service:
81
87
...
82
88
```
83
89
84
-
5. (Optional) Feel free to explore the QoS and RS config files. The relevant
85
-
QoS profiles for this example are _shmem_profile_ and _multicast_. The RS file
86
-
contains a _domain_route_ with 2 DPs. 1 for UDP and another one for SHMEM
87
-
(configured through the DP QoS). It also contains 2 _auto_topic_route_ tags
90
+
5. (Optional) Feel free to explore the QoS and RS config files. The relevant
91
+
QoS profiles for this example are *shmem_profile* and *multicast*. The RS file
92
+
contains a *domain_route* with 2 DPs. 1 for UDP and another one for SHMEM
93
+
(configured through the DP QoS). It also contains 2 *auto_topic_route* tags
88
94
that allow the traffic to flow in the SHMEM --> UDP and SHMEM <-- UDP
89
95
directions. In a real scenario, there would most likely be more topic routes,
90
96
because different topics will require different DW / DR QoS policies.
91
97
92
-
6. (Optional) You can run Wireshark and capture data to verify that the
98
+
6. (Optional) You can run Wireshark and capture data to verify that the
93
99
traffic only goes to the 3 different ports that Routing Service opens:
94
100
Multicast discovery, Unicast discovery and Unicast user-data. Which ports are
95
101
actually in use will depend on the domain ID you use for UDP and whether you
96
102
started the RTI DDS Ping application on the same machine as Routing Service or
97
103
not. Remember you can check the ports in use on this [spreadsheet](https://d2vkrkwbbxbylk.cloudfront.net/sites/default/files/knowledge_base/Port%20Assign4.2e.xls).
98
104
99
-
6. You can now shutdown the 3 applications with Ctrl+C.
105
+
6. You can now shutdown the 3 applications with Ctrl+C.
100
106
101
107
## Multicast-less example (CDS)
102
108
103
109
You will need 3 terminals to run this example.
104
110
105
-
1. On terminal 1, source the variables script and run an RTI DDS Ping publisher
106
-
on SHMEM acting as a local publisher:
111
+
1. On terminal 1, source the variables script and run an RTI DDS Ping
0 commit comments