yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
agt_cap.h File Reference

NETCONF Server capabilities handler. More...

#include "agt.h"
#include "cap.h"
#include "ncxconst.h"
#include "status.h"
#include "val.h"
Include dependency graph for agt_cap.h:

Go to the source code of this file.

Functions

void agt_cap_cleanup (void)
 Clean the NETCONF server capabilities. More...
 
status_t agt_cap_set_restconf_caps (const xmlChar *defstyle, uint8 withdef_enabled)
 Initialize the RESTCONF capabilities. More...
 
status_t agt_cap_set_caps (ncx_agttarg_t agttarg, ncx_agtstart_t agtstart, const xmlChar *defstyle, uint8 withdef_enabled)
 Initialize the NETCONF server capabilities. More...
 
status_t agt_cap_set_modules (void)
 Initialize the NETCONF server capabilities modules list. More...
 
status_t agt_cap_add_module (ncx_module_t *mod)
 Add a module at runtime, after the initial set has been set. More...
 
status_t agt_cap_remove_module (ncx_module_t *mod)
 Remove a module at runtime, after the initial set has been set MUST call after agt_cap_set_caps. More...
 
cap_list_tagt_cap_get_caps (void)
 Get the NETCONF server capabilities. More...
 
cap_list_tagt_cap_get_restconf_caps (void)
 Get the RESTCONF capabilities. More...
 
val_value_tagt_cap_get_capsval (void)
 Get the NETCONF server capabilities in val_value_t format. More...
 
val_value_tagt_cap_get_restconf_capsval (void)
 Get the RESTCONF capabilities in val_value_t format. More...
 
boolean agt_cap_std_set (cap_stdid_t cap)
 Check if the STD capability is set for the server. More...
 
boolean agt_restconf_cap_std_set (cap_stdid_t cap)
 Check if the STD RESTCONF capability is set for the agent. More...
 
status_t agt_cap_update_config_id (void)
 Update the config-id capability id' value to the new txid for the running config. More...
 
void agt_cap_get_netconf_features (boolean *f_write_running, boolean *f_candidate, boolean *f_confirmed_commit, boolean *f_rollback, boolean *f_validate, boolean *f_startup, boolean *f_url, boolean *f_xpath)
 Get the NETCONF 1.1 YANG features that should be enabled for the current server profile. More...
 
status_t agt_cap_set_netconf_module (void)
 Initialize the NETCONF module capabilities. More...
 
status_t agt_cap_update_module_setid (void)
 Update YANG-LIBRARY capability module setID. More...
 

Detailed Description

NETCONF Server capabilities handler.