com-pas/compas-sct

RSR-993 - Allow reuse of @MAC-Address and @APPID of a ControlBlock that is in both last deployed SCD and in the new generated one

Closed this issue · 0 comments

User Story
1.

  • As a process when a new SCD file is generated
  • When the network configuration of a given CB (Goose or SMV) is setting up in the communication section
  • I want to check the existence of this CB in the last deployed SCD by using the unique key (@IEDName, @LDInst and @CBName)
  • And if a CB is found : I collect @MAC-Adress and @APPID from this CB.
  • As a process
  • When I have collected both @MAC-Address and @APPID of CBs in the last deployed SCD
  • I reassign @MAC-Adress and @APPID in the communication part of the identified CB in the new generated SCD according to the key (@IEDName, @LDInst and @CBName)
  • As a process
  • When I notice that a CB which is present in the last deployed SCD has been deleted in the new generated SCD
  • So, both @MAC-Address and @APPID related to this CB must be reassigned in in case a new CB is created in the new SCD file.
    Acceptance criteria
  • During the network configuration of a CB (Goose or SMV) in the communication section of this CB : Verify that this CB exists in the last deployed SCD using the following key : @IEDName, @LDInst et @CBName.
  • If this CB is present in the last deployed SCD, check that the process recovers both @MAC-Address and @APPID and reassigns this data to the identified CB in the new SCD file. Otherwise, the initial process is applied.
  • Check that @MAC-Address and @APPID of a deleted CB are reassigned when a new CB is created.