Changes
Page history
Configure DDS for CCS: describe property tweaks
authored
Oct 21, 2024
by
Marcus Schilling
Show whitespace changes
Inline
Side-by-side
KnowledgeBase/CII.md
View page @
ed453a0d
...
...
@@ -1290,11 +1290,27 @@ import elt.pymal
import ccs.defaults
uri = "dds.ps://TOPIC"
prp = ccs.defaults.GetDefaultMalPropertiesForCcs (uri)
prp = ccs.defaults.GetDefaultMalPropertiesForCcs (uri)
# (uri, app_name, cnd_ip)
mfa = elt.pymal.LoadMalForUri (uri, prp)
sub = mfa.getSubscriber (uri, ..
```
The standard DDS Qos are not appropriate for all environments.
Examples for useful tweaks of the properties:
i) to use Localhost_Only:
```
plaintext
prp["dds.qos.profile.name.participant"] = "Localhost_Only"
```
ii) to use a certain network interface:
```
plaintext
prp["dds.qos.participant.interfaceWhiteList"] = "lo"
```
iii) to use a custom profile file:
```
plaintext
prp["dds.qos.profile.library"] = "/tmp/dds_profile.xml"
```
Find more documentation at https://gitlab.eso.org/ccs/ccs-defaults
and see an example application at https://gitlab.eso.org/cii/mal/icd-demo/-/blob/master/app/cpp/ps/subscriber/src/SubscriberDemo.cpp
...
...
...
...