cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
913
Views
0
Helpful
1
Replies

sharedCreate() in python based service package in NSO 5.2

tcragg1
Cisco Employee
Cisco Employee

I have a python based service package in which multiple instances of the service can have a create method for the same data as part of the model. The nso_development docs for NSO 5.2 include caveats around the use of the create method for shared data. However, when using the model with the create method, it does create the Backpointers for each service instance under the shared data element when the instance is created, and correctly updates Refcounts when an instance is deleted.

 

Is the use of sharedCreate() still required for shared data structures in NSO 5.2, or is it only needed in prior versions of NSO?

1 Accepted Solution

Accepted Solutions

hniska
Cisco Employee
Cisco Employee

Python maagic automatically uses shared create and has done that since a long time. 

View solution in original post

1 Reply 1

hniska
Cisco Employee
Cisco Employee

Python maagic automatically uses shared create and has done that since a long time.