Project

General

Custom queries

Profile

Actions

Bug #5727

closed

Crystal with more than 2 carriers

Added by Ralet Damian over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Urgent
Assigned To:
Category:
-
Start date:
01/03/2014
Due date:
% Done:

0%

Estimated time:

Description

We managed to have 3 carriers in the configuration for one crystal.
It will be nice to rise an error when a crystal have more than two carrier (one slave and one master)

Actions #1

Updated by Legay Eric over 11 years ago

  • Assigned To set to Grave Xavier
Actions #2

Updated by Legay Eric over 11 years ago

  • Priority changed from Normal to Urgent
Actions #3

Updated by Grave Xavier over 11 years ago

  • Status changed from New to Feedback
  • Assigned To changed from Grave Xavier to Legay Eric

code check was done : it should be impossible to have more than two carriers (still need to check master/slave).
Do you remember how you arrived to this situation in the DB ?

Actions #4

Updated by Legay Eric over 11 years ago

  • Status changed from Feedback to Assigned

It was somthing like this ...

Crytal 1 :

<devices>
<relation name_origin="C007" name_destination="carrier-042" type_origin="CRYSTAL" type_destination="CARRIER"></relation>
<relation name_origin="carrier-042" name_destination="seg-0033" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-042" name_destination="seg-0016" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-042" name_destination="seg-0055" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="C007" name_destination="carrier-030" type_origin="CRYSTAL" type_destination="CARRIER"></relation>
<relation name_origin="carrier-030" name_destination="seg-0022" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-030" name_destination="seg-0018" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-030" name_destination="seg-0067" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-030" name_destination="seg-0029" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="C007" name_destination="gts-011" type_origin="CRYSTAL" type_destination="GTS"></relation>
<relation name_origin="C007" name_destination="anode10" type_origin="CRYSTAL" type_destination="NARVAL_NODE"></relation>
<relation name_origin="C007" name_destination="digitizer019" type_origin="CRYSTAL" type_destination="DIGITIZER"></relation>
</devices>

Crystal 2 :

<devices>
<relation name_origin="C005" name_destination="carrier-025" type_origin="CRYSTAL" type_destination="CARRIER"></relation>
<relation name_origin="carrier-025" name_destination="seg-0036" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-025" name_destination="seg-0083" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-025" name_destination="seg-0072" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="C007" name_destination="carrier-027" type_origin="CRYSTAL" type_destination="CARRIER"></relation>
<relation name_origin="carrier-027" name_destination="seg-0107" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-027" name_destination="seg-0171" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-027" name_destination="seg-0039" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="carrier-027" name_destination="seg-0051" type_origin="CARRIER" type_destination="MEZZANINE"/>
<relation name_origin="C005" name_destination="gts-015" type_origin="CRYSTAL" type_destination="GTS"></relation>
<relation name_origin="C005" name_destination="anode13" type_origin="CRYSTAL" type_destination="NARVAL_NODE"></relation>
<relation name_origin="C005" name_destination="digitizer037" type_origin="CRYSTAL" type_destination="DIGITIZER"></relation>
</devices>

Actions #5

Updated by Legay Eric over 11 years ago

  • Assigned To changed from Legay Eric to Grave Xavier

Xavier Grave wrote:

code check was done : it should be impossible to have more than two carriers (still need to check master/slave).
Do you remember how you arrived to this situation in the DB ?

Actions #6

Updated by Grave Xavier over 11 years ago

  • Status changed from Assigned to Feedback
  • Assigned To changed from Grave Xavier to Legay Eric

I have checked fill_db_from_xml code
it doesn't use the soap interface to fill the base

Proposition => study if we can only use the soap interface to fill relations ?

Actions #7

Updated by Grave Xavier over 11 years ago

  • Status changed from Feedback to Closed

fill db from file :
- fill directly the database for std items
- use soap interface Add_Relation
Add_Relation maintain a model view of the base and do the check

see 248:fcc95a312020 of topology-manager repository

Actions

Also available in: Atom PDF