Editing Public.ifservices (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| public.ifservices | | public.ifservices | ||
+ | |- | ||
|} | |} | ||
− | + | ||
{| 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" | ||
Line 14: | Line 15: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''PK |
− | + | | '''Index | |
− | |- | + | |
+ | |- | ||
| id | | id | ||
| integer | | integer | ||
| not null | | not null | ||
+ | | nextval('opennmsnxtid'::regclass) | ||
+ | | ifservices_pkey | ||
| | | | ||
− | + | |- | |
− | |- | ||
| nodeid | | nodeid | ||
| integer | | integer | ||
Line 28: | Line 31: | ||
| | | | ||
| | | | ||
− | |- | + | | ifservices_nodeid_ipaddr_svc_uniqueifservices_nodeid_ipaddr_statusifservices_nodeid_statusifservices_nodeid_idxifservices_nodeid_serviceid_idx |
+ | |- | ||
| ipaddr | | ipaddr | ||
| varchar(16) | | varchar(16) | ||
Line 34: | Line 38: | ||
| | | | ||
| | | | ||
− | |- | + | | ifservices_nodeid_ipaddr_svc_uniqueifservices_nodeid_ipaddr_status |
+ | |- | ||
| ifindex | | ifindex | ||
| integer | | integer | ||
Line 40: | Line 45: | ||
| | | | ||
| | | | ||
− | |- | + | | |
+ | |- | ||
| serviceid | | serviceid | ||
| integer | | integer | ||
Line 46: | Line 52: | ||
| | | | ||
| | | | ||
− | |- | + | | ifservices_nodeid_ipaddr_svc_uniqueifservices_serviceid_idxifservices_nodeid_serviceid_idx |
+ | |- | ||
| lastgood | | lastgood | ||
| timestamp with time zone | | timestamp with time zone | ||
Line 52: | Line 59: | ||
| | | | ||
| | | | ||
− | |- | + | | |
+ | |- | ||
| lastfail | | lastfail | ||
| timestamp with time zone | | timestamp with time zone | ||
Line 58: | Line 66: | ||
| | | | ||
| | | | ||
− | |- | + | | |
+ | |- | ||
| qualifier | | qualifier | ||
| char(16) | | char(16) | ||
Line 64: | Line 73: | ||
| | | | ||
| | | | ||
− | |- | + | | |
+ | |- | ||
| status | | status | ||
| char(1) | | char(1) | ||
Line 70: | Line 80: | ||
| | | | ||
| | | | ||
− | |- | + | | ifservices_nodeid_ipaddr_statusifservices_nodeid_status |
+ | |- | ||
| source | | source | ||
| char(1) | | char(1) | ||
Line 76: | Line 87: | ||
| | | | ||
| | | | ||
− | |- | + | | |
+ | |- | ||
| notify | | notify | ||
| char(1) | | char(1) | ||
Line 82: | Line 94: | ||
| | | | ||
| | | | ||
− | |- | + | | |
+ | |- | ||
| ipinterfaceid | | ipinterfaceid | ||
| integer | | integer | ||
Line 88: | Line 101: | ||
| | | | ||
| | | | ||
+ | | ifservicves_ipinterfaceid_idx | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| 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" | ||
Line 143: | Line 111: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- |
| [[public.node_(table)|public.node]] | | [[public.node_(table)|public.node]] | ||
| nodeid | | nodeid | ||
| nodeid | | nodeid | ||
− | |- | + | |- |
| [[public.service_(table)|public.service]] | | [[public.service_(table)|public.service]] | ||
| serviceid | | serviceid | ||
| serviceid | | serviceid | ||
− | |- | + | |- |
| [[public.ipinterface_(table)|public.ipinterface]] | | [[public.ipinterface_(table)|public.ipinterface]] | ||
| ipinterfaceid | | ipinterfaceid | ||
Line 158: | Line 126: | ||
|} | |} | ||
− | + | ||
{| 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" | ||
Line 164: | Line 132: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[public.outages_(table)|public.outages]] | | [[public.outages_(table)|public.outages]] | ||
| nodeid | | nodeid | ||
| nodeid | | nodeid | ||
− | |- | + | |- |
| [[public.outages_(table)|public.outages]] | | [[public.outages_(table)|public.outages]] | ||
| nodeid | | nodeid | ||
| nodeid | | nodeid | ||
− | |- | + | |- |
| [[public.outages_(table)|public.outages]] | | [[public.outages_(table)|public.outages]] | ||
| nodeid | | nodeid | ||
| nodeid | | nodeid | ||
− | |- | + | |- |
| [[public.outages_(table)|public.outages]] | | [[public.outages_(table)|public.outages]] | ||
| id | | id | ||
| ifserviceid | | ifserviceid | ||
− | |- | + | |- |
| [[public.application_service_map_(table)|public.application_service_map]] | | [[public.application_service_map_(table)|public.application_service_map]] | ||
| id | | id | ||
| ifserviceid | | ifserviceid | ||
− | |- | + | |- |
| [[public.location_specific_status_changes_(table)|public.location_specific_status_changes]] | | [[public.location_specific_status_changes_(table)|public.location_specific_status_changes]] | ||
| id | | id | ||
Line 191: | Line 159: | ||
|} | |} | ||
− | + | ||
{| 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" | ||
− | | ''' | + | | '''Triggers |
| '''Type | | '''Type | ||
| '''Function | | '''Function | ||
− | + | ||
− | |- | + | |- |
| setipinterfacekeysoninserttrigger | | setipinterfacekeysoninserttrigger | ||
− | | | + | | ROWBEFORE INSERT |
| setipinterfacekeysoninsert | | setipinterfacekeysoninsert | ||
− | |- | + | |- |
| setipinterfacekeysonupdatetrigger | | setipinterfacekeysonupdatetrigger | ||
− | | | + | | ROWBEFORE UPDATE |
| setipinterfacekeysonupdate | | setipinterfacekeysonupdate | ||
|} | |} |