Difference between revisions of "Public.ipinterface (table)"

From dbscript Online Help
Jump to: navigation, search
Line 20: Line 20:
 
| integer
 
| integer
 
| not null
 
| not null
| nextval('opennmsnxtid'::regclass)
+
|  
 
|  
 
|  
 
|- valign="top"
 
|- valign="top"
Line 95: Line 95:
 
| '''Columns
 
| '''Columns
  
|- valign="top"
 
| ipinterface_nodeid_ipaddr_notzero_idx
 
| Unique
 
| nodeid, ipaddr
 
|- valign="top"
 
| ipinterface_snmpinterfaceid_idx
 
|
 
| snmpinterfaceid
 
|- valign="top"
 
| ipinterface_nodeid_ismanaged_idx
 
|
 
| ipaddr
 
 
|- valign="top"
 
|- valign="top"
 
| ipinterface_ipaddr_idx
 
| ipinterface_ipaddr_idx
Line 123: Line 111:
 
|  
 
|  
 
| nodeid, ipaddr, ismanaged
 
| nodeid, ipaddr, ismanaged
 +
|- valign="top"
 +
| ipinterface_nodeid_ipaddr_notzero_idx
 +
| Unique
 +
| nodeid, ipaddr
 +
|- valign="top"
 +
| ipinterface_nodeid_ismanaged_idx
 +
|
 +
| ipaddr
 +
|- valign="top"
 +
| ipinterface_snmpinterfaceid_idx
 +
|
 +
| snmpinterfaceid
 
|}
 
|}
  
Line 140: Line 140:
 
| snmpinterfaceid
 
| snmpinterfaceid
 
| id
 
| id
|}
 
 
=== Detail Tables ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Detail Table
 
| '''Column
 
| '''Referencing Column
 
 
 
|- valign="top"
 
|- valign="top"
| [[public.ifservices_(table)|public.ifservices]]
+
| [[public.ipinterface_(table)|public.ipinterface]]
 +
| ipinterfaceid
 
| id
 
| id
| ipinterfaceid
 
 
|}
 
|}
  

Revision as of 10:09, 27 August 2011

wikibot

Table public.ipinterface

Columns

Column Data Type Nullable Default Description
id integer not null
nodeid integer not null
ipaddr varchar(16) not null
ifindex integer null
iphostname varchar(256) null
ismanaged char(1) null
ipstatus integer null
iplastcapsdpoll timestamp with time zone null
issnmpprimary char(1) null
snmpinterfaceid integer null

Primary Key

Primary Key Columns
ipinterface_pkey id

Indexes

Index Type Columns
ipinterface_ipaddr_idx ipaddr
ipinterface_ipaddr_ismanaged_idx ipaddr, ismanaged
ipinterface_nodeid_idx nodeid
ipinterface_nodeid_ipaddr_ismanaged_idx nodeid, ipaddr, ismanaged
ipinterface_nodeid_ipaddr_notzero_idx Unique nodeid, ipaddr
ipinterface_nodeid_ismanaged_idx ipaddr
ipinterface_snmpinterfaceid_idx snmpinterfaceid

Foreign Keys

Relation Column Referenced Column
public.node nodeid nodeid
public.snmpinterface snmpinterfaceid id
public.ipinterface ipinterfaceid id

Triggers

Trigger Type Function
setsnmpinterfacekeysoninserttrigger ROW BEFORE INSERT setsnmpinterfacekeysoninsert
setsnmpinterfacekeysonupdatetrigger ROW BEFORE UPDATE setsnmpinterfacekeysonupdate

Dependencies

Reference Type Object Type Referencing Object
Select Function public.getmanagedoutageforintfinwindow
Select Function public.getmanagedoutagefornodeinwindow
Select Function public.getmanagedservicecountforintf
Select Function public.getmanagedservicecountfornode
Select Trigger Function public.setipinterfacekeysoninsert
Select Trigger Function public.setipinterfacekeysonupdate