Support for CPS Model Driven PoC R7

Background material and early draft that were already presented: CPS_PoC_IM_Support.pptx

This model reflects the as-built implementation in R7 and will be further developed and expanded in R8.

Note: this proposal now only introduces new objects in the Resource submodel.

Greyed-out content is not part of the proposal, either because it is already approved (stereotype Preliminary or no stereotype), or because it is for a separate future proposal (stereotype Future).

Red content indicates changes to previously-approved descriptions that are also part of the proposal.

ONAP Information Model
Resource

This document was generated on 2020-09-28 by "ONAP Model GenDoc Template" version 4.00

1         Introduction

This document contains the Word presentation of the model generated from the ONAP Eclipse Papyrus UML Information model  using gendoc.  This format is provided to assist the reader that does not use UML or has no access to UML tools.


3         Diagrams

3.1         Overview

Qualified Name: Resource::Diagrams

Description:

3.1.1        Diagrams


Figure 131: Diagram ResourceDescriptor



Figure 132: Diagram ResourceAppModel R7

2         Associations

2.1         Overview

Qualified Name: Resource::Associations

2.1.1        Associations

2.1.1.1         ResInstAppDataDescribedByResAppModel association

Qualified Name: Resource::Associations::ResInstAppDataDescribedByResAppModel


Description:

Associates the resource data with the model that describes its schema.

Applied Stereotypes:

  • Experimental


Table 121 Member ends for Association ResInstAppDataDescribedByResAppModel

 

Attribute Name

Aggreg.

Navig.

Mult.

Type

Description

Stereotypes

_resourceappmodel

none

Navig.

1

ResourceAppModel




The model that describes the schema of the resource data.



Experimental


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



_resourceappdata

none

Not navig.  

0..*

ResourceInstanceAppData






OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY




2.1.1.2         ResourceInstDescribedByResourceDesc association

Qualified Name: Resource::Associations::ResourceInstDescribedByResourceDesc


Description:

Represents the need for a deployed resource to be described by a resource descriptor.

Applied Stereotypes:

  • Future


Table 121 Member ends for Association ResourceInstDescribedByResourceDesc

 

Attribute Name

Aggreg.

Navig.

Mult.

Type

Description

Stereotypes

_resourcedesc

none

Navig.

1

ResourceDesc




Descriptor for this resource.



Future


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



_resourceinstance

none

Not navig.  

0..*

ResourceInstance






OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



2.1.1.3         ResourceInstanceHasAppData association

Qualified Name: Resource::Associations::ResourceInstanceHasAppData


Description:

Shows that a resource may expose data specific to its applications.

Applied Stereotypes:

  • Experimental


Table 121 Member ends for Association ResourceInstanceHasAppData

 

Attribute Name

Aggreg.

Navig.

Mult.

Type

Description

Stereotypes

_resourceappdata

composite

Navig.

0..1

ResourceInstanceAppData




Application data associated with this resource.



Experimental


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



_resourceinstance

none

Not navig.  

1

ResourceInstance






OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY




2.1.1.4         ResourceDescHasResourceAppModel association

Qualified Name: Resource::Associations::ResourceDescHasResourceAppModel


Description:

Shows that a resource descriptor may contain models describing its applications.

Applied Stereotypes:

  • Experimental


Table 121 Member ends for Association ResourceDescHasResourceAppModel

 

Attribute Name

Aggreg.

Navig.

Mult.

Type

Description

Stereotypes

_resourceappmodel

composite

Navig.

0..1

ResourceAppModel




Models that further specify the resource descriptor.



Experimental


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



_resourcedesc

none

Not navig.  

1

ResourceDesc






OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



4         Interfaces

4.1         Overview

Qualified Name: Resource::Interfaces

5         ObjectClasses

5.1         Overview

Qualified Name: Resource::ObjectClasses

5.1.1        Classes

5.1.1.1         ResourceAppModel class

Qualified Name: Resource::ObjectClasses::ResourceAppModel

Description:

Model supplied by the resource vendor/supplier that specifies an external interface of a resource instance.

This class is abstract.

Parent class: DesignEntity

Applied Stereotypes:

  • Experimental
  • OpenModelClass
  • support: MANDATORY


5.1.1.2         ResourceDesc class

Qualified Name: Resource::ObjectClasses::ResourceDesc

Description:

ResourceDesc represents physical and non-physical (virtual) components which are owned / managed by the business or provided by a Supplier and are used (directly or indirectly) to construct services.

In this context, a resource is something that goes into a resource catalog from which services are composed.

Parent class: DesignEntity

Applied Stereotypes:

  • OpenModelClass
  • support: MANDATORY
  • Preliminary

Table 91 Attributes for Package ObjectClasses

 

Attribute Name

Type

Mult.

Description

Stereotypes

_resourceappmodel

ResourceAppModel

0..1

Models that further specify the resource descriptor.



Experimental


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



validFor

TimePeriod

0..1

The period during which the design entity is valid.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



status

String

1

The condition of the specification, such s active, inactive, or planned.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



name

String

1

Represents a user-friendly identifier of an object. It is a (possibly ambiguous) name by which the object is commonly known in some limited scope (such as an organization) and conforms to the naming conventions of the country or culture with which it is associated. It is NOT used as a naming attribute (i.e., to uniquely identify an instance of the object).



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



