Skip to content
AndreZivianiPublic

About

Web configuration UI for the ODI DFP-34X-2C2 GPON SFP ONU (Realtek RTL9601D)

Resources

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Repository files navigation

odi-ui

A web configuration UI for the ODI DFP-34X-2C2 GPON SFP ONU stick (Realtek RTL9601D, RLX5281, big-endian MIPS). It builds confd: a small, freestanding daemon plus a static JS/HTML page, driven by a data-driven schema rather than hand-written handlers, so adding a configuration key is a data change, not a new C handler or a reflash.

Part of odi-oss, the open firmware project for this stick.

What it does

  • Status — the receive and transmit levels on the class B+ window, with the margin to each edge; ONU state, alarms, forwarding rates, learned MAC addresses.
  • Config — the keys the image reads, on subtabs by what they are for (Line, VLAN, ONU identity, Network, Services), each labelled with what applying a change costs; the stock-only keys, read-only.
  • OMCI — what the OLT actually provisioned, in sentences, and the raw MIB underneath it.
  • System — both firmware partitions and what each one holds, image upload and write, one-shot trial boot; credentials and SSH keys; backup, restore, reset; kernel log and ping.

On the stock/OEM firmware, confd runs alongside the vendor's boa, on its own port — it does not replace it. On the odi-oss image, boa is gone entirely and confd replaces it, serving on port 80.

See docs/DESIGN.md for why it is built this way (schema generation, MIB vs config semantics, the OMCI feature bitmasks, firmware trial boot, authentication model, and more) and docs/API.md for the HTTP API reference.

Screenshots

From the qemu preview (scripts/preview.sh) with recorded fixtures; identifiers are placeholders.

Status Config
Status: receive and transmit levels on the class B+ window, registration, transceiver, forwarding Config, VLAN subtab: each setting with its apply cost, and the save bar
Learned addresses OMCI services
Forwarding rates and the MAC table the switch learned, with a multicast group OMCI services: what the OLT provisioned, one card per managed entity
Firmware Trial boot
Firmware: both partitions, what each holds, and the stock-firmware warning A trial boot: the banner on every page, with Commit to this image
What committing means Light theme
Firmware during a trial, with the What committing means disclosure open Status page in the light theme
Phone width
Config at phone width, stacked rows and the save bar

Getting it

Either download confd, confd-assets.tar.gz and SHA256SUMS from a release, or flash an odi-oss image built by odi-sandbox, which already bakes both in and starts the daemon at boot.

Building and testing

Everything builds in a container — Docker and make are all the host needs, no login or token required:

make            # confd, verify (ELF shape + ISA audit), check, smoke
make release    # everything CI does, including the release assets

See docs/BUILDING.md for the toolchain image, deploying to a stick, and every test in detail.

License

GPL-2.0-or-later. See LICENSE.

Related

  • odi-oss — the parent project
  • ~/git/odi-sandbox — the firmware image, provisioning runbooks, line profiles
  • odi-sfp-exporter — the Prometheus exporter and the freestanding runtime

About

Web configuration UI for the ODI DFP-34X-2C2 GPON SFP ONU (Realtek RTL9601D)

Resources

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages