From OpenDCIM Wiki
Revision as of 09:30, 29 October 2013 by Wilpig (Talk | contribs) (Network Connections)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Network Connections

Network connections are managed from the switch.

To add or modify a connection open the switch device form and select the Switch Port from the Connections box. Select the Device Name from the pick list, enter the Device Port, any Notes about the connection, and press the Save button to complete the process.

To delete a connection select the appropriate Switch Port, and press the Delete button.

Database Information

The data for Network Connections is stored in the fac_SwitchConnection table. Foreign key references are made to fac_Device.DeviceID for both the switch device and the endpoint device.

Field Information

  • SwitchDeviceID - A foreign key reference to fac_Device.DeviceID for the switch used in this connection.
  • SwitchPortNumber - The Switch Port used for this connection.
  • EndpointDeviceID - A foreign key reference to fac_Device.DeviceID for the the endpoint device being connected.
  • EndpointPort - The device port being used in this connection.

Custom Port Name Generator Example Patterns

Pattern specification 'abc(1)def'

   [0] => abc1def
   [1] => abc2def
   [2] => abc3def
   [3] => abc4def
   [4] => abc5def
   [5] => abc6def
   [6] => abc7def
   [7] => abc8def

Pattern specification 'xld(1;2)/dada_(a)'

   [0] => xld1/dada_a
   [1] => xld3/dada_b
   [2] => xld5/dada_c
   [3] => xld7/dada_d
   [4] => xld9/dada_e
   [5] => xld11/dada_f
   [6] => xld13/dada_g
   [7] => xld15/dada_h

Pattern specification 'abc\(1\)(0;2)'

   [0] => abc(1)0
   [1] => abc(1)2
   [2] => abc(1)4
   [3] => abc(1)6
   [4] => abc(1)8
   [5] => abc(1)10
   [6] => abc(1)12
   [7] => abc(1)14

Pattern specification 'bla\\_x(1;7)'

   [0] => bla\_x1
   [1] => bla\_x8
   [2] => bla\_x15
   [3] => bla\_x22
   [4] => bla\_x29
   [5] => bla\_x36
   [6] => bla\_x43
   [7] => bla\_x50

Pattern specification 'xld(1;2)/dada_(a)'

   [0] => xld1/dada_a
   [1] => xld3/dada_b
   [2] => xld5/dada_c
   [3] => xld7/dada_d
   [4] => xld9/dada_e
   [5] => xld11/dada_f
   [6] => xld13/dada_g
   [7] => xld15/dada_h

Pattern specification 'R(A)/C(1)'

   [0] => RA/C1
   [1] => RB/C2
   [2] => RC/C3
   [3] => RD/C4
   [4] => RE/C5
   [5] => RF/C6
   [6] => RG/C7
   [7] => RH/C8

Pattern specification 'R\((A)\)/C\((1)\)'

   [0] => R(A)/C(1)
   [1] => R(B)/C(2)
   [2] => R(C)/C(3)
   [3] => R(D)/C(4)
   [4] => R(E)/C(5)
   [5] => R(F)/C(6)
   [6] => R(G)/C(7)
   [7] => R(H)/C(8)

Pattern specification 'P(100;1)_(X)'

   [0] => P100_X
   [1] => P101_Y
   [2] => P102_Z
   [3] => P103_AA
   [4] => P104_AB
   [5] => P105_AC
   [6] => P106_AD
   [7] => P107_AE

Pattern specification 'IF(0;1)_(XX)'

   [0] => IF0_XX
   [1] => IF1_XY
   [2] => IF2_XZ
   [3] => IF3_YA
   [4] => IF4_YB
   [5] => IF5_YC
   [6] => IF6_YD
   [7] => IF7_YE

Pattern specification 'IF(0;2)_T_(xx)'

   [0] => IF0_T_xx
   [1] => IF2_T_xy
   [2] => IF4_T_xz
   [3] => IF6_T_ya
   [4] => IF8_T_yb
   [5] => IF10_T_yc
   [6] => IF12_T_yd
   [7] => IF14_T_ye

Pattern specification '3/(1)'

   [0] => 3/1
   [1] => 3/2
   [2] => 3/3
   [3] => 3/4
   [4] => 3/5
   [5] => 3/6
   [6] => 3/7
   [7] => 3/8

Pattern specification 'Fa0/(1)'

   [0] => Fa0/1
   [1] => Fa0/2
   [2] => Fa0/3
   [3] => Fa0/4
   [4] => Fa0/5
   [5] => Fa0/6
   [6] => Fa0/7
   [7] => Fa0/8