module yumaworks-agt-profile { namespace "http://yumaworks.com/ns/yumaworks-agt-profile"; prefix yprof; import yuma-app-common { prefix yapp; } import yuma-ncx { prefix ncx; } import yuma-types { prefix yt; } import yumaworks-types { prefix ywt; } organization "YumaWorks, Inc."; contact "Support "; description "YumaPro agt_profile message definition for subsystem initialization. Keep the agt-profile grouping in synch with the agt_profile_t in agt/agt.h Copyright (c) 2014 YumaWorks, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the BSD 3-Clause License http://opensource.org/licenses/BSD-3-Clause"; revision 2014-09-06 { description "Initial version."; } grouping agt-profile { container agt-profile { config false; ncx:abstract; ncx:hidden; description "Server profile parameters; Currently cannot be changed after boot-time."; leaf agt_targ { type ywt:server-target; // ncx_agttarg_t } leaf agt_start { type enumeration { // ncx_agtstart_t enum none; enum mirror; enum distinct; } } leaf agt_log_level { type yt:NcDebugType; // log_debug_t } leaf agt_syslog_log_level { type yt:NcDebugType; // log_debug_t } leaf agt_pthread_log_level { type yt:NcDebugType; // log_debug_t } leaf agt_match_names { type ywt:NameMatchMode; // ncx_name_match_t } leaf agt_transaction_model { type enumeration { // agt_transaction_model_t enum none; enum shared; enum private; } } leaf agt_acm_model { type enumeration { // agt_acm_model_t enum none; enum ietf; enum yuma; enum external; } } leaf agt_defaultStyleEnum { type yapp:CliWithDefaultsType; // ncx_withdefaults_t } leaf agt_accesscontrol_enum { type ywt:access-control-mode; // agt_acmode_t } leaf agt_max_sessions { type uint16; } leaf agt_subsys_timeout { type uint16; } leaf-list agt_ports { type uint16; } leaf agt_yangapi_server_url { type string; } leaf agt_accesscontrol { type string; } leaf agt_conffile { type string; } leaf agt_logfile { type string; } leaf agt_startup { type string; } leaf agt_defaultStyle { type string; } leaf agt_superuser { type string; } leaf agt_extern_libspec { type string; } leaf agt_backup_dir { type string; } leaf agt_server_id { type string; } leaf agt_subsys_info_file { type string; } leaf agt_eventlog_size { type uint32; } leaf agt_maxburst { type uint32; } leaf agt_hello_timeout { type uint32; } leaf agt_idle_timeout { type uint32; } leaf agt_linesize { type uint32; } leaf agt_indent { type int32; } leaf agt_message_indent { type int32; } /**** All booleans encoded in 2 uint32 leafs ****/ leaf all-booleans1 { type uint32; description "Bit definitions: bit0 agt_session_sync_mutex; bit1 agt_log_acm_reads; bit2 agt_log_acm_writes; bit3 agt_validate_all; bit4 agt_has_startup; bit5 agt_usestartup; bit6 agt_factorystartup; bit7 agt_startup_error; bit8 agt_running_error; bit9 agt_logappend; bit10 agt_xmlorder; bit11 agt_deleteall_ok; bit12 agt_stream_output; bit13 agt_delete_empty_npcontainers; bit14 agt_notif_sequence_id; bit15 agt_yuma_system_notifs; bit16 agt_ietf_system_notifs; bit17 agt_yumaworks_system; bit18 agt_alt_names; bit19 agt_wildcards; bit20 agt_usevalidate; bit21 agt_useurl; bit22 agt_use_ccommit; bit23 agt_use_yangapi; bit24 agt_use_cli; bit25 agt_use_netconf; bit26 agt_use_local_transport; bit27 agt_use_notifications; bit28 agt_system_sorted; bit29 agt_lax_namespaces; bit30 agt_use_yuma_proc; bit31 agt_use_yuma_arp; "; } // leaf all-booleans1 leaf all-booleans2 { type uint32; description "Bit definitions: bit0 agt_use_yuma_if; bit1 agt_use_yuma_mysession; bit2 agt_use_yumaworks_event_filter; bit3 agt_use_ycontrol; bit4 agt_sil_skip_load; bit5 agt_log_event_drops; bit6 agt_sil_missing_error; bit7 agt_sil_skip_keys; bit8 agt_use_rollback_failed_backup; bit9 agt_allow_tcp_socket; bit10 agt_use_tcp_socket; "; } // leaf all-booleans2 } // container agt_profile } // grouping }