OptislangWrapperInstanceVersionConfiguration#

class ansys.saf.product_configuration.optislang_wrapper.OptislangWrapperInstanceVersionConfiguration(version: str)#

Bases: ansys.saf.product_configuration.interfaces.IProductInstanceVersionConfiguration

Configuration class for a specific version of Ansys optiSLang.

Overview#

service_name

The name of the service associated with the optiSLang wrapper instance.

execution_command

The command to launch optiSLang wrapper.

environment

Environment variables for the optiSLang wrapper instance.

software_requirements

Required software to run optiSLang wrapper in HPS.

exe_path_for_pim

The path to the python executable.

health_route

The health route for the service.

service_type

Service type use for the health check.

enable_secure_flags

Must be set to True for the product instance to use the secure communication command line arguments.

linux_local_secure_flags

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

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.optislang_wrapper import OptislangWrapperInstanceVersionConfiguration

Property detail#

property OptislangWrapperInstanceVersionConfiguration.service_name: str#

The name of the service associated with the optiSLang wrapper instance.

property OptislangWrapperInstanceVersionConfiguration.execution_command: str#

The command to launch optiSLang wrapper.

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

Environment variables for the optiSLang wrapper instance.

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

Required software to run optiSLang wrapper in HPS.

property OptislangWrapperInstanceVersionConfiguration.exe_path_for_pim: str#

The path to the python executable.

property OptislangWrapperInstanceVersionConfiguration.health_route: str | None#

The health route for the service.

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

Service type use for the health check.

property OptislangWrapperInstanceVersionConfiguration.enable_secure_flags: bool#

Must be set to True for the product instance to use the secure communication command line arguments.

property OptislangWrapperInstanceVersionConfiguration.linux_local_secure_flags: str#

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

property OptislangWrapperInstanceVersionConfiguration.windows_local_secure_flags: str#

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

property OptislangWrapperInstanceVersionConfiguration.remote_secure_flags: str#

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

property OptislangWrapperInstanceVersionConfiguration.insecure_flags: str#

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