gigafibre-fsm/scripts/migration
louispaulb 231bb6fbcc feat: complete device matching analysis (legacy ↔ GenieACS ↔ ERPNext)
Full data export and cross-reference analysis:
- 7,550 GenieACS devices with IPs, deviceId, tags
- 6,720 legacy devices (raisecom, tplink, onu categories)
- 16,056 fibre table entries (OLT frame/slot/port/ontid, VLANs)
- 8,434 legacy services linked to devices

Key finding: CWMP serial ≠ physical serial. Only 22/7,550 devices
are tagged with their physical serial (RCMG/TPLG). Raisecom MAC
is extractable from CWMP serial suffix. TP-Link CWMP serial = sticker
serial for ONT models.

Matching strategy documented: tag-based, MAC-based, OLT port-based.
Recommends bulk tagging via OLT query as first step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 08:08:57 -04:00
..
genieacs-export feat: complete device matching analysis (legacy ↔ GenieACS ↔ ERPNext) 2026-04-03 08:08:57 -04:00
add_office_extension.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
add_performance_indexes.sql feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
analyze_pricing_cleanup.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
check_missing_cat26.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
clean_reimport.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
cleanup_customer_status.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
create_portal_users.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
explore_expro_payments.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
explore_expro_services.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
export_genieacs.sh feat: GenieACS config export + TR-069 to TR-369 migration plan 2026-04-02 21:03:41 -04:00
fix_and_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
fix_annual_billing_dates.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_customer_links.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_dates.py fix: correct creation/modified dates from unix timestamps 2026-03-28 16:20:47 -04:00
fix_invoice_customer_names.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_invoice_outstanding.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_issue_cust2.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_issue_owners.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_no_rebate_discounts.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_reversals.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_reversement.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_sub_address.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_subscription_details.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
geocode_locations.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_customer_details.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_devices_and_enrich.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_employees.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_expro_payments.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_invoice_notes.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
import_items.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
import_memos.py feat: 29K customer memos imported as Comments with real dates 2026-03-28 16:43:57 -04:00
import_missing_services.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_payments.py feat: 99K payments imported with invoice references 2026-03-28 16:33:35 -04:00
import_services_and_enrich_customers.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
import_technicians.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_terminated.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
import_ticket_msgs.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_all.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_direct.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_locations.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_phase3.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_phase5.py feat: Phase 5 opening balance + AR analysis 2026-03-28 14:47:18 -04:00
migrate_tickets.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_users.py feat: Phase 7 — 45 ERPNext Users from legacy staff 2026-03-28 15:13:31 -04:00
MIGRATION_MAP.md feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
nuke_data.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
reconcile_subscriptions.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
reimport_subscriptions.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
rename_all_doctypes.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
rename_customers_c_prefix.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
rename_customers.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
rename_to_readable_ids.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_invoice_print_format.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_portal_auth_bridge.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_scheduler_toggle.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_subscription_api.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_user_roles.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
simulate_payment_import.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_assigned_staff.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_item_descriptions.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_opened_by_staff.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00