Fix numeric value out of range for _rate (#16325)

* Fix numeric value out of range for _rate

* Fix style
This commit is contained in:
Steve Calvário 2024-08-27 21:15:33 +01:00 committed by GitHub
parent 9e4b2fa3a3
commit a961323113
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 72 additions and 28 deletions

View File

@ -0,0 +1,44 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('ports_statistics', function (Blueprint $table) {
$table->bigInteger('ifInNUcastPkts_rate')->nullable()->change();
$table->bigInteger('ifOutNUcastPkts_rate')->nullable()->change();
$table->bigInteger('ifInDiscards_rate')->nullable()->change();
$table->bigInteger('ifOutDiscards_rate')->nullable()->change();
$table->bigInteger('ifInUnknownProtos_rate')->nullable()->change();
$table->bigInteger('ifInBroadcastPkts_rate')->nullable()->change();
$table->bigInteger('ifOutBroadcastPkts_rate')->nullable()->change();
$table->bigInteger('ifInMulticastPkts_rate')->nullable()->change();
$table->bigInteger('ifOutMulticastPkts_rate')->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('ports_statistics', function (Blueprint $table) {
$table->integer('ifInNUcastPkts_rate')->nullable()->change();
$table->integer('ifOutNUcastPkts_rate')->nullable()->change();
$table->integer('ifInDiscards_rate')->nullable()->change();
$table->integer('ifOutDiscards_rate')->nullable()->change();
$table->integer('ifInUnknownProtos_rate')->nullable()->change();
$table->integer('ifInBroadcastPkts_rate')->nullable()->change();
$table->integer('ifOutBroadcastPkts_rate')->nullable()->change();
$table->integer('ifInMulticastPkts_rate')->nullable()->change();
$table->integer('ifOutMulticastPkts_rate')->nullable()->change();
});
}
};

View File

@ -1972,39 +1972,39 @@ CREATE TABLE `ports_statistics` (
`ifInNUcastPkts` bigint(20) DEFAULT NULL, `ifInNUcastPkts` bigint(20) DEFAULT NULL,
`ifInNUcastPkts_prev` bigint(20) DEFAULT NULL, `ifInNUcastPkts_prev` bigint(20) DEFAULT NULL,
`ifInNUcastPkts_delta` bigint(20) DEFAULT NULL, `ifInNUcastPkts_delta` bigint(20) DEFAULT NULL,
`ifInNUcastPkts_rate` int(11) DEFAULT NULL, `ifInNUcastPkts_rate` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts` bigint(20) DEFAULT NULL, `ifOutNUcastPkts` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts_prev` bigint(20) DEFAULT NULL, `ifOutNUcastPkts_prev` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts_delta` bigint(20) DEFAULT NULL, `ifOutNUcastPkts_delta` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts_rate` int(11) DEFAULT NULL, `ifOutNUcastPkts_rate` bigint(20) DEFAULT NULL,
`ifInDiscards` bigint(20) DEFAULT NULL, `ifInDiscards` bigint(20) DEFAULT NULL,
`ifInDiscards_prev` bigint(20) DEFAULT NULL, `ifInDiscards_prev` bigint(20) DEFAULT NULL,
`ifInDiscards_delta` bigint(20) DEFAULT NULL, `ifInDiscards_delta` bigint(20) DEFAULT NULL,
`ifInDiscards_rate` int(11) DEFAULT NULL, `ifInDiscards_rate` bigint(20) DEFAULT NULL,
`ifOutDiscards` bigint(20) DEFAULT NULL, `ifOutDiscards` bigint(20) DEFAULT NULL,
`ifOutDiscards_prev` bigint(20) DEFAULT NULL, `ifOutDiscards_prev` bigint(20) DEFAULT NULL,
`ifOutDiscards_delta` bigint(20) DEFAULT NULL, `ifOutDiscards_delta` bigint(20) DEFAULT NULL,
`ifOutDiscards_rate` int(11) DEFAULT NULL, `ifOutDiscards_rate` bigint(20) DEFAULT NULL,
`ifInUnknownProtos` bigint(20) DEFAULT NULL, `ifInUnknownProtos` bigint(20) DEFAULT NULL,
`ifInUnknownProtos_prev` bigint(20) DEFAULT NULL, `ifInUnknownProtos_prev` bigint(20) DEFAULT NULL,
`ifInUnknownProtos_delta` bigint(20) DEFAULT NULL, `ifInUnknownProtos_delta` bigint(20) DEFAULT NULL,
`ifInUnknownProtos_rate` int(11) DEFAULT NULL, `ifInUnknownProtos_rate` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts` bigint(20) DEFAULT NULL, `ifInBroadcastPkts` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts_prev` bigint(20) DEFAULT NULL, `ifInBroadcastPkts_prev` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts_delta` bigint(20) DEFAULT NULL, `ifInBroadcastPkts_delta` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts_rate` int(11) DEFAULT NULL, `ifInBroadcastPkts_rate` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts` bigint(20) DEFAULT NULL, `ifOutBroadcastPkts` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts_prev` bigint(20) DEFAULT NULL, `ifOutBroadcastPkts_prev` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts_delta` bigint(20) DEFAULT NULL, `ifOutBroadcastPkts_delta` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts_rate` int(11) DEFAULT NULL, `ifOutBroadcastPkts_rate` bigint(20) DEFAULT NULL,
`ifInMulticastPkts` bigint(20) DEFAULT NULL, `ifInMulticastPkts` bigint(20) DEFAULT NULL,
`ifInMulticastPkts_prev` bigint(20) DEFAULT NULL, `ifInMulticastPkts_prev` bigint(20) DEFAULT NULL,
`ifInMulticastPkts_delta` bigint(20) DEFAULT NULL, `ifInMulticastPkts_delta` bigint(20) DEFAULT NULL,
`ifInMulticastPkts_rate` int(11) DEFAULT NULL, `ifInMulticastPkts_rate` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts` bigint(20) DEFAULT NULL, `ifOutMulticastPkts` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts_prev` bigint(20) DEFAULT NULL, `ifOutMulticastPkts_prev` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts_delta` bigint(20) DEFAULT NULL, `ifOutMulticastPkts_delta` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts_rate` int(11) DEFAULT NULL, `ifOutMulticastPkts_rate` bigint(20) DEFAULT NULL,
PRIMARY KEY (`port_id`) PRIMARY KEY (`port_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;

View File

@ -1972,39 +1972,39 @@ CREATE TABLE `ports_statistics` (
`ifInNUcastPkts` bigint(20) DEFAULT NULL, `ifInNUcastPkts` bigint(20) DEFAULT NULL,
`ifInNUcastPkts_prev` bigint(20) DEFAULT NULL, `ifInNUcastPkts_prev` bigint(20) DEFAULT NULL,
`ifInNUcastPkts_delta` bigint(20) DEFAULT NULL, `ifInNUcastPkts_delta` bigint(20) DEFAULT NULL,
`ifInNUcastPkts_rate` int(11) DEFAULT NULL, `ifInNUcastPkts_rate` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts` bigint(20) DEFAULT NULL, `ifOutNUcastPkts` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts_prev` bigint(20) DEFAULT NULL, `ifOutNUcastPkts_prev` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts_delta` bigint(20) DEFAULT NULL, `ifOutNUcastPkts_delta` bigint(20) DEFAULT NULL,
`ifOutNUcastPkts_rate` int(11) DEFAULT NULL, `ifOutNUcastPkts_rate` bigint(20) DEFAULT NULL,
`ifInDiscards` bigint(20) DEFAULT NULL, `ifInDiscards` bigint(20) DEFAULT NULL,
`ifInDiscards_prev` bigint(20) DEFAULT NULL, `ifInDiscards_prev` bigint(20) DEFAULT NULL,
`ifInDiscards_delta` bigint(20) DEFAULT NULL, `ifInDiscards_delta` bigint(20) DEFAULT NULL,
`ifInDiscards_rate` int(11) DEFAULT NULL, `ifInDiscards_rate` bigint(20) DEFAULT NULL,
`ifOutDiscards` bigint(20) DEFAULT NULL, `ifOutDiscards` bigint(20) DEFAULT NULL,
`ifOutDiscards_prev` bigint(20) DEFAULT NULL, `ifOutDiscards_prev` bigint(20) DEFAULT NULL,
`ifOutDiscards_delta` bigint(20) DEFAULT NULL, `ifOutDiscards_delta` bigint(20) DEFAULT NULL,
`ifOutDiscards_rate` int(11) DEFAULT NULL, `ifOutDiscards_rate` bigint(20) DEFAULT NULL,
`ifInUnknownProtos` bigint(20) DEFAULT NULL, `ifInUnknownProtos` bigint(20) DEFAULT NULL,
`ifInUnknownProtos_prev` bigint(20) DEFAULT NULL, `ifInUnknownProtos_prev` bigint(20) DEFAULT NULL,
`ifInUnknownProtos_delta` bigint(20) DEFAULT NULL, `ifInUnknownProtos_delta` bigint(20) DEFAULT NULL,
`ifInUnknownProtos_rate` int(11) DEFAULT NULL, `ifInUnknownProtos_rate` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts` bigint(20) DEFAULT NULL, `ifInBroadcastPkts` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts_prev` bigint(20) DEFAULT NULL, `ifInBroadcastPkts_prev` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts_delta` bigint(20) DEFAULT NULL, `ifInBroadcastPkts_delta` bigint(20) DEFAULT NULL,
`ifInBroadcastPkts_rate` int(11) DEFAULT NULL, `ifInBroadcastPkts_rate` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts` bigint(20) DEFAULT NULL, `ifOutBroadcastPkts` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts_prev` bigint(20) DEFAULT NULL, `ifOutBroadcastPkts_prev` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts_delta` bigint(20) DEFAULT NULL, `ifOutBroadcastPkts_delta` bigint(20) DEFAULT NULL,
`ifOutBroadcastPkts_rate` int(11) DEFAULT NULL, `ifOutBroadcastPkts_rate` bigint(20) DEFAULT NULL,
`ifInMulticastPkts` bigint(20) DEFAULT NULL, `ifInMulticastPkts` bigint(20) DEFAULT NULL,
`ifInMulticastPkts_prev` bigint(20) DEFAULT NULL, `ifInMulticastPkts_prev` bigint(20) DEFAULT NULL,
`ifInMulticastPkts_delta` bigint(20) DEFAULT NULL, `ifInMulticastPkts_delta` bigint(20) DEFAULT NULL,
`ifInMulticastPkts_rate` int(11) DEFAULT NULL, `ifInMulticastPkts_rate` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts` bigint(20) DEFAULT NULL, `ifOutMulticastPkts` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts_prev` bigint(20) DEFAULT NULL, `ifOutMulticastPkts_prev` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts_delta` bigint(20) DEFAULT NULL, `ifOutMulticastPkts_delta` bigint(20) DEFAULT NULL,
`ifOutMulticastPkts_rate` int(11) DEFAULT NULL, `ifOutMulticastPkts_rate` bigint(20) DEFAULT NULL,
PRIMARY KEY (`port_id`) PRIMARY KEY (`port_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;

View File

@ -306,7 +306,7 @@ CREATE INDEX bgppeers_cbgp_device_id_bgppeeridentifier_context_name_index ON bgp
CREATE UNIQUE INDEX bgppeers_cbgp_device_id_bgppeeridentifier_afi_safi_unique ON bgpPeers_cbgp (device_id, bgpPeerIdentifier, afi, safi); CREATE UNIQUE INDEX bgppeers_cbgp_device_id_bgppeeridentifier_afi_safi_unique ON bgpPeers_cbgp (device_id, bgpPeerIdentifier, afi, safi);
CREATE TABLE bgpPeers (bgpPeer_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, device_id INTEGER NOT NULL, astext VARCHAR(255) NOT NULL, bgpPeerIdentifier CLOB NOT NULL, bgpPeerRemoteAs INTEGER NOT NULL, bgpPeerState CLOB NOT NULL, bgpPeerAdminStatus CLOB NOT NULL, bgpLocalAddr CLOB NOT NULL, bgpPeerRemoteAddr CLOB NOT NULL, bgpPeerDescr VARCHAR(255) DEFAULT '' NOT NULL, bgpPeerInUpdates INTEGER UNSIGNED NOT NULL, bgpPeerOutUpdates INTEGER UNSIGNED NOT NULL, bgpPeerInTotalMessages INTEGER UNSIGNED NOT NULL, bgpPeerOutTotalMessages INTEGER UNSIGNED NOT NULL, bgpPeerFsmEstablishedTime INTEGER UNSIGNED NOT NULL, bgpPeerInUpdateElapsedTime INTEGER UNSIGNED NOT NULL, context_name VARCHAR(255) DEFAULT NULL, vrf_id INTEGER DEFAULT NULL, bgpPeerLastErrorCode INTEGER DEFAULT NULL, bgpPeerLastErrorSubCode INTEGER DEFAULT NULL, bgpPeerLastErrorText VARCHAR(255) DEFAULT NULL, bgpPeerIface INTEGER DEFAULT NULL); CREATE TABLE bgpPeers (bgpPeer_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, device_id INTEGER NOT NULL, astext VARCHAR(255) NOT NULL, bgpPeerIdentifier CLOB NOT NULL, bgpPeerRemoteAs INTEGER NOT NULL, bgpPeerState CLOB NOT NULL, bgpPeerAdminStatus CLOB NOT NULL, bgpLocalAddr CLOB NOT NULL, bgpPeerRemoteAddr CLOB NOT NULL, bgpPeerDescr VARCHAR(255) DEFAULT '' NOT NULL, bgpPeerInUpdates INTEGER UNSIGNED NOT NULL, bgpPeerOutUpdates INTEGER UNSIGNED NOT NULL, bgpPeerInTotalMessages INTEGER UNSIGNED NOT NULL, bgpPeerOutTotalMessages INTEGER UNSIGNED NOT NULL, bgpPeerFsmEstablishedTime INTEGER UNSIGNED NOT NULL, bgpPeerInUpdateElapsedTime INTEGER UNSIGNED NOT NULL, context_name VARCHAR(255) DEFAULT NULL, vrf_id INTEGER DEFAULT NULL, bgpPeerLastErrorCode INTEGER DEFAULT NULL, bgpPeerLastErrorSubCode INTEGER DEFAULT NULL, bgpPeerLastErrorText VARCHAR(255) DEFAULT NULL, bgpPeerIface INTEGER DEFAULT NULL);
CREATE INDEX bgppeers_device_id_context_name_index ON bgpPeers (device_id, context_name); CREATE INDEX bgppeers_device_id_context_name_index ON bgpPeers (device_id, context_name);
CREATE TABLE ports_statistics (port_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, ifInNUcastPkts BIGINT UNSIGNED DEFAULT NULL, ifInNUcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifInNUcastPkts_delta BIGINT DEFAULT NULL, ifInNUcastPkts_rate INTEGER DEFAULT NULL, ifOutNUcastPkts BIGINT UNSIGNED DEFAULT NULL, ifOutNUcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifOutNUcastPkts_delta BIGINT DEFAULT NULL, ifOutNUcastPkts_rate INTEGER DEFAULT NULL, ifInDiscards BIGINT UNSIGNED DEFAULT NULL, ifInDiscards_prev BIGINT UNSIGNED DEFAULT NULL, ifInDiscards_delta BIGINT DEFAULT NULL, ifInDiscards_rate INTEGER DEFAULT NULL, ifOutDiscards BIGINT UNSIGNED DEFAULT NULL, ifOutDiscards_prev BIGINT UNSIGNED DEFAULT NULL, ifOutDiscards_delta BIGINT DEFAULT NULL, ifOutDiscards_rate INTEGER DEFAULT NULL, ifInUnknownProtos BIGINT UNSIGNED DEFAULT NULL, ifInUnknownProtos_prev BIGINT UNSIGNED DEFAULT NULL, ifInUnknownProtos_delta BIGINT DEFAULT NULL, ifInUnknownProtos_rate INTEGER DEFAULT NULL, ifInBroadcastPkts BIGINT UNSIGNED DEFAULT NULL, ifInBroadcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifInBroadcastPkts_delta BIGINT DEFAULT NULL, ifInBroadcastPkts_rate INTEGER DEFAULT NULL, ifOutBroadcastPkts BIGINT UNSIGNED DEFAULT NULL, ifOutBroadcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifOutBroadcastPkts_delta BIGINT DEFAULT NULL, ifOutBroadcastPkts_rate INTEGER DEFAULT NULL, ifInMulticastPkts BIGINT UNSIGNED DEFAULT NULL, ifInMulticastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifInMulticastPkts_delta BIGINT DEFAULT NULL, ifInMulticastPkts_rate INTEGER DEFAULT NULL, ifOutMulticastPkts BIGINT UNSIGNED DEFAULT NULL, ifOutMulticastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifOutMulticastPkts_delta BIGINT DEFAULT NULL, ifOutMulticastPkts_rate INTEGER DEFAULT NULL); CREATE TABLE ports_statistics (port_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, ifInNUcastPkts BIGINT UNSIGNED DEFAULT NULL, ifInNUcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifInNUcastPkts_delta BIGINT DEFAULT NULL, ifInNUcastPkts_rate BIGINT DEFAULT NULL, ifOutNUcastPkts BIGINT UNSIGNED DEFAULT NULL, ifOutNUcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifOutNUcastPkts_delta BIGINT DEFAULT NULL, ifOutNUcastPkts_rate BIGINT DEFAULT NULL, ifInDiscards BIGINT UNSIGNED DEFAULT NULL, ifInDiscards_prev BIGINT UNSIGNED DEFAULT NULL, ifInDiscards_delta BIGINT DEFAULT NULL, ifInDiscards_rate BIGINT DEFAULT NULL, ifOutDiscards BIGINT UNSIGNED DEFAULT NULL, ifOutDiscards_prev BIGINT UNSIGNED DEFAULT NULL, ifOutDiscards_delta BIGINT DEFAULT NULL, ifOutDiscards_rate BIGINT DEFAULT NULL, ifInUnknownProtos BIGINT UNSIGNED DEFAULT NULL, ifInUnknownProtos_prev BIGINT UNSIGNED DEFAULT NULL, ifInUnknownProtos_delta BIGINT DEFAULT NULL, ifInUnknownProtos_rate BIGINT DEFAULT NULL, ifInBroadcastPkts BIGINT UNSIGNED DEFAULT NULL, ifInBroadcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifInBroadcastPkts_delta BIGINT DEFAULT NULL, ifInBroadcastPkts_rate BIGINT DEFAULT NULL, ifOutBroadcastPkts BIGINT UNSIGNED DEFAULT NULL, ifOutBroadcastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifOutBroadcastPkts_delta BIGINT DEFAULT NULL, ifOutBroadcastPkts_rate BIGINT DEFAULT NULL, ifInMulticastPkts BIGINT UNSIGNED DEFAULT NULL, ifInMulticastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifInMulticastPkts_delta BIGINT DEFAULT NULL, ifInMulticastPkts_rate BIGINT DEFAULT NULL, ifOutMulticastPkts BIGINT UNSIGNED DEFAULT NULL, ifOutMulticastPkts_prev BIGINT UNSIGNED DEFAULT NULL, ifOutMulticastPkts_delta BIGINT DEFAULT NULL, ifOutMulticastPkts_rate BIGINT UNSIGNED DEFAULT NULL);
CREATE TABLE ciscoASA (ciscoASA_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, device_id INTEGER NOT NULL, oid VARCHAR(255) NOT NULL, data INTEGER NOT NULL, high_alert BIGINT DEFAULT -1 NOT NULL, low_alert BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL); CREATE TABLE ciscoASA (ciscoASA_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, device_id INTEGER NOT NULL, oid VARCHAR(255) NOT NULL, data INTEGER NOT NULL, high_alert BIGINT DEFAULT -1 NOT NULL, low_alert BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL);
CREATE INDEX ciscoasa_device_id_index ON ciscoASA (device_id); CREATE INDEX ciscoasa_device_id_index ON ciscoASA (device_id);
CREATE TABLE ospf_areas (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, device_id INTEGER NOT NULL, ospfAreaId VARCHAR(255) NOT NULL, ospfAuthType VARCHAR(64) DEFAULT NULL, ospfImportAsExtern VARCHAR(255) NOT NULL, ospfSpfRuns INTEGER UNSIGNED NOT NULL, ospfAreaBdrRtrCount INTEGER UNSIGNED NOT NULL, ospfAsBdrRtrCount INTEGER UNSIGNED NOT NULL, ospfAreaLsaCount INTEGER UNSIGNED NOT NULL, ospfAreaLsaCksumSum INTEGER NOT NULL, ospfAreaSummary VARCHAR(255) NOT NULL, ospfAreaStatus VARCHAR(255) NOT NULL, context_name VARCHAR(255) DEFAULT NULL); CREATE TABLE ospf_areas (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, device_id INTEGER NOT NULL, ospfAreaId VARCHAR(255) NOT NULL, ospfAuthType VARCHAR(64) DEFAULT NULL, ospfImportAsExtern VARCHAR(255) NOT NULL, ospfSpfRuns INTEGER UNSIGNED NOT NULL, ospfAreaBdrRtrCount INTEGER UNSIGNED NOT NULL, ospfAsBdrRtrCount INTEGER UNSIGNED NOT NULL, ospfAreaLsaCount INTEGER UNSIGNED NOT NULL, ospfAreaLsaCksumSum INTEGER NOT NULL, ospfAreaSummary VARCHAR(255) NOT NULL, ospfAreaStatus VARCHAR(255) NOT NULL, context_name VARCHAR(255) DEFAULT NULL);

View File

@ -1714,39 +1714,39 @@ ports_statistics:
- { Field: ifInNUcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInNUcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInNUcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifInNUcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInNUcastPkts_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifInNUcastPkts_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutNUcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutNUcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifOutNUcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutNUcastPkts_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifOutNUcastPkts_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInDiscards, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInDiscards, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInDiscards_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInDiscards_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInDiscards_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifInDiscards_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInDiscards_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifInDiscards_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutDiscards, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutDiscards, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutDiscards_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutDiscards_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutDiscards_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifOutDiscards_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutDiscards_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifOutDiscards_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInUnknownProtos, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInUnknownProtos_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifInUnknownProtos_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInUnknownProtos_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifInUnknownProtos_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInBroadcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInBroadcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifInBroadcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInBroadcastPkts_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifInBroadcastPkts_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutBroadcastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutBroadcastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifOutBroadcastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutBroadcastPkts_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifOutBroadcastPkts_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInMulticastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifInMulticastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifInMulticastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifInMulticastPkts_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifInMulticastPkts_rate, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutMulticastPkts, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' } - { Field: ifOutMulticastPkts_prev, Type: 'bigint unsigned', 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_delta, Type: bigint, 'Null': true, Extra: '' } - { Field: ifOutMulticastPkts_delta, Type: bigint, 'Null': true, Extra: '' }
- { Field: ifOutMulticastPkts_rate, Type: int, 'Null': true, Extra: '' } - { Field: ifOutMulticastPkts_rate, Type: bigint, 'Null': true, Extra: '' }
Indexes: Indexes:
PRIMARY: { Name: PRIMARY, Columns: [port_id], Unique: true, Type: BTREE } PRIMARY: { Name: PRIMARY, Columns: [port_id], Unique: true, Type: BTREE }
ports_stp: ports_stp: