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: RE: TOSCA Node relationship


Hi Sridhar,

 

Please take a look at the query.

 

Thanks,

Manas

 

From: Manas Mal
Sent: 15 June 2017 12:38
To: 'paul.lipton@ca.com' <paul.lipton@ca.com>
Cc: 'tosca-comment@lists.oasis-open.org' <tosca-comment@lists.oasis-open.org>
Subject: RE: TOSCA Node relationship

 

Hi Paul,

 

Request you to take a look at the question that I have put or please re-direct to the correct person.

 

Thanks,

Manas

 

From: Manas Mal
Sent: 12 June 2017 16:32
To: 'tosca-comment@lists.oasis-open.org' <tosca-comment@lists.oasis-open.org>
Subject: RE: TOSCA Node relationship

 

Appreciate if I get some quick response on the below question.

 

Regards,

Manas

 

From: Manas Mal
Sent: 09 June 2017 15:40
To: 'tosca-comment@lists.oasis-open.org' <tosca-comment@lists.oasis-open.org>
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]