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

Understanding NSO api and its usage

smadappa
Level 1
Level 1

Hi,

I am struggling to explore NSO api and code myself when I don't have a prior sample available thru documentation or example. Can anyone please help on what is the right way of exploring the api and its usage.

For eg:- I got to know that maapi single_write_trans apply() method can take an optional argument 'flags' which control the behavior of transaction during commit based on the flag values.

So my question is..If I don't know this prior, how do I find it myself that apply() can take optional arguments such as flags and what are all the flags values? (Note: I am using Python api).

Regards,

Shameer

1 Reply 1

Dan.Sullivan
Cisco Employee
Cisco Employee

Hi Shameer,

First off you can check the doc directory right below the NSO installation. Have you also check the examples.ncs directory which has quite a bit of examples?

Thanks,

-Dan