> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/c/cloudvision-arista-on-prem.md).

# CloudVision Arista On Prem

CloudVision Portal (CVP) is the self-hosted management appliance for Arista devices. OctoXLabs signs in to CVP and reads the device inventory through the CloudVision Resource APIs. For CloudVision as-a-Service use the CloudVision Arista adapter instead.

## Use cases

* List Arista devices that CVP reports.

```
Adapters = cloudvision-arista-op
```

* Find Arista devices that are missing from the CMDB.

```
Adapters = cloudvision-arista-op AND NOT Adapters = servicenow-cmdb
```

## Before you begin

### Network

| Source              | Destination                              | Port                                  | Protocol |
| ------------------- | ---------------------------------------- | ------------------------------------- | -------- |
| OctoXLabs connector | CloudVision Portal (use the cluster VIP) | 443 (configurable; 80 for plain HTTP) | HTTPS    |

### Required permissions

| Scope or role                                               | Permission | Needed for       |
| ----------------------------------------------------------- | ---------- | ---------------- |
| network-operator (read-only access to the device inventory) | Read       | Device inventory |

## Create credentials in CloudVision Arista On Prem

{% stepper %}
{% step %}

### Choose the account

Use a CVP user. It can be a local user or an account authenticated through your AAA provider (TACACS+, RADIUS or LDAP).
{% endstep %}

{% step %}

### Check the role

The account must read the device inventory. A read-only role such as **network-operator** is enough. **network-admin** is not needed. Review accounts under **Settings > Access Control > Users**.
{% endstep %}

{% step %}

### Pick the host

For a multi-node CVP cluster, use the cluster VIP so the connection survives a failover. A single secondary node breaks discovery when it is not the active primary.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type     | Default | Description                                                                      |
| --------- | -------- | -------- | ------- | -------------------------------------------------------------------------------- |
| Ip        | Yes      | Text     |         | IP address or FQDN of the CVP host. Host only, no `https://` prefix and no port. |
| Port      | No       | Number   | 443     | CVP web port. Use 80 with Is Secure off for plain HTTP.                          |
| Username  | Yes      | Text     |         | CVP user account.                                                                |
| Password  | Yes      | Password |         | Password of the user.                                                            |
| Is Secure | No       | Boolean  | True    | Use HTTPS. The default self-signed CVP certificate is accepted.                  |
| Timeout   | No       | Number   | 30      | Seconds to wait for API responses. Raise it for large inventories.               |
| Proxy     | No       | Text     |         | Proxy in `host:port` format, for example `10.0.0.5:3128`.                        |

## Troubleshooting

No adapter-specific error messages are documented for this adapter.

## Change history
