In this example, there are two ECUs.
These two ECUs communicate via CAN which is bridged over the cloud, as shown in Figure 1.
Thereby, we model the CAN communication application-centric via a direct relationship between the two software
components as well as network-centric via explicitly modeling the CAN busses and their connections to the underlying
hardware.
tosca_definitions_version:tosca_simple_yaml_1_3description:Example of an architecture distributed across several geographical locations.imports:-types.yamltopology_template:node_templates:##################################################### Cloud####################################################cloud_service:type:example.nodes.Cloud.Servicerequirements:-host:cloud_providercloud_provider:type:example.nodes.Cloud.Provider##################################################### Location A####################################################a_ecu_software:type:example.nodes.ECU.Softwarerequirements:-host:a_ecu_runtime-can:a_can_bus-connect:b_ecu_softwarea_ecu_runtime:type:example.nodes.ECU.Runtimerequirements:-host:a_ecu_hardwarea_ecu_hardware:type:example.nodes.ECU.Hardwarerequirements:-can:a_can_busa_can_bus:type:sofdcar.nodes.CANa_can_bridge:type:example.nodes.CAN.Bridgerequirements:-can:a_can_bus-cloud:cloud_service##################################################### Location B####################################################b_ecu_software:type:example.nodes.ECU.Softwarerequirements:-host:b_ecu_runtime-can:b_can_busb_ecu_runtime:type:example.nodes.ECU.Runtimerequirements:-host:b_ecu_hardwareb_ecu_hardware:type:example.nodes.ECU.Hardwarerequirements:-can:b_can_busb_can_bus:type:sofdcar.nodes.CANb_can_bridge:type:example.nodes.CAN.Bridgerequirements:-can:b_can_bus-cloud:cloud_servicegroups:cloud:type:sofdcar.groups.Locationmembers:-cloud_service-cloud_providerlocation_a:type:sofdcar.groups.Locationmembers:-a_ecu_software-a_ecu_runtime-a_ecu_hardware-a_can_bus-a_can_bridgelocation_b:type:sofdcar.groups.Locationmembers:-b_ecu_software-b_ecu_runtime-b_ecu_hardware-b_can_bus-b_can_bridge