textual-notation-of-model/packages/architecture/aaos_sdv_middleware_boundary.sysml

1 view(s) · 104 declared member(s) Jump to source ↓

view aaosSdvBoundaryViewsource ↓

ViewpointselectedPhysicalStructureViewpoint (PhysicalStructureDefinitionViewpoint)
Framed concerns
  • aaosSdvStructureConcern own frame
RenderasTreeDiagram
ExposesSDVCoreBoundary
OrchestratorBoundary
ServiceLifecycleManagerBoundary
HealthMonitorBoundary
UpdateManagerBoundary
ConnectivityManagerBoundary
VSIDLMiddlewareBoundary
ServiceDiscoveryBoundary
SDVRPCBoundary
DataTunnelBoundary
SomeIpInteropBoundary
SDVGatewayOnIVIBoundary
AutomotiveDiagnosticsBoundary
AutomotiveConfigurationBoundary
AutomotiveCalibrationBoundary
VehiclePowerModeBoundary
UserProfileBoundary
SDVPlatformSoftwareBoundary
VehicleNetworkBoundary
Sourcetextual-notation-of-model/packages/architecture/aaos_sdv_middleware_boundary.sysml:519
diagram-aaosSdvBoundaryView.svg
«view» aaosSdvBoundaryView expose SDVCoreBoundary expose OrchestratorBoundary expose ServiceLifecycleManagerBoundary expose HealthMonitorBoundary expose UpdateManagerBoundary expose ConnectivityManagerBoundary expose VSIDLMiddlewareBoundary expose ServiceDiscoveryBoundary expose SDVRPCBoundary expose DataTunnelBoundary expose SomeIpInteropBoundary expose SDVGatewayOnIVIBoundary expose AutomotiveDiagnosticsBoundary expose AutomotiveConfigurationBoundary expose AutomotiveCalibrationBoundary expose VehiclePowerModeBoundary expose UserProfileBoundary expose SDVPlatformSoftwareBoundary expose VehicleNetworkBoundary «part def» SDVCoreBoundary doc The service side of the headless SDV Core guest: its native, distributed vehicle services, which this boundary owns. SDV Core is a headless, native Android-derived guest that runs on a hypervisor. It excludes the JVM, Java services, Android applications and GUI functionality. Its functions are distributed services, not permanently tied to a particular processor or ECU. Multiple SDV Core instances may run on one SoC, on different SoCs, or communicate across the vehicle network. The guest side of the SDV platform stack, with its guest operating system and its guest middleware, holds one or more VMs (ADR 0025). An SDV Core VM runs the services of this boundary. In MW-CONFIG-001 it is the only VM of the guest side. In MW-CONFIG-002, an IVI VM runs beside it and reaches its services through the SDV Gateway on IVI (SDVGatewayOnIVIBoundary). This boundary refers to the guest operating-system content as platformSoftware and does not own it (owner decision of 2026-10-25). A configured product can use this boundary and select the AAOS SDV guest middleware (guestAndroidSDV, which requires the Android guest, C008). Such a product binds this boundary to that guest middleware and platformSoftware to its guest operating system. Then the platform stack owns each of them once. A usage outside a product leaves the reference unbound. This definition deliberately does not specialize AndroidSDVMiddleware. So in a bound product one AAOS SDV occurrence has two ports for one interface. The stack wires MiddlewareLayer::applicationPort to the adapter. Nothing wires middlewarePort below. The type link is a later owner decision, together with headless or display. parts orchestrator : OrchestratorBoundary lifecycleManager : ServiceLifecycleManagerBoundary healthMonitor : HealthMonitorBoundary updateManager : UpdateManagerBoundary connectivityManager : ConnectivityManagerBoundary vsidlMiddleware : VSIDLMiddlewareBoundary serviceDiscovery : ServiceDiscoveryBoundary rpc : SDVRPCBoundary dataTunnel : DataTunnelBoundary someIp : SomeIpInteropBoundary diagnostics : AutomotiveDiagnosticsBoundary configuration : AutomotiveConfigurationBoundary calibration : AutomotiveCalibrationBoundary vehiclePowerMode : VehiclePowerModeBoundary userProfile : UserProfileBoundary platformSoftware : SDVPlatformSoftwareBoundary ports middlewarePort : MiddlewareAdapterPort vehicleSignalAccessOut : VehicleSignalAccessPort diagnosticAccessOut : DiagnosticAccessPort lifecycleCoordinationOut : LifecycleCoordinationPort features Core services and frameworks VSIDL and SDV Middleware — span the entire platform as a common abstraction Communication stack Automotive services Platform software: guest operating-system content, referred to, not owned Boundary ports exposed to the adapter and other systems «part def» OrchestratorBoundary doc Coordinates services and dependencies across the distributed system. Decides which services run where, manages inter-service dependencies, and coordinates distributed system state. ports coordinationPort : ServiceCoordinationPort «part def» ServiceLifecycleManagerBoundary doc Starts, stops, and supervises services. Manages APEX-based service deployment units. Services in the same APEX package and certificate may share a process; others are isolated. ports lifecyclePort : ServiceLifecyclePort «part def» HealthMonitorBoundary doc Observes whether services are functioning correctly. Produces health status that can be consumed by safety-relevant supervisors. ports healthStatusOut : HealthStatusPort «part def» UpdateManagerBoundary doc Coordinates software changes using Android's A/B system update concepts and APEX packages. Updates are treated as distributed-system transactions, not single-ECU file replacements. Coordinates service dependencies, safe vehicle states, shared partitions, and rollback consistency across VMs. ports updateCoordinationPort : UpdateCoordinationPort «part def» ConnectivityManagerBoundary doc Native replacement for Android's Java-based connectivity service. Provides centralized network policy, interface selection, and connection management. Prevents every service from independently implementing network policy. ports networkPolicyPort : NetworkPolicyPort «part def» VSIDLMiddlewareBoundary doc Vehicle Services IDL and SDV Middleware. VSIDL supplies a common definition language for vehicle signals and interfaces. The middleware hides differences between underlying communication technologies (shared memory, vsock, Ethernet, SOME/IP). Together, they provide a source of truth for vehicle data and reduce direct dependencies between applications and individual protocols. ports signalAccessPort : VehicleSignalAccessPort serviceInterfacePort : ServiceInterfacePort «part def» ServiceDiscoveryBoundary doc Finds available services and contributes authentication and authorization. Service discovery is not only a naming directory — it also participates in deciding whether a client is permitted to use a discovered service. ports discoveryPort : ServiceDiscoveryPort «part def» SDVRPCBoundary doc Request-response remote procedure calls based on predefined APIs. Maps onto different transports (shared memory, vsock, Ethernet) depending on caller and provider location. Semantic: "perform this operation and return a result." ports rpcPort : RPCPort «part def» DataTunnelBoundary doc Publish-subscribe mechanism. A producer publishes data to a topic; one or more consumers subscribe. Maps onto shared memory (inside VM), vsock (between local VMs), or Ethernet (across systems). Semantic: "publish this data for any interested consumers." ports topicPublishPort : DataTunnelPort topicSubscribePort : DataTunnelPort «part def» SomeIpInteropBoundary doc SOME/IP interoperability stack for communication with non-SDV automotive systems. Operates over TCP or UDP. Drawn separately from the native SDV communication abstractions because it is an established automotive protocol, not an SDV-native mechanism. In AAOS SDV, its SOME/IP broker maps a SOME/IP event to an SDV topic and publishes the topic into Data Tunnel. ports someIpPort : SomeIpPort topicPublishOut : DataTunnelPort «part def» SDVGatewayOnIVIBoundary doc The SDV Gateway on IVI: the boundary through which IVI applications and native IVI services reach SDV services. It runs in an IVI VM, not in SDV Core. In android17-release it is the sdv_gateway service of the IVI image, which also runs the Data Tunnel agent of that VM (sdv_ivi_base/sdv.agents.rc:33-35 of device/google/sdv at f4bfa128, manifest ad156f32). Native services use it through libsdvgatewayclient, and Java applications through its Java client. A subscriber can subscribe by name to a Data Tunnel publication of another VM. By default it then reads only the messages published after its subscription. On request it can also read the last message published before it (libsdvgatewayclient/include/libsdvgatewayclient.h:302-316 of platform/system/software_defined_vehicle/sdv_gateway at c918480a). ports dataTunnelPort : DataTunnelPort clientPort : DataTunnelPort «part def» AutomotiveDiagnosticsBoundary doc Vehicle diagnostics service. OEM-specific UDS diagnostic libraries and persistent storage rules are expected here. Provides diagnostic access for external tools and internal health monitoring. ports diagnosticPort : DiagnosticAccessPort «part def» AutomotiveConfigurationBoundary doc Vehicle configuration service. OEM-specific configuration logic and persistence are expected here. «part def» AutomotiveCalibrationBoundary doc Vehicle calibration service. OEM-specific calibration persistence is expected here. «part def» VehiclePowerModeBoundary doc Vehicle power mode service. Manages power states, suspend/resume coordination, and vehicle-level power policy. «part def» UserProfileBoundary doc User profile service. Manages early availability of user profiles for personalization. «part def» SDVPlatformSoftwareBoundary doc Lowest software layer inside SDV Core. Contains: - GKI (Android Generic Kernel Image, currently 6.1 kernel) - Drivers (vsock, Virtio) - HALs (minimal — KeyMint for hardware-backed cryptography) - Core libraries, service runtime - Logging and tracing - Power management - Storage - Time synchronization - Networking (IPv4/IPv6, VLAN, TCP/UDP) - Security and trust (DICE identity, attestation) Virtio is the preferred hardware abstraction. HALs are only used where a standardized virtual device is unavailable. SDVCoreBoundary refers to this content and does not own it (owner decision of 2026-10-25). A configured product can use SDVCoreBoundary and select the AAOS SDV guest middleware (guestAndroidSDV, which requires the Android guest, C008). In such a product, a binding makes this content the guest operating system of the SDV platform stack (guestOSPlatform). «part def» VehicleNetworkBoundary doc Vehicle network boundary connecting SDV Core instances, legacy ECUs, and external connectivity. Contains: - VLAN-capable Ethernet switch for security segmentation - Optional DMZ for less trusted or externally exposed systems - Telematics control unit (TCU) with gateway and modem for controlled Internet access External connectivity passes through the TCU gateway, not directly from every VM. ports internalNetworkPort : EthernetTransport externalGatewayPort : EthernetTransport