description

String

1

Defines a textual free-form description of the object.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



id

Identifier

1

Unambiguously distinguishes different object instances. It is the naming attribute of the object.

Identifier of this information element.   This attribute shall be globally unique.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary





5.1.1.3         ResourceInstance class

Qualified Name: Resource::ObjectClasses::ResourceInstance

Parent class: OperationalEntity

Applied Stereotypes:

  • OpenModelClass
  • support: MANDATORY
  • Preliminary

Table 91 Attributes for Package ObjectClasses

 

Attribute Name

Type

Mult.

Description

Stereotypes

_resourcedesc

ResourceDesc

1

Descriptor for this resource.



Future


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



_resourceappdata

ResourceInstanceAppData

0..1

Application data associated with this resource.



Experimental


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



name

String

0..1

Represents a user-friendly identifier of an object. It is a (possibly ambiguous) name by which the object is commonly known in some limited scope (such as an organization) and conforms to the naming conventions of the country or culture with which it is associated. It is NOT used as a naming attribute (i.e., to uniquely identify an instance of the object).



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



description

String

0..1

Defines a textual free-form description of the object.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



id

Identifier

1

Unambiguously distinguishes different object instances. It is the naming attribute of the object.

Identifier of this information element.   This attribute shall be globally unique.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary





5.1.1.4         ResourceInstanceAppData class

Qualified Name: Resource::ObjectClasses::ResourceInstanceAppData

Description:

Data exposed by the resource instance over an external interface.

Parent class: OperationalEntity

Applied Stereotypes:

  • Experimental
  • OpenModelClass
  • support: MANDATORY

Table 91 Attributes for Package ObjectClasses

 

Attribute Name

Type

Mult.

Description

Stereotypes

_resourceappmodel

ResourceAppModel

1

The model that describes the schema of the resource data.



Experimental


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



name

String

0..1

Represents a user-friendly identifier of an object. It is a (possibly ambiguous) name by which the object is commonly known in some limited scope (such as an organization) and conforms to the naming conventions of the country or culture with which it is associated. It is NOT used as a naming attribute (i.e., to uniquely identify an instance of the object).



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



description

String

0..1

Defines a textual free-form description of the object.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



id

Identifier

1

Unambiguously distinguishes different object instances. It is the naming attribute of the object.

Identifier of this information element.   This attribute shall be globally unique.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary





5.1.1.5         YangModelSet class

Qualified Name: Resource::ObjectClasses::YangModelSet

Description:

Set of models expressed in YANG that describe the external interface of a resource.

Parent class: ResourceAppModel

Applied Stereotypes:

  • Experimental
  • OpenModelClass
  • support: MANDATORY

Table 91 Attributes for Package ObjectClasses

 

Attribute Name

Type

Mult.

Description

Stereotypes

yangModules

YangModuleIdentifier

1..*

List of YANG module identifiers that together define the CM interface of a resource.



Experimental


OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY



validFor

TimePeriod

0..1

The period during which the design entity is valid.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



status

String

1

The condition of the specification, such s active, inactive, or planned.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



name

String

1

Represents a user-friendly identifier of an object. It is a (possibly ambiguous) name by which the object is commonly known in some limited scope (such as an organization) and conforms to the naming conventions of the country or culture with which it is associated. It is NOT used as a naming attribute (i.e., to uniquely identify an instance of the object).



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



description

String

1

Defines a textual free-form description of the object.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary



id

Identifier

1

Unambiguously distinguishes different object instances. It is the naming attribute of the object.

Identifier of this information element.   This attribute shall be globally unique.



OpenModelAttribute

·       partOfObjectKey:  0

·       uniqueSet:

·       isInvariant:  false

·       unsigned:  false

·       counter: NA

·       support: MANDATORY


Preliminary





6         TypeDefinitions

6.1         Overview

Qualified Name: Resource::TypeDefinitions

6.1.1        Datatypes

6.1.1.1         YangModuleIdentifier datatype

Qualified Name: Resource::TypeDefinitions::YangModuleIdentifier

Description:

Elements of the YANG header that identify a specific YANG module.

Applied Stereotypes:

  • Experimental
  • Reference
  • reference: IETF RFC7950

Table 71 Attributes for Data Type YangModuleIdentifier

 

Attribute Name

Type

Mult.

Description

Stereotypes

namespace

String

1

Defines the XML namespace that identifiers defined by the module are qualified by in the XML encoding.



Reference

·       reference: IETF RFC7950 namespace (7.1.3)


OpenModelAttribute

·       isInvariant: false

·       valueRange:  no range constraint

·       support:  MANDATORY



yangVersion

String

1

Specifies which version of the YANG language was used in developing the module.



Reference

·       reference: IETF RFC7950 yang-version (7.1.2)


OpenModelAttribute

·       isInvariant: false

·       valueRange:  no range constraint

·       support:  MANDATORY



moduleName

String

1

Module name.



Reference

·       reference: IETF RFC7950 <module-name> (7.1)


OpenModelAttribute

·       isInvariant: false

·       valueRange:  no range constraint

·       support:  MANDATORY