agt_profile_t Structο
The following structure is used to represent the 'agt_profile':
-
struct agt_profile_tο
Multiple instances are not supported.
The yp-server library has an API to override the default profile settings.
hardwire some of the server profile parameters because they are needed before the NCX engine is running They cannot be changed after boot-time. This data structure is sent from the main server to each subsystem, when the YControl initialization is done
!!! Keep the profile data in this struct in synch with !!! the agt_profile container in yumaworks-agt-profile.yang
the order of the fields below must exactly match the names and bit number assignments in the follwing files:
agt/agt_sil_profile.c
sil-sa/sil_sa_profile.c Both files must be changed together to keep the bit numbers aligned
Public Members
-
ncx_agttarg_t agt_targο
BEGIN DATA SENT TO SUBSYSTEMS; target type (candidate or running)
-
ncx_agtstart_t agt_startο
startup type enum (distinct or mirror)
-
log_debug_t agt_log_levelο
requested log-level
-
log_debug_t agt_syslog_log_levelο
requested SYSLOG log-level
-
log_debug_t agt_pthread_log_levelο
requested PTHREADS log level
-
boolean agt_session_sync_mutexο
session sync mutex flag
-
boolean agt_log_acm_readsο
log NACM read requests
-
boolean agt_log_acm_writesο
log NACM write requests
-
boolean agt_validate_allο
validate all flag
-
boolean agt_has_startupο
has startup flag for —with-startup
-
boolean agt_usestartupο
track —no-startup flag
-
boolean agt_factorystartupο
track —factory-startup flag
-
boolean agt_startup_errorο
—startup-error parameter: stop, continue enums only
-
boolean agt_running_errorο
—running-error parameter: stop, continue enums only
-
boolean agt_logappendο
—log-append parameter
-
boolean agt_xmlorderο
use strict XML order flag
-
boolean agt_list_deleteall_okο
allow delete-all and remove-all operations on a list
-
boolean agt_leaflist_deleteall_okο
allow delete-all and remove-all operations on a leaf-list
-
boolean agt_stream_outputο
stream message output: d:true; no CLI support yet
-
boolean agt_delete_empty_npcontainersο
delete empty config=true NP containers: d: false
-
boolean agt_notif_sequence_idο
d: false
-
boolean agt_yuma_system_notifsο
d: false
-
boolean agt_ietf_system_notifsο
d: true
-
boolean agt_yumaworks_systemο
d: true
-
boolean agt_yumaworks_templatesο
d: true
-
boolean agt_support_saveο
d: true (needs WITH_SUPPORT_SAVE=1)
-
boolean agt_term_msgο
d: true for <term-msg> notification bit30 in all-booleans2
-
boolean agt_alt_namesο
Yuma REST-API urlselect extra parameters.
-
boolean agt_wildcardsο
Allow wildcards in filters.
-
ncx_name_match_t agt_match_namesο
match names behavior; needs to be EXACT for YANG
-
agt_transaction_model_t agt_transaction_modelο
TBD private transaction model.
-
const xmlChar *agt_accesscontrolο
access control model
-
const xmlChar *agt_conffileο
config file: default: /etc/yumapro/netconfd-pro.conf
-
const xmlChar *agt_confdirο
config dir: default: /etc/yumapro/netconfd-pro.d
-
const xmlChar *agt_logfileο
main logfile
-
const xmlChar *agt_startupο
startup filespec
-
const xmlChar *agt_startup_factory_fileο
factory startup filespec
-
const xmlChar *agt_defaultStyleο
default-style for with-defaults
-
const xmlChar *agt_extern_libspecο
superuser name (allowed to be NULL) moved to agt.c agt_superuserQ Q of ncx_backptr_t to malloced string from CLI parameters
extern library spec
-
const xmlChar *agt_backup_dirο
backup dir location
-
const xmlChar *agt_server_idο
assigned server ID NcxName (1 .
. 64)
-
const xmlChar *agt_server_rootο
assigned server root ID
If set the server will run in Multi-Instance Mode
If NULL then the server will run in Single Instance Mode This is the old behavior and the default
NcxName (1 .. 64)
-
uint32 agt_eventlog_sizeο
eventlog-size set to 0 to disable replay
-
uint32 agt_maxburstο
—maxburst parameter
-
uint32 agt_hello_timeoutο
—hello-timeout parameter
-
uint32 agt_idle_timeoutο
—idle-timeout parameter
-
uint32 agt_linesizeο
line size for logging
-
int32 agt_indentο
—indent parameter
-
int32 agt_message_indentο
—message-indent parameter
-
boolean agt_usevalidateο
—with-validate parameter
-
boolean agt_useurlο
—with-url parameter
-
boolean agt_use_ccommitο
enable confirmed-comiit
-
boolean agt_use_yangapiο
enable YANG-API protocol (obsolete: ignored)
-
boolean agt_use_restconfο
enable RESTCONF protocol
-
boolean agt_use_cliο
enable yp-shell
-
boolean agt_use_netconfο
enable NETCONF protocol
-
boolean agt_use_local_transportο
use local transport flag
-
boolean agt_use_notificationsο
enable notifications
-
boolean agt_system_sortedο
enable system-sorted (obsolete: sorted by val_child algorithms)
-
boolean agt_lax_namespacesο
lax namespace usage: will try to match element name
-
agt_acm_model_t agt_acm_modelο
NACM or external ACM model.
-
ncx_withdefaults_t agt_defaultStyleEnumο
default with-defaults enum
-
agt_acmode_t agt_accesscontrol_enumο
access control enum
-
uint16 agt_max_sessionsο
max sessions (total)
-
uint16 agt_max_cli_sessionsο
max CLI sessions
-
uint16 agt_max_user_sessionsο
max USER sessions
-
uint16 agt_subsys_timeoutο
subsystem timeout in seconds
-
uint16 agt_ports[AGT_MAX_PORTS]ο
these port numbers are for the NETCONF-over-SSH protocol
-
uint16 agt_coap_portο
the CoAP port number used only if WITH_COAP and agt_use_coap set
-
uint16 agt_coap_dtls_portο
Coap over DTLS port (not implemented)
-
const xmlChar *agt_coap_addressο
Coap over DTLS address (not implemented)
-
const xmlChar *agt_yangapi_server_urlο
YANG-API server URL (obsolete)
-
const xmlChar *agt_restconf_server_urlο
RESTCONF server URL.
-
boolean agt_use_yuma_procο
load yuma-proc module
-
boolean agt_use_yuma_arpο
load yuma-arp module
-
boolean agt_use_yuma_ifο
load yuma-if module
-
boolean agt_use_yuma_mysessionο
load yuma-mysession module
-
boolean agt_use_yumaworks_event_filterο
load yumaworks-event-filter module
-
boolean agt_use_yuma_systemο
load yuma-system module
-
boolean agt_use_rollback_on_errorο
Use rollback-on-error.
All datastore transactions are all-or-none so this parameter is essentially ignored
-
boolean agt_use_ycontrolο
enable YControl protocol
-
boolean agt_sil_skip_loadο
skip the SIL callbacks for load-config Useful if the authoritative database is really the external system.
All edits coming from DB-API or loaded from the startup-cfg.xml are already applied to the system via the other database
-
boolean agt_log_event_dropsο
log event drops
-
boolean agt_sil_missing_errorο
treat missing SIL libraries as an error, not warning
-
boolean agt_sil_skip_keysο
do not invoke the SIL callback for a key leaf
-
boolean agt_use_rollback_failed_backupο
save running config for a commit, in case the rollback fails
-
boolean agt_allow_tcp_socketο
allow a TCP socket instead of an AF_LOCAL socket for connections
-
boolean agt_use_tcp_socketο
use a TCP socket instead of an AF_LOCAL socket for connections
-
xmlChar *agt_subsys_info_fileο
location of subsys info file YPW-2080: Multi-Instance Mode This filespec will contain the SRID so it is malloced and not hardwired to constant NCX_DEF_SUBSYS_INFO_FILE
-
boolean agt_save_ownersο
flag to save owner strings in the database
-
boolean agt_json_leaf_list_1lineο
flag to print JSON leaf-list value on 1 line
-
boolean agt_save_config_systemο
flag to skip generation of the startup XML file when a save_config is done by the server.
Used with the external config mode where the external system database is already up to date so the XML file is not used Default is false. Set in yp_system_init_profile.
-
uint8 agt_withdef_enabledο
bitmask of the with-defaults enumerations that should be enabled in the server
-
uint32 agt_watcher_intervalο
Specifies the number of seconds the YPWatcher process will sleep before checking if the netconfd-pro process has died.
Ignored if —no-watcher CLI parameter was used
-
boolean agt_audit_log_candidateο
If true, then transactions to the candidate datastore will be recorded in the audit log.
If false, then transactions to the candidate datastore will not be recorded in the audit log.";
-
boolean agt_sil_validate_candidateο
If true, the server will invoke the VALIDATE phase for SIL and SIL-SA callbacks when each edit is made to the candidate datastore.
-
boolean agt_restconf_strict_headersο
If 'true' the server will only accept requests with normative Accept header entries specified in the draft.
-
boolean agt_autodelete_pdu_errorο
If 'true' the server will treat edit-config auto-delete because of false when-stmts as an error instead of silent delete.
-
uint32 agt_sil_getbulk_maxο
Specifies the maximum number of getbulk entries to request from a GET2 callback.
This value will be used in the get2cb 'max_entries' field. The value 0 is used to indicate there is no max and the GET2 callback can return as many getbulk entries as desired. This is the default for leaf-list GET2 callbacks
-
const xmlChar *agt_crypt_hash_prefixο
specifies the string that will be pre-pended to the password before calling crypt_r to generate the hash for the crypt-hash leaf passed with $0$cleartext
-
uint8 agt_min_passwd_lenο
minimum password length when setting crypt-hash variables
-
boolean agt_with_netconfο
If 'true' then the corresponding protocol will be enabled.
Otherwise, the protocol will not be enabled. The incoming connection will be droped if the protocol is disabled. NETCONF is usually enabled
-
boolean agt_with_restconfο
enable RESTCONF sessions
-
boolean agt_with_yang_apiο
enable YANG-API sessions (obsolete)
-
boolean agt_with_yp_shellο
enable yp-shell sessions
-
boolean agt_with_yp_coapο
enable YP-CoAP sessions (not supported)
-
boolean agt_with_yp_coap_dtlsο
enable YP-CoAP DTLS sessions (not supported)
-
boolean agt_with_netconf_tlsο
enable NETCONF over TLS sessions
-
boolean agt_tls_common_authο
internal flag to enable Common Authentication Mode NO CLI PARAMETER FOR THIS SETTING IN 23.10
-
boolean agt_tls_autosan_modeο
—netconf-tls-autosan-mode
-
log_debug_t agt_audit_log_console_levelο
log console level
-
log_debug_t agt_audit_log_levelο
audit log level
-
boolean agt_audit_log_localtimeο
audit log localtime
-
boolean agt_ha_enabledο
enable YP-HA
-
boolean agt_ha_sil_standbyο
call SIL code in standby mode
-
uint16 agt_ha_portο
port number is default 8088
-
const xmlChar *agt_ha_server_keyο
server-key to keep HA pools separate
-
const xmlChar *agt_ha_initial_activeο
active server to use if standby
-
boolean agt_simple_json_namesο
use simple JSON names instead of YANG JSON names
-
boolean agt_create_empty_npcontainersο
LAST DATA SENT TO SUBSYSTEMS create empty NP containers d: true bit27 in all-booleans2.
-
boolean agt_create_empty_npcontainers_roο
special flag for create NP containers if read-only child nodes
-
boolean agt_with_warningsο
this field indicates if agt_record_warning will be allowed to set the error-severity field to warning
-
boolean agt_library_modeο
this field indicates the server is operating in library mode It will look for YANG modules but only load them into its library.
-
boolean agt_with_config_idο
this field indicates if the :config-id capability is enabled or not.
This is an enterprise URI and at least 1 opensource tool complains it is not a valid YANG module URI
-
boolean agt_no_nvstoreο
this field indicates that the server should not load or save using the normal APIs during transaction management.
The 'start' choice will be ignored (e.g., —no-startup)) and the server will not attempt to load a startup-cfg.xml file. Transactions will not be saved to NV-storage at all. Any external NV-storage callbacks will be ignored.
Use this mode if NV-load and NV-storage are handled internally and not via the startup-cfg.xml file.
-
boolean agt_with_yang11_helloο
this field indicates whether the NETCONF hello message should conform to the standard and leave out YANG 1.1 modules.
bit28 in all-booleans2
-
boolean agt_with_callhomeο
this field indicates that the IETF Callhome feature is enabled if true and WITH_CALLHOME is built into the image, then the server will attempt to connect to the callhome client servers specified in the callhome config (ietf-server module TBD)
-
uint16 agt_callhome_retry_intervalο
this field specifies the number of seconds to wait after a connect attempt to the callhome server has failed.
-
uint16 agt_callhome_retry_maxο
this field specifies the number of retry attempts the server should attempt to the callhome server before giving up.
The value 0 indicates the server should never give up.
-
const xmlChar *agt_sshd_pathο
set the sshd exectuable path for callhome default is /usr/sbin/sshd only set by vendor in agt_init1 phase
-
const xmlChar *agt_subsys_pathο
set the netconf subsystem for sshd exectuable path for callhome default is /usr/sbin/netconf-subsystem-pro only set by vendor in agt_init1 phase
-
const xmlChar *agt_sshd_configο
set the sshd_config file to use for sshd exectuable for callhome default is $HOME/.yumapro/ch_sshd_config.
<ch-server-name> only set by vendor in agt_init1 phase
-
boolean agt_with_ocpatternο
this flag enables/disables the special OpenConfig usage of the YANG pattern-statement.
If true then modules named openconfig-* will be checked as POSIX patterns, not YANG XSD patterns
-
boolean agt_fileloc_fhsο
this flag enables FHS file locations for server data files
-
boolean agt_no_audit_logο
this flag indicates the —no-audit-log CLI parameter
-
ncx_msg_encoding_t agt_restconf_default_encodingο
this enum indicates the —restconf-default-encoding CLI parameter
-
boolean agt_startup_fallbackο
this flag indicates the —startup-error parm is set to fallback
-
boolean agt_running_fallbackο
this flag indicates the —running-error parm is set to fallback
-
boolean agt_with_snmpο
this flag indicates that the snmp agent should be enabled.
bit29 in all-booleans2
-
ncx_snmp_agt_role_t agt_snmp_agent_roleο
identify the SNMP agent native mode master|subagent
-
uint16 agt_snmp_subagent_priorityο
identify the SNMP subagent priority, what priority will be used for OID callbacks registration
-
boolean agt_useurl_tftpο
the libcurl variables
—with-url-tftp
-
boolean agt_useurl_ftpο
—with-url-ftp
-
boolean agt_sil_delete_children_firstο
—sil-delete-children-first CLI parameter
-
boolean agt_trim_whitespaceο
—trim-whitespace CLI parameter
-
const xmlChar *agt_netconf_tls_addressο
—netconf-tls-address parameter
-
const xmlChar *agt_netconf_tls_certificateο
—netconf-tls-cerificate parameter
-
const xmlChar *agt_netconf_tls_keyο
—netconf-tls-key parameter
-
uint16 agt_netconf_tls_portο
—netconf-tls-port parameter
-
const xmlChar *agt_netconf_tls_trust_storeο
—netconf-tls-trust-store parameter
-
boolean agt_insecure_okο
—insecure-ok parameter
-
const xmlChar *agt_cert_default_userο
—cert-default-user parameter
-
const xmlChar *agt_errmsg_langο
—errmsg-lang parameter
-
boolean agt_startup_prune_okο
—startup-prune-ok parameter
-
boolean agt_startup_create_okο
no CLI parameter!! set to TRUE! change in yp-system library or agt_profile.c
-
boolean agt_with_canonicalο
—with-canonical parameter
-
boolean agt_with_modtagsο
—with-modtags parameter
-
boolean agt_sil_invoke_false_when_deletesο
—sil-invoke-false-when-deletes parameter
-
boolean agt_sil_invoke_for_defaultsο
—sil-invoke-for-defaults parameter
-
boolean agt_with_gnmiο
this flag indicates that the gNMI support should be enabled
-
boolean agt_ypserver_modeο
this flag indicates the server is rnning as yp-controller and not netconfd-pro
-
boolean agt_sil_prio_reverse_for_deletesο
—sil-prio-reverse-for-deletes parameter
-
uint32 agt_audit_log_eventsο
—audit-log-events to control audit log content
-
boolean agt_sil_root_check_firstο
—sil-root-check-first to do root check in edit-config before the SIL validate callbacks are invoked the old (only) behavior is 'false'
-
boolean agt_sil_wait_saο
No CLI parameter!! Set to TRUE in agt_profile.c the load-config will wait if agt_ncx_load_any_waiting() is true and this parameter is also true.
-
boolean agt_with_maint_modeο
allow maintenance mode to be used
-
boolean agt_callhome_reconnectο
CLI parameter —callhome-reconnect.
-
boolean agt_sil_test_get_whenο
enable config=false when-stmt checking for GET1 and GET2 callback functions; if false then the callback is expected to check the when-stmt itself and return ERR_NCX_NO_INSTANCE if the when-stmts for the node are false; default is true
-
boolean agt_yuma_time_filterο
use the yuma-time-filter module
-
boolean agt_yumaworks_getbulkο
use the yumaworks-getbulk module
-
boolean agt_yumaworks_idsο
use the yumaworks-ids module
-
boolean agt_use_db_lockο
db-lock used only if WITH_YCONTROL=1 and CLI set
-
int32 agt_max_strlenο
max-strlen parameter
-
boolean agt_with_yumaworks_callhomeο
with-yumaworks-callhome
-
boolean agt_with_yumaworks_config_changeο
with-yumaworks-config-change
-
boolean agt_with_yumaworks_event_streamο
with-yumaworks-event-stream
-
agt_crl_mode_t agt_crl_modeο
tls-crl-mode parameter
-
boolean agt_crl_missing_okο
tls-crl-missing-ok parameter
-
boolean agt_with_nmdaο
with-nmda; bit31 in all-booleans2
-
boolean agt_startup_skip_validationο
startup-skip-validation; bit1 all-booleans3
-
boolean agt_cvt_subtree_filterο
convert-subtree-filter parameter; bit2 all-booleans3
-
boolean agt_import_version_bestmatchο
import-version-bestmatch parameter bit0 in all-booleans3
-
boolean agt_with_yang_patch_runningο
with-yang-patch-running parameter; bit3 all-booleans3
-
uint16 agt_push_min_periodο
push-min-period parameter (in SIL-SA transfer)
-
uint16 agt_push_min_dampeningο
push-min-dampening parameter (in SIL-SA transfer)
-
uint32 agt_push_max_periodicο
push-max-periodic parameter
-
uint32 agt_push_max_operationalο
push-max-operational parameter
-
uint32 agt_push_simop_periodο
push-simop-period parameter
-
uint16 agt_push_max_segment_sizeο
push-max-segment-size for UDP-Notif only
-
boolean agt_push_simop_enabledο
push-simop-enabled parameter; bit4 all-booleans3
-
boolean agt_push_simop_patch_updateο
push-simop-patch-update parameter bit5 all-booleans3
-
boolean agt_wait_datastore_readyο
wait-datastore-ready parameter bit6 all-booleans3
-
uint32 agt_max_nodes_per_updateο
IETF max-nodes-per-update NO CLI PARAMTER TO SET THIS VALUE.
IT IS IGNORED BY THE SERVER
-
boolean agt_return_statusο
return exit code or zero; bit7 all-booleans3
-
boolean agt_with_grpcο
this flag indicates that the gRPC support should be enabled
-
boolean agt_with_smο
this flag indicates that the Schema Mount support should be enabled
-
const xmlChar *agt_sm_configο
set the Schema Mount configuration file.
Specifies the XML or JSON file to read which contains the configuration data needed to create desired mount-points.
This config file controls what is in the YANG Library for each mount-point label.
-
ncx_msg_encoding_t agt_sm_config_encodingο
this flag indicates what parser engine to use to parse the SM Config file.
-
boolean agt_use_yumaworks_sm_yanglibο
load yumaworks-sm-yanglib module ignored unless agt_with_sm and agt_sm_config both set
-
boolean agt_use_yumaworks_cert_usermapο
load yumaworks-cert-usermap module
-
boolean agt_remove_schema_aug_leafsο
this flag indicates the deprecated schema list leafs added from yumaworks-system should be removed.
The nodes are not removed from the YANG module, but the server will not send these optional leafs in any response to a client. Fixes ODL bug which rejects session if an augmenting node is found in this list
-
boolean agt_tls_debugο
—tls-debug CLI parameter this flag indicates that extra TLS debugging should be enabled in the server
-
const xmlChar *agt_tls_cipherlistο
—tls-cipherlist CLI parameter Use with extreme caution! Advanced libopenssl usage not supported passed directly to SSL_CTX_set_cipher_list in agt_openssl.c
-
boolean agt_silcall_delete_firstο
YPW-1975: SILCALL delete first.
-
boolean agt_highres_event_timeο
—highres-event-time parameter Affects the <eventTime> leaf in all notifications
-
boolean agt_with_yang_cborο
with-yang-cbor parameter
-
ncx_yang_sid_mode_t agt_yang_sid_modeο
yang-sid-mode parameter
-
boolean agt_xpath_dblslash_okο
YPW-1981: XPath Dblslash OK.
-
boolean agt_tls_deprecated_okο
YPW-1984: TLS Deprecated OK.
-
boolean agt_tls_dh_enabledο
YPW-1994: enable TLS DH parameters needed for TLS 1.3 there is no CLI parameter for this flag; default true.
-
boolean agt_save_config_tempnameο
-
uint16 agt_max_lock_hold_timeο
YPW-2027 Enforce a max lock hold time if non-zero value.
-
boolean agt_sil_cc_callback_allο
YPW-2042 Apply Commit Completeness Callbacks to All Edit Transactions instead of just the <commit> operation.
-
boolean agt_with_yumaworks_lockο
enable the <lock-all> and <unlock-all> operations
-
boolean agt_with_error_numberο
enable the <error-number) element added to error info some NC clients do not implement the error-info correctly and do not parse <error-number> even th0ough the parent node is "anyxml" and the standard allows 'extra' error-info default is true for backward compatibility
-
const xmlChar *agt_user_parmο
back-pointer to the user-parm string if any
-
boolean agt_sil_autodeleteο
enable SIL/SIL-SA callback for auto-deletions
YPW-2157: add auto-deletion callbacks if target=running Always did these callbacks if —target=candidate TRUE == add the missing callbacks FALSE == make the undo and audit records but skip the SIL callbacks
-
boolean agt_return_empty_npcontainersο
—return-empty-npcontainers CLI parameter
-
boolean agt_save_load_eventsο
No CLI parameter for save load events! If true then NETCONF notifications generated for the YANG library load and <running> config load are enabled.
If false these evvents are suppressed. Affects events added to the replay buffer at boot-time. Suggest Do Not Enable to save memory
-
boolean agt_return_error_with_dataο
enable returning rpc-error with data YPW-2187: add —return-error-with-data parameter Allow GET2 callback errors to be recorded and returned at the end of the response
-
uint8 agt_max_dblslash_matchesο
Max number of dblslash wildcard matches to allow this is an arbitrary limit meant to prevent the XPath engine from using too much memory.
-
boolean agt_with_new_yanglibο
Flag to indicate that the YANG Library from RFC 8525 will be present, even if with-nmda=false This does not remove the /modules-state subtree but the new version has this subtree deprecated.
-
boolean agt_with_new_notifsο
flag to indicate that the new notifications defined in RFC 8639 should be used, even if bundle yang-push is not used.
Does not cause the old RFC 5277 <create-subscription> to be removed. This will be ignored if 'bundle yang-push' in the config
-
boolean agt_with_ietf_capsο
flag to indicate the ietf-system-capabilities module should be loaded if WITH_YANG_PUSH is used and also 'bundle yang-push' is used and —with-new-notifcs is used.
-
boolean agt_disable_imported_okο
YPW-2209: flag to enable disabling of imported objects that are not loaded via module or bundle parameter and marked as conformance-type='import' in yanglib Old behavior is 'false' which incorrectly adds all objects from the module into the schema tree and datastores New behavior is to mark these objects as disabled in the obj_is_enabled() function.
-
boolean agt_sil_skip_global_edit_validateο
YPW-2276: sil-skip-global-edit-* parameters.
-
boolean agt_sil_skip_global_edit_applyο
-
uint16 agt_first_configured_subscriptionο
number of subscription IDs to reserve for configured subscriptions if WITH_YANG_PUSH=1 and WITH_YANG_PUSH2=1.
There is no CLI parameter for this value used in agt_not.c
AGT_FIRST_CONFIGURED_SUBSCRIPTION = 1001 AGT_DEF_NUM_CONFIGURED_SUBSCRIPTIONS = 1000
Subscription ID range 1001 to 2000 allowed for configured subscriptions
Dynamic subscriptions will use IDs 1 - 1000 and 2001 to max.
-
uint16 agt_num_configured_subscriptionsο
-
uint32 agt_publisher_idο
UDP-Notif Message Publisher ID assigned to the main server.
-
obj_testflags_t agt_rootflagsο
root commit descendant test flags
-
boolean agt_load_doneο
server load-config done flag
-
boolean agt_load_validate_errorsο
server load-config had errors flag
-
boolean agt_load_rootcheck_errorsο
server load-config root-check had errors flag
-
boolean agt_load_top_rootcheck_errorsο
server load-config had top root-check errors flag
-
boolean agt_load_apply_errorsο
server load-config had apply phase errors flag
-
boolean agt_load_factory_fallbackο
server load-config allowed to use factory-fallback flag
-
boolean agt_load_def_startup_factoryο
server load-config factory flag
-
dlq_hdr_t agt_savedevQο
Q of malloced ncx_save_deviations_t.
-
dlq_hdr_t agt_commit_testQο
Q of malloced agt_commit_test_t.
-
xmlChar *agt_startup_txid_fileο
cached location of startup transaction ID file
-
xmlChar *agt_socket_addressο
strdup of socket-address CLI parameter
-
uint16 agt_socket_portο
listen on this TCP port if TCP socket is enabled
-
xmlChar *agt_conf_dirspecο
malloced string indicating the confdir pathspec in use
-
boolean agt_confdir_skippedο
-
agt_ha_role_t agt_ha_roleο
saved HA role
-
boolean agt_defer_loadο
saved defer load config flag
-
boolean agt_no_yang_pushο
flag indicates that yang-push bundle is loaded only to use the notifications.
with-new=notifs=true
no 'bundle yang-push' in config
-
boolean agt_with_yang_push2ο
flag to enable YANG Push2 functionality —with-yang-push2 CLI parameter
-
boolean agt_enable_netconfο
flag to enable NETCONF sessions
-
boolean agt_enable_restconfο
flag to enable RESTCONF sessions
-
boolean agt_enable_cliο
flag to enable CLI sessions
-
boolean agt_enable_gnmiο
flag to enable gNMI sessions
-
boolean agt_enable_grpcο
flag to enable gRPC sessions
-
boolean agt_with_fsyncο
—with-fsync parameter
-
boolean agt_auto_discard_on_lock_timeoutο
flag to enable automatic <discard-changes> after a <lock> timeout event on the <candidate> datastore.
Datastore Fieldsο
Field Name |
CLI Override |
Default |
|---|---|---|
agt_autodelete_pdu_error |
true |
|
agt_create_empty_npcontainers |
true |
|
agt_backup_dir |
none |
$HOME/.yumapro/backups |
agt_defaultStyle |
explicit |
|
agt_defaultStyleEnum |
NCX_WITHDEF_EXPLICIT |
|
agt_no_nvstore |
not present |
|
agt_running_error |
false |
|
agt_save_config_system |
none |
false |
agt_sil_validate_candidate |
true |
|
agt_sil_skip_load |
false |
|
agt_start |
NCX_AGT_START_MIRROR |
|
agt_startup_error |
false |
|
agt_system_sorted |
true |
|
agt_targ |
NCX_AGT_TARG_CANDIDATE |
Logging Fieldsο
Field Name |
CLI Override |
Default |
|---|---|---|
agt_audit_log_candidate |
:ref:` --audit-log-candidate` |
true |
agt_audit_log_console_level |
LOG_DEBUG_DEBUG |
|
agt_audit_log_level |
LOG_DEBUG_INFO |
|
agt_audit_log_localtime |
false |
|
agt_logfile |
none |
|
agt_logappend |
none |
|
agt_log_acm_reads |
none |
false |
agt_log_acm_writes |
none |
true |
agt_log_level |
LOG_DEBUG_INFO |
|
agt_pthread_log_level |
LOG_DEBUG_INFO |
|
agt_sil_skip_global_edit_validate |
false |
|
agt_sil_skip_global_edit_apply |
false |
|
agt_syslog_log_level |
LOG_DEBUG_INFO |
Notification Fieldsο
Field Name |
CLI Override |
Default |
|---|---|---|
agt_eventlog_size |
1000 |
|
agt_maxburst |
10 |
|
agt_notif_sequence_id |
none |
false |
agt_ietf_system_notifs |
true |
|
agt_use_notifications |
true |
|
agt_yuma_system_notifs |
false |
|
agt_log_event_drops |
false |
Access Control Fieldsο
Field Name |
CLI Override |
Default |
|---|---|---|
agt_accesscontrol |
enforcing |
|
agt_acm_model |
none |
AGT_ACM_MODEL_IETF_NACM |
agt_superuserQ |
none |
|
agt_crypt_hash_prefix |
none |
$6$ |
agt_min_password_len |
none |
8 |
Protocol Capability and YANG Module Fieldsο
Field Name |
CLI Override |
Default |
|---|---|---|
agt_with_netconf |
true |
|
agt_with_restconf |
true |
|
agt_with_yang_api |
false |
|
agt_with_yp_shell |
true |
|
agt_useurl |
true |
|
agt_usevalidate |
true |
|
agt_use_ccommit |
none |
true |
agt_use_cli |
none |
true if compiled WITH_CLI=1 |
agt_use_local_transport |
none |
true if compiled DEBUG=1 |
agt_use_netconf |
none |
true |
agt_use_yangapi |
none |
true if compiled WITH_YANGAPI=1 |
agt_use_yuma_arp |
none |
true if compiled WITH_YUMA_ARP=1 |
agt_use_yuma_if |
none |
true if compiled WITH_YUMA_INTERFACES=1 |
agt_use_yuma_mysession |
--module=yuma-mysession |
false |
agt_use_yuma_proc |
none |
true if compiled WITH_YUMA_PROC=1 |
agt_use_yumaworks_event_filter |
true |
|
agt_yumaworks_system |
true |
|
agt_withdef_enabled |
none |
all bits enabled (15) |
General Fieldsο
Field Name |
CLI Override |
Default |
|---|---|---|
agt_alt_names |
true |
|
agt_conffile |
/etc/yumapro/netconfd-pro.conf |
|
agt_hello_timeout |
600 |
|
agt_idle_timeout |
3600 |
|
agt_indent |
1 |
|
agt_lax_namespaces |
none |
true |
agt_linesize |
none |
72 |
agt_match_names |
NCX_MATCH_EXACT |
|
agt_max_sessions |
8 |
|
agt_sil_getbulk_max |
10 (512 if set to 0) |
|
agt_simple_json_names |
false |
|
agt_message_indent |
-1 |
|
agt_ports |
830 |
|
agt_restconf_server_url |
||
agt_restconf_strict_accept |
false |
|
agt_sil_missing_error |
false |
|
agt_stream_output |
none |
true |
agt_wildcards |
false |
|
agt_with_config_id |
true |
|
agt_with_fsync |
false |
|
agt_with_warnings |
false |
|
agt_xmlorder |
false |
|
agt_yangapi_server_url |
||
agt_library_mode |
false |
High Availability Specific Fieldsο
Field Name |
CLI Override |
Default |
|---|---|---|
agt_ha_enabled |
false |
|
agt_ha_sil_standby |
false |
|
agt_ha_port |
8088 |
|
agt_ha_server_key |
none |
|
agt_ha_initial_active |
none |