![]() |
yumapro
25.10-1
YumaPro SDK
|
Agent support for YANG Schema Mount feature. More...

Functions | |
| status_t | agt_sm_init (void) |
| Phase 1: Initialize the yumaworks-schema-mount server instrumentation library and other server SM handling. More... | |
| void | agt_sm_cleanup (void) |
| Cleanup the yumaworks-schema-mount server instrumentation library and other server SM handling. More... | |
| val_value_t * | agt_sm_get_config (void) |
| Get the sm-config value node. More... | |
| status_t | agt_sm_stop_wait_bundle (ncx_sm_rootcb_t *rootcb, const xmlChar *bundle) |
| Stop waiting for the specified bundle. More... | |
Agent support for YANG Schema Mount feature.
module: yumaworks-schema-mount
structure schema-mount:
+--rw sm-config* [mp-module mp-label]
+--rw mp-module yang:yang-identifier
+--rw mp-label yang:yang-identifier
+--rw mp-config? boolean
+--rw mp-cli
+--rw annotation* yt:NcModuleSpec
+--rw bundle* nt:NcxName
+--rw deviation* yt:NcModuleSpec
+--rw feature-enable-default? boolean
+--rw feature-enable* yt:FeatureSpec
+--rw feature-disable* yt:FeatureSpec
+--rw loadpath? yt:NcPathList
+--rw module* yt:NcModuleSpec
Example of JSON sm-coinfig file:
{
"yumaworks-schema-mount:schema-mount" : {
"sm-config" : [
{
"mp-module" : "sm-example",
"mp-label" : "example1",
"mp-config" : true,
"mp-cli" : {
"module" : [ "sm-example2" ]
}
}
]
}
} | void agt_sm_cleanup | ( | void | ) |
Cleanup the yumaworks-schema-mount server instrumentation library and other server SM handling.
Called by server when module is unloaded.

| val_value_t * agt_sm_get_config | ( | void | ) |
Get the sm-config value node.
Used for the SIL-SA <config-response> message
| status_t agt_sm_init | ( | void | ) |
Phase 1: Initialize the yumaworks-schema-mount server instrumentation library and other server SM handling.
Called by server when module is loaded.


| status_t agt_sm_stop_wait_bundle | ( | ncx_sm_rootcb_t * | rootcb, |
| const xmlChar * | bundle | ||
| ) |
Stop waiting for the specified bundle.
Make the yanglib for the node if no more bundles waiting
| rootcb | root control block to use |
| bundle | bundle name to load YANG library for |

