Domain and Namespaces
Last updated
Last updated
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.
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.
An automate domain can be exported into a directory or a zip file.
To export domain into directory, use the following command,
To export domain into a zip file, use the following,
Tip
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,
To import domain from a zip file,
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.
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