MapdlInstanceVersionConfiguration#

class ansys.saf.product_configuration.mapdl.MapdlInstanceVersionConfiguration(version: str)#

Bases: ansys.saf.product_configuration.interfaces.IProductInstanceVersionConfiguration

Configuration class for a specific version of Ansys Mechanical APDL (MAPDL) using secure gRPC connections.

Overview#

service_name

The name of the service associated with the MAPDL instance.

execution_command

The command to launch MAPDL.

environment

Environment variables for the MAPDL instance.

software_requirements

Required software to run MAPDL in HPS.

exe_path_for_pim

Path to the MAPDL executable.

service_type

Service type use for the health check.

enable_secure_flags

Enable secure communication flags for MAPDL.

linux_local_secure_flags

The command line arguments needed to configure the product instance for secure local communication on

linux_uds_id

Template for the uds_id, which is used to identify the socket file for UDS communication.

windows_local_secure_flags

The command line arguments needed to configure the product instance for secure local communication on

remote_secure_flags

The command line arguments needed to configure the product instance for secure remote communication.

insecure_flags

The command line arguments needed to configure the product instance for insecure communication.

Import detail#

from ansys.saf.product_configuration.mapdl import MapdlInstanceVersionConfiguration

Property detail#

property MapdlInstanceVersionConfiguration.service_name: str#

The name of the service associated with the MAPDL instance.

property MapdlInstanceVersionConfiguration.execution_command: str#

The command to launch MAPDL.

property MapdlInstanceVersionConfiguration.environment: dict[str, str]#

Environment variables for the MAPDL instance.

property MapdlInstanceVersionConfiguration.software_requirements: list[ansys.saf.product_configuration.interfaces.ISoftware]#

Required software to run MAPDL in HPS.

property MapdlInstanceVersionConfiguration.exe_path_for_pim: str#

Path to the MAPDL executable.

property MapdlInstanceVersionConfiguration.service_type: ansys.saf.product_configuration.interfaces.ServiceType#

Service type use for the health check.

property MapdlInstanceVersionConfiguration.enable_secure_flags: bool#

Enable secure communication flags for MAPDL.

property MapdlInstanceVersionConfiguration.linux_local_secure_flags: str#

The command line arguments needed to configure the product instance for secure local communication on Linux.

property MapdlInstanceVersionConfiguration.linux_uds_id: str#

Template for the uds_id, which is used to identify the socket file for UDS communication.

property MapdlInstanceVersionConfiguration.windows_local_secure_flags: str#

The command line arguments needed to configure the product instance for secure local communication on Windows.

property MapdlInstanceVersionConfiguration.remote_secure_flags: str#

The command line arguments needed to configure the product instance for secure remote communication.

property MapdlInstanceVersionConfiguration.insecure_flags: str#

The command line arguments needed to configure the product instance for insecure communication.