Fortinet white logo
Fortinet white logo

SD-WAN Deployment for MSSPs

Importing Jinja Templates

Importing Jinja Templates

Note

Usually this step is not done using Postman, but rather done using an automation framework capable of reading external files. This is to import the Jinja Orchestrator templates downloaded from the GitHub repository (without the need to copy and paste them manually into the API request body). For a reference of the API call, see the FortiManager API on FNDN (login required).

To import the templates interactively:
  1. Go to Device Manager > Provisioning Templates. Under the CLI tab, click More > Import.

  2. Drag and drop the Project Template file, or click Add Files to upload it.

  3. Make sure the Script Name is set to Project and Script Type is set to Jinja Script:

    Note

    The naming is important because all the other templates use the Project Template as their dataset by referring to it by the name "Project".

  4. Click Import. FortiManager will automatically suggest creating all the variables referred to in the Project Template. Be sure to create them all, and there is no need to set any values at this stage:

  5. Click Import again. Now it should succeed.

  6. Repeat the above steps to import all the other Jinja Templates in our set. Remember to set the Script Type to Jinja Script for all the files:

  7. Click Import. FortiManager will suggest creating additional variables, such as profile and region. As before, be sure to create addition variables, but do not set them at this stage.

  8. Click Import again and make sure it succeeds.

Importing Jinja Templates

Importing Jinja Templates

Note

Usually this step is not done using Postman, but rather done using an automation framework capable of reading external files. This is to import the Jinja Orchestrator templates downloaded from the GitHub repository (without the need to copy and paste them manually into the API request body). For a reference of the API call, see the FortiManager API on FNDN (login required).

To import the templates interactively:
  1. Go to Device Manager > Provisioning Templates. Under the CLI tab, click More > Import.

  2. Drag and drop the Project Template file, or click Add Files to upload it.

  3. Make sure the Script Name is set to Project and Script Type is set to Jinja Script:

    Note

    The naming is important because all the other templates use the Project Template as their dataset by referring to it by the name "Project".

  4. Click Import. FortiManager will automatically suggest creating all the variables referred to in the Project Template. Be sure to create them all, and there is no need to set any values at this stage:

  5. Click Import again. Now it should succeed.

  6. Repeat the above steps to import all the other Jinja Templates in our set. Remember to set the Script Type to Jinja Script for all the files:

  7. Click Import. FortiManager will suggest creating additional variables, such as profile and region. As before, be sure to create addition variables, but do not set them at this stage.

  8. Click Import again and make sure it succeeds.