/equipos_principales) is the device inventory for your network. Each Equipo Principal record stores the hardware identity, management network configuration, access credentials, and SNMP parameters for one physical device, optionally linked to a node or a connection.
Data model
EquipoPrincipal (list view)
The list endpoint returns a lightweight version of each device:EquipoByIdOut (detail view)
When you open a device’s detail page, the API returns the full record with relational context:Device status values
The detail page colour-codes the device status using the following classification:| Status | Display | Meaning |
|---|---|---|
activo, operativo, online, up, habilitado, en servicio | Green | Device is fully operational |
mantenimiento, degradado, warning, observacion | Yellow | Device requires attention |
inactivo, down, offline, fallo, caido, deshabilitado | Red | Device is not reachable or failed |
provisionando, pendiente, instalacion, configurando | Blue | Device is being set up |
Equipment catalog
Before you can create equipment records, device types, brands, and models must exist in the catalog. The catalog (CatalogoEquipo) is a normalised lookup table:
tipo_id, marca_id, and modelo_id used by equipment records. This ensures consistent naming across all devices.
The catalog endpoint is
POST /v1/equipo_principal/crear/catalogo/equipos. You only need to call this once per new device type/brand/model combination.Equipment list page
Navigate to Equipos Principales in the sidebar. The table shows each device’s ID, brand, model, serial number, and device type. The list supports debounced text search (400 ms delay) and three independent dropdown filters:- Marca — filter by brand.
- Modelo — filter by model (resets when you change the brand filter).
- Tipo — filter by device type.
Creating equipment
Click Nuevo equipo to open the creation form at/equipos_principales/crear. Provide:
Node and connection association
Node and connection association
- nodo_id — associate this device with an existing node.
- enlace_id — optionally link the device to a specific connection.
Hardware identity (catalog IDs)
Hardware identity (catalog IDs)
- tipo_id — device type from the catalog.
- marca_id — brand from the catalog.
- modelo_id — model from the catalog.
- serial — physical serial number printed on the device.
Management access
Management access
- usuario_gestion — SSH / Telnet / web username.
- password_gestion — management password (stored in the system — see warning below).
Equipment detail page
Access a device at/equipos_principales/detalle/:equipo_id. The page shows:
Node section
Visible when
nodo_id is set. Shows the node name, type, and geographic location (department, province, district).Enlace section
Visible when
enlace_id is set. Shows the linked client name, RUC, link type, modality, and locación.Equipment section
Full hardware details: nombre, tipo, marca, modelo, serial, IP de gestión, máscara, gateway, usuario de gestión, SNMP versión, and SNMP community.
API endpoints
| Method | Path | Description |
|---|---|---|
GET | /v1/equipo_principal/listar | Paginated list — accepts limit, offset, search |
GET | /v1/equipo_principal/:id | Fetch full device detail |
POST | /v1/equipo_principal/crear | Create a new equipment record |
PUT | /v1/equipo_principal/:id | Update an existing record |
GET | /v1/equipo_principal/select/equipos | Lightweight list for dropdowns |
POST | /v1/equipo_principal/crear/catalogo/equipos | Add a type/brand/model to the catalog |
GET | /v1/equipo_principal/catalogo/equipos | Fetch the full catalog |