cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
391
Views
0
Helpful
3
Replies

Is there any Rest APIs for NSO service package creation?

kumarabhi84
Level 1
Level 1

Hi all, I want to create a NSO service package via Rest API without using ncs cli. Also Is there any Rest APIs to create XML template and Yang files ?

3 Replies 3

jvikman
Cisco Employee
Cisco Employee

You can do a regular POST to create an instance of your service. Is that what you want? Or do you want help developing a service?

snovello
Cisco Employee
Cisco Employee
Your question is hard to understand. The functionality you mention to create a service package via the ncs_cli does not exist. Nor can you via any API. What there is is the functionality to create a service package skeleton via the ncs-make-package script. Note that makes a skeleton, so just files in a directory structure, not an actual useful service package. You have to write templates and yang files as a minumum for that, and of course you use an editor or IDE for that.

Maybe try and reformulate your question.

I will add a correction. It is possible to make a package from the ncs_cli and any API for the specific case that your package is a Netconf NED.

See the Netconf NED builder feature in NSO.