OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Datatype definition with an empty base type?


Hello Chris and Claude,

 

Would it be possible to have a datatype with an empty based type for deriving data type for describing vendor specific parameters.  Would it possible to discuss this issue during today YAML call. Sorry for late notice.

 

Data type definition:

 

tosca.datatypes.nfv.VnfOperationAdditionalParameters:

  derived_from: tosca.datatypes.Root

 

 

Example:

 

...

node_types:

  mycompany.nodes.nfv.SunshineDB.1_0.1_0:

    derived_from: tosca.nodes.nfv.VNF

    properties:

      ...

    interfaces:

      Vnflcm:

        type: mycompany.interfaces.nfv.Vnflcm

 

data_types:

  ...

  mycompany.datatypes.nfv.InstantiateAdditionalParameters:

    derived_from: tosca.datatypes.nfv.VnfOperationAdditionalParameters

    properties:

      parameter_1:

        type: string

        required: true

      parameter_2:

        type: string

        required: false

        default: value_2

 

interface_types:

  mycompany.interfaces.nfv.Vnflcm:

    derived_from: tosca.interfaces.nfv.Vnflcm

    instantiate:

      inputs:

        additional_parameters:

          type: mycompany.datatypes.nfv.InstantiateAdditionalParameters

          required: true

    terminate:

    heal:

 

topology_template:

  ..

 

 

 

 

Thinh Nguyenphu

Nokia Networks

thinh.nguyenphu@nokia.com

+1 817-313-5189

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]