7. Reference
Installed layout (post-install):
| Path | Purpose |
|---|---|
/opt/bng-demo/ |
Plugin payload (Python source, install.sh, VERSION) |
/etc/systemd/system/bng-demo.service |
Systemd unit — enabled + started by install.sh |
/usr/local/bin/reset-cpesim |
One-liner state-cleanup script |
/tmp/quantumtouch-installer-<VERSION>/ |
Extracted wrapper installer (kept until you rm -rf) |
Network layout during a run:
| Kernel iface | Netns | Role |
|---|---|---|
demo0 |
cpesim-subs |
Sub-side of the access veth. Owns all framed IPs (10.50.0.2/32 through 10.50.0.<N+1>/32) plus RELAY_GIADDR (10.50.0.254/32). Sub processes bind AF_PACKET sockets here. |
demo0p |
root | Root-side of the access veth. VPP attaches as host-demo0p and the BNG runs its access-input node on it. |
demo-up |
root | Origin-side of the uplink veth. Owns 10.0.0.1/24. OriginServer binds 0.0.0.0:8080 to it. |
demo-upp |
root | VPP-side of the uplink veth. VPP attaches as host-demo-upp and installs the default route (10.0.0.1 via host-demo-upp). |
Version pin bump procedure (for ops):
- New CPESIM release published to
Bluedot-Insight/cpesim. - Bump
CPESIM_VERSIONinquantumtouch_bng/helpers/cpesim_module.py. - Bump
BUNDLE_VERSIONininstaller/PINS.sh. - Ship a new QuantumBNG release; the wrapper's About page now installs the new plugin.