For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationRelease notes
DocumentationRelease notes
  • Itential Automation Gateway
    • Overview
    • Related terminology
        • Git integration
        • gRPC framework
        • HashiCorp Vault
        • HTTP requests
        • NETCONF
        • Netmiko
        • Nornir
        • OpenConfig
        • Python virtual environment
        • Script execution engine
        • Multiple Ansible versions
        • Terraform
    • Navigate UI
    • Automatic discovery in IAG
    • Use hidden keyword extension
    • Edit the description field
    • Edit JSON schema
    • Manage decorations
    • View audit logs
LogoLogo
Open sourceSupportFAQsDocs Home
On this page
  • Using the Python VENV
  • Python VENV configuration
  • Scripts and virtual environments
  • Virtual environments
  • Scripts
Itential Automation GatewayDeploy and manageConfigure and manage integrations

Python virtual environment (VENV)

Was this page helpful?
Previous

Script execution engine

Next
Built with

Using the Python VENV

The Python Virtual Environment (VENV) is used to execute and test scripts with various versions or dependencies in a specific environment. The scripts contained in the environment are all Python scripts, which you can view under Scripts in the left navbar of Itential Automation Gateway (IAG).

Python VENV configuration

1

Open IAG

Open Automation Gateway.

2

Open Configuration

Click Configuration.

3

Verify Python VENV settings

Click Python to verify Python VENV is enabled and check the location path, defined in the properties.yml file.

Python configuration

Scripts and virtual environments

Both Scripts and Virtual Environments are contained within the Python menu. From IAG, choose Python from the left navigation menu. Alternatively, click the Use Python link in the Get Started card.

Use Python link in the Get Started card

Virtual environments

The Virtual Environments menu displays all virtual environments contained in the IAG server directory, which is defined in the properties.yml file.

Clicking on an individual virtual environment in the sidebar menu displays the name, path, and version for that virtual environment.

Virtual environment details

Scripts

Clicking Scripts shows any Python scripts that have been created or imported into IAG.

Python scripts in IAG

Select a Virtual Environment from the dropdown at the top to execute the script you need. If an environment is not needed, the script runs in the main IAG environment.

Selecting a virtual environment for a script