Need QOS xml configuration to explictly mention participant_id in subscriber (i.e no auto selecation of participant id which means RTPS ports are choosen).
Use Case: 1 Publisher (VM_IP-1) DDS Commuincation to 3 Subscriber(VM_IP-2)
Publisher QOS - initial_peers 2@SUB_IP. (configure subscriber machine IP) mentioning 3 participants are configured for discovery. (domain 100 : Reserved 3 pairs of Ports Usage 32410, 32411, 32412, 32413, 32414, 32415).
1st Subscriber - prticipant id : 0 (i.e. reseve two ports 32410, 32411 only) (QOS configuration ? )
2nd Subscriber - prticipant id : 1 (i.e. reseve two ports 32412, 32413 only)
3rd Subscriber - prticipant id : 2 (i.e. reseve two ports 32414, 32415 only)
Hi,
If you want to change the participant ID, you can see an example in this article.
And you can see the ports used by default here.
But before any of that, I would ask why do you need to do this? Which is your use case?
hi Sara, is participant a node defined in <initial_peers>.
Is this example below has 3 participants?
<discovery>
<initial_peers>
<element>node1</element>
<element>node2</element>
<element>node3</element>
</initial_peers>
</discovery>
No, a DDSDomainParticipant is not specifically an element of initial_peers.
See this documentation about DomainParticipants:
https://community.rti.com/static/documentation/connext-dds/7.1.0/doc/manuals/connext_dds_professional/users_manual/users_manual/DDS_Domains_and_DomainParticipants.htm
and this documentation about initial_peers:
https://community.rti.com/static/documentation/connext-dds/7.1.0/doc/manuals/connext_dds_professional/users_manual/users_manual/ConfigPeersListUsed_inDiscov.htm?Highlight=initial_peer