FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
singhl
Staff
Staff
Article Id 288231
Description This article describes how to automate VDOM creation in FortiManager with a CLI template.
Scope FortiManager.
Solution

To do this, create a CLI template and set the type to 'Jinja Script'.

 

Add configuration to enable multi-vdom mode and create a VDOM. For example:

 

vdom_cli_template.png

 

 

Notes:

  • This cannot be achieved using a CLI template with the 'CLI Script' type. A syntax error will appear showing 'config vdom' is an invalid value.
  • It is possible to use a pre-run CLI template as well for this config with the Jinja script type.
  • It is also possible to use an ADOM level Meta variable in the script.
Contributors