mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Migrate xDSL code to module, and add support for VDSL2 MIB (#14207)
* use component to discover if xDSL polling is needed use component to discover if xDSL polling is needed * Components OK, Polling in correct files, no DB for VDSL * GUI GUI_suite * per port as well * rename * interface listing * draytek_snmpsim * fix arraymerge fix names and max value * schema schema style * remove one dbFetchRows remove 2x dbFetchCell style style remove Legacy dbFetchRow tests tests eloquent more eloquent more eloquent one more gone * fix properties access eloquent_insert_update style tests tests tests tests * tests tests tests * adslLineCoding * Models * fix not nullable cols in DB from code default values typo rename typo schema fix fix vdsl fix now typo typo fix size fix size * Power values for VDSL Power values for VDSL Power values for VDSL DB * cleanup * Rrd::checkRrdExists * always enable DSL discovery style * xdsl module * cleanup and move to Module cleanup and move to Module cleanup and move to Module cleanup and move to Module * Fix display * fix polling and tenth * remove legacy poller * Style and Cosmetics Cosmetics Cleanup * Translations Translations * exists exists * add test support for xdsl * remove last component call unused * translations * remove non standard onclick event on xdsl line * Update Discovery Support.md Update Poller Support.md toner_gone * Notification for removal of lnms config:set enable_ports_adsl true * enable on devices with potential DSL interfaces * tests are working now fix teldat tests * os_schema * teldat * move to new module structure * move to new module structure * wrong dump function * wrong dump function * laravel_through_key hidden * Update notifications.rss * Update notifications.rss Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -1066,6 +1066,13 @@
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"discovery_modules.xdsl": {
|
||||
"order": 255,
|
||||
"group": "discovery",
|
||||
"section": "discovery_modules",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"discovery_modules.entity-physical": {
|
||||
"order": 110,
|
||||
"group": "discovery",
|
||||
@@ -4505,6 +4512,13 @@
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"poller_modules.xdsl": {
|
||||
"order": 345,
|
||||
"group": "poller",
|
||||
"section": "poller_modules",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"poller_modules.customoid": {
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
|
@@ -1505,23 +1505,23 @@ ports_adsl:
|
||||
Columns:
|
||||
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
|
||||
- { Field: port_adsl_updated, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
|
||||
- { Field: adslLineCoding, Type: varchar(8), 'Null': false, Extra: '' }
|
||||
- { Field: adslLineType, Type: varchar(16), 'Null': false, Extra: '' }
|
||||
- { Field: adslAtucInvVendorID, Type: varchar(8), 'Null': false, Extra: '' }
|
||||
- { Field: adslAtucInvVersionNumber, Type: varchar(8), 'Null': false, Extra: '' }
|
||||
- { Field: adslAtucCurrSnrMgn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
|
||||
- { Field: adslAtucCurrAtn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
|
||||
- { Field: adslAtucCurrOutputPwr, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
|
||||
- { Field: adslAtucCurrAttainableRate, Type: int, 'Null': false, Extra: '' }
|
||||
- { Field: adslAtucChanCurrTxRate, Type: int, 'Null': false, Extra: '' }
|
||||
- { Field: adslAturInvSerialNumber, Type: varchar(8), 'Null': false, Extra: '' }
|
||||
- { Field: adslAturInvVendorID, Type: varchar(8), 'Null': false, Extra: '' }
|
||||
- { Field: adslAturInvVersionNumber, Type: varchar(8), 'Null': false, Extra: '' }
|
||||
- { Field: adslAturChanCurrTxRate, Type: int, 'Null': false, Extra: '' }
|
||||
- { Field: adslAturCurrSnrMgn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
|
||||
- { Field: adslAturCurrAtn, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
|
||||
- { Field: adslAturCurrOutputPwr, Type: 'decimal(5,1)', 'Null': false, Extra: '' }
|
||||
- { Field: adslAturCurrAttainableRate, Type: int, 'Null': false, Extra: '' }
|
||||
- { Field: adslLineCoding, Type: varchar(8), 'Null': false, Extra: '', Default: '' }
|
||||
- { Field: adslLineType, Type: varchar(16), 'Null': false, Extra: '', Default: '' }
|
||||
- { Field: adslAtucInvVendorID, Type: varchar(16), 'Null': false, Extra: '', Default: '' }
|
||||
- { Field: adslAtucInvVersionNumber, Type: varchar(16), 'Null': false, Extra: '', Default: '' }
|
||||
- { Field: adslAtucCurrSnrMgn, Type: 'decimal(5,1)', 'Null': false, Extra: '', Default: '0.0' }
|
||||
- { Field: adslAtucCurrAtn, Type: 'decimal(5,1)', 'Null': false, Extra: '', Default: '0.0' }
|
||||
- { Field: adslAtucCurrOutputPwr, Type: 'decimal(5,1)', 'Null': false, Extra: '', Default: '0.0' }
|
||||
- { Field: adslAtucCurrAttainableRate, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: adslAtucChanCurrTxRate, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: adslAturInvSerialNumber, Type: varchar(32), 'Null': false, Extra: '', Default: '' }
|
||||
- { Field: adslAturInvVendorID, Type: varchar(16), 'Null': false, Extra: '', Default: '' }
|
||||
- { Field: adslAturInvVersionNumber, Type: varchar(16), 'Null': false, Extra: '', Default: '' }
|
||||
- { Field: adslAturChanCurrTxRate, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: adslAturCurrSnrMgn, Type: 'decimal(5,1)', 'Null': false, Extra: '', Default: '0.0' }
|
||||
- { Field: adslAturCurrAtn, Type: 'decimal(5,1)', 'Null': false, Extra: '', Default: '0.0' }
|
||||
- { Field: adslAturCurrOutputPwr, Type: 'decimal(5,1)', 'Null': false, Extra: '', Default: '0.0' }
|
||||
- { Field: adslAturCurrAttainableRate, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
Indexes:
|
||||
ports_adsl_port_id_unique: { Name: ports_adsl_port_id_unique, Columns: [port_id], Unique: true, Type: BTREE }
|
||||
ports_fdb:
|
||||
@@ -1637,6 +1637,18 @@ ports_stp:
|
||||
Indexes:
|
||||
PRIMARY: { Name: PRIMARY, Columns: [port_stp_id], Unique: true, Type: BTREE }
|
||||
ports_stp_device_id_vlan_port_index_unique: { Name: ports_stp_device_id_vlan_port_index_unique, Columns: [device_id, vlan, port_index], Unique: true, Type: BTREE }
|
||||
ports_vdsl:
|
||||
Columns:
|
||||
- { Field: port_id, Type: 'int unsigned', 'Null': false, Extra: '' }
|
||||
- { Field: port_vdsl_updated, Type: timestamp, 'Null': false, Extra: '', Default: CURRENT_TIMESTAMP }
|
||||
- { Field: xdsl2LineStatusAttainableRateDs, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: xdsl2LineStatusAttainableRateUs, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: xdsl2ChStatusActDataRateXtur, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: xdsl2ChStatusActDataRateXtuc, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: xdsl2LineStatusActAtpDs, Type: 'decimal(8,2)', 'Null': false, Extra: '', Default: '0.00' }
|
||||
- { Field: xdsl2LineStatusActAtpUs, Type: 'decimal(8,2)', 'Null': false, Extra: '', Default: '0.00' }
|
||||
Indexes:
|
||||
ports_vdsl_port_id_unique: { Name: ports_vdsl_port_id_unique, Columns: [port_id], Unique: true, Type: BTREE }
|
||||
ports_vlans:
|
||||
Columns:
|
||||
- { Field: port_vlan_id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
|
||||
|
@@ -83,5 +83,10 @@
|
||||
<description>Improvements to routeros wireless polling will lose historical data for 60GHz rate, frequency, and distance wireless sensors. See https://github.com/librenms/librenms/pull/12976 for more information.</description>
|
||||
<pubDate>Wed, 19 Oct 2021 18:00:00 +0000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>ADSL discovery and polling moved to a new module</title>
|
||||
<description>Adsl statistics are now discovered and polled in a new module. Vdsl stats were also added. `lnms config:set enable_ports_adsl true`is not supported anymore. See https://github.com/librenms/librenms/pull/14207 for more information.</description>
|
||||
<pubDate>Wed, 7 Sept 2022 18:00:00 +0000</pubDate>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
@@ -212,6 +212,9 @@
|
||||
},
|
||||
"netscaler-vsvr": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"xdsl": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
@@ -353,6 +356,9 @@
|
||||
},
|
||||
"ip6-addresses": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"xdsl": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
Reference in New Issue
Block a user