Introduction
For complex intent, such as the intent of cloud leased line, it is necessary to decompose the complex intent into sub intents of different dimensions, and implement the user's original intent through the execution of sub intents. So we need to deal with machin-machine intent, and for different intents or sub intents in the system, it is necessary to provide general intent model to ensure that all intents(especially machine-machine intents) operate according to the same expression.
For detailed requirement information, see the following links: Jira server ONAP Jira serverId 425b2b0a-557c-3c0c-b515-579789cceedb key REQ-1267
Benefits of introducing general intent model in ONAP
- Improve interoperability between components/systems via standarded intent description.
- Model federation mechanism is introduced (later explained in detail) to enable domain extension.
- Based on the general intent model, the machine-machine intent is supported.
- Enhance standardization based on the existing standards.
- Reuse the existing domain related models which enables extension to different application scenarios.
Intent model organization form
IntentCondition Information Element
Attribute | Qualifier | Cardinality | Content | Description |
conditionId | M | 1 | Identifier | The identifier of this condition. |
operator | M | 1 | Enum | If conditionValue exists, represents the specific requirements for condition. Value:
If conditionList exists, representing the relationship between all conditions. Value:
|
conditionValue | O | 1 | String | The specific value of the condition. |
conditionList | O | 1..N | IntentCondition | Composed of a group of conditions, representing composite conditions |
IntentState Information Element
Attribute | Qualifier | Cardinality | Content | Description |
stateId | M | 1 | Identifier | The identifier of this state. |
stateName | M | 1 | String | State name. |
condition | M | 1 | IntentCondition | Represents the state that the condition needs to reach. |
IntentExpectation Information Element
Attribute | Qualifier | Cardinality | Content | Description |
expectationId | M | 1 | Identifier | The identifier of this expectation. |
expectationName | M | 1 | String | Expectation name |
expectationType | M | 1 | ENUM | Expectation type. Value:
|
targetMOI | M | 0..1 | Identifier | It can be an instance ID of an existing MOI or a null value. If it is an existing MOI instance ID, it means that the corresponding instance status is modified to meet expectations; If it is a null value, it means to create a new instance that meets the expectations. |
stateList | M | 1..N | IntentState | Multiple state lists contained in an expectation |
Intent Information Element
Attribute | Qualifier | Cardinality | Content | Description |
intentId | M | 1 | Identifier | The identifier of this intent. |
intentName | M | 1 | String | Intent name. |
expectationList | M | 1..N | IntentExpectation | Multiple expectation lists contained in one intent. |
Related materials
- Slides reviewed by the Modeling Committee on May 30
View file name ONAP R11- General intent model.pdf height 250