Curses-based terminal UI for browsing OLT slots and PONs and inspecting ONU/PON alarms on Datacom (SSH) and Fiberhome (Telnet) OLTs.
- Install
uv(package and project manager for Python)
- On MacOS/Linux
# With wget
wget -qO- https://astral.sh/uv/install.sh | sh# With curl
curl -LsSf https://astral.sh/uv/install.sh | shAfter that, restart your terminal/console (close and reopen it).
- On Windows
# This is supposed to work for both CMD and PowerShell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"After that, restart your CMD/PowerShell (close and reopen it).
- Install
git
- On MacOS/Linux
sudo apt install git --yes- On Windows
Access: https://git-scm.com/install/windows.
- Clone the repository
git clone https://github.com/eruda-inst/jnv_cli.git- Access the directory
cd jnv_cli- Set up a
.envfile
Inside jnv_cli directory, create a file named .env (make sure the file is named exactly like that, without .txt at the end, for example) with the following content:
OLT_ACIJA_HOSTNAME="..."
OLT_ITAITU_HOSTNAME="..."
OLT_JACOBINA_III_HOSTNAME="..."
OLT_LAGES_DO_BATATA_HOSTNAME="..."
OLT_NEWNET_HOSTNAME="..."
OLT_PALMEIRINHA_HOSTNAME="..."
OLT_PARAISO_HOSTNAME="..."
OLT_DATACOM_USERNAME="..."
OLT_DATACOM_PASSWORD="..."
OLT_FIBERHOME_USERNAME="..."
OLT_FIBERHOME_PASSWORD="..."Replace the placeholders (ellipses) with real data.
- Install dependencies
uv sync- Run
uv run jnv_cli