SIL & SIL-SA are the Server Instrumentation Libraries with the -SA being the Sub-Agent versions of SILs. These are the libraries that contain the YANG structure and information and the instrumentation specific to the device the server is implemented on. The libraries are dynamic and so can be loaded and unloaded from the server without needing to restart the server.


The difference between SIL & SIL-SA is that SILs are synchronously connected to the server in the same process and the SIL-SAs are asynchronously connected to the server so that they can instrument different processes such as line cards in a chassis based device.  There are many server APIs that are only available to the SIL libraries.


The SIL/SIL-SAs can be automatically created from YANG modules by YumaPro SDK tools with the system infrastructure, such as protocol and encoding, etc., integrated automatically. To complete the SIL/SIL-SA creation all developers have to do is fill in the stubs left for instrumentation.


Server API Differences Between SIL and SIL-SA.


Server API Type
SIL
 SIL-SA
Value tree APIs (val_value_t) to access internal YANG data
X
X
Object tree APIs (obj_template_t) to access YANG schema
X
 X
XML APIs to process YANG data
X
X
JSON APIs to process YANG data
X
X
XPath APIs to process YANG data
X
X
Load Module APIs
X

EDIT1 APIs to process YANG configuration transactions
X
X
EDIT2 APIs to  process YANG configuration transactions
X

GET1 APIs to retrieve YANG operational data
X

GET2 APIs to retrieve YANG operational data
X
X
Send Notification APIs
X
X
Agent Timer Callback
X
X
Set Hook Callback to alter edit transaction
X

Transaction Hook Callback to alter edit transaction
X

Transaction Start Callback to handle edit transaction
X

Transaction Complete Callback to handle edit transaction
X

Set Order Hook Callback to alter edit transaction
X

Add Edit API to alter edit transaction
X

Get Data API to access configuration data
X

Validate Complete Callback to process edit transaction
X

Apply Complete Callback to process edit transaction
X

Commit Complete Callback to process edit transaction
X

RPC Operation APIs
X
X
YANG Action APIs
X



An overview of how SILs are created can be found here: SIL Development, and more detail can be found in Section 8 "Development Environment" of the YumaPro Developer Manual.