diff options
author | root <root@frank.tg14.gathering.org> | 2014-04-16 16:35:25 +0200 |
---|---|---|
committer | root <root@frank.tg14.gathering.org> | 2014-04-16 16:35:25 +0200 |
commit | f8ac8c0b67d306319bcb404f49b4f0e7feb9d510 (patch) | |
tree | 0d0c5008bb0ec6e56556c59dd1def65b22e10b7c /sql/nms.sql | |
parent | 4723868223679e038161c2c7e0a1e384f0f8d2cc (diff) |
Support pinging secondary loopbacks.
Diffstat (limited to 'sql/nms.sql')
-rw-r--r-- | sql/nms.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/nms.sql b/sql/nms.sql index 47aacdb..6af4e2a 100644 --- a/sql/nms.sql +++ b/sql/nms.sql @@ -594,6 +594,10 @@ create table ping ( switch integer not null, updated timestamptz not null defaul create index updated_index on ping ( updated ); alter table public.ping owner to nms; +create table ping_secondary_ip ( switch integer not null, updated timestamptz not null default current_timestamp, latency_ms float ); +create index updated_index3 on ping_secondary_ip ( updated ); +alter table public.ping_secondary_ip owner to nms; + create table linknets ( linknet serial not null, switch1 integer not null, addr1 inet not null, switch2 integer not null, addr2 inet not null ); alter table public.linknets owner to nms; |