View Issue Details

IDProjectCategoryView StatusLast Update
0007821Part 81: UAFX Connecting Devices and Information Model [sg.BaseFacet]Specpublic2022-05-30 22:54
ReporterGeorg Biehler Assigned ToGeorg Biehler  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.00.00 RC2 
Target Version1.00.00 RC3Fixed in Version1.00.00 RC3 
Summary0007821: Multicast connections and CCS
Description

Before the RC2 release, the 2 instances of CommunicationAttributes (one per “data flow”) was replaced with one instance that has Ep1Ep2… and Ep2Ep1… elements.

For the use case “multicast one way, unicast back” as it’s described in [5.5.6.2.4 Multiple logical connections using multicast network messages], when we create a CCS, that would result in replicating the same parameters in multiple objects.
Or is it expected that the components are shared by both instances of CommunicationAttributes? E.e. A single Ep1Ep2PublisherAddress is pointed by HasComponent from both instances.

[originally reported by Jan per Mail]

TagsNo tags attached.
Attached Files
image.png (411,256 bytes)

Activities

Georg Biehler

2022-03-03 09:08

developer   ~0016145

[Additional notes by Jan per Mail]

To be clear, I don’t think this is necessarily a problem that information is replicated, but there are things to be considered.

Generally, this is a chicken and egg problem. What is first:
• Is it first that an engineer decides he wants a multicast data flow and later adds logical connections that would use that flow.
Or
• Is it that end user configured several logical connections, which (intended or by coincidence) have the same attributes, so that the engineering tool decides to put them into a single multicast data flow.

One example when I see potential trouble:

  1. Engineer, using his engineering tool designed 2 logical connections with identical communication attributes for publisher (like in the figure below).
  2. Engineering tool generated a CCS and PubSub configuration, such that:
    a. CCS contains 2 logical connection each, with its own communication attributes that have identical values for publisher side.
    b. PubSub configuration contains one writer group representing one multicast message.
  3. CCS and PubSub configuration are deployed to the CM
  4. System integrator connects to the CM with a client and wants to change the publication rate of that multicast stream.
    a. He has to consistently set the publication rate in all instances of attributes that refer to the same multicast message.
    b. Otherwise, if he changed the rate in one place but not in the other places, that would mean there shall no longer be one writer group, but two, each with a different publication rate and effectively 2 multicast streams.

It may be difficult or impossible in the CM to:
• Prevent inconsistent updates by tracking all dependencies between attributes and PubSub elements and enforcing certain attributes to be in sync.
OR
• Handle the inconsistent updates by restructuring (or completely rebuilding) PubSub configuration.

Georg Biehler

2022-03-03 09:11

developer   ~0016146

[Additional notes from Jan]

I propose the following draft (see attached file)
It’s kind of restoring the old concept, but improving readability, by adding PublishesTo and SubscribesFrom references, and renaming the CommunicationAttributes to “stream” or ”streamAttributes” (alternative “dataFlow”).

[Remarks by Georg]
However, some comments:
• I would not call them “stream”, since overloaded with TSN terms – maybe misleading
• I like dataflow (I used that some time ago), however, there were some who didn’t like that
• PublishesTo and SubscribesFrom is too PubSub, what about “OutboundFlow” (== publishes) and “InboundFlow” (== subscribes), since that would work also for ClientServer

We should also have a quick discussion, to have some idea (not complete), how the Attributes would work for ClientServer.

image-2.png (717,352 bytes)

Paul Hunkar

2022-03-15 14:54

manager   ~0016380

discussed in meeting - agreed to implement what is in the slide deck

agreed to HasOutboundFlow and hasInboundFlow (with a parent of HasFlow)
Rename the new object to CommunicationFlowConfiguration

Georg Biehler

2022-03-17 11:29

developer   ~0016396

Included in spec as discussed in the team meeting 03/15

Paul Hunkar

2022-03-18 13:52

manager   ~0016412

Reviewed updated text in call, agreed to text changes and closed issue

Issue History

Date Modified Username Field Change
2022-03-03 09:07 Georg Biehler New Issue
2022-03-03 09:07 Georg Biehler File Added: image.png
2022-03-03 09:08 Georg Biehler Note Added: 0016145
2022-03-03 09:11 Georg Biehler Note Added: 0016146
2022-03-03 09:11 Georg Biehler File Added: image-2.png
2022-03-15 14:51 Paul Hunkar Assigned To => Georg Biehler
2022-03-15 14:51 Paul Hunkar Status new => assigned
2022-03-15 14:54 Paul Hunkar Note Added: 0016380
2022-03-17 11:29 Georg Biehler Status assigned => resolved
2022-03-17 11:29 Georg Biehler Resolution open => fixed
2022-03-17 11:29 Georg Biehler Fixed in Version => 1.00.00 Release
2022-03-17 11:29 Georg Biehler Note Added: 0016396
2022-03-18 13:52 Paul Hunkar Status resolved => closed
2022-03-18 13:52 Paul Hunkar Note Added: 0016412
2022-05-30 22:54 Paul Hunkar Fixed in Version 1.00.00 Release => 1.00.00 RC3
2022-05-30 22:54 Paul Hunkar Target Version => 1.00.00 RC3