flync_4_topology¶
- class FLYNCTopology¶
Bases:
FLYNCBaseModelRepresents the complete FLYNC system topology, including ECU connections and multicast routing configuration.
Parameters¶
- system_topology
SystemTopology The system-wide external connection topology between ECUs.
- multicast_paths
MulticastConfig, optional Optional collection of system-wide multicast paths, defining source and destination host pairs for each multicast route.
- system_topology
System Topology¶
Hint
All the connections listed in a system topology shall be of the type : ecu_port_to_ecu_port.
- class SystemTopology¶
Bases:
FLYNCBaseModelRepresents the system-wide topology consisting of external connections between ECUs.
Parameters¶
- connectionslist of
ExternalConnection A list of ExternalConnection instances that define the links between ECU ports.
Private Attributes¶
- _flync_model
FLYNCModel Internal reference to the FLYNC model that owns this topology. Managed internally and not part of the public API.
- connectionslist of
- class ExternalConnection¶
Bases:
FLYNCBaseModelRepresents a connection between two ECU (Electronic Control Unit) ports.
This model captures a directed or undirected link between two named ports on separate ECUs.
Parameters¶
- typeLiteral[“ecu_port_to_ecu_port”]
The type of the connection. Defaults to “ecu_port_to_ecu_port” for schema identification.
- idstr
A unique identifier for the external connection.
- ecu1_port_namestr
The name of the first ECU port (alias: “ecu1_port”).
- ecu2_port_namestr
The name of the second ECU port (alias: “ecu2_port”).
Private Attributes¶
Multicast Paths¶
- class MulticastConfig¶
Bases:
FLYNCBaseModelRepresents the system-wide multicast paths.
This model aggregates all source and destination pairs that define each multicast route in the system.
Parameters¶
- pathslist of
MulticastPath Instances representing individual multicast paths in the system.
- pathslist of
- class MulticastPath¶
Bases:
FLYNCBaseModelRepresents a single multicast path in detail.
Describes how multicast traffic is sent from a source interface to one or more destination interfaces, including VLAN tagging and the multicast address.
Parameters¶
- vlanint
VLAN ID over which the multicast traffic is sent (0-4095).
- address
IPvAnyAddressorMacAddress Multicast address for this path (IPv4, IPv6, or MAC).
- src_interfacestr
Name of the source controller interface that originates the multicast.
- dst_interfacelist of str
Names of destination controller interfaces that receive the multicast.
Private Attributes¶
- _connected_component_listobject
Internal reference to the connected component for this multicast path.