Enhance ManageIQ docs
  • Introduction
  • Chapter 1
    • Introduction to ManageIQ
    • Installation
    • appliance_console
    • Basic Configuration
  • Chapter 2
    • Introduction to OpenStack
    • Installation using Packstack
    • Openstack Configuration
    • Launch instance in OpenStack
    • Integrate OpenStack with ManageIQ
  • Chapter 3
    • Automation Using Ansible
    • Embedded Ansible in ManageIQ
    • Embedded Ansible using AWX
  • Chapter 4
    • Service catalogs and user self-service portal
    • Domain and Namespaces
    • Creating a Ansible Service
Powered by GitBook
On this page
  • Domain
  • Domain Priority
  • Exporting Domain
  • Importing Domain
  • Namespaces
  1. Chapter 4

Domain and Namespaces

PreviousService catalogs and user self-service portalNextCreating a Ansible Service

Last updated 7 years ago

Domain

A domain is a collection of namespaces, classes, instances and methods. ManageIQ ship with single domain having name as ManageIQ. By default, it is in locked state which means it is read-only. ManageIQ allow users to override this by using custom domains with higher priority.

To explore Datastores present in ManageIQ, navigate to Automation → Automate → Explorer. When on the page, click on Datastores to get list of available domains in ManageIQ.

Custom domain can be added by user (TigerIQ is user-added domain). User-added domains can be enabled or disabled. User can import and export domains, which we will see further.

Domain Priority

Automation functions are executed on their order of priority. To change priority order of user-added domains, select Datastores and click Configuration → Edit Priority order of Domains. Then we get options to prioritize domains.

Note

Make sure that domain is at highest priority to use it.

Exporting Domain

An automate domain can be exported into a directory or a zip file.

To export domain into directory, use the following command,

# rake evm:automate:export DOMAIN=<domain_name> EXPORT_DIR=<export_path>

To export domain into a zip file, use the following,

# rake evm:automate:export DOMAIN=<domain_name> ZIP_FILE=<file_name.zip>

Tip

Importing Domain

It is possible to import domain into a new domain. Domain can be imported from a directory or from a zip file.

To import domain from a directory use the following,

rake evm:automate:import DOMAIN=<domain_name> IMPORT_DIR=<path> PREVIEW=false

To import domain from a zip file,

rake evm:automate:import DOMAIN=<domain_name> ZIP_FILE=<file.zip> PREVIEW=false

Note

After importing domain, check whether it is enabled or not. Domain must be enabled to use it.

Also we can import Datastore classes as zip file from manageIQ web portal itself. To do this, Go to Automation → Automate → Import/Export.

Namespaces

Namespace contain classes, methods and sometime other namespaces. One such example of namespace is shown in following figure:

For this, import/export script is available. This can be installed on appliance following instructions on

https://github.com/rhtconsulting/cfme-rhconsulting-scripts
Datastores
Domain Priority
Import Datastore
Namespaces