> 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-esight.md).

# Huawei eSight

Huawei eSight is an O\&M platform for Huawei IT infrastructure. OctoXLabs reads the servers of one server type through the eSight northbound API.

## Use cases

* List servers read from eSight.

```
Adapters = huawei-esight
```

* Find eSight servers that other sources do not know.

```
Adapters = huawei-esight AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                                               | Port            | Protocol |
| ------------------- | --------------------------------------------------------- | --------------- | -------- |
| OctoXLabs connector | eSight server (API Gateway listening port, default 32102) | 32102 (default) | HTTPS    |

### Required permissions

| Scope or role                  | Permission                              | Needed for |
| ------------------------------ | --------------------------------------- | ---------- |
| Third-party system access user | Northbound API access to server devices | Devices    |

## Create credentials in Huawei eSight

{% stepper %}
{% step %}

### Find the address and port

On the eSight O\&M plane choose **System Management** > **Northbound** > **NBI**. In the navigation pane choose **API Gateway** > **General Configuration** and read the server IP address and listening port.
{% endstep %}

{% step %}

### Create the user

Log in to the eSight O\&M portal and go to **System Management** > **Security** > **User Management** > **Create**. Set the user type to **Third-party**.
{% endstep %}

{% step %}

### Set the password

Choose a password that meets the complexity policy.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter   | Required | Type    | Default | Description                                                                                                                                            |
| ----------- | -------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| IP          | Yes      | Text    | None    | eSight server address.                                                                                                                                 |
| Port        | No       | Integer | `32102` | API Gateway listening port.                                                                                                                            |
| Username    | Yes      | Text    | None    | Third-party system access user.                                                                                                                        |
| Password    | Yes      | Text    | None    | Password of the user.                                                                                                                                  |
| Is Secure?  | No       | Boolean | `true`  | Use SSL/TLS.                                                                                                                                           |
| Server Type | Yes      | Text    | None    | One of `rack`, `blade`, `highdensity`, `kunlun`, `thirdpartyserver`, `heterogeneous`, `taishan`, `tceblade`, `enclosure`, `litechassisserver`, `edge`. |
| 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.1.
{% endhint %}
