Difference between revisions of "Public.ipinterface (table)"
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- valign="top" |
| '''Table | | '''Table | ||
| public.ipinterface | | public.ipinterface | ||
− | |||
|} | |} | ||
− | |||
=== Columns === | === Columns === | ||
Line 17: | Line 15: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- valign="top" |
| id | | id | ||
| integer | | integer | ||
Line 24: | Line 22: | ||
| nextval('opennmsnxtid'::regclass) | | nextval('opennmsnxtid'::regclass) | ||
| | | | ||
− | |- | + | |- valign="top" |
| nodeid | | nodeid | ||
| integer | | integer | ||
Line 30: | Line 28: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| ipaddr | | ipaddr | ||
| varchar(16) | | varchar(16) | ||
Line 36: | Line 34: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| ifindex | | ifindex | ||
| integer | | integer | ||
Line 42: | Line 40: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| iphostname | | iphostname | ||
| varchar(256) | | varchar(256) | ||
Line 48: | Line 46: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| ismanaged | | ismanaged | ||
| char(1) | | char(1) | ||
Line 54: | Line 52: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| ipstatus | | ipstatus | ||
| integer | | integer | ||
Line 60: | Line 58: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| iplastcapsdpoll | | iplastcapsdpoll | ||
| timestamp with time zone | | timestamp with time zone | ||
Line 66: | Line 64: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| issnmpprimary | | issnmpprimary | ||
| char(1) | | char(1) | ||
Line 72: | Line 70: | ||
| | | | ||
| | | | ||
− | |- | + | |- valign="top" |
| snmpinterfaceid | | snmpinterfaceid | ||
| integer | | integer | ||
Line 85: | Line 83: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- valign="top" |
| ipinterface_pkey | | ipinterface_pkey | ||
| id | | id | ||
Line 96: | Line 94: | ||
| '''Type | | '''Type | ||
| '''Columns | | '''Columns | ||
− | + | ||
− | |- | + | |- valign="top" |
| ipinterface_nodeid_ipaddr_notzero_idx | | ipinterface_nodeid_ipaddr_notzero_idx | ||
| Unique | | Unique | ||
| nodeid, ipaddr | | nodeid, ipaddr | ||
− | |- | + | |- valign="top" |
| ipinterface_snmpinterfaceid_idx | | ipinterface_snmpinterfaceid_idx | ||
| | | | ||
| snmpinterfaceid | | snmpinterfaceid | ||
− | |- | + | |- valign="top" |
| ipinterface_nodeid_ismanaged_idx | | ipinterface_nodeid_ismanaged_idx | ||
| | | | ||
| ipaddr | | ipaddr | ||
− | |- | + | |- valign="top" |
| ipinterface_ipaddr_idx | | ipinterface_ipaddr_idx | ||
| | | | ||
| ipaddr | | ipaddr | ||
− | |- | + | |- valign="top" |
| ipinterface_ipaddr_ismanaged_idx | | ipinterface_ipaddr_ismanaged_idx | ||
| | | | ||
| ipaddr, ismanaged | | ipaddr, ismanaged | ||
− | |- | + | |- valign="top" |
| ipinterface_nodeid_idx | | ipinterface_nodeid_idx | ||
| | | | ||
| nodeid | | nodeid | ||
− | |- | + | |- valign="top" |
| ipinterface_nodeid_ipaddr_ismanaged_idx | | ipinterface_nodeid_ipaddr_ismanaged_idx | ||
| | | | ||
Line 133: | Line 131: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- valign="top" |
| [[public.node_(table)|public.node]] | | [[public.node_(table)|public.node]] | ||
| nodeid | | nodeid | ||
| nodeid | | nodeid | ||
− | |- | + | |- valign="top" |
| [[public.snmpinterface_(table)|public.snmpinterface]] | | [[public.snmpinterface_(table)|public.snmpinterface]] | ||
| snmpinterfaceid | | snmpinterfaceid | ||
Line 150: | Line 148: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- valign="top" |
| [[public.ifservices_(table)|public.ifservices]] | | [[public.ifservices_(table)|public.ifservices]] | ||
| id | | id | ||
| ipinterfaceid | | ipinterfaceid | ||
|} | |} | ||
− | |||
=== Triggers === | === Triggers === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
− | | ''' | + | | '''Trigger |
| '''Type | | '''Type | ||
| '''Function | | '''Function | ||
− | + | ||
− | |- | + | |- valign="top" |
| setsnmpinterfacekeysoninserttrigger | | setsnmpinterfacekeysoninserttrigger | ||
| ROW BEFORE INSERT | | ROW BEFORE INSERT | ||
| setsnmpinterfacekeysoninsert | | setsnmpinterfacekeysoninsert | ||
− | |- | + | |- valign="top" |
| setsnmpinterfacekeysonupdatetrigger | | setsnmpinterfacekeysonupdatetrigger | ||
| ROW BEFORE UPDATE | | ROW BEFORE UPDATE | ||
Line 182: | Line 179: | ||
| '''Referencing Object | | '''Referencing Object | ||
− | |- | + | |- valign="top" |
| Select | | Select | ||
| Function | | Function | ||
| [[public.getmanagedoutageforintfinwindow_(function)|public.getmanagedoutageforintfinwindow]] | | [[public.getmanagedoutageforintfinwindow_(function)|public.getmanagedoutageforintfinwindow]] | ||
− | |- | + | |- valign="top" |
| Select | | Select | ||
| Function | | Function | ||
| [[public.getmanagedoutagefornodeinwindow_(function)|public.getmanagedoutagefornodeinwindow]] | | [[public.getmanagedoutagefornodeinwindow_(function)|public.getmanagedoutagefornodeinwindow]] | ||
− | |- | + | |- valign="top" |
| Select | | Select | ||
| Function | | Function | ||
| [[public.getmanagedservicecountforintf_(function)|public.getmanagedservicecountforintf]] | | [[public.getmanagedservicecountforintf_(function)|public.getmanagedservicecountforintf]] | ||
− | |- | + | |- valign="top" |
| Select | | Select | ||
| Function | | Function | ||
| [[public.getmanagedservicecountfornode_(function)|public.getmanagedservicecountfornode]] | | [[public.getmanagedservicecountfornode_(function)|public.getmanagedservicecountfornode]] | ||
− | |- | + | |- valign="top" |
| Select | | Select | ||
| Trigger Function | | Trigger Function | ||
− | | [[public.setipinterfacekeysoninsert_( | + | | [[public.setipinterfacekeysoninsert_(trigger function)|public.setipinterfacekeysoninsert]] |
− | |- | + | |- valign="top" |
| Select | | Select | ||
| Trigger Function | | Trigger Function | ||
− | | [[public.setipinterfacekeysonupdate_( | + | | [[public.setipinterfacekeysonupdate_(trigger function)|public.setipinterfacekeysonupdate]] |
|} | |} |
Revision as of 23:38, 24 June 2010
Contents
wikibot
Table | public.ipinterface |
Columns
Column | Data Type | Nullable | Default | Description |
id | integer | not null | nextval('opennmsnxtid'::regclass) | |
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_nodeid_ipaddr_notzero_idx | Unique | nodeid, ipaddr |
ipinterface_snmpinterfaceid_idx | snmpinterfaceid | |
ipinterface_nodeid_ismanaged_idx | ipaddr | |
ipinterface_ipaddr_idx | ipaddr | |
ipinterface_ipaddr_ismanaged_idx | ipaddr, ismanaged | |
ipinterface_nodeid_idx | nodeid | |
ipinterface_nodeid_ipaddr_ismanaged_idx | nodeid, ipaddr, ismanaged |
Foreign Keys
Relation | Column | Referenced Column |
public.node | nodeid | nodeid |
public.snmpinterface | snmpinterfaceid | id |
Detail Tables
Detail Table | Column | Referencing Column |
public.ifservices | id | ipinterfaceid |
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 |