...
Following is a proposal on how to to handle a group of dynamic parameters. Per the diagram, this would apply to any design entity (ServiceDesc, Vnfd, Pnfd, etc.) along with the corresponding runtime entity.
Table of Contents |
---|
1.0 Diagrams
1.1 Dynamic Parameters
2. 0 Classes
...
1.1 Diagrams
1.1.1 Overview
Qualified Name: Common::Root::Diagrams
Description:
1.1.1.1 Diagrams
Figure 1‑1: Diagram Dynamic Parameters
1.1.1.2 Classes
1.1.1.2.1 Parameter class
Qualified Name: Common::Root::Diagrams::ParameterGroupParameter
Description:A group of parameters that somehow relate or work together
Some parameter that is part of a ParameterGroup. If parameter can only hold certain values, those values are specified via ParameterSpecValue (design time). The actual value is specified via ParameterValue (runtime).
Applied Stereotypes:
- Experimental
- OpenModelClass
- support: MANDATORY
Table 1‑1 Attributes for Package Diagrams
Attribute Name | Type | Mult. | Description | Stereotypes |
parameterName | String | 1 | Name of |
parameter. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
IsInput |
Boolean | 1 |
Boolean that specifices if this parameter is an input parameter. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
paramvalue |
Identifier
1
ID of ParameterGroup.
ExperimentalParameterValue | 0..* | Parameter can have some number of runtime ParameterValues. Each ParameterValue is also associated with some OperationalEntity (VnfInstance, ServiceInstance, ...). | OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
2.2 Parameter class
Qualified Name: Common::Root::Diagrams::Parameter
Description:
Some parameter that is part of a ParameterGroup. If parameter can only hold certain values, those values are specified via ParameterSpecValue (design time). The actual value is specified via ParameterValue (runtime).
Applied Stereotypes:
- Experimental
- OpenModelClass
- support: MANDATORY
Attributes for Package Diagrams
Attribute Name
Type
Mult.
Description
Stereotypes
parameterName
String
1
isModifiable | Boolean | 1 | Bolean that specifices if the value can be modified or changed during the life of this parameter. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
valueType | String | 1 | The type of this parameter (integer, string, ...). | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
unitOfMeasure | String | 1 | A length, surface, volume, dry measure, liquid measure, money, weight, time, and the like. In general, a determinate quantity or magnitude of the kind designated, taken as a standard of comparison for others of the same kind, in assigning to them numerical values, as 1 foot, 1 yard, 1 mile, 1 square foot. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
description |
String | 1 |
Description of the parameter. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
paramvalue
ParameterValue
0..*
1.1.1.2.2 ParameterGroup class
Qualified Name: Common::Root::Diagrams::ParameterGroup
Description:
A group of parameters that somehow relate or work together.
Applied Stereotypes:
- Experimental
- OpenModelClass
- support: MANDATORY
Table 1‑2 Attributes for Package Diagrams
Attribute Name | Type | Mult. | Description | Stereotypes |
parameterGroupName | String | 1 | Name of ParameterGroup | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
parameterGroupDescription |
String | 1 |
Description of ParameterGroup. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
parameterGroupId |
Identifier | 1 |
ID of ParameterGroup. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
1.1.1.2.
...
3 ParameterSpecValue class
Qualified Name: Common::Root::Diagrams::ParameterValueParameterSpecValue
Description:
The actual A valid value of Parameter parameter (runtimedesign time).
Applied Stereotypes:
- Experimental
- OpenModelClass
- support: MANDATORY
Table 1‑3 Attributes for Package Diagrams
Attribute Name | Type | Mult. | Description | Stereotypes |
value |
String | 1 |
Runtime ParameterValue is associated with exactly one Parameter. Parameter can have some number of runtime ParameterValues.
The value of the given ParameterSpecValue. A discrete value that the Parameter can take on. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY | |||
valueFrom | String | 1 | The low range value that a characteristic can take on. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
valueTo | String | 1 | The |
upper range value that a characteristic can take on. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY | |||
rangeStep | Integer | 0..1 | The specification that a range of values increases in steps, such as a range from 0 to 100 in steps of 5 with the resulting permitted values being 0, 5, 10, 15,...100. This complements the valueFrom and valueTo attributes. | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
1.1.1.2.
...
4 ParameterValue class
Qualified Name: Common::Root::Diagrams::ParameterSpecValueParameterValue
Description:
A valid The actual value of parameter Parameter (design timeruntime).
Applied Stereotypes:
- Experimental
- OpenModelClass
- support: MANDATORY
Table 1‑4 Attributes for Package Diagrams
Attribute Name | Type | Mult. | Description | Stereotypes |
parameter | Parameter | 1 | Runtime ParameterValue is associated with exactly one Parameter. Parameter can have some number of runtime ParameterValues. | OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |
value | String | 1 | The actual value of |
Parameter (runtime). | Experimental OpenModelAttribute · partOfObjectKey: 0 · uniqueSet: · isInvariant: false · unsigned: false · counter: NA · support: MANDATORY |