跳到内容
发布Netxol NOS 0.1.0 现已发布——网络监控模块(NMM)已投入运行发布CRM 与 ERP 模块即将推出——皆在统一的 Netxol One 身份之下发布Agentic AI 引擎——对话式 NOC 贯穿每一个模块发布Field Engineer 与 Subscriber 应用——与每一台 Netxol Core 配对发布部署于任意 Core 设备——X1 / X5 / X20 / X100
Netxol
NMM已解决

Auto-provisioning CDATA ONTs in bulk from a spreadsheet

1
RRahul Desai提问 · Jul 6, 2026, 02:41 PM
We just took delivery of 4,800 CDATA GPON ONTs pre-labelled with the subscriber allocations. Rather than plug each into NMM inventory manually, is there a supported way to bulk-import from CSV that also pre-binds to the plan? Docs mention the /api/nmm/inventory endpoint but examples are single-record only. Anyone have a script or an nmm-cli command?
#auto-provisioning#cdata#bulk#api
2 条回复·894 次浏览
1
HHana Tanaka回复 · Jul 7, 2026, 10:33 AM 已采纳的答案
Yes — `nmm-cli inventory import --csv onts.csv --bind-plan basic-gpon` handles this. CSV columns: mac, serial, model, subscriber_id (optional). If subscriber_id is set, it pre-binds; otherwise sits in a staging pool until a subscriber activates. We do 3k-5k units a week this way.
0
RRahul Desai回复 · Jul 9, 2026, 02:15 PM
Add --validate-first if you want a dry run — catches malformed MACs before touching the DB. Saved me from a supplier who shipped a batch with two swapped digits on 40 units.
登录后回复。 初次来访? 创建账户 或 登录。