> 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/h/huawei-imaster-nce-campus.md).

# Huawei IMaster NCE Campus

Huawei iMaster NCE-Campus is a campus network controller. OctoXLabs reads the network devices and the access users of the controller through the northbound API.

## Use cases

* List network devices read from iMaster NCE-Campus.

```
Adapters = huawei-imaster-nce-campus
```

* Find campus network devices that were not seen in the last 30 days.

```
Adapters = huawei-imaster-nce-campus AND NOT LastSeen last now-30d/d
```

## Before you begin

### Network

| Source              | Destination               | Port                            | Protocol |
| ------------------- | ------------------------- | ------------------------------- | -------- |
| OctoXLabs connector | iMaster NCE-Campus server | Port set in the connection form | HTTPS    |

### Required permissions

| Scope or role                                    | Permission            | Needed for        |
| ------------------------------------------------ | --------------------- | ----------------- |
| Third-party user with the Open API Operator role | Northbound API access | Devices and Users |

## Create credentials in Huawei IMaster NCE Campus

{% stepper %}
{% step %}

### Create the user

In iMaster NCE-Campus create a user of type **Third-party**.
{% endstep %}

{% step %}

### Assign the role

Assign the **Open API Operator** role. This account authenticates through the northbound API.
{% endstep %}

{% step %}

### Set the password

The password and the user name are used to get API tokens and open a session.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter       | Required | Type    | Default | Description                            |
| --------------- | -------- | ------- | ------- | -------------------------------------- |
| IP              | Yes      | Text    | None    | Address of iMaster NCE-Campus.         |
| Port            | Yes      | Integer | None    | Port of iMaster NCE-Campus.            |
| Username        | Yes      | Text    | None    | Third-party user.                      |
| Password        | Yes      | Text    | None    | Password of the user.                  |
| Accept Language | No       | Text    | `en_US` | Response language: `en_US` or `zh-CN`. |
| Is Secure       | No       | Boolean | `true`  | Connect over HTTPS.                    |
| Timeout         | No       | Integer | `30`    | Seconds to wait for API responses.     |

## Troubleshooting

| Error message | Cause                                                               | Fix                                                  |
| ------------- | ------------------------------------------------------------------- | ---------------------------------------------------- |
| Not verified  | The connector code does not define adapter specific error messages. | Run the connection test and check the connector log. |

## Change history

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