Thank you Marco for capturing my proposal.
My intention is that the agent should define descriptor/action-definition
without concrete value so that rules can use them and the rules can define
concrete values.
Otherwise the agent should define descriptor/action-definitions for each rules
which seems no make sense to me.
So descriptor and action instantiation with concrete value should be defined in
Rule definition subtree. So deleting Descriptor-Value from
Descriptor-Definition subtree, deleting Action-Value from Action-Definition
subtree and move them under Descriptor-Reference and Action-Reference
respectively, is my proposal.
If you think it seems weird that reference tree has not just reference, I’d
propose like following:
OLD:
+-[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]
|
NEW:
+-[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-Instance] <Set>
| | | +-[Descriptor-Id-Reference]
| | | +-[Descriptor-Value]
| | | +-[Direction] (O)
| | +-[Action-Instance] <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]
|
Cheers,
--satoru
> 2017/11/17 0:41、Marco Liebsch <[email protected]>のメール:
>
> 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
_______________________________________________
dmm mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/dmm