Abiquo AWX repository service technical summary

AWX repo service

The "AWXRepoService" enables you to discover AWX workflow job templates. The AWX Template Service enables you to launch workflows.

Requirements

  • An AWX installation

  • To map the VMs running in an Abiquo VDC to the AWX ‘Inventory’, use the Abiquo Dynamic Inventory plugin, see https://github.com/abiquo/abiquo-inventory .

    • Requires access to the plugin

    • Requires Abiquo credentials in the service.

Default configuration

  • AWX connection attributes

  • Abiquo connection attributes (AWX will call Abiquo to discover the VMs in a VDC using the Dynamic Inventory plugin)

  • Optional workflow attributes:

    • abiquo_user_email: Abiquo automatically uses the mail of the user performing the action

    • tag_value: Abiquo automatically uses values of a tag with a Key of "type".

      • A workflow can deploy VMs in Abiquo and set tags of "type: A" or "type: B". Another workflow can then use "tag_value" to apply to all VMs of type A or type B.

      • See the Wordpress sample

Entities

  • Configuration suggestions:

    • In the default configuration, specify the Abiquo connection parameters

    • If you have more than datacenter, configure the AWX connection parameters for each datacenter

      • Set different user names and passwords for each location (enterprise in the datacenter): in AWX its possible to restrict visibility based on the user privileges.

    • For administrators, you can configure the service at the enterprise level

    • For cloud users, you can configure the service at the virtual datacenter level

Status

  • Check the connection status

AWX repo service actions reference

  • listWorkflowTemplates:

    • AWXTemplateService

Subservices

  • AWXTemplateService


AWX template service

The "AWXTemplateService" represents an available AWX workflow job template. It informs users of the available template options (from the workflow survey) and allows them to be launched.

Requirements

  • AWX Service requirements

  • Additionally, a workflow job template identifier produced by AWXRepoService

Default configuration

  • Same as the AWX RepoService

Entities

  • Given an AWX RepoService in a location, make selected Workflows available to users

Status

  • Name

  • Description

AWX template actions reference

  • Launch: given the parameters in the workflow, launch a job from the template:

    • AsyncResult that will wait until completion and show the produced ‘artifacts’ of the job.

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved