Menu

#185 R0025: what does "in advance" implicate?

Corrigendum
closed
R0025 (9)
2024-01-23
2020-10-14
David
No

If pm:AbstractDeviceComponentState/@ActivationState is intended to be switched to “Off,” then every activation state of the component’s children SHALL be made inactive in advance.

From this text it is unclear if "in advance" pertains to a previous MDIB version only or if the off switch is allowed to be applied on the same change.

Example: MDS turns off, then VMD turns off - if VMD off is in version X, MDS off is allowed to be either in version X or in version Y < X. The former case is not explicitly covered by R0025.

Related

11073-10207 Revision: #11
11073-10207 Revision: #297
11073-10207 Revision: #59

Discussion

  • Lukas Deichmann

    Lukas Deichmann - 2020-10-16

    This requirement suffers from multiple additional issues.

    • The missing ActivationState for Metrics has been mentioned twice (#11, #46)
    • "intended" is problematic, an intention cannot be tested
    • "OperationMode" does not exist, typo
    • It does not prevent children from being turned on after the fact, it only describes what is supposed to happen during the transition. This can even lead to the transition not turning off everything, if a child is already off, its children may remain on. Instead, this requirement should explicitly state that every element in the tree below must be off when the parent is disabled. This is obviously the intention, as the note below states, but is not what the requirement states.
     

    Last edit: Lukas Deichmann 2020-10-16
    • Lorenz Rosenau

      Lorenz Rosenau - 2020-11-01

      OperationMode -> OperatingMode (for quicker resolving once this ticket is processed)

       
  • Björn Andersen

    Björn Andersen - 2021-08-19

    Propose replacing R0025 with:

    A SERVICE PROVIDER's pm:AbstractDeviceComponentState/@ActivationState SHALL only have the value "Off" when every activation state of the component’s children is inactive. Inactive means that every pm:AbstractDeviceComponentState/@ActivationState is "Off", every pm:AbstractAlertState/@ActivationState is "Off", every pm:AbstractMetricState/@ActivationState is "Off", and every pm:AbstractOperationState/@OperatingMode is "NA" (not available).

     

    Last edit: Björn Andersen 2023-12-18
    • Björn Andersen

      Björn Andersen - 2022-12-12

      Possibly rephrase into two requirements for both implications (directions) of the equivalence relation.

       

      Last edit: Björn Andersen 2023-12-18
    • Björn Andersen

      Björn Andersen - 2022-12-12

      Proposal also addresses [#11] and [#59].

       

      Related

      11073-10207 Revision: #11
      11073-10207 Revision: #59


      Last edit: Björn Andersen 2022-12-12
    • Björn Andersen

      Björn Andersen - 2023-12-18

      While a CONTAINMENT TREE ENTRY has pm:AbstractDeviceComponentState/@ActivationState = Off, a SERVICE PROVIDER SHALL set every activation state of the CONTAINMENT TREE ENTRY's children to inactive according to the following rules:

      • pm:AbstractDeviceComponentState/@ActivationState = Off,
      • pm:AbstractAlertState/@ActivationState = Off,
      • pm:AbstractMetricState/@ActivationState = Off, and
      • pm:AbstractOperationState/@OperatingMode = NA.
       
  • Björn Andersen

    Björn Andersen - 2022-03-25
    • Milestone: Corrigenda --> Revision
     
  • Björn Andersen

    Björn Andersen - 2022-11-21
    • Milestone: Revision Draft 1 --> untriaged
     
  • Björn Andersen

    Björn Andersen - 2022-12-12
    • status: unread --> accepted
    • Milestone: untriaged --> Corrigendum
     
  • Anna Feiler

    Anna Feiler - 2023-12-07
    • status: accepted --> needs-review
     
  • Björn Andersen

    Björn Andersen - 2023-12-18
    • status: needs-review --> solved
    • assigned_to: David
     
  • Björn Andersen

    Björn Andersen - 2024-01-22
    • assigned_to: David --> Björn Andersen
     
  • Björn Andersen

    Björn Andersen - 2024-01-22
    • status: solved --> in-progress
     
  • Björn Andersen

    Björn Andersen - 2024-01-22

    Solved in 0a68f9b.

     
  • Björn Andersen

    Björn Andersen - 2024-01-23
    • status: in-progress --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.