@@ -3,7 +3,9 @@ title: Cisco ACI adapter
33---
44import ReferenceLink from " ../../src/components/Card" ;
55
6+ <!-- vale off -->
67## What is Cisco ACI?
8+ <!-- vale on -->
79
810The *Cisco ACI* is a software-defined networking (SDN) solution that provides a policy-based, application-centric approach to managing and orchestrating network infrastructure. It is commonly used in data centers for scalable, policy-driven networking.
911
@@ -17,7 +19,7 @@ Currently, the Cisco ACI adapter supports only **one-way synchronization** from
1719
1820## Configuration
1921
20- The adapter reads connection settings from the sync config and can be overridden by environment variables. Credentials should be provided from a secret manager or environment variables in production.
22+ The adapter reads connection settings from the synchronization configuration and can be overridden by environment variables. Credentials should be provided via a secret manager or environment variables in production.
2123
2224### Configuration parameters
2325
@@ -123,14 +125,14 @@ transforms:
123125This transform:
124126
1251271. Extracts the node ID from the ACI Distinguished Name (DN)
126- 2. Removes the `"node-"` prefix (e.g., `"node-102"` → `"102"`)
128+ 2. Removes the `"node-"` prefix (for example: `"node-102"` → `"102"`)
1271293. Uses the `aci_device_name` filter to resolve the node ID to the actual device name
128130
129131**How it works:**
130132
131- - The adapter automatically queries ACI's `fabricNode` class during initialization
133+ - The adapter automatically queries the ACI `fabricNode` class during initialization
132134- Builds a mapping of node IDs to device names
133- - The filter performs a simple lookup with fallback to the original node ID if not found
135+ - The filter performs a lookup with a fallback to the original node ID if not found
134136
135137## Generating the models
136138
@@ -152,12 +154,12 @@ poetry run infrahub-sync generate --name from-cisco-aci --directory examples/
152154- **Interface-device relationship errors**: If you see " Unable to locate the node device" errors, ensure:
153155 - The `DcimPhysicalDevice` mapping runs before `DcimPhysicalInterface` in the `order` configuration
154156 - The device transform uses the `aci_device_name` filter correctly: `{{ node_id | aci_device_name }}`
155- - The ACI fabricNode query is successful (check logs for "Built ACI device mapping" messages)
157+ - The ACI fabric node query succeeds (check logs for " Built ACI device mapping" messages)
156158
157159### Jinja filter issues
158160
159161- **`aci_device_name` filter not found**: Ensure you're using the ACI adapter and the filter is correctly spelled
160- - **Filter returns node ID instead of device name**: Check that the fabricNode query was successful during adapter initialization
162+ - **Filter returns node ID instead of device name**: Check that the fabric node query succeeded during adapter initialization
161163- **Transform expression errors**: Verify the DN parsing logic extracts the correct node ID:
162164
163165 ```yaml
0 commit comments