eclipse-cyclonedds / cyclonedds-insight

Other
10 stars 6 forks source link

Support additional DcpsParticipant hostname/process-id keywords #8

Closed trittsv closed 5 months ago

trittsv commented 5 months ago

Other key name for hostname/process id:

DcpsParticipant(
    key=UUID('0101a6ac-6560-c4fc-e84f-3c8d000001c1'),
    qos=Qos(
        Policy.Liveliness.Automatic(lease_duration=100000000000),
        Property(key="__NetworkAddresses", value="udp/239.255.0.1:9900@14,udp/172.16.3.150:9920@14"),
        Property(key="dds.sys_info.executable_filepath", value="/xxx/xxx/xxx"),
        Property(key="dds.sys_info.hostname", value="localhost"),
        Property(key="dds.sys_info.process_id", value="196633"),
        Property(key="dds.sys_info.target", value="x64QNX7.0.0qcc_cxx5.4.0")
    )
)

Other with even more info:

DcpsParticipant(
    key=UUID('0101a012-ae07-752f-88c3-5f32000001c1'),
    qos=Qos(
        Policy.Liveliness.Automatic(lease_duration=100000000000),
        Property(key="__NetworkAddresses", value="udp/239.255.0.1:9900@14,udp/172.16.3.194:9910@14,udp/172.16.3.196:9910@14"),
        Property(key="dds.sys_info.creation_timestamp", value="2021-05-19 13:14:04Z"),
        Property(key="dds.sys_info.executable_filepath", value="/yyyy/yyy/yyy"),
        Property(key="dds.sys_info.execution_timestamp", value="2021-05-19 13:12:23Z"),
        Property(key="dds.sys_info.hostname", value="zzz"),
        Property(key="dds.sys_info.process_id", value="639"),
        Property(key="dds.sys_info.target", value="x64Linux4gcc7.3.0"),
        Property(key="dds.sys_info.username", value="bbb")
    )
)

Only NetworkAddresses available:

DcpsParticipant(
    key=UUID('2bcff142-0000-0004-0000-0001000001c1'),
    qos=Qos(
        Policy.Liveliness.Automatic(lease_duration=11000000000),
        Property(key="__NetworkAddresses", value="udp/239.255.0.1:7650@14,udp/172.16.3.150:7660@14")
    )
)