Hover a model element for details open raw SVG.

Source

1/*2 * DE4SDV AAOS SDV middleware boundary architecture model slice.3 *4 * This package models the internal structure of the Android Automotive OS5 * Software Defined Vehicle platform as visible from DE4SDV's integration6 * perspective. It is NOT a vendored implementation of AAOS SDV — it models7 * the boundary elements that the DE4SDV adapter layer connects to.8 *9 * Source reference:10 *   https://source.android.com/docs/automotive/sdv/workstreams/core/integration-guide11 *   Page last updated: 2026-06-1712 *   License: Apache 2.0 (AOSP)13 *14 * Scope:15 *   - SDV Core boundary definition (the service side of the headless SDV16 *     Core guest; it refers to the platform software)17 *   - Core services (Orchestrator, Service Lifecycle Manager, Health Monitor,18 *     Update Manager, Connectivity Manager)19 *   - VSIDL and SDV Middleware (vehicle signal abstraction)20 *   - Communication stack (Service Discovery, RPC, Data Tunnel, SOME/IP)21 *   - Automotive services (Diagnostics, Configuration, Calibration,22 *     Vehicle Power Mode, User Profile)23 *   - Platform software boundary (GKI, virtualization, networking)24 *   - SDV Gateway on IVI (the boundary through which an IVI VM reaches SDV25 *     services; it is on the HMI path of INC-MW-011, ADR 0025)26 *   - Traceability dependencies to AEBS physical realization required boundaries27 *28 * Out of scope:29 *   - AAOS SDV internal implementation (code, APEX packages, service bundles)30 *   - VM image generation, APEX signing, bootloader integration31 *   - Detailed communication protocol schemas (VSIDL definitions, SOME/IP mappings)32 *   - OEM-specific automotive service logic33 *   - SDV Media (a separate VM, not in the AEBS integration path)34 *   - SDV IVI apart from its SDV Gateway (a separate VM)35 *36 * Relationship to SDV platform stack:37 *   AAOS SDV is a middleware variant (AndroidSDVMiddleware) in the SDV platform38 *   stack. This model defines the internal structure of that variant. The39 *   AutowareToAAOSSDVAdapter connects to the boundary ports defined here. The40 *   platform software is guest operating-system content, and the boundary refers41 *   to it. A configured product can use this boundary and select the AAOS SDV42 *   guest middleware (guestAndroidSDV, which requires the Android guest, C008).43 *   Such a product binds the boundary to that guest middleware, and the platform44 *   software to its guest operating system.45 *46 * Relationship to AEBS:47 *   The AEBS physical software realization defines required boundaries48 *   (RequiredROS2ApplicationRuntimeBoundary, RequiredVehicleInterfaceBoundary,49 *   RequiredHealthSupervisorBoundary, RequiredDiagnosticFailureBridgeBoundary,50 *   RequiredEmergencyMRMHandlerBoundary). Product-level traceability showing51 *   which AAOS SDV elements satisfy these boundaries is declared in the52 *   composite product model (aebs_autoware_reference_product.sysml), not here.53 *54 * Architectural notes:55 *   SDV Core is a minimal, headless operating system derived from Android.56 *   It excludes the JVM, Java-based services, Android applications, and GUI57 *   functionality. Vehicle functionality is implemented as native distributed58 *   services. It is primarily designed to run as a VM on a hypervisor.59 *60 *   The architecture has four layers (bottom to top):61 *     1. Platform software (GKI, virtualization, storage, time sync, logging,62 *        power management, networking, security, runtime)63 *     2. Communication stack (Service Discovery, RPC, Data Tunnel, SOME/IP)64 *     3. Core services and frameworks (Orchestrator, Lifecycle Manager,65 *        Health Monitor, Update Manager, VSIDL/Middleware, Connectivity Manager)66 *     4. Automotive services (Diagnostics, Configuration, Calibration,67 *        Vehicle Power Mode, User Profile)68 *69 * Semantic basis:70 * - SysML v2 specification: part def composition, port defs, dependency71 * - DE4SDV increment workflow INC-MW-00272 * - AAOS SDV integration guide (source.android.com, 2026-06-17)73 */7475package DE4SDV_AAOSSDVMiddlewareBoundary {76  private import DE4SDV_SDVPlatformStack::*;77  private import DE4SDV_Stakeholders::*;78  private import SAF_Viewpoints::*;79  private import Views::*;8081  /* ──────────────────────────────────────────82   * SDV Core boundary83   * ────────────────────────────────────────── */8485  part def SDVCoreBoundary {86    doc /*87     * The service side of the headless SDV Core guest: its native,88     * distributed vehicle services, which this boundary owns. SDV Core is a89     * headless, native Android-derived guest that runs on a hypervisor. It90     * excludes the JVM, Java services, Android applications and GUI91     * functionality. Its functions are distributed services, not permanently92     * tied to a particular processor or ECU. Multiple SDV Core instances may93     * run on one SoC, on different SoCs, or communicate across the vehicle94     * network.95     *96     * The guest side of the SDV platform stack, with its guest operating97     * system and its guest middleware, holds one or more VMs (ADR 0025). An98     * SDV Core VM runs the services of this boundary. In MW-CONFIG-001 it is99     * the only VM of the guest side. In MW-CONFIG-002, an IVI VM runs beside100     * it and reaches its services through the SDV Gateway on IVI101     * (SDVGatewayOnIVIBoundary). This boundary refers to the102     * guest operating-system content as platformSoftware and does not own it103     * (owner decision of 2026-10-25). A configured product can use this104     * boundary and select the AAOS SDV guest middleware (guestAndroidSDV,105     * which requires the Android guest, C008). Such a product binds this106     * boundary to that guest middleware and platformSoftware to its guest107     * operating system. Then the platform stack owns each of them once. A108     * usage outside a product leaves the reference unbound.109     *110     * This definition deliberately does not specialize AndroidSDVMiddleware.111     * So in a bound product one AAOS SDV occurrence has two ports for one112     * interface. The stack wires MiddlewareLayer::applicationPort to the113     * adapter. Nothing wires middlewarePort below. The type link is a later114     * owner decision, together with headless or display.115     */116117    /* Core services and frameworks */118    part orchestrator : OrchestratorBoundary;119    part lifecycleManager : ServiceLifecycleManagerBoundary;120    part healthMonitor : HealthMonitorBoundary;121    part updateManager : UpdateManagerBoundary;122    part connectivityManager : ConnectivityManagerBoundary;123124    /* VSIDL and SDV Middleware — span the entire platform as a common abstraction */125    part vsidlMiddleware : VSIDLMiddlewareBoundary;126127    /* Communication stack */128    part serviceDiscovery : ServiceDiscoveryBoundary;129    part rpc : SDVRPCBoundary;130    part dataTunnel : DataTunnelBoundary;131    part someIp : SomeIpInteropBoundary;132133    /* Automotive services */134    part diagnostics : AutomotiveDiagnosticsBoundary;135    part configuration : AutomotiveConfigurationBoundary;136    part calibration : AutomotiveCalibrationBoundary;137    part vehiclePowerMode : VehiclePowerModeBoundary;138    part userProfile : UserProfileBoundary;139140    /* Platform software: guest operating-system content, referred to, not owned */141    ref part platformSoftware : SDVPlatformSoftwareBoundary;142143    /* Boundary ports exposed to the adapter and other systems */144    port middlewarePort : MiddlewareAdapterPort;145    port vehicleSignalAccessOut : VehicleSignalAccessPort;146    port diagnosticAccessOut : DiagnosticAccessPort;147    port lifecycleCoordinationOut : LifecycleCoordinationPort;148  }149150  /* ──────────────────────────────────────────151   * Core services and frameworks152   * ────────────────────────────────────────── */153154  part def OrchestratorBoundary {155    doc /*156     * Coordinates services and dependencies across the distributed system.157     * Decides which services run where, manages inter-service dependencies,158     * and coordinates distributed system state.159     */160    port coordinationPort : ServiceCoordinationPort;161  }162163  part def ServiceLifecycleManagerBoundary {164    doc /*165     * Starts, stops, and supervises services. Manages APEX-based service166     * deployment units. Services in the same APEX package and certificate167     * may share a process; others are isolated.168     */169    port lifecyclePort : ServiceLifecyclePort;170  }171172  part def HealthMonitorBoundary {173    doc /*174     * Observes whether services are functioning correctly. Produces175     * health status that can be consumed by safety-relevant supervisors.176     */177    port healthStatusOut : HealthStatusPort;178  }179180  part def UpdateManagerBoundary {181    doc /*182     * Coordinates software changes using Android's A/B system update183     * concepts and APEX packages. Updates are treated as distributed-system184     * transactions, not single-ECU file replacements. Coordinates service185     * dependencies, safe vehicle states, shared partitions, and rollback186     * consistency across VMs.187     */188    port updateCoordinationPort : UpdateCoordinationPort;189  }190191  part def ConnectivityManagerBoundary {192    doc /*193     * Native replacement for Android's Java-based connectivity service.194     * Provides centralized network policy, interface selection, and195     * connection management. Prevents every service from independently196     * implementing network policy.197     */198    port networkPolicyPort : NetworkPolicyPort;199  }200201  part def VSIDLMiddlewareBoundary {202    doc /*203     * Vehicle Services IDL and SDV Middleware. VSIDL supplies a common204     * definition language for vehicle signals and interfaces. The middleware205     * hides differences between underlying communication technologies206     * (shared memory, vsock, Ethernet, SOME/IP). Together, they provide a207     * source of truth for vehicle data and reduce direct dependencies208     * between applications and individual protocols.209     */210    port signalAccessPort : VehicleSignalAccessPort;211    port serviceInterfacePort : ServiceInterfacePort;212  }213214  /* ──────────────────────────────────────────215   * Communication stack216   * ────────────────────────────────────────── */217218  part def ServiceDiscoveryBoundary {219    doc /*220     * Finds available services and contributes authentication and221     * authorization. Service discovery is not only a naming directory —222     * it also participates in deciding whether a client is permitted223     * to use a discovered service.224     */225    port discoveryPort : ServiceDiscoveryPort;226  }227228  part def SDVRPCBoundary {229    doc /*230     * Request-response remote procedure calls based on predefined APIs.231     * Maps onto different transports (shared memory, vsock, Ethernet)232     * depending on caller and provider location.233     * Semantic: "perform this operation and return a result."234     */235    port rpcPort : RPCPort;236  }237238  part def DataTunnelBoundary {239    doc /*240     * Publish-subscribe mechanism. A producer publishes data to a topic;241     * one or more consumers subscribe. Maps onto shared memory (inside VM),242     * vsock (between local VMs), or Ethernet (across systems).243     * Semantic: "publish this data for any interested consumers."244     */245    port topicPublishPort : DataTunnelPort;246    port topicSubscribePort : DataTunnelPort;247  }248249  part def SomeIpInteropBoundary {250    doc /*251     * SOME/IP interoperability stack for communication with non-SDV252     * automotive systems. Operates over TCP or UDP. Drawn separately253     * from the native SDV communication abstractions because it is an254     * established automotive protocol, not an SDV-native mechanism. In AAOS255     * SDV, its SOME/IP broker maps a SOME/IP event to an SDV topic and256     * publishes the topic into Data Tunnel.257     */258    port someIpPort : SomeIpPort;259    port topicPublishOut : DataTunnelPort {260      doc /* The SDV topics that the SOME/IP broker publishes for the SOME/IP events that it maps. */261    }262  }263264  /* ──────────────────────────────────────────265   * SDV Gateway on IVI266   * ────────────────────────────────────────── */267268  part def SDVGatewayOnIVIBoundary {269    doc /*270     * The SDV Gateway on IVI: the boundary through which IVI applications and271     * native IVI services reach SDV services. It runs in an IVI VM, not in SDV272     * Core. In android17-release it is the sdv_gateway service of the IVI273     * image, which also runs the Data Tunnel agent of that VM274     * (sdv_ivi_base/sdv.agents.rc:33-35 of device/google/sdv at f4bfa128,275     * manifest ad156f32). Native services use it through libsdvgatewayclient,276     * and Java applications through its Java client. A subscriber can277     * subscribe by name to a Data Tunnel publication of another VM. By default278     * it then reads only the messages published after its subscription. On279     * request it can also read the last message published before it280     * (libsdvgatewayclient/include/libsdvgatewayclient.h:302-316 of281     * platform/system/software_defined_vehicle/sdv_gateway at c918480a).282     */283    port dataTunnelPort : DataTunnelPort {284      doc /* Data Tunnel topics of this VM and of other VMs. */285    }286    port clientPort : DataTunnelPort {287      doc /* The topics that IVI applications and native IVI services publish or subscribe to through the gateway. */288    }289  }290291  /* ──────────────────────────────────────────292   * Automotive services293   * ────────────────────────────────────────── */294295  part def AutomotiveDiagnosticsBoundary {296    doc /*297     * Vehicle diagnostics service. OEM-specific UDS diagnostic libraries298     * and persistent storage rules are expected here. Provides diagnostic299     * access for external tools and internal health monitoring.300     */301    port diagnosticPort : DiagnosticAccessPort;302  }303304  part def AutomotiveConfigurationBoundary {305    doc /*306     * Vehicle configuration service. OEM-specific configuration logic307     * and persistence are expected here.308     */309  }310311  part def AutomotiveCalibrationBoundary {312    doc /*313     * Vehicle calibration service. OEM-specific calibration persistence314     * is expected here.315     */316  }317318  part def VehiclePowerModeBoundary {319    doc /*320     * Vehicle power mode service. Manages power states, suspend/resume321     * coordination, and vehicle-level power policy.322     */323  }324325  part def UserProfileBoundary {326    doc /*327     * User profile service. Manages early availability of user profiles328     * for personalization.329     */330  }331332  /* ──────────────────────────────────────────333   * Platform software334   * ────────────────────────────────────────── */335336  part def SDVPlatformSoftwareBoundary {337    doc /*338     * Lowest software layer inside SDV Core. Contains:339     * - GKI (Android Generic Kernel Image, currently 6.1 kernel)340     * - Drivers (vsock, Virtio)341     * - HALs (minimal — KeyMint for hardware-backed cryptography)342     * - Core libraries, service runtime343     * - Logging and tracing344     * - Power management345     * - Storage346     * - Time synchronization347     * - Networking (IPv4/IPv6, VLAN, TCP/UDP)348     * - Security and trust (DICE identity, attestation)349     *350     * Virtio is the preferred hardware abstraction. HALs are only used351     * where a standardized virtual device is unavailable.352     *353     * SDVCoreBoundary refers to this content and does not own it (owner354     * decision of 2026-10-25). A configured product can use SDVCoreBoundary355     * and select the AAOS SDV guest middleware (guestAndroidSDV, which356     * requires the Android guest, C008). In such a product, a binding makes357     * this content the guest operating system of the SDV platform stack358     * (guestOSPlatform).359     */360  }361362  /* ──────────────────────────────────────────363   * Port definitions364   * ────────────────────────────────────────── */365366  port def ServiceCoordinationPort {367    inout item coordinationRequests;368    inout item coordinationResponses;369  }370371  port def ServiceLifecyclePort {372    inout item lifecycleCommands;373    inout item lifecycleStatus;374  }375376  port def HealthStatusPort {377    out item healthStatus;378  }379380  port def UpdateCoordinationPort {381    inout item updateCommands;382    inout item updateStatus;383  }384385  port def NetworkPolicyPort {386    inout item networkPolicy;387    inout item interfaceSelection;388  }389390  port def VehicleSignalAccessPort {391    inout item vehicleSignals;392    inout item signalRequests;393  }394395  port def ServiceInterfacePort {396    inout item serviceCalls;397    inout item serviceResponses;398  }399400  port def ServiceDiscoveryPort {401    inout item discoveryQueries;402    inout item discoveryResults;403    inout item authorizationDecisions;404  }405406  port def RPCPort {407    inout item rpcRequests;408    inout item rpcResponses;409  }410411  port def DataTunnelPort {412    inout item topicData;413  }414415  port def SomeIpPort {416    inout item someIpMessages;417  }418419  port def DiagnosticAccessPort {420    inout item diagnosticRequests;421    inout item diagnosticResponses;422  }423424  port def LifecycleCoordinationPort {425    doc /* Port type for vehicle lifecycle coordination (suspend, resume, power state). */426    inout item lifecycleEvents;427    inout item powerStateCommands;428  }429430  /* ──────────────────────────────────────────431   * Communication transport model432   * ──────────────────────────────────────────433   * The middleware hides transport differences. Applications interact434   * with Middleware, Data Tunnel, or RPC without needing to know whether435   * the underlying transport is shared memory, vsock, or Ethernet.436   */437438  item def VsockTransport {439    doc /* Optimized for local host-to-VM and VM-to-VM communication. */440  }441442  item def SharedMemoryTransport {443    doc /* Efficient IPC between processes or between host and guest. */444  }445446  item def EthernetTransport {447    doc /* Transport for communication between SoCs, to vehicle network, and to legacy ECUs. Supports IPv4 and IPv6, VLAN, TCP and UDP. */448  }449450  /* ──────────────────────────────────────────451   * Traceability to AEBS physical realization452   * ──────────────────────────────────────────453   * These dependencies show which AAOS SDV elements can satisfy the454   * AEBS physical software realization's required boundaries. The455   * The adapter (AutowareToAAOSSDVAdapter from the SDV platform stack)456   * connects to this boundary through the MiddlewareAdapterPort. The457   * adapter translates Autoware ROS 2 topics to AAOS SDV VSIDL service458   * calls and Data Tunnel publications.459   *460   * Key assumption (INC-MW-001, ASM-MW-003): the AEBS emergency461  * intervention path (AEB node -> emergency intervention request ->462   * vehicle command gate -> brake actuation) does NOT go through the463   * adapter or the middleware. The adapter carries vehicle signals,464   * diagnostics, and lifecycle, not safety-critical brake commands.465   *466   * Product-level traceability (which AAOS SDV elements satisfy which467   * AEBS required boundaries) is declared in the composite product model468   * (aebs_autoware_reference_product.sysml), not here. This boundary model469   * defines what the AAOS SDV elements ARE, not what they satisfy.470   */471472  /* ──────────────────────────────────────────473   * Network topology boundary474   * ──────────────────────────────────────────475   * SDV Core instances communicate via vsock (same SoC, host-guest),476   * Ethernet (between SoCs, to vehicle network), and shared memory477   * (efficient local IPC). VLAN-capable Ethernet switch provides478   * security segmentation. Optional DMZ for externally exposed systems.479   */480481  part def VehicleNetworkBoundary {482    doc /*483     * Vehicle network boundary connecting SDV Core instances, legacy ECUs,484     * and external connectivity. Contains:485     * - VLAN-capable Ethernet switch for security segmentation486     * - Optional DMZ for less trusted or externally exposed systems487     * - Telematics control unit (TCU) with gateway and modem for488     *   controlled Internet access489     *490     * External connectivity passes through the TCU gateway, not directly491     * from every VM.492     */493    port internalNetworkPort : EthernetTransport;494    port externalGatewayPort : EthernetTransport;495  }496497  /* ──────────────────────────────────────────498   * SAF physical-domain concern and view499   * ──────────────────────────────────────────500   * Uses SAF PhysicalStructureDefinitionViewpoint (P2_PSTD) — not an501   * invented viewpoint. The AAOS SDV boundary is a physical/software502   * structure that needs to be visible for integration review.503   */504505  concern aaosSdvStructureConcern : PhysicalStructureConcern {506    doc /*507     * Reviewers need the AAOS SDV boundary visible for the middleware508     * integration increment. It shows the core services, the communication509     * stack and the automotive services of the AAOS SDV middleware. It also510     * shows the platform software, which the boundary refers to (guest511     * operating-system content), the SDV Gateway on IVI and the network512     * topology.513     */514    subject;515    stakeholder systemsEngineer : SystemsEngineer;516    stakeholder reviewer : OpenSourceReviewer;517  }518519  view aaosSdvBoundaryView {520    viewpoint selectedPhysicalStructureViewpoint : PhysicalStructureDefinitionViewpoint {521      frame aaosSdvStructureConcern;522    }523524    expose SDVCoreBoundary;525    expose OrchestratorBoundary;526    expose ServiceLifecycleManagerBoundary;527    expose HealthMonitorBoundary;528    expose UpdateManagerBoundary;529    expose ConnectivityManagerBoundary;530    expose VSIDLMiddlewareBoundary;531    expose ServiceDiscoveryBoundary;532    expose SDVRPCBoundary;533    expose DataTunnelBoundary;534    expose SomeIpInteropBoundary;535    expose SDVGatewayOnIVIBoundary;536    expose AutomotiveDiagnosticsBoundary;537    expose AutomotiveConfigurationBoundary;538    expose AutomotiveCalibrationBoundary;539    expose VehiclePowerModeBoundary;540    expose UserProfileBoundary;541    expose SDVPlatformSoftwareBoundary;542    expose VehicleNetworkBoundary;543    render asTreeDiagram;544  }545}546