Re: FPC: Move Descriptor-/Action-Value into Rule

Marco Liebsch <[email protected]>
Newsgroups gmane.ietf.nemo
Message-ID <69756203DDDDE64E987BC4F70B71A26DD5A6C6EB__1972.01216728917$1510846931$gmane$org@PALLENE.office.hd>
Another proposal:

To not disrupt descriptors and actions by removing attributes that belong together (ID-Type-Value), what about keeping the current format and apply a new attribute 'x-value-settings' to Descriptor-Reference and Action-Reference respectively?

This should follow define once- use many paradigm.



Ending up in this:



  +-[Policy]

  |      +-[Policy-Definition] <Set>

  |      |             +-[Policy-Id] <G-Key> (M)

  |      |             +-[Rule-Reference] Set (M)

  |      |             +-[Precedence] <L-Key> (M)

  |      |             +-[Rule-Id-Reference] (M)

  |      +-[Rule-Definition] <Set>

  |      |             +-[Rule-Id] <L-Key> (M)

  |      |             +-[Descriptor-Match-Type] (M)

  |      |             +-[Descriptor-Reference] <Set>

  |      |             |                +-[Descriptor-Id-Reference]

  |      |             |                +-[Direction] (O)

  |      |             |                +-[Descriptor-Value-Settings] (O)

  |      |             +-[Action-Reference] <Set>

  |      |                              +-[Action-Id-Reference]

  |      |                              +-[Action-Order]

  |      |                              +-[Action-Value-Settings] (O)

  |      +-[Descriptor-Definition] <Set>

  |      |             +-[Descriptor -Id] <L-Key> (M)

  |      |             +-[Descriptor-Type]

  |      |             +-[Descriptor-Value]

  |      +-[Action-Definition] <Set>

  |                    +-[Action-Id] <L-Key> (M)

  |                    +-[Action-Type]

  |                    +-[Action-Value]



marco




From: dmm [mailto:[email protected]] On Behalf Of Marco Liebsch
Sent: Donnerstag, 16. November 2017 16:33
To: [email protected]
Subject: [DMM] FPC: Move Descriptor-/Action-Value into Rule

Proposal from Satoru: Move Action-Value to [Rule-Definition]->[Action-Reference]. Same for Descriptor-Value, which may go to [Rule-Definition]->[Action-Definition].

Reason: To make sure "Define once, use many" throughout the models.

What to change:

Current Policy substructure looks as follows:


  +-[Policy]

  |      +-[Policy-Definition] <Set>

  |      |             +-[Policy-Id] <G-Key> (M)

  |      |             +-[Rule-Reference] Set (M)

  |      |             +-[Precedence] <L-Key> (M)

  |      |             +-[Rule-Id-Reference] (M)

  |      +-[Rule-Definition] <Set>

  |      |             +-[Rule-Id] <L-Key> (M)

  |      |             +-[Descriptor-Match-Type] (M)

  |      |             +-[Descriptor-Reference] <Set>

  |      |             |                +-[Descriptor-Id-Reference]

  |      |             |                +-[Direction] (O)

  |      |             +-[Action-Reference] <Set>

  |      |                              +-[Action-Id-Reference]

  |      |                              +-[Action-Order]

  |      +-[Descriptor-Definition] <Set>

  |      |             +-[Descriptor -Id] <L-Key> (M)

  |      |             +-[Descriptor-Type]

  |      |             +-[Descriptor-Value]

  |      +-[Action-Definition] <Set>

  |                    +-[Action-Id] <L-Key> (M)

  |                    +-[Action-Type]

  |                    +-[Action-Value]







Proposed updated Policy substructure:



  +-[Policy]

  |      +-[Policy-Definition] <Set>

  |      |             +-[Policy-Id] <G-Key> (M)

  |      |             +-[Rule-Reference] Set (M)

  |      |             +-[Precedence] <L-Key> (M)

  |      |             +-[Rule-Id-Reference] (M)

 |      +-[Rule-Definition] <Set>

  |      |             +-[Rule-Id] <L-Key> (M)

  |      |             +-[Descriptor-Match-Type] (M)

  |      |             +-[Descriptor-Reference] <Set>

  |      |             |                +-[Descriptor-Id-Reference]

  |      |             |                +-[Direction] (O)

  |      |             |                +-[Descriptor-Value]

  |      |             |

  |      |             +-[Action-Reference] <Set>

  |      |                              +-[Action-Id-Reference]

  |      |                              +-[Action-Order]

  |      |                              +-[Action-Value]

  |      |

  |      +-[Descriptor-Definition] <Set>

  |      |             +-[Descriptor -Id] <L-Key> (M)

  |      |             +-[Descriptor-Type]

  |      +-[Action-Definition] <Set>

  |                    +-[Action-Id] <L-Key> (M)

  |                    +-[Action-Type]

_______________________________________________
dmm mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/dmm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.