Entire-Metadata: .entire/metadata/fb87247f-2a75-407e-b336-cbc8c20ba5a6 Entire-Session: fb87247f-2a75-407e-b336-cbc8c20ba5a6 Entire-Strategy: manual-commit
535 lines
23 KiB
XML
535 lines
23 KiB
XML
<?xml version="1.0"?>
|
|
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="../../resource/schema/rti_routing_service.xsd">
|
|
|
|
<!-- ********************************************************************** -->
|
|
<!-- Default configuration file for RTI Routing Service -->
|
|
<!-- ********************************************************************** -->
|
|
|
|
<configuration_variables>
|
|
<value>
|
|
<element>
|
|
<name>RWT_PUBLIC_ADDRESS</name>
|
|
<value>localhost</value>
|
|
</element>
|
|
<element>
|
|
<name>ADMINISTRATION_DOMAIN</name>
|
|
<value>3</value>
|
|
</element>
|
|
<element>
|
|
<name>ADMINISTRATION_RWT_PUBLIC_PORT</name>
|
|
<value>30001</value>
|
|
</element>
|
|
<element>
|
|
<name>MONITORING_DOMAIN</name>
|
|
<value>2</value>
|
|
</element>
|
|
<element>
|
|
<name>MONITORING_RWT_PUBLIC_PORT</name>
|
|
<value>30002</value>
|
|
</element>
|
|
<element>
|
|
<name>FIRST_DATA_DOMAIN</name>
|
|
<value>0</value>
|
|
</element>
|
|
<element>
|
|
<name>SECOND_DATA_DOMAIN</name>
|
|
<value>1</value>
|
|
</element>
|
|
<element>
|
|
<name>DATA_DOMAIN</name>
|
|
<value>0</value>
|
|
</element>
|
|
<element>
|
|
<name>DATA_RWT_PUBLIC_PORT</name>
|
|
<value>30003</value>
|
|
</element>
|
|
</value>
|
|
</configuration_variables>
|
|
|
|
<qos_library name="RoutingLibrary">
|
|
<qos_profile name="RoutingBaseProfile" base_name="BuiltinQosLib::Generic.StrictReliable"/>
|
|
|
|
<qos_profile name="RoutingWANProfile" base_name="RoutingBaseProfile">
|
|
<base_name>
|
|
<element>BuiltinQosSnippetLib::Transport.UDP.WAN</element>
|
|
</base_name>
|
|
<domain_participant_qos>
|
|
<transport_builtin>
|
|
<udpv4_wan>
|
|
<public_address>$(RWT_PUBLIC_ADDRESS)</public_address>
|
|
</udpv4_wan>
|
|
</transport_builtin>
|
|
</domain_participant_qos>
|
|
</qos_profile>
|
|
</qos_library>
|
|
|
|
<routing_service name="default">
|
|
|
|
<annotation>
|
|
<documentation>Routes all topics from domain 0 to domain 1</documentation>
|
|
</annotation>
|
|
|
|
<!-- The administration tag enables remote administration, and is
|
|
required when using Admin Console. -->
|
|
<administration>
|
|
<domain_id>0</domain_id>
|
|
<distributed_logger>
|
|
<enabled>true</enabled>
|
|
<filter_level>WARNING</filter_level>
|
|
</distributed_logger>
|
|
</administration>
|
|
|
|
<!-- This is the Monitoring configuration for all the entities in
|
|
this routing service, and is required when using Admin Console. -->
|
|
<monitoring>
|
|
<!-- The domain id where to publish the monitoring information -->
|
|
<domain_id>0</domain_id>
|
|
<!-- How often to publish it -->
|
|
<status_publication_period>
|
|
<sec>5</sec>
|
|
<nanosec>0</nanosec>
|
|
</status_publication_period>
|
|
<!-- How often to compute statistics -->
|
|
<statistics_sampling_period>
|
|
<sec>1</sec>
|
|
<nanosec>0</nanosec>
|
|
</statistics_sampling_period>
|
|
</monitoring>
|
|
|
|
<domain_route name="DefaultDomainRoute">
|
|
|
|
<participant name="domain1">
|
|
<domain_id>0</domain_id>
|
|
</participant>
|
|
|
|
<participant name="domain2">
|
|
<domain_id>1</domain_id>
|
|
</participant>
|
|
|
|
<session name="DefaultSession">
|
|
<auto_topic_route name="RouteAll">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="domain1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!--
|
|
Exclude RTI monitoring, administration and logging
|
|
topics. They all start with 'rti/'
|
|
-->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
</input>
|
|
<output participant="domain2">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!--
|
|
Exclude RTI monitoring, administration and logging
|
|
topics. They all start with 'rti/'
|
|
-->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
</domain_route>
|
|
</routing_service>
|
|
|
|
<routing_service name="defaultBothWays">
|
|
|
|
<annotation>
|
|
<documentation>
|
|
Routes all topics from domain 0 to domain 1 and the other way around
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
<!-- The administration tag enables remote administration, and is
|
|
required when using Admin Console. -->
|
|
<administration>
|
|
<domain_id>0</domain_id>
|
|
<distributed_logger>
|
|
<enabled>true</enabled>
|
|
<filter_level>WARNING</filter_level>
|
|
</distributed_logger>
|
|
</administration>
|
|
|
|
|
|
<!-- This is the Monitoring configuration for all the entities in
|
|
this routing service, and is required when using Admin Console. -->
|
|
<monitoring>
|
|
<!-- The domain id where to publish the monitoring information -->
|
|
<domain_id>0</domain_id>
|
|
<!-- How often to publish it -->
|
|
<status_publication_period>
|
|
<sec>5</sec>
|
|
<nanosec>0</nanosec>
|
|
</status_publication_period>
|
|
<!-- How often to compute statistics -->
|
|
<statistics_sampling_period>
|
|
<sec>1</sec>
|
|
<nanosec>0</nanosec>
|
|
</statistics_sampling_period>
|
|
</monitoring>
|
|
|
|
<domain_route name="TwoWayDomainRoute">
|
|
|
|
<participant name="1">
|
|
<domain_id>0</domain_id>
|
|
</participant>
|
|
|
|
<participant name="2">
|
|
<domain_id>1</domain_id>
|
|
</participant>
|
|
|
|
<session name="Session1">
|
|
<auto_topic_route name="AllForward">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
</input>
|
|
<output>
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
<session name="Session2">
|
|
<auto_topic_route name="AllBackward">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="2">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
</input>
|
|
<output>
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
</domain_route>
|
|
</routing_service>
|
|
|
|
<routing_service name="defaultReliable">
|
|
|
|
<annotation>
|
|
<documentation>
|
|
Routes all topics from domain 0 to domain 1 using reliable communication
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
<!-- The administration tag enables remote administration, and is
|
|
required when using Admin Console. -->
|
|
<administration>
|
|
<domain_id>0</domain_id>
|
|
<distributed_logger>
|
|
<enabled>true</enabled>
|
|
<filter_level>WARNING</filter_level>
|
|
</distributed_logger>
|
|
</administration>
|
|
|
|
|
|
<!-- This is the Monitoring configuration for all the entities in
|
|
this routing service, and is required when using Admin Console. -->
|
|
<monitoring>
|
|
<!-- The domain id where to publish the monitoring information -->
|
|
<domain_id>0</domain_id>
|
|
<!-- How often to publish it -->
|
|
<status_publication_period>
|
|
<sec>5</sec>
|
|
<nanosec>0</nanosec>
|
|
</status_publication_period>
|
|
<!-- How often to compute statistics -->
|
|
<statistics_sampling_period>
|
|
<sec>1</sec>
|
|
<nanosec>0</nanosec>
|
|
</statistics_sampling_period>
|
|
</monitoring>
|
|
|
|
<domain_route name="DefaultDomainRoute">
|
|
|
|
<participant name="1">
|
|
<domain_id>0</domain_id>
|
|
</participant>
|
|
|
|
<participant name="2">
|
|
<domain_id>1</domain_id>
|
|
</participant>
|
|
|
|
<session name="DefaultSession">
|
|
<auto_topic_route name="RouteAllReliably">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datareader_qos>
|
|
<reliability>
|
|
<kind>RELIABLE_RELIABILITY_QOS</kind>
|
|
</reliability>
|
|
</datareader_qos>
|
|
</input>
|
|
<output>
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datawriter_qos>
|
|
<reliability>
|
|
<kind>RELIABLE_RELIABILITY_QOS</kind>
|
|
</reliability>
|
|
</datawriter_qos>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
</domain_route>
|
|
</routing_service>
|
|
|
|
<routing_service name="DomainBridgingLAN">
|
|
|
|
<annotation>
|
|
<documentation>
|
|
Routes all reliable topics from one input domain to an output
|
|
domain and the other way around using UDPv4 or SHMEM
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<!-- The administration tag enables remote administration, and is
|
|
required when using Admin Console. -->
|
|
<administration>
|
|
<domain_id>$(ADMINISTRATION_DOMAIN)</domain_id>
|
|
<distributed_logger>
|
|
<enabled>true</enabled>
|
|
<filter_level>WARNING</filter_level>
|
|
</distributed_logger>
|
|
<participant_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</administration>
|
|
|
|
|
|
<!-- This is the Monitoring configuration for all the entities in
|
|
this routing service, and is required when using Admin Console. -->
|
|
<monitoring>
|
|
<!-- The domain id where to publish the monitoring information -->
|
|
<domain_id>$(MONITORING_DOMAIN)</domain_id>
|
|
<!-- How often to publish it -->
|
|
<status_publication_period>
|
|
<sec>5</sec>
|
|
<nanosec>0</nanosec>
|
|
</status_publication_period>
|
|
<!-- How often to compute statistics -->
|
|
<statistics_sampling_period>
|
|
<sec>1</sec>
|
|
<nanosec>0</nanosec>
|
|
</statistics_sampling_period>
|
|
<participant_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</monitoring>
|
|
|
|
<domain_route name="TwoWayDomainRoute">
|
|
|
|
<participant name="1">
|
|
<domain_id>$(FIRST_DATA_DOMAIN)</domain_id>
|
|
<participant_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</participant>
|
|
|
|
<participant name="2">
|
|
<domain_id>$(SECOND_DATA_DOMAIN)</domain_id>
|
|
<participant_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</participant>
|
|
|
|
<session name="Session1">
|
|
<auto_topic_route name="AllForward">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datareader_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</input>
|
|
<output>
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datawriter_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
<session name="Session2">
|
|
<auto_topic_route name="AllBackward">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="2">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datareader_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</input>
|
|
<output>
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datawriter_qos base_name="RoutingLibrary::RoutingBaseProfile"/>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
</domain_route>
|
|
</routing_service>
|
|
|
|
<routing_service name="RelayWAN">
|
|
|
|
<annotation>
|
|
<documentation>
|
|
Routes reliable topics between endpoints behind NATs using
|
|
Real-Time WAN Transport
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
<!-- The administration tag enables remote administration, and is
|
|
required when using Admin Console. -->
|
|
<administration>
|
|
<domain_id>$(ADMINISTRATION_DOMAIN)</domain_id>
|
|
<distributed_logger>
|
|
<enabled>true</enabled>
|
|
<filter_level>WARNING</filter_level>
|
|
</distributed_logger>
|
|
<participant_qos base_name="RoutingLibrary::RoutingWANProfile">
|
|
<transport_builtin>
|
|
<udpv4_wan>
|
|
<comm_ports>
|
|
<default>
|
|
<host>$(ADMINISTRATION_RWT_PUBLIC_PORT)</host>
|
|
<public>$(ADMINISTRATION_RWT_PUBLIC_PORT)</public>
|
|
</default>
|
|
</comm_ports>
|
|
</udpv4_wan>
|
|
</transport_builtin>
|
|
</participant_qos>
|
|
</administration>
|
|
|
|
|
|
<!-- This is the Monitoring configuration for all the entities in
|
|
this routing service, and is required when using Admin Console. -->
|
|
<monitoring>
|
|
<!-- The domain id where to publish the monitoring information -->
|
|
<domain_id>$(MONITORING_DOMAIN)</domain_id>
|
|
<!-- How often to publish it -->
|
|
<status_publication_period>
|
|
<sec>5</sec>
|
|
<nanosec>0</nanosec>
|
|
</status_publication_period>
|
|
<!-- How often to compute statistics -->
|
|
<statistics_sampling_period>
|
|
<sec>1</sec>
|
|
<nanosec>0</nanosec>
|
|
</statistics_sampling_period>
|
|
<participant_qos base_name="RoutingLibrary::RoutingWANProfile">
|
|
<transport_builtin>
|
|
<udpv4_wan>
|
|
<comm_ports>
|
|
<default>
|
|
<host>$(MONITORING_RWT_PUBLIC_PORT)</host>
|
|
<public>$(MONITORING_RWT_PUBLIC_PORT)</public>
|
|
</default>
|
|
</comm_ports>
|
|
</udpv4_wan>
|
|
</transport_builtin>
|
|
</participant_qos>
|
|
</monitoring>
|
|
|
|
<domain_route name="TwoWayDomainRoute">
|
|
<participant name="1">
|
|
<domain_id>$(DATA_DOMAIN)</domain_id>
|
|
<participant_qos base_name="RoutingLibrary::RoutingWANProfile">
|
|
<transport_builtin>
|
|
<udpv4_wan>
|
|
<comm_ports>
|
|
<default>
|
|
<host>$(DATA_RWT_PUBLIC_PORT)</host>
|
|
<public>$(DATA_RWT_PUBLIC_PORT)</public>
|
|
</default>
|
|
</comm_ports>
|
|
</udpv4_wan>
|
|
</transport_builtin>
|
|
</participant_qos>
|
|
</participant>
|
|
|
|
<session name="Session1">
|
|
<auto_topic_route name="AllForward">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datareader_qos base_name="RoutingLibrary::RoutingWANProfile"/>
|
|
</input>
|
|
<output participant="1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<!-- Exclude monitoring, administration and logging
|
|
topics -->
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datawriter_qos base_name="RoutingLibrary::RoutingWANProfile"/>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
<session name="Session2">
|
|
<auto_topic_route name="AllBackward">
|
|
<publish_with_original_info>true</publish_with_original_info>
|
|
<input participant="1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datareader_qos base_name="RoutingLibrary::RoutingWANProfile"/>
|
|
</input>
|
|
<output participant="1">
|
|
<creation_mode>ON_DOMAIN_AND_ROUTE_MATCH</creation_mode>
|
|
<allow_topic_name_filter>*</allow_topic_name_filter>
|
|
<allow_registered_type_name_filter>*</allow_registered_type_name_filter>
|
|
<deny_topic_name_filter>rti/*</deny_topic_name_filter>
|
|
<datawriter_qos base_name="RoutingLibrary::RoutingWANProfile"/>
|
|
</output>
|
|
</auto_topic_route>
|
|
</session>
|
|
|
|
</domain_route>
|
|
</routing_service>
|
|
</dds>
|