跳到内容
NOS 1.2 · Aurora 现已发布——支持 24 种语言的对话式 NOCCore X100 旗舰——面向 500,000+ 用户的集群安装程序Field Engineer 伴侣应用——工单、GIS 和现场测试Netxol One 套件——NMM · CRM · ERP 统一身份部署案例·单台 Core X20 支撑 82,000 用户
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 条回复·891 次浏览
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.
登录后回复。 初次来访? 创建账户登录