cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
506
Views
0
Helpful
1
Replies
tcragg1
Cisco Employee

sharedCreate() in python based service package in NSO 5.2

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

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

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

View solution in original post