meta/priv/opennebula/5.12/xsd-records/opennebula_configuration.hrl
2021-02-11 14:34:40 +01:00

310 lines
No EOL
12 KiB
Erlang

%% HRL file generated by ERLSOM
%%
%% It is possible (and in some cases necessary) to change the name of
%% the record fields.
%%
%% It is possible to add default values, but be aware that these will
%% only be used when *writing* an xml document.
-ifndef(ERLSOM_ANY_ATTRIB_TYPES).
-define(ERLSOM_ANY_ATTRIB_TYPES, true).
-type anyAttrib() :: {{string(), %% name of the attribute
string()}, %% namespace
string()}. %% value
-type anyAttribs() :: [anyAttrib()] | undefined.
-endif.
-ifndef(ERLSOM_QNAME_TYPES).
-define(ERLSOM_QNAME_TYPES, true).
%% xsd:QName values are translated to #qname{} records.
-record(qname, {uri :: string(),
localPart :: string(),
prefix :: string(),
mappedPrefix :: string()}).
-endif.
-record('OPENNEBULA_CONFIGURATION', {anyAttribs :: anyAttribs(),
'API_LIST_ORDER' :: [string()] | undefined,
'AUTH_MAD' :: ['OPENNEBULA_CONFIGURATION/AUTH_MAD'()] | undefined,
'AUTH_MAD_CONF' :: ['OPENNEBULA_CONFIGURATION/AUTH_MAD_CONF'()] | undefined,
'CLUSTER_ENCRYPTED_ATTR' :: [string()] | undefined,
'DATASTORE_CAPACITY_CHECK' :: [string()] | undefined,
'DATASTORE_ENCRYPTED_ATTR' :: [string()] | undefined,
'DATASTORE_LOCATION' :: [string()] | undefined,
'DATASTORE_MAD' :: ['OPENNEBULA_CONFIGURATION/DATASTORE_MAD'()] | undefined,
'DB' :: 'OPENNEBULA_CONFIGURATION/DB'() | undefined,
'DEFAULT_AUTH' :: [string()] | undefined,
'DEFAULT_CDROM_DEVICE_PREFIX' :: [string()] | undefined,
'DEFAULT_COST' :: ['OPENNEBULA_CONFIGURATION/DEFAULT_COST'()] | undefined,
'DEFAULT_DEVICE_PREFIX' :: [string()] | undefined,
'DEFAULT_IMAGE_PERSISTENT' :: [string()] | undefined,
'DEFAULT_IMAGE_PERSISTENT_NEW' :: [string()] | undefined,
'DEFAULT_IMAGE_TYPE' :: [string()] | undefined,
'DEFAULT_UMASK' :: [string()] | undefined,
'DEFAULT_VDC_CLUSTER_DATASTORE_ACL' :: [string()] | undefined,
'DEFAULT_VDC_CLUSTER_HOST_ACL' :: [string()] | undefined,
'DEFAULT_VDC_CLUSTER_NET_ACL' :: [string()] | undefined,
'DEFAULT_VDC_DATASTORE_ACL' :: [string()] | undefined,
'DEFAULT_VDC_HOST_ACL' :: [string()] | undefined,
'DEFAULT_VDC_VNET_ACL' :: [string()] | undefined,
'DOCUMENT_ENCRYPTED_ATTR' :: [string()] | undefined,
'DS_MAD_CONF' :: ['OPENNEBULA_CONFIGURATION/DS_MAD_CONF'()] | undefined,
'DS_MONITOR_VM_DISK' :: integer() | undefined,
'ENABLE_OTHER_PERMISSIONS' :: string() | undefined,
'FEDERATION' :: 'OPENNEBULA_CONFIGURATION/FEDERATION'() | undefined,
'GROUP_RESTRICTED_ATTR' :: [string()] | undefined,
'HM_MAD' :: 'OPENNEBULA_CONFIGURATION/HM_MAD'() | undefined,
'HOOK_LOG_CONF' :: 'OPENNEBULA_CONFIGURATION/HOOK_LOG_CONF'() | undefined,
'HOST_ENCRYPTED_ATTR' :: [string()] | undefined,
'IMAGE_RESTRICTED_ATTR' :: [string()] | undefined,
'IM_MAD' :: ['OPENNEBULA_CONFIGURATION/IM_MAD'()] | undefined,
'INHERIT_DATASTORE_ATTR' :: [string()] | undefined,
'INHERIT_IMAGE_ATTR' :: [string()] | undefined,
'INHERIT_VNET_ATTR' :: [string()] | undefined,
'IPAM_MAD' :: ['OPENNEBULA_CONFIGURATION/IPAM_MAD'()] | undefined,
'KEEPALIVE_MAX_CONN' :: [integer()] | undefined,
'KEEPALIVE_TIMEOUT' :: [integer()] | undefined,
'LISTEN_ADDRESS' :: [string()] | undefined,
'LOG' :: ['OPENNEBULA_CONFIGURATION/LOG'()] | undefined,
'LOG_CALL_FORMAT' :: [string()] | undefined,
'MAC_PREFIX' :: [string()] | undefined,
'MANAGER_TIMER' :: [integer()] | undefined,
'MARKET_MAD' :: ['OPENNEBULA_CONFIGURATION/MARKET_MAD'()] | undefined,
'MARKET_MAD_CONF' :: ['OPENNEBULA_CONFIGURATION/MARKET_MAD_CONF'()] | undefined,
'MAX_CONN' :: integer() | undefined,
'MAX_CONN_BACKLOG' :: integer() | undefined,
'MESSAGE_SIZE' :: integer() | undefined,
'MONITORING_INTERVAL_DATASTORE' :: integer() | undefined,
'MONITORING_INTERVAL_DB_UPDATE' :: integer() | undefined,
'MONITORING_INTERVAL_HOST' :: integer() | undefined,
'MONITORING_INTERVAL_MARKET' :: integer() | undefined,
'MONITORING_INTERVAL_VM' :: integer() | undefined,
'NETWORK_SIZE' :: integer() | undefined,
'ONE_KEY' :: [string()] | undefined,
'PCI_PASSTHROUGH_BUS' :: string() | undefined,
'PORT' :: integer() | undefined,
'RAFT' :: 'OPENNEBULA_CONFIGURATION/RAFT'() | undefined,
'RPC_LOG' :: string() | undefined,
'SCRIPTS_REMOTE_DIR' :: string() | undefined,
'SESSION_EXPIRATION_TIME' :: integer() | undefined,
'TIMEOUT' :: integer() | undefined,
'TM_MAD' :: ['OPENNEBULA_CONFIGURATION/TM_MAD'()] | undefined,
'TM_MAD_CONF' :: ['OPENNEBULA_CONFIGURATION/TM_MAD_CONF'()] | undefined,
'USER_RESTRICTED_ATTR' :: [string()] | undefined,
'VLAN_IDS' :: 'OPENNEBULA_CONFIGURATION/VLAN_IDS'() | undefined,
'VM_ADMIN_OPERATIONS' :: string() | undefined,
'VM_ENCRYPTED_ATTR' :: [string()] | undefined,
'VM_MAD' :: ['OPENNEBULA_CONFIGURATION/VM_MAD'()] | undefined,
'VM_MANAGE_OPERATIONS' :: string() | undefined,
'VM_MONITORING_EXPIRATION_TIME' :: [string()] | undefined,
'VM_RESTRICTED_ATTR' :: [string()] | undefined,
'VM_SUBMIT_ON_HOLD' :: string() | undefined,
'VM_USE_OPERATIONS' :: [string()] | undefined,
'VNC_PORTS' :: 'OPENNEBULA_CONFIGURATION/VNC_PORTS'() | undefined,
'VNET_ENCRYPTED_ATTR' :: [string()] | undefined,
'VNET_RESTRICTED_ATTR' :: [string()] | undefined,
'VN_MAD_CONF' :: ['OPENNEBULA_CONFIGURATION/VN_MAD_CONF'()] | undefined,
'VXLAN_IDS' :: 'OPENNEBULA_CONFIGURATION/VXLAN_IDS'() | undefined}).
-type 'OPENNEBULA_CONFIGURATION'() :: #'OPENNEBULA_CONFIGURATION'{}.
-record('OPENNEBULA_CONFIGURATION/VXLAN_IDS', {anyAttribs :: anyAttribs(),
'START' :: integer()}).
-type 'OPENNEBULA_CONFIGURATION/VXLAN_IDS'() :: #'OPENNEBULA_CONFIGURATION/VXLAN_IDS'{}.
-record('OPENNEBULA_CONFIGURATION/VN_MAD_CONF', {anyAttribs :: anyAttribs(),
'BRIDGE_TYPE' :: string() | undefined,
'NAME' :: string() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/VN_MAD_CONF'() :: #'OPENNEBULA_CONFIGURATION/VN_MAD_CONF'{}.
-record('OPENNEBULA_CONFIGURATION/VNC_PORTS', {anyAttribs :: anyAttribs(),
'RESERVED' :: string(),
'START' :: integer()}).
-type 'OPENNEBULA_CONFIGURATION/VNC_PORTS'() :: #'OPENNEBULA_CONFIGURATION/VNC_PORTS'{}.
-record('OPENNEBULA_CONFIGURATION/VM_MAD', {anyAttribs :: anyAttribs(),
'ARGUMENTS' :: string() | undefined,
'DEFAULT' :: string() | undefined,
'EXECUTABLE' :: string() | undefined,
'IMPORTED_VMS_ACTIONS' :: string() | undefined,
'NAME' :: string() | undefined,
'SUNSTONE_NAME' :: string() | undefined,
'TYPE' :: string() | undefined,
'KEEP_SNAPSHOTS' :: string() | undefined,
'COLD_NIC_ATTACH' :: string() | undefined,
'DS_LIVE_MIGRATION' :: string() | undefined,
'LIVE_RESIZE' :: string() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/VM_MAD'() :: #'OPENNEBULA_CONFIGURATION/VM_MAD'{}.
-record('OPENNEBULA_CONFIGURATION/VLAN_IDS', {anyAttribs :: anyAttribs(),
'RESERVED' :: string(),
'START' :: integer()}).
-type 'OPENNEBULA_CONFIGURATION/VLAN_IDS'() :: #'OPENNEBULA_CONFIGURATION/VLAN_IDS'{}.
-record('OPENNEBULA_CONFIGURATION/TM_MAD_CONF', {anyAttribs :: anyAttribs(),
'ALLOW_ORPHANS' :: string() | undefined,
'CLONE_TARGET' :: string() | undefined,
'CLONE_TARGET_SHARED' :: string() | undefined,
'CLONE_TARGET_SSH' :: string() | undefined,
'DISK_TYPE_SHARED' :: string() | undefined,
'DISK_TYPE_SSH' :: string() | undefined,
'DRIVER' :: string() | undefined,
'DS_MIGRATE' :: string() | undefined,
'LN_TARGET' :: string() | undefined,
'LN_TARGET_SHARED' :: string() | undefined,
'LN_TARGET_SSH' :: string() | undefined,
'NAME' :: string() | undefined,
'SHARED' :: string() | undefined,
'TM_MAD_SYSTEM' :: string() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/TM_MAD_CONF'() :: #'OPENNEBULA_CONFIGURATION/TM_MAD_CONF'{}.
-record('OPENNEBULA_CONFIGURATION/TM_MAD', {anyAttribs :: anyAttribs(),
'ARGUMENTS' :: string(),
'EXECUTABLE' :: string()}).
-type 'OPENNEBULA_CONFIGURATION/TM_MAD'() :: #'OPENNEBULA_CONFIGURATION/TM_MAD'{}.
-record('OPENNEBULA_CONFIGURATION/RAFT', {anyAttribs :: anyAttribs(),
'BROADCAST_TIMEOUT_MS' :: integer(),
'ELECTION_TIMEOUT_MS' :: integer(),
'LIMIT_PURGE' :: integer(),
'LOG_PURGE_TIMEOUT' :: integer(),
'LOG_RETENTION' :: integer(),
'XMLRPC_TIMEOUT_MS' :: integer()}).
-type 'OPENNEBULA_CONFIGURATION/RAFT'() :: #'OPENNEBULA_CONFIGURATION/RAFT'{}.
-record('OPENNEBULA_CONFIGURATION/MARKET_MAD_CONF', {anyAttribs :: anyAttribs(),
'APP_ACTIONS' :: string(),
'NAME' :: string(),
'PUBLIC' :: string() | undefined,
'REQUIRED_ATTRS' :: string() | undefined,
'SUNSTONE_NAME' :: string() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/MARKET_MAD_CONF'() :: #'OPENNEBULA_CONFIGURATION/MARKET_MAD_CONF'{}.
-record('OPENNEBULA_CONFIGURATION/MARKET_MAD', {anyAttribs :: anyAttribs(),
'ARGUMENTS' :: string(),
'EXECUTABLE' :: string()}).
-type 'OPENNEBULA_CONFIGURATION/MARKET_MAD'() :: #'OPENNEBULA_CONFIGURATION/MARKET_MAD'{}.
-record('OPENNEBULA_CONFIGURATION/LOG', {anyAttribs :: anyAttribs(),
'DEBUG_LEVEL' :: integer(),
'SYSTEM' :: string()}).
-type 'OPENNEBULA_CONFIGURATION/LOG'() :: #'OPENNEBULA_CONFIGURATION/LOG'{}.
-record('OPENNEBULA_CONFIGURATION/IPAM_MAD', {anyAttribs :: anyAttribs(),
'ARGUMENTS' :: string(),
'EXECUTABLE' :: string()}).
-type 'OPENNEBULA_CONFIGURATION/IPAM_MAD'() :: #'OPENNEBULA_CONFIGURATION/IPAM_MAD'{}.
-record('OPENNEBULA_CONFIGURATION/IM_MAD', {anyAttribs :: anyAttribs(),
'ARGUMENTS' :: string() | undefined,
'EXECUTABLE' :: string() | undefined,
'NAME' :: string() | undefined,
'THREADS' :: integer() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/IM_MAD'() :: #'OPENNEBULA_CONFIGURATION/IM_MAD'{}.
-record('OPENNEBULA_CONFIGURATION/HOOK_LOG_CONF', {anyAttribs :: anyAttribs(),
'LOG_RETENTION' :: integer() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/HOOK_LOG_CONF'() :: #'OPENNEBULA_CONFIGURATION/HOOK_LOG_CONF'{}.
-record('OPENNEBULA_CONFIGURATION/HM_MAD', {anyAttribs :: anyAttribs(),
'ARGUMENTS' :: string() | undefined,
'EXECUTABLE' :: string() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/HM_MAD'() :: #'OPENNEBULA_CONFIGURATION/HM_MAD'{}.
-record('OPENNEBULA_CONFIGURATION/FEDERATION', {anyAttribs :: anyAttribs(),
'MASTER_ONED' :: string() | undefined,
'MODE' :: string() | undefined,
'SERVER_ID' :: integer() | undefined,
'ZONE_ID' :: integer() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/FEDERATION'() :: #'OPENNEBULA_CONFIGURATION/FEDERATION'{}.
-record('OPENNEBULA_CONFIGURATION/DS_MAD_CONF', {anyAttribs :: anyAttribs(),
'MARKETPLACE_ACTIONS' :: string() | undefined,
'NAME' :: string() | undefined,
'PERSISTENT_ONLY' :: string() | undefined,
'REQUIRED_ATTRS' :: string() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/DS_MAD_CONF'() :: #'OPENNEBULA_CONFIGURATION/DS_MAD_CONF'{}.
-record('OPENNEBULA_CONFIGURATION/DEFAULT_COST', {anyAttribs :: anyAttribs(),
'CPU_COST' :: integer(),
'DISK_COST' :: integer(),
'MEMORY_COST' :: integer()}).
-type 'OPENNEBULA_CONFIGURATION/DEFAULT_COST'() :: #'OPENNEBULA_CONFIGURATION/DEFAULT_COST'{}.
-record('OPENNEBULA_CONFIGURATION/DB', {anyAttribs :: anyAttribs(),
'BACKEND' :: string() | undefined,
'COMPARE_BINARY' :: string() | undefined,
'CONNECTIONS' :: integer() | undefined,
'DB_NAME' :: string() | undefined,
'PASSWD' :: string() | undefined,
'PORT' :: integer() | undefined,
'SERVER' :: string() | undefined,
'USER' :: string() | undefined,
'TIMEOUT' :: integer() | undefined}).
-type 'OPENNEBULA_CONFIGURATION/DB'() :: #'OPENNEBULA_CONFIGURATION/DB'{}.
-record('OPENNEBULA_CONFIGURATION/DATASTORE_MAD', {anyAttribs :: anyAttribs(),
'ARGUMENTS' :: string(),
'EXECUTABLE' :: string()}).
-type 'OPENNEBULA_CONFIGURATION/DATASTORE_MAD'() :: #'OPENNEBULA_CONFIGURATION/DATASTORE_MAD'{}.
-record('OPENNEBULA_CONFIGURATION/AUTH_MAD_CONF', {anyAttribs :: anyAttribs(),
'DRIVER_MANAGED_GROUPS' :: string(),
'DRIVER_MANAGED_GROUP_ADMIN' :: string(),
'MAX_TOKEN_TIME' :: integer(),
'NAME' :: string(),
'PASSWORD_CHANGE' :: string()}).
-type 'OPENNEBULA_CONFIGURATION/AUTH_MAD_CONF'() :: #'OPENNEBULA_CONFIGURATION/AUTH_MAD_CONF'{}.
-record('OPENNEBULA_CONFIGURATION/AUTH_MAD', {anyAttribs :: anyAttribs(),
'AUTHN' :: string(),
'EXECUTABLE' :: string()}).
-type 'OPENNEBULA_CONFIGURATION/AUTH_MAD'() :: #'OPENNEBULA_CONFIGURATION/AUTH_MAD'{}.