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

From dbscript Online Help
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
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.stpinterface
 
| public.stpinterface
|-
 
 
|}
 
|}
  
 
+
=== Columns ===
 
{| 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 15: Line 14:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
+
 
+
|- valign="top"
|-
 
 
| nodeid
 
| nodeid
 
| integer
 
| integer
 
| not null
 
| not null
 
|  
 
|  
| pk_stpinterface
+
|  
| stpinterface_node_idxstpinterface_node_ifindex_idx
+
|- valign="top"
|-
 
 
| bridgeport
 
| bridgeport
 
| integer
 
| integer
 
| not null
 
| not null
 
|  
 
|  
| pk_stpinterface
 
 
|  
 
|  
|-
+
|- valign="top"
 
| ifindex
 
| ifindex
 
| integer
 
| integer
Line 38: Line 34:
 
|  
 
|  
 
|  
 
|  
| stpinterface_node_ifindex_idx
+
|- valign="top"
|-
 
 
| stpportstate
 
| stpportstate
 
| integer
 
| integer
Line 45: Line 40:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| stpportpathcost
 
| stpportpathcost
 
| integer
 
| integer
Line 52: Line 46:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| stpportdesignatedroot
 
| stpportdesignatedroot
 
| varchar(16)
 
| varchar(16)
Line 59: Line 52:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| stpportdesignatedcost
 
| stpportdesignatedcost
 
| integer
 
| integer
Line 66: Line 58:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| stpportdesignatedbridge
 
| stpportdesignatedbridge
 
| varchar(16)
 
| varchar(16)
Line 73: Line 64:
 
|  
 
|  
 
|  
 
|  
| stpinterface_stpdesbridge_idx
+
|- valign="top"
|-
 
 
| stpportdesignatedport
 
| stpportdesignatedport
 
| varchar(4)
 
| varchar(4)
Line 80: Line 70:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| status
 
| status
 
| char(1)
 
| char(1)
Line 87: Line 76:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| lastpolltime
 
| lastpolltime
 
| timestamp without time zone
 
| timestamp without time zone
Line 94: Line 82:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| stpvlan
 
| stpvlan
 
| integer
 
| integer
 
| not null
 
| not null
 
|  
 
|  
 +
|
 +
|}
 +
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|- valign="top"
 
| pk_stpinterface
 
| pk_stpinterface
| stpinterface_stpvlan_idx
+
| nodeid, bridgeport, stpvlan
 
|}
 
|}
  
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
  
 +
|- valign="top"
 +
| stpinterface_node_idx
 +
|
 +
| nodeid
 +
|- valign="top"
 +
| stpinterface_node_ifindex_idx
 +
|
 +
| nodeid, ifindex
 +
|- valign="top"
 +
| stpinterface_stpdesbridge_idx
 +
|
 +
| stpportdesignatedbridge
 +
|- valign="top"
 +
| stpinterface_stpvlan_idx
 +
|
 +
| stpvlan
 +
|}
  
 +
=== Foreign Keys ===
 
{| 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 111: Line 131:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
+
 
|-
+
|- valign="top"
 
| [[public.node_(table)|public.node]]
 
| [[public.node_(table)|public.node]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
 
|}
 
|}

Latest revision as of 23:39, 24 June 2010

wikibot[edit]

Table public.stpinterface

Columns[edit]

Column Data Type Nullable Default Description
nodeid integer not null
bridgeport integer not null
ifindex integer not null
stpportstate integer null
stpportpathcost integer null
stpportdesignatedroot varchar(16) null
stpportdesignatedcost integer null
stpportdesignatedbridge varchar(16) null
stpportdesignatedport varchar(4) null
status char(1) not null
lastpolltime timestamp without time zone not null
stpvlan integer not null

Primary Key[edit]

Primary Key Columns
pk_stpinterface nodeid, bridgeport, stpvlan

Indexes[edit]

Index Type Columns
stpinterface_node_idx nodeid
stpinterface_node_ifindex_idx nodeid, ifindex
stpinterface_stpdesbridge_idx stpportdesignatedbridge
stpinterface_stpvlan_idx stpvlan

Foreign Keys[edit]

Relation Column Referenced Column
public.node nodeid nodeid