> 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/b/broadcom-dx-netops-spectrum.md).

# Broadcom DX NetOps Spectrum

Broadcom DX NetOps Spectrum monitors network devices. OctoXLabs reads the device models from the OneClick RESTful web services on the SpectroSERVER and stores them as devices.

## Use cases

* List Spectrum devices with a known vendor.

```
Adapters = broadcom-dx-netops-spectrum AND DeviceManufacturer = *
```

* List devices that are classified as networking equipment.

```
Adapters = broadcom-dx-netops-spectrum AND Category = Networking
```

## Before you begin

### Network

| Source              | Destination                                  | Port                                      | Protocol                         |
| ------------------- | -------------------------------------------- | ----------------------------------------- | -------------------------------- |
| OctoXLabs connector | OneClick (SpectroSERVER) host (IP you enter) | 8080 (HTTP) or 8443 (HTTPS), configurable | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role | Permission                         | Needed for |
| ------------- | ---------------------------------- | ---------- |
| OneClick user | Read access to the model inventory | Devices    |

## Create credentials in Broadcom DX NetOps Spectrum

{% stepper %}
{% step %}

### Pick a user

A read-only OneClick user is enough. It needs read access to the model inventory. A dedicated user is recommended.
{% endstep %}

{% step %}

### Optional: pick a landscape

In a Distributed SpectroSERVER (DSS) deployment, enter a landscape handle to limit discovery to one landscape. Leave it empty to read all landscapes.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                       | Required | Type    | Default | Description                                                                                  |
| ------------------------------- | -------- | ------- | ------- | -------------------------------------------------------------------------------------------- |
| IP                              | Yes      | String  |         | Address of the OneClick host without a scheme.                                               |
| Port                            | No       | Integer | 8080    | Typically 8080 for HTTP and 8443 for HTTPS.                                                  |
| Is Secure                       | No       | Boolean | True    | Use HTTPS.                                                                                   |
| Username                        | Yes      | String  |         | OneClick user.                                                                               |
| Password                        | Yes      | String  |         | Password of that user.                                                                       |
| Landscape ID (Advanced)         | No       | String  |         | Landscape handle for DSS deployments.                                                        |
| Throttle Size (Advanced)        | No       | Integer | 9999    | Maximum number of models per response. Raise it if you have more devices.                    |
| Fetch All Attributes (Advanced) | No       | Boolean | False   | Request every attribute of each model. Broadcom advises limiting attributes for performance. |
| Proxy (Advanced)                | No       | String  |         | Proxy as `host:port`.                                                                        |
| Timeout (Advanced)              | No       | Integer | 30      | Seconds to wait for API responses.                                                           |

## Troubleshooting

| Error message                                                                       | Cause                                                                                                                                  | Fix                                                                                                  |
| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Spectrum devices pull truncated (error=); raise throttlesize or scope by landscape. | The response did not end with `EndOfResults`, so devices are missing.                                                                  | Raise Throttle Size or set a Landscape ID.                                                           |
| Status Code: `, URL, Method`                                                        | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

{% hint style="info" %}
Available starting from version 6.7.2.
{% endhint %}
