Components of the Device Package
To add a network service to ACI fabric, the service’s device package needs to be uploaded to APIC. The device package is a zip file containing these components:
Device model or specification
The Device Specification is an XML file called DeviceModel.xml that covers descriptions of FortiGate devices, interfaces, connectivity and services. The file contains a hierarchical description of FortiGate devices, including:
l Device functions l Parameters of each function l Interfaces/network connectivity information of each function.
Device script
This is a Python file, DeviceScript.py with API functions to interface between the Cisco APIC and the FortiGate REST APIs. This Python file is associated by the DeviceModel.xml device specification to device script for APIC.
Directory of supporting files
This component contains supporting Python files, text files and libraries of scripts and tools.
Image file or directory
The directory contains file(s) such as a Fortinet icon (Fortinet_name.gif) to be displayed on the APIC management page.