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

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca-comment message

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


Subject: TOSCA Node relationship


Hi ,

 

 

I have trying to build the dependency among two nodes using the relationship as follows:

 

 

 

So in this case we have Node A depends On Node B and we have the standard Interface states as well as the relationship states defined.

As per the document the standard node states will be interleaved with the relationship states.

 

We want to have better understanding of the script execution order when we have scripts specified in all the states of the relationship and standard.

My understanding is the scripts will be executed in a interleaved manner.

 

Let’s take the example below:

 

                                            

 

 

 

 

 


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

 

 

 

 

 

 

 

              

 

                                                                                                                                                                                                                                                                                                                          

All the scripts are part of the Configure state.

In this example the dependency is

VDU1 depends on VD2,

VDU2 depends on VDU3

VDU3 depends on VDU4

So, after the create state (i.e. boot state in ESO), the script execution is interleaved among the VDUs. As per the example the script execution order would be:

1)     VDU4-S1

2)     VDU3-S1

3)     VDU2-S1

4)     VDU1-S1

5)     VDU3-S2

6)     VDU2-S2

7)     VDU1-S2

8)     VDU4-S2

9)     VDU1-S3

 

Please validate that my understanding is correct otherwise let me know the correct interpretation of the TOSCA specs for this node relationship.

 

Regards,

Manas

 



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