FAQ & Troubleshooting
Common Issues
-
Authentication errors:
Either CVP_API_TOKEN or both CVP_USERNAME and CVP_PASSWORD must be providedSolution: Provide either
CVP_API_TOKEN, or bothCVP_USERNAMEandCVP_PASSWORD, in your configuration or.envfile. A service account token is the recommended method. -
Session token exchange fails:
Authentication failed at cvp.example.comSolution: When using username/password authentication, verify the credentials are correct and that the account can reach the CloudVision REST login endpoint. Confirm
CVP_HOSTis correct and reachable from the agent host. -
Invalid host errors:
Invalid host 'https://cvp.example.com': do not include a URL schemeSolution: Set
CVP_HOSTto a bare hostname orhostname:port(for example,cvp.example.comorcvp.example.com:443). Do not include a scheme such ashttps://, a path, or credentials. -
TLS certificate errors:
Solution: For a certificate signed by an internal or private CA, add the CA chain to the host trust store and leave
CVP_SSL_VERIFY=True. SettingCVP_SSL_VERIFY=Falseaccepts a self-signed certificate but requiresCVP_API_TOKEN, and the certificate must be issued forCVP_HOST.CVP_SSL_VERIFY=Falsecannot be used with username/password authentication. -
Diode connection errors:
failed to connect to diodeSolution: Verify that
DIODE_CLIENT_ID,DIODE_CLIENT_SECRET, and thetargetvalue in youragent.yamlare correct. Confirm outbound gRPCS access (port 443) from your agent host to your NetBox instance. -
A scoped run ingests no devices or fails on the tag API:
Solution: When
scope.sitesorscope.tagsis set, the integration must be able to read CloudVision device tags. If the tag API is unavailable or the token lacks tag-read permission, a scoped run fails deliberately rather than silently ingesting nothing. Confirm the token can read tags, or remove the scope filter to run an inventory-only sync. -
Custom fields not present in NetBox after the first run:
Solution: The custom fields are created during bootstrap mode. Ensure you ran the agent with
BOOTSTRAP: trueand applied the resulting deviations in NetBox Assurance before running the full sync. -
Objects not appearing in NetBox after the agent reports successful ingestion:
Solution: Discovered data is staged as deviations in NetBox Assurance and must be applied before it appears in NetBox. Navigate to Assurance → Active Deviations and apply the deviations.
Frequently Asked Questions
Q: Does the integration write any data back to Arista CloudVision?
A: No. The integration is read-only. It reads the CloudVision inventory and tag APIs and sends discovered data to NetBox via Diode. No changes are made to CloudVision.
Q: Will objects be deleted from NetBox if they are removed from CloudVision?
A: No. The integration does not delete NetBox objects. If a device is removed from CloudVision, it is not automatically decommissioned in NetBox. Handle decommissioning manually.
Q: Does the integration work with both CloudVision Portal (CVP) and CloudVision as a Service (CVaaS)?
A: Yes. Both are reached over the CloudVision gRPC Resource API on port 443. For CVaaS, use a service account token.
Q: Can I run the integration against multiple CloudVision systems?
A: Yes, by running a separate agent instance for each system. Give each instance its own CVP_HOST, credentials, a distinct agent_name, and a distinct CVP_NAME so its objects are identifiable by the cv-{name} tag in NetBox.
Q: How is a device's NetBox site determined?
A: The site is resolved from the device's topology_datacenter CloudVision system tag. When that tag is absent, the device is assigned to the SITE_NAME value (default "CloudVision").
Q: How is a device's NetBox role determined?
A: The role is resolved from the device's topology_type CloudVision system tag - for example spine, leaf, l2leaf, superspine, campus-leaf, or borderleaf. A device with no topology_type tag, or an unrecognized value, is assigned the Network Switch fallback role.
Q: Why does a device have a Management1 interface instead of Management0?
A: The management port name is derived from the hardware model. Older fixed-form DCS-7050 and DCS-7060 platforms use Management1; all other EOS platforms use Management0.
Q: Are Ethernet interfaces, VLANs, VRFs, prefixes, and IP addresses synchronized?
A: Not in the current preview. This release synchronizes device inventory: devices, device types, platforms, sites, roles, management interfaces, and MAC addresses. Layer-3 interface, VLAN, VRF, prefix, and IP address discovery derived from EOS running configuration is planned for a future release.
Q: How do I change the fallback NetBox site name?
A: Set the SITE_NAME parameter in your configuration. The default is "CloudVision". This value is only used for devices that have no topology_datacenter tag.
Technical Information
This page describes how Arista CloudVision object types are mapped to NetBox objects by the integration, and lists every configuration key.
AWS VPC IPAM Integration
Discover and synchronize IP address data from AWS VPC IP Address Manager (IPAM) into NetBox. This integration is currently in customer preview. Imports IPAM scopes, pools, and allocated CIDRs as VRFs, prefixes, and IP addresses.