capellambse.metamodel.pa package

Tools for the Physical Architecture layer.

class capellambse.metamodel.pa.LogicalArchitectureRealization

Bases: ArchitectureAllocation

class capellambse.metamodel.pa.LogicalInterfaceRealization

Bases: InterfaceAllocation

class capellambse.metamodel.pa.PhysicalArchitecture

Bases: ComponentArchitecture

property all_actors: ElementList[PhysicalComponent]
property all_component_exchanges: ElementList[ComponentExchange]
property all_components: ElementList[PhysicalComponent]
property all_function_exchanges: ElementList[FunctionalExchange]
property all_functional_chains: ElementList[FunctionalChain]
property all_functions: ElementList[PhysicalFunction]
property all_physical_exchanges: ElementList[FunctionalExchange]
property all_physical_paths: ElementList[PhysicalPath]
component_package

The component package of this PhysicalArchitecture.

component_pkg

The component pkg of this PhysicalArchitecture.

deployments

The deployments of this PhysicalArchitecture.

diagrams: _descriptors.Accessor[ElementList[capellambse.model.diagram.Diagram]]

The diagrams of this PhysicalArchitecture.

logical_architecture_realizations

The logical architecture realizations of this PhysicalArchitecture.

realized_logical_architectures

The realized logical architectures of this PhysicalArchitecture.

property root_component: PhysicalComponent
class capellambse.metamodel.pa.PhysicalArchitecturePkg

Bases: BlockArchitecturePkg

architectures

The architectures of this PhysicalArchitecturePkg.

packages

The packages of this PhysicalArchitecturePkg.

class capellambse.metamodel.pa.PhysicalComponent

Bases: AbstractPhysicalArtifact, Component, CapabilityRealizationInvolvedElement, DeployableElement, DeploymentTarget

allocated_functions

The allocated functions of this PhysicalComponent.

component_pkgs

The component pkgs of this PhysicalComponent.

property components: ElementList[PhysicalComponent]
property deployed_components: ElementList[PhysicalComponent]
deploying_components

The deploying components of this PhysicalComponent.

The deployment links of this PhysicalComponent.

kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

nature

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

owned_components

The owned components of this PhysicalComponent.

realized_logical_components

The realized logical components of this PhysicalComponent.

property related_components: ElementList[PhysicalComponent]
class capellambse.metamodel.pa.PhysicalComponentKind

Bases: Enum

Categories of physical components.

Allows to categorize a physical component, with respect to real life physical entities.

DATA = 'DATA'

The physical component represents a set of data.

FACILITIES = 'FACILITIES'

The physical component refers to Facilities.

FIRMWARE = 'FIRMWARE'

The physical component is a firmware part.

HARDWARE = 'HARDWARE'

The physical component is a hardware resource.

HARDWARE_COMPUTER = 'HARDWARE_COMPUTER'

The physical component is a computing resource.

MATERIALS = 'MATERIALS'

The physical component represents a bunch of materials.

PERSON = 'PERSON'

The physical component is a person.

PROCESSES = 'PROCESSES'

The physical component represents a set of processes.

SERVICES = 'SERVICES'

The physical component represents a set of services.

SOFTWARE = 'SOFTWARE'

The physical component is a software entity.

SOFTWARE_APPLICATION = 'SOFTWARE_APPLICATION'

The physical component is a software application.

SOFTWARE_DEPLOYMENT_UNIT = 'SOFTWARE_DEPLOYMENT_UNIT'

The physical component is a software deployment unit.

SOFTWARE_EXECUTION_UNIT = 'SOFTWARE_EXECUTION_UNIT'

The physical component is a software execution unit.

UNSET = 'UNSET'

The physical component kind is not specified.

class capellambse.metamodel.pa.PhysicalComponentNature

Bases: Enum

The nature of a physical component.

BEHAVIOR = 'BEHAVIOR'

The physical component nature is behavioral.

This typically means a piece of software.

NODE = 'NODE'

The physical component is a host for behavioral components.

This typically means a computing resource.

UNSET = 'UNSET'

The physical component nature is not specified.

class capellambse.metamodel.pa.PhysicalComponentPkg

Bases: ComponentPkg, AssociationPkg

components

The components of this PhysicalComponentPkg.

deployments

The deployments of this PhysicalComponentPkg.

key_parts

The key parts of this PhysicalComponentPkg.

packages

The packages of this PhysicalComponentPkg.

class capellambse.metamodel.pa.PhysicalFunction

Bases: AbstractFunction

A physical function on the Physical Architecture layer.

functions

The functions of this PhysicalFunction.

owner

The owner of this PhysicalFunction.

packages

The packages of this PhysicalFunction.

realized_logical_functions

The realized logical functions of this PhysicalFunction.

class capellambse.metamodel.pa.PhysicalFunctionPkg

Bases: FunctionPkg

A logical component package.

functions

The functions of this PhysicalFunctionPkg.

packages

The packages of this PhysicalFunctionPkg.

class capellambse.metamodel.pa.PhysicalNode

Bases: PhysicalComponent

Submodules

capellambse.metamodel.pa.deployment module

class capellambse.metamodel.pa.deployment.AbstractPhysicalInstance

Bases: CapellaElement

class capellambse.metamodel.pa.deployment.ComponentInstance

Bases: AbstractPhysicalInstance, DeployableElement, DeploymentTarget

abstract_physical_instances

The abstract physical instances of this ComponentInstance.

The instance deployment links of this ComponentInstance.

type

The type of this ComponentInstance.

class capellambse.metamodel.pa.deployment.ConnectionInstance

Bases: AbstractPhysicalInstance

connection_ends

The connection ends of this ConnectionInstance.

type

The type of this ConnectionInstance.

class capellambse.metamodel.pa.deployment.DeploymentAspect

Bases: Structure

configurations

The configurations of this DeploymentAspect.

deployment_aspects

The deployment aspects of this DeploymentAspect.

class capellambse.metamodel.pa.deployment.DeploymentConfiguration

Bases: NamedElement

The deployment links of this DeploymentConfiguration.

physical_instances

The physical instances of this DeploymentConfiguration.

Bases: AbstractDeploymentLink

Bases: AbstractDeploymentLink

class capellambse.metamodel.pa.deployment.PortInstance

Bases: AbstractPhysicalInstance

connections

The connections of this PortInstance.

type

The type of this PortInstance.

Bases: AbstractDeploymentLink