diff --git a/rubick/schemas/__init__.py b/rubick/schemas/__init__.py index 98944c9..e69de29 100644 --- a/rubick/schemas/__init__.py +++ b/rubick/schemas/__init__.py @@ -1,15 +0,0 @@ -import rubick.schemas.cinder -import rubick.schemas.glance_api -import rubick.schemas.glance_registry -import rubick.schemas.keystone -import rubick.schemas.neutron_server -import rubick.schemas.neutron_dhcp_agent -import rubick.schemas.neutron_l3_agent -import rubick.schemas.neutron_metadata_agent -import rubick.schemas.neutron_openvswitch_agent -import rubick.schemas.nova -import rubick.schemas.swift_account_server -import rubick.schemas.swift_container_server -import rubick.schemas.swift_object_server -import rubick.schemas.swift_proxy_server -import rubick.schemas.rabbitmq diff --git a/rubick/schemas/cinder/__init__.py b/rubick/schemas/cinder/__init__.py deleted file mode 100644 index 8b8645e..0000000 --- a/rubick/schemas/cinder/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -import rubick.schemas.cinder.v2013_1_3 -import rubick.schemas.cinder.v2013_2 diff --git a/rubick/schemas/cinder/v2013_1_3.py b/rubick/schemas/cinder/v2013_1_3.py deleted file mode 100644 index d839650..0000000 --- a/rubick/schemas/cinder/v2013_1_3.py +++ /dev/null @@ -1,2386 +0,0 @@ -from rubick.schema import ConfigSchemaRegistry - -cinder = ConfigSchemaRegistry.register_schema(project='cinder') - -with cinder.version('2013.1.3', checkpoint=True) as cinder_2013_1_3: - - cinder_2013_1_3.param( - 'fatal_exception_format_errors', - type='boolean', - default='false', - description="make exception message format errors fatal") - - cinder_2013_1_3.param( - 'policy_file', - type='string', - default='policy.json', - description="JSON file representing policy") - - cinder_2013_1_3.param( - 'policy_default_rule', - type='string', - default='default', - description="Rule checked when requested rule is not found") - - cinder_2013_1_3.param( - 'quota_volumes', - type='integer', - default='10', - description="number of volumes allowed per project") - - cinder_2013_1_3.param( - 'quota_snapshots', - type='integer', - default='10', - description="number of volume snapshots allowed per project") - - cinder_2013_1_3.param( - 'quota_gigabytes', - type='integer', - default='1000', - description="number of volume gigabytes") - - cinder_2013_1_3.param( - 'reservation_expire', - type='integer', - default='86400', - description="number of seconds until a reservation expires") - - cinder_2013_1_3.param( - 'until_refresh', - type='integer', - default='0', - description="count of reservations until usage is refreshed") - - cinder_2013_1_3.param( - 'max_age', - type='integer', - default='0', - description="number of seconds between subsequent usage refreshes") - - cinder_2013_1_3.param( - 'quota_driver', - type='string', - default='cinder_2013_1_3.quota.DbQuotaDriver', - description="default driver to use for quota checks") - - cinder_2013_1_3.param( - 'use_default_quota_class', - type='boolean', - default='true', - description="whether to use default quota class for default quota") - - cinder_2013_1_3.param( - 'report_interval', - type='integer', - default='10', - description="seconds between nodes reporting state to datastore") - - cinder_2013_1_3.param( - 'periodic_interval', - type='integer', - default='60', - description="seconds between running periodic tasks") - - cinder_2013_1_3.param( - 'periodic_fuzzy_delay', - type='integer', - default='60', - description="range of seconds to randomly delay when starting the " - "periodic task scheduler to reduce stampeding.") - - cinder_2013_1_3.param( - 'osapi_volume_listen', - type='string', - default='0.0.0.0', - description="IP address for OpenStack Volume API to listen") - - cinder_2013_1_3.param( - 'osapi_volume_listen_port', - type='integer', - default='8776', - description="port for os volume api to listen") - - cinder_2013_1_3.param( - 'sqlite_clean_db', - type='string', - default='clean.sqlite', - description="File name of clean sqlite db") - - cinder_2013_1_3.param( - 'fake_tests', - type='boolean', - default='true', - description="should we use everything for testing") - - cinder_2013_1_3.param( - 'backlog', - type='integer', - default='4096', - description="Number of backlog requests to configure the socket with") - - cinder_2013_1_3.param( - 'tcp_keepidle', - type='integer', - default='600', - description="Sets the value of TCP_KEEPIDLE in seconds for each server " - "socket. Not supported on OS X.") - - cinder_2013_1_3.param( - 'ssl_ca_file', - type='string', - default='', - description="CA certificate file to use to verify connecting clients") - - cinder_2013_1_3.param( - 'ssl_cert_file', - type='string', - default='', - description="Certificate file to use when starting the server securely") - - cinder_2013_1_3.param( - 'ssl_key_file', - type='string', - default='', - description="Private key file to use when starting the server securely") - - cinder_2013_1_3.param( - 'osapi_max_limit', - type='integer', - default='1000', - description="the maximum number of items returned in a single response " - "from a collection resource") - - cinder_2013_1_3.param( - 'osapi_volume_base_URL', - type='string', - default='', - description="Base URL that will be presented to users in links to the " - "OpenStack Volume API") - - cinder_2013_1_3.param( - 'use_forwarded_for', - type='boolean', - default='false', - description="Treat X-Forwarded-For as the canonical remote address. " - "Only enable this if you have a sanitizing proxy.") - - cinder_2013_1_3.param( - 'osapi_max_request_body_size', - type='integer', - default='114688', - description="Max size for body of a request") - - cinder_2013_1_3.param( - 'backup_ceph_conf', - type='string', - default='/etc/ceph/ceph.conf', - description="Ceph config file to use.") - - cinder_2013_1_3.param( - 'backup_ceph_user', - type='string', - default='cinder', - description="the Ceph user to connect with") - - cinder_2013_1_3.param( - 'backup_ceph_chunk_size', - type='integer', - default='134217728', - description="the chunk size in bytes that a backup will be broken into " - "before transfer to backup store") - - cinder_2013_1_3.param( - 'backup_ceph_pool', - type='string', - default='backups', - description="the Ceph pool to backup to") - - cinder_2013_1_3.param( - 'backup_ceph_stripe_unit', - type='integer', - default='0', - description="RBD stripe unit to use when creating a backup image") - - cinder_2013_1_3.param( - 'backup_ceph_stripe_count', - type='integer', - default='0', - description="RBD stripe count to use when creating a backup image") - - cinder_2013_1_3.param( - 'restore_discard_excess_bytes', - type='boolean', - default='true', - description="If True, always discard excess bytes when restoring volumes.") - - cinder_2013_1_3.param( - 'backup_swift_url', - type='string', - default='http://localhost:8080/v1/AUTH_', - description="The URL of the Swift endpoint") - - cinder_2013_1_3.param( - 'backup_swift_auth', - type='string', - default='per_user', - description="Swift authentication mechanism") - - cinder_2013_1_3.param( - 'backup_swift_user', - type='string', - default='', - description="Swift user name") - - cinder_2013_1_3.param( - 'backup_swift_key', - type='string', - default='', - description="Swift key for authentication") - - cinder_2013_1_3.param( - 'backup_swift_container', - type='string', - default='volumebackups', - description="The default Swift container to use") - - cinder_2013_1_3.param( - 'backup_swift_object_size', - type='integer', - default='52428800', - description="The size in bytes of Swift backup objects") - - cinder_2013_1_3.param( - 'backup_swift_retry_attempts', - type='integer', - default='3', - description="The number of retries to make for Swift operations") - - cinder_2013_1_3.param( - 'backup_swift_retry_backoff', - type='integer', - default='2', - description="The backoff time in seconds between Swift retries") - - cinder_2013_1_3.param( - 'backup_compression_algorithm', - type='string', - default='zlib', - description="Compression algorithm") - - cinder_2013_1_3.param( - 'backup_tsm_volume_prefix', - type='string', - default='backup', - description="Volume prefix for the backup id when backing up to TSM") - - cinder_2013_1_3.param( - 'backup_tsm_password', - type='string', - default='password', - description="TSM password for the running username") - - cinder_2013_1_3.param( - 'backup_tsm_compression', - type='boolean', - default='true', - description="Enable or Disable compression for backups") - - cinder_2013_1_3.param( - 'backup_driver', - type='string', - default='cinder_2013_1_3.backup.drivers.swift_proxy_server', - description="Driver to use for backups.") - - cinder_2013_1_3.param( - 'num_volume_device_scan_tries', - type='integer', - default='3', - description="The maximum number of times to rescan targetsto find volume") - - cinder_2013_1_3.param( - 'iscsi_helper', - type='string', - default='tgtadm', - description="iscsi target user-land tool to use") - - cinder_2013_1_3.param( - 'volumes_dir', - type='string', - default='$state_path/volumes', - description="Volume configuration file storage directory") - - cinder_2013_1_3.param( - 'iet_conf', - type='string', - default='/etc/iet/ietd.conf', - description="IET configuration file") - - cinder_2013_1_3.param( - 'lio_initiator_iqns', - type='string', - default='', - description="Comma-separatd list of initiator IQNs allowed to connect to " - "the iSCSI target.") - - cinder_2013_1_3.param( - 'iscsi_iotype', - type='string', - default='fileio', - description="Sets the behavior of the iSCSI target to either perform " - "blockio or fileio optionally, auto can be set and Cinder " - "will autodetect type of backing device") - - cinder_2013_1_3.param( - 'iser_helper', - type='string', - default='tgtadm', - description="iser target user-land tool to use") - - cinder_2013_1_3.param( - 'volumes_dir', - type='string', - default='$state_path/volumes', - description="Volume configuration file storage directory") - - cinder_2013_1_3.param( - 'nfs_mount_point_base', - type='string', - default='$state_path/mnt', - description="Base dir containing mount points for nfs shares") - - cinder_2013_1_3.param( - 'nfs_mount_options', - type='string', - default='', - description="Mount options passed to the nfs client. See section of the " - "nfs man page for details") - - cinder_2013_1_3.param( - 'glusterfs_mount_point_base', - type='string', - default='$state_path/mnt', - description="Base dir containing mount points for gluster shares") - - cinder_2013_1_3.param( - 'connection_type', - type='string', - default='', - description="Virtualization api connection type : libvirt, xenapi, or " - "fake") - - cinder_2013_1_3.param( - 'api_paste_config', - type='string', - default='api-paste.ini', - description="File name for the paste.deploy config for cinder-api") - - cinder_2013_1_3.param( - 'pybasedir', - type='string', - default='/usr/lib/python/site-packages', - description="Directory where the cinder python module is installed") - - cinder_2013_1_3.param( - 'bindir', - type='string', - default='$pybasedir/bin', - description="Directory where cinder binaries are installed") - - cinder_2013_1_3.param( - 'state_path', - type='string', - default='$pybasedir', - description="Top-level directory for maintaining cinder's state") - - cinder_2013_1_3.param( - 'my_ip', - type='string', - default='10.0.0.1', - description="ip address of this host") - - cinder_2013_1_3.param( - 'glance_host', - type='string', - default='$my_ip', - description="default glance hostname or ip") - - cinder_2013_1_3.param( - 'glance_port', - type='integer', - default='9292', - description="default glance port") - - cinder_2013_1_3.param( - 'glance_api_servers', - type='list', - default='$glance_host:$glance_port', - description="A list of the glance api servers available to cinder") - - cinder_2013_1_3.param( - 'glance_api_version', - type='integer', - default='1', - description="Version of the glance api to use") - - cinder_2013_1_3.param( - 'glance_num_retries', - type='integer', - default='0', - description="Number retries when downloading an image from glance") - - cinder_2013_1_3.param( - 'glance_api_insecure', - type='boolean', - default='false', - description="Allow to perform insecure SSL") - - cinder_2013_1_3.param( - 'glance_api_ssl_compression', - type='boolean', - default='false', - description="Whether to attempt to negotiate SSL layer compression when " - "using SSL") - - cinder_2013_1_3.param( - 'glance_request_timeout', - type='integer', - default='', - description="http/https timeout value for glance operations. If no value") - - cinder_2013_1_3.param( - 'scheduler_topic', - type='string', - default='cinder-scheduler', - description="the topic scheduler nodes listen on") - - cinder_2013_1_3.param( - 'volume_topic', - type='string', - default='cinder-volume', - description="the topic volume nodes listen on") - - cinder_2013_1_3.param( - 'backup_topic', - type='string', - default='cinder-backup', - description="the topic volume backup nodes listen on") - - cinder_2013_1_3.param( - 'enable_v1_api', - type='boolean', - default='true', - description="Deploy v1 of the Cinder API. ") - - cinder_2013_1_3.param( - 'enable_v2_api', - type='boolean', - default='true', - description="Deploy v2 of the Cinder API. ") - - cinder_2013_1_3.param( - 'api_rate_limit', - type='boolean', - default='true', - description="whether to rate limit the api") - - cinder_2013_1_3.param( - 'osapi_volume_ext_list', - type='list', - default='', - description="Specify list of extensions to load when using osapi_volume_" - "extension option with cinder_2013_1_3.api.contrib.select_extensions") - - cinder_2013_1_3.param( - 'osapi_volume_extension', - type='multi', - default='cinder_2013_1_3.api.contrib.standard_extensions', - description="osapi volume extension to load") - - cinder_2013_1_3.param( - 'volume_manager', - type='string', - default='cinder_2013_1_3.volume.manager.VolumeManager', - description="full class name for the Manager for volume") - - cinder_2013_1_3.param( - 'backup_manager', - type='string', - default='cinder_2013_1_3.backup.manager.BackupManager', - description="full class name for the Manager for volume backup") - - cinder_2013_1_3.param( - 'scheduler_manager', - type='string', - default='cinder_2013_1_3.scheduler.manager.SchedulerManager', - description="full class name for the Manager for scheduler") - - cinder_2013_1_3.param( - 'host', - type='string', - default='cinder', - description="Name of this node. This can be an opaque identifier. " - "It is not necessarily a hostname, FQDN, or IP address.") - - cinder_2013_1_3.param( - 'storage_availability_zone', - type='string', - default='nova', - description="availability zone of this node") - - cinder_2013_1_3.param( - 'default_availability_zone', - type='string', - default='', - description="default availability zone to use when creating a new volume. " - "If this is not set then we use the value from the " - "storage_availability_zone option as the " - "default availability_zone for new volumes.") - - cinder_2013_1_3.param( - 'memcached_servers', - type='list', - default='', - description="Memcached servers or None for in process cache.") - - cinder_2013_1_3.param( - 'default_volume_type', - type='string', - default='', - description="default volume type to use") - - cinder_2013_1_3.param( - 'volume_usage_audit_period', - type='string', - default='month', - description="time period to generate volume usages for. Time period " - "must be hour, day, month or year") - - cinder_2013_1_3.param( - 'root_helper', - type='string', - default='sudo', - description="Deprecated: command to use for running commands as root") - - cinder_2013_1_3.param( - 'rootwrap_config', - type='string', - default='/etc/cinder/rootwrap.conf', - description="Path to the rootwrap configuration file to use for " - "running commands as root") - - cinder_2013_1_3.param( - 'monkey_patch', - type='boolean', - default='false', - description="Enable monkey patching") - - cinder_2013_1_3.param( - 'monkey_patch_modules', - type='list', - default='', - description="List of modules/decorators to monkey patch") - - cinder_2013_1_3.param( - 'service_down_time', - type='integer', - default='60', - description="maximum time since last check-in for up service") - - cinder_2013_1_3.param( - 'volume_api_class', - type='string', - default='cinder_2013_1_3.volume.api.API', - description="The full class name of the volume API class to use") - - cinder_2013_1_3.param( - 'backup_api_class', - type='string', - default='cinder_2013_1_3.backup.api.API', - description="The full class name of the volume backup API class") - - cinder_2013_1_3.param( - 'auth_strategy', - type='string', - default='noauth', - description="The strategy to use for auth. Supports noauth, keystone, " - "and deprecated.") - - cinder_2013_1_3.param( - 'enabled_backends', - type='list', - default='', - description="A list of backend names to use. These backend names " - "should be backed by a unique [CONFIG] group with its options") - - cinder_2013_1_3.param( - 'no_snapshot_gb_quota', - type='boolean', - default='false', - description="Whether snapshots count against GigaByte quota") - - cinder_2013_1_3.param( - 'transfer_api_class', - type='string', - default='cinder_2013_1_3.transfer.api.API', - description="The full class name of the volume transfer API class") - - cinder_2013_1_3.param( - 'compute_api_class', - type='string', - default='cinder_2013_1_3.compute.nova.API', - description="The full class name of the compute API class to use") - - cinder_2013_1_3.param( - 'nova_catalog_info', - type='string', - default='compute:nova:publicURL', - description="Info to match when looking for nova in the service catalog. " - "Format is : separated values of the form: " - "::") - - cinder_2013_1_3.param( - 'nova_catalog_admin_info', - type='string', - default='compute:nova:adminURL', - description="Same as nova_catalog_info, but for admin endpoint.") - - cinder_2013_1_3.param( - 'nova_endpoint_template', - type='string', - default='', - description="Override service catalog lookup with template for nova " - "endpoint e.g. http://localhost:8774/v2/%(tenant_id)s") - - cinder_2013_1_3.param( - 'nova_endpoint_admin_template', - type='string', - default='', - description="Same as nova_endpoint_template, but for admin endpoint.") - - cinder_2013_1_3.param( - 'os_region_name', - type='string', - default='', - description="region name of this node") - - cinder_2013_1_3.param( - 'nova_ca_certificates_file', - type='string', - default='', - description="Location of ca certicates file to use for nova client " - "requests.") - - cinder_2013_1_3.param( - 'nova_api_insecure', - type='boolean', - default='false', - description="Allow to perform insecure SSL requests to nova") - - cinder_2013_1_3.param( - 'db_backend', - type='string', - default='sqlalchemy', - description="The backend to use for db") - - cinder_2013_1_3.param( - 'enable_new_services', - type='boolean', - default='true', - description="Services to be added to the available pool on create") - - cinder_2013_1_3.param( - 'volume_name_template', - type='string', - default='volume-%s', - description="Template string to be used to generate volume names") - - cinder_2013_1_3.param( - 'snapshot_name_template', - type='string', - default='snapshot-%s', - description="Template string to be used to generate snapshot names") - - cinder_2013_1_3.param( - 'backup_name_template', - type='string', - default='backup-%s', - description="Template string to be used to generate backup names") - - cinder_2013_1_3.param( - 'db_driver', - type='string', - default='cinder_2013_1_3.db', - description="driver to use for database access") - - cinder_2013_1_3.param( - 'allowed_direct_url_schemes', - type='list', - default='', - description="A list of url schemes that can be downloaded directly " - "via the direct_url. Currently supported schemes: [file].") - - cinder_2013_1_3.param( - 'image_conversion_dir', - type='string', - default='$state_path/conversion', - description="Directory used for temporary storage during image conversion") - - cinder_2013_1_3.param( - 'keymgr_api_class', - type='string', - default='cinder_2013_1_3.keymgr.not_implemented_key_mgr.NotImplementedKeyManager', - description="The full class name of the key manager API class") - - cinder_2013_1_3.param( - 'backend', - type='string', - default='sqlalchemy', - description="The backend to use for db") - - cinder_2013_1_3.param( - 'use_tpool', - type='boolean', - default='false', - description="Enable the experimental use of thread pooling for all " - "DB API calls") - - cinder_2013_1_3.param( - 'connection', - type='string', - default='sqlite:////cinder/openstack/common/db/$sqlite_db', - description="The SQLAlchemy connection string used to connect to " - "the database") - - cinder_2013_1_3.param( - 'sql_connection', - type='string', - default='sqlite:////nova/openstack/common/db/$sqlite_db', - description="The SQLAlchemy connection string used to connect to " - "the database", - deprecation_message='Deprecated in favor of "[DEFAULT]connection" ' - 'parameter') - - cinder_2013_1_3.param( - 'idle_timeout', - type='integer', - default='3600', - description="timeout before idle sql connections are reaped") - - cinder_2013_1_3.param( - 'min_pool_size', - type='integer', - default='1', - description="Minimum number of SQL connections to keep open in a pool") - - cinder_2013_1_3.param( - 'max_pool_size', - type='integer', - default='5', - description="Maximum number of SQL connections to keep open in a pool") - - cinder_2013_1_3.param( - 'max_retries', - type='integer', - default='10', - description="maximum db connection retries during startup.") - - cinder_2013_1_3.param( - 'retry_interval', - type='integer', - default='10', - description="interval between retries of opening a sql connection") - - cinder_2013_1_3.param( - 'max_overflow', - type='integer', - default='', - description="If set, use this value for max_overflow with sqlalchemy") - - cinder_2013_1_3.param( - 'connection_debug', - type='integer', - default='0', - description="Verbosity of SQL debugging information. 0=None, " - "100=Everything") - - cinder_2013_1_3.param( - 'connection_trace', - type='boolean', - default='false', - description="Add python stack traces to SQL as comment strings") - - cinder_2013_1_3.param( - 'sqlite_db', - type='string', - default='cinder_2013_1_3.sqlite', - description="the filename to use with sqlite") - - cinder_2013_1_3.param( - 'sqlite_synchronous', - type='boolean', - default='true', - description="If true, use synchronous mode for sqlite") - - cinder_2013_1_3.param( - 'backdoor_port', - type='integer', - default='', - description="port for eventlet backdoor to listen") - - cinder_2013_1_3.param( - 'disable_process_locking', - type='boolean', - default='false', - description="Whether to disable inter-process locks") - - cinder_2013_1_3.param( - 'lock_path', - type='string', - default='', - description="Directory to use for lock files. Default to a temp directory") - - cinder_2013_1_3.param( - 'debug', - type='boolean', - default='false', - description="Print debugging output") - - cinder_2013_1_3.param( - 'verbose', - type='boolean', - default='false', - description="Print more verbose output") - - cinder_2013_1_3.param( - 'use_stderr', - type='boolean', - default='true', - description="Log output to standard error") - - cinder_2013_1_3.param( - 'logging_context_format_string', - type='string', - default='%(asctime)s.%(msecs)03d %(process)d %(levelname)s ' - '%(name)s [%(request_id)s %(user)s %(tenant)s] ' - '%(instance)s%(message)s', - description="format string to use for log messages with context") - - cinder_2013_1_3.param( - 'logging_default_format_string', - type='string', - default='%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s ' - '[-] %(instance)s%(message)s', - description="format string to use for log messages without context") - - cinder_2013_1_3.param( - 'logging_debug_format_suffix', - type='string', - default='%(funcName)s %(pathname)s:%(lineno)d', - description="data to append to log format when level is DEBUG") - - cinder_2013_1_3.param( - 'logging_exception_prefix', - type='string', - default='%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s', - description="prefix each line of exception output with this format") - - cinder_2013_1_3.param( - 'default_log_levels', - type='list', - default='amqplibWARN,sqlalchemyWARN,botoWARN,sudsINFO,keystoneINFO,' - 'eventlet.wsgi.serverWARN', - description="list of logger=LEVEL pairs") - - cinder_2013_1_3.param( - 'publish_errors', - type='boolean', - default='false', - description="publish error events") - - cinder_2013_1_3.param( - 'fatal_deprecations', - type='boolean', - default='false', - description="make deprecations fatal") - - cinder_2013_1_3.param( - 'instance_format', - type='string', - default='"[instance: %(uuid)s] "', - description="If an instance is passed with the log message, " - "format it like this") - - cinder_2013_1_3.param( - 'instance_uuid_format', - type='string', - default='"[instance: %(uuid)s] "', - description="If an instance UUID is passed with the log message, " - "format it like this") - - cinder_2013_1_3.param( - 'log_config', - type='string', - default='', - description="If this option is specified, the logging configuration " - "file specified is used and overrides any other logging " - "options specified. Please see the Python logging module " - "documentation for details on logging configuration files.") - - cinder_2013_1_3.param( - 'log_format', - type='string', - default='', - description="A logging.Formatter log message format string which may use " - "any of the available logging.LogRecord attributes. This " - "option is deprecated. Please use " - "logging_context_format_string and logging_default_" - "format_string instead.") - - cinder_2013_1_3.param( - 'log_date_format', - type='string', - default='%Y-%m-%d %H:%M:%S', - description="Format string for %%(asctime)s in log records. " - "Default: %(default)s") - - cinder_2013_1_3.param( - 'log_file', - type='string', - default='', - description="(Optional) Name of log file to output to. If no default is " - "set, logging will go to stdout.") - - cinder_2013_1_3.param( - 'log_dir', - type='string', - default='', - description="(Optional) The base directory used for relative --log-file " - "paths") - - cinder_2013_1_3.param( - 'use_syslog', - type='boolean', - default='false', - description="Use syslog for logging.") - - cinder_2013_1_3.param( - 'syslog_log_facility', - type='string', - default='LOG_USER', - description="syslog facility to receive log lines") - - cinder_2013_1_3.param( - 'default_notification_level', - type='string', - default='INFO', - description="Default notification level for outgoing notifications") - - cinder_2013_1_3.param( - 'default_publisher_id', - type='string', - default='', - description="Default publisher_id for outgoing notifications") - - cinder_2013_1_3.param( - 'notification_topics', - type='list', - default='notifications', - description="AMQP topic used for OpenStack notifications") - - cinder_2013_1_3.param( - 'topics', - type='list', - default='notifications', - description="AMQP topic(s) used for OpenStack notifications") - - cinder_2013_1_3.param( - 'run_external_periodic_tasks', - type='boolean', - default='true', - description="Some periodic tasks can be run in a separate process. " - "Should we run them here?") - - cinder_2013_1_3.param( - 'rpc_backend', - type='string', - default='cinder_2013_1_3.openstack.common.rpc.impl_kombu', - description="The messaging module to use, defaults to kombu.") - - cinder_2013_1_3.param( - 'rpc_thread_pool_size', - type='integer', - default='64', - description="Size of RPC thread pool") - - cinder_2013_1_3.param( - 'rpc_conn_pool_size', - type='integer', - default='30', - description="Size of RPC connection pool") - - cinder_2013_1_3.param( - 'rpc_response_timeout', - type='integer', - default='60', - description="Seconds to wait for a response from call or multicall") - - cinder_2013_1_3.param( - 'rpc_cast_timeout', - type='integer', - default='30', - description="Seconds to wait before a cast expires") - - cinder_2013_1_3.param( - 'allowed_rpc_exception_modules', - type='list', - default='cinder_2013_1_3.openstack.common.exception,nova.exception,' - 'cinder_2013_1_3.exception,exceptions', - description="Modules of exceptions that are permitted to be recreatedupon " - "receiving exception data from an rpc call.") - - cinder_2013_1_3.param( - 'fake_rabbit', - type='boolean', - default='false', - description="If passed, use a fake RabbitMQ provider") - - cinder_2013_1_3.param( - 'control_exchange', - type='string', - default='openstack', - description="AMQP exchange to connect to if using RabbitMQ or Qpid") - - cinder_2013_1_3.param( - 'amqp_rpc_single_reply_queue', - type='boolean', - default='false', - description="Enable a fast single reply queue if using AMQP based " - "RPC like RabbitMQ or Qpid.") - - cinder_2013_1_3.param( - 'amqp_durable_queues', - type='boolean', - default='false', - description="Use durable queues in amqp.") - - cinder_2013_1_3.param( - 'amqp_auto_delete', - type='boolean', - default='false', - description="Auto-delete queues in amqp.") - - cinder_2013_1_3.param( - 'kombu_ssl_version', - type='string', - default='', - description="SSL version to use") - - cinder_2013_1_3.param( - 'kombu_ssl_keyfile', - type='string', - default='', - description="SSL key file") - - cinder_2013_1_3.param( - 'kombu_ssl_certfile', - type='string', - default='', - description="SSL cert file") - - cinder_2013_1_3.param( - 'kombu_ssl_ca_certs', - type='string', - default='', - description="SSL certification authority file") - - cinder_2013_1_3.param( - 'rabbit_host', - type='string', - default='localhost', - description="The RabbitMQ broker address where a single node is used") - - cinder_2013_1_3.param( - 'rabbit_port', - type='integer', - default='5672', - description="The RabbitMQ broker port where a single node is used") - - cinder_2013_1_3.param( - 'rabbit_hosts', - type='list', - default='$rabbit_host:$rabbit_port', - description="RabbitMQ HA cluster host:port pairs") - - cinder_2013_1_3.param( - 'rabbit_use_ssl', - type='boolean', - default='false', - description="connect over SSL for RabbitMQ") - - cinder_2013_1_3.param( - 'rabbit_userid', - type='string', - default='guest', - description="the RabbitMQ userid") - - cinder_2013_1_3.param( - 'rabbit_password', - type='string', - default='guest', - description="the RabbitMQ password") - - cinder_2013_1_3.param( - 'rabbit_virtual_host', - type='string', - default='/', - description="the RabbitMQ virtual host") - - cinder_2013_1_3.param( - 'rabbit_retry_interval', - type='integer', - default='1', - description="how frequently to retry connecting with RabbitMQ") - - cinder_2013_1_3.param( - 'rabbit_retry_backoff', - type='integer', - default='2', - description="how long to backoff for between retries when connecting " - "to RabbitMQ") - - cinder_2013_1_3.param( - 'rabbit_max_retries', - type='integer', - default='0', - description="maximum retries with trying to connect to RabbitMQ") - - cinder_2013_1_3.param( - 'rabbit_ha_queues', - type='boolean', - default='false', - description="use H/A queues in RabbitMQ") - - cinder_2013_1_3.param( - 'qpid_hostname', - type='string', - default='localhost', - description="Qpid broker hostname") - - cinder_2013_1_3.param( - 'qpid_port', - type='integer', - default='5672', - description="Qpid broker port") - - cinder_2013_1_3.param( - 'qpid_hosts', - type='list', - default='$qpid_hostname:$qpid_port', - description="Qpid HA cluster host:port pairs") - - cinder_2013_1_3.param( - 'qpid_username', - type='string', - default='', - description="Username for qpid connection") - - cinder_2013_1_3.param( - 'qpid_password', - type='string', - default='', - description="Password for qpid connection") - - cinder_2013_1_3.param( - 'qpid_sasl_mechanisms', - type='string', - default='', - description="Space separated list of SASL mechanisms to use for auth") - - cinder_2013_1_3.param( - 'qpid_heartbeat', - type='integer', - default='60', - description="Seconds between connection keepalive heartbeats") - - cinder_2013_1_3.param( - 'qpid_protocol', - type='string', - default='tcp', - description="Transport to use, either 'tcp' or 'ssl'") - - cinder_2013_1_3.param( - 'qpid_tcp_nodelay', - type='boolean', - default='true', - description="Disable Nagle algorithm") - - cinder_2013_1_3.param( - 'qpid_topology_version', - type='integer', - default='1', - description="The qpid topology version to use. Version 1 is what " - "was originally used by impl_qpid. Version 2 includes some " - "backwards-incompatible changes that allow broker federation " - "to work. Users should update to version 2 when they are " - "able to take everything down, as it requires a clean break.") - - cinder_2013_1_3.param( - 'rpc_zmq_bind_address', - type='string', - default='*', - description="ZeroMQ bind address. Should be a wildcard") - - cinder_2013_1_3.param( - 'rpc_zmq_matchmaker', - type='string', - default='cinder_2013_1_3.openstack.common.rpc.matchmaker.MatchMakerLocalhost', - description="MatchMaker driver") - - cinder_2013_1_3.param( - 'rpc_zmq_port', - type='integer', - default='9501', - description="ZeroMQ receiver listening port") - - cinder_2013_1_3.param( - 'rpc_zmq_contexts', - type='integer', - default='1', - description="Number of ZeroMQ contexts, defaults to 1") - - cinder_2013_1_3.param( - 'rpc_zmq_topic_backlog', - type='integer', - default='', - description="Maximum number of ingress messages to locally buffer per " - "topic. Default is unlimited.") - - cinder_2013_1_3.param( - 'rpc_zmq_ipc_dir', - type='string', - default='/var/run/openstack', - description="Directory for holding IPC sockets") - - cinder_2013_1_3.param( - 'rpc_zmq_host', - type='string', - default='cinder', - description="Name of this node. Must be a valid hostname, FQDN, or IP" - " address. Must match 'host' option, if running Nova.") - - cinder_2013_1_3.param( - 'matchmaker_ringfile', - type='string', - default='/etc/nova/matchmaker_ring.json', - description="Matchmaker ring file") - - cinder_2013_1_3.param( - 'matchmaker_heartbeat_freq', - type='integer', - default='300', - description="Heartbeat frequency") - - cinder_2013_1_3.param( - 'matchmaker_heartbeat_ttl', - type='integer', - default='600', - description="Heartbeat time-to-live.") - - cinder_2013_1_3.param( - 'host', - type='string', - default='127.0.0.1', - description="Host to locate redis") - - cinder_2013_1_3.param( - 'port', - type='integer', - default='6379', - description="Use this port to connect to redis host.") - - cinder_2013_1_3.param( - 'password', - type='string', - default='', - description="Password for Redis server.") - - cinder_2013_1_3.param( - 'scheduler_host_manager', - type='string', - default='cinder_2013_1_3.scheduler.host_manager.HostManager', - description="The scheduler host manager class to use") - - cinder_2013_1_3.param( - 'scheduler_max_attempts', - type='integer', - default='3', - description="Maximum number of attempts to schedule an volume") - - cinder_2013_1_3.param( - 'scheduler_default_filters', - type='list', - default='AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter', - description="Which filter class names to use for filtering hosts when " - "not specified in the request.") - - cinder_2013_1_3.param( - 'scheduler_default_weighers', - type='list', - default='CapacityWeigher', - description="Which weigher class names to use for weighing hosts.") - - cinder_2013_1_3.param( - 'scheduler_driver', - type='string', - default='cinder_2013_1_3.scheduler.filter_scheduler.FilterScheduler', - description="Default scheduler driver to use") - - cinder_2013_1_3.param( - 'scheduler_json_config_location', - type='string', - default='', - description="Absolute path to scheduler configuration JSON file.") - - cinder_2013_1_3.param( - 'max_gigabytes', - type='integer', - default='10000', - description="maximum number of volume gigabytes to allow per host") - - cinder_2013_1_3.param( - 'capacity_weight_multiplier', - type='floating point', - default='1.0', - description="Multiplier used for weighing volume capacity. Negative " - "numbers mean to stack vs spread.") - - cinder_2013_1_3.param( - 'volume_transfer_salt_length', - type='integer', - default='8', - description="The number of characters in the salt.") - - cinder_2013_1_3.param( - 'volume_transfer_key_length', - type='integer', - default='16', - description="The number of characters in the autogenerated auth key.") - - cinder_2013_1_3.param( - 'snapshot_same_host', - type='boolean', - default='true', - description="Create volume from snapshot at the host where snapshot " - "resides") - - cinder_2013_1_3.param( - 'cloned_volume_same_az', - type='boolean', - default='true', - description="Ensure that the new volumes are the same AZ as snapshot " - "or source volume") - - cinder_2013_1_3.param( - 'num_shell_tries', - type='integer', - default='3', - description="number of times to attempt to run flakey shell commands") - - cinder_2013_1_3.param( - 'reserved_percentage', - type='integer', - default='0', - description="The percentage of backend capacity is reserved") - - cinder_2013_1_3.param( - 'iscsi_num_targets', - type='integer', - default='100', - description="The maximum number of iscsi target ids per host") - - cinder_2013_1_3.param( - 'iscsi_target_prefix', - type='string', - default='iqn.2010-10.org.openstack:', - description="prefix for iscsi volumes") - - cinder_2013_1_3.param( - 'iscsi_ip_address', - type='string', - default='$my_ip', - description="The IP address that the iSCSI daemon is listening on") - - cinder_2013_1_3.param( - 'iscsi_port', - type='integer', - default='3260', - description="The port that the iSCSI daemon is listening on") - - cinder_2013_1_3.param( - 'num_iser_scan_tries', - type='integer', - default='3', - description="The maximum number of times to rescan iSER targetto " - "find volume") - - cinder_2013_1_3.param( - 'iser_num_targets', - type='integer', - default='100', - description="The maximum number of iser target ids per host") - - cinder_2013_1_3.param( - 'iser_target_prefix', - type='string', - default='iqn.2010-10.org.iser.openstack:', - description="prefix for iser volumes") - - cinder_2013_1_3.param( - 'iser_ip_address', - type='string', - default='$my_ip', - description="The IP address that the iSER daemon is listening on") - - cinder_2013_1_3.param( - 'iser_port', - type='integer', - default='3260', - description="The port that the iSER daemon is listening on") - - cinder_2013_1_3.param( - 'volume_backend_name', - type='string', - default='', - description="The backend name for a given driver implementation") - - cinder_2013_1_3.param( - 'use_multipath_for_image_xfer', - type='boolean', - default='false', - description="Do we attach/detach volumes in cinder using multipath " - "for volume to image and image to volume transfers?") - - cinder_2013_1_3.param( - 'volume_clear', - type='string', - default='zero', - description="Method used to wipe old voumes") - - cinder_2013_1_3.param( - 'volume_clear_size', - type='integer', - default='0', - description="Size in MiB to wipe at start of old volumes. 0 => all") - - cinder_2013_1_3.param( - 'available_devices', - type='list', - default='', - description="List of all available devices") - - cinder_2013_1_3.param( - 'coraid_esm_address', - type='string', - default='', - description="IP address of Coraid ESM") - - cinder_2013_1_3.param( - 'coraid_user', - type='string', - default='admin', - description="User name to connect to Coraid ESM") - - cinder_2013_1_3.param( - 'coraid_group', - type='string', - default='admin', - description="Name of group on Coraid ESM to which coraid_user belongs") - - cinder_2013_1_3.param( - 'coraid_password', - type='string', - default='password', - description="Password to connect to Coraid ESM") - - cinder_2013_1_3.param( - 'coraid_repository_key', - type='string', - default='coraid_repository', - description="Volume Type key name to store ESM Repository Name") - - cinder_2013_1_3.param( - 'eqlx_group_name', - type='string', - default='group-0', - description="Group name to use for creating volumes") - - cinder_2013_1_3.param( - 'eqlx_cli_timeout', - type='integer', - default='30', - description="Timeout for the Group Manager cli command execution") - - cinder_2013_1_3.param( - 'eqlx_cli_max_retries', - type='integer', - default='5', - description="Maximum retry count for reconnection") - - cinder_2013_1_3.param( - 'eqlx_use_chap', - type='boolean', - default='false', - description="Use CHAP authentificaion for targets?") - - cinder_2013_1_3.param( - 'eqlx_chap_login', - type='string', - default='admin', - description="Existing CHAP account name") - - cinder_2013_1_3.param( - 'eqlx_chap_password', - type='string', - default='password', - description="Password for specified CHAP account name") - - cinder_2013_1_3.param( - 'eqlx_pool', - type='string', - default='default', - description="Pool in which volumes will be created") - - cinder_2013_1_3.param( - 'glusterfs_shares_config', - type='string', - default='/etc/cinder/glusterfs_shares', - description="File with the list of available gluster shares") - - cinder_2013_1_3.param( - 'glusterfs_disk_util', - type='string', - default='df', - description="Use du or df for free space calculation") - - cinder_2013_1_3.param( - 'glusterfs_sparsed_volumes', - type='boolean', - default='true', - description="Create volumes as sparsed files which take no space.If set " - "to False volume is created as regular file.In such case " - "volume creation takes a lot of time.") - - cinder_2013_1_3.param( - 'glusterfs_qcow2_volumes', - type='boolean', - default='false', - description="Create volumes as QCOW2 files rather than raw files.") - - cinder_2013_1_3.param( - 'gpfs_mount_point_base', - type='string', - default='', - description="Path to the directory on GPFS mount point where volumes " - "are stored") - - cinder_2013_1_3.param( - 'gpfs_images_dir', - type='string', - default='', - description="Path to GPFS Glance repository as mounted on Nova nodes") - - cinder_2013_1_3.param( - 'gpfs_images_share_mode', - type='string', - default='', - description="Set this if Glance image repo is on GPFS as well so that " - "the image bits can be transferred efficiently between Glance " - "and cinder_2013_1_3. Valid values are copy or copy_on_write. copy " - "performs a full copy of the image, copy_on_write efficiently " - "shares unmodified blocks of the image.") - - cinder_2013_1_3.param( - 'gpfs_max_clone_depth', - type='integer', - default='0', - description="A lengthy chain of copy-on-write snapshots or clones could " - "have impact on performance. This option limits the number " - "of indirections required to reach a specific block. 0 " - "indicates unlimited.") - - cinder_2013_1_3.param( - 'gpfs_sparse_volumes', - type='boolean', - default='true', - description="Create volumes as sparse files which take no space. If set " - "to False volume is created as regular file. In this case " - "volume creation may take a significantly longer time.") - - cinder_2013_1_3.param( - 'hds_cinder_config_file', - type='string', - default='/opt/hds/hus/cinder_hus_conf.xml', - description="configuration file for HDS cinder plugin for HUS") - - cinder_2013_1_3.param( - 'cinder_huawei_conf_file', - type='string', - default='/etc/cinder/cinder_huawei_conf.xml', - description="config data for cinder huawei plugin") - - cinder_2013_1_3.param( - 'volume_group', - type='string', - default='cinder-volumes', - description="Name for the VG that will contain exported volumes") - - cinder_2013_1_3.param( - 'pool_size', - type='string', - default='', - description="Size of thin provisioning pool") - - cinder_2013_1_3.param( - 'lvm_mirrors', - type='integer', - default='0', - description="If set, create lvms with multiple mirrors. Note that this " - "requires lvm_mirrors + 2 pvs with available space") - - cinder_2013_1_3.param( - 'lvm_type', - type='string', - default='default', - description="Type of LVM volumes to deploy;") - - cinder_2013_1_3.param( - 'netapp_vfiler', - type='string', - default='', - description="Vfiler to use for provisioning") - - cinder_2013_1_3.param( - 'netapp_login', - type='string', - default='', - description="User name for the storage controller") - - cinder_2013_1_3.param( - 'netapp_password', - type='string', - default='', - description="Password for the storage controller") - - cinder_2013_1_3.param( - 'netapp_vserver', - type='string', - default='', - description="Cluster vserver to use for provisioning") - - cinder_2013_1_3.param( - 'netapp_server_hostname', - type='string', - default='', - description="Host name for the storage controller") - - cinder_2013_1_3.param( - 'netapp_server_port', - type='integer', - default='80', - description="Port number for the storage controller") - - cinder_2013_1_3.param( - 'thres_avl_size_perc_start', - type='integer', - default='20', - description="Threshold available percent to start cache cleaning.") - - cinder_2013_1_3.param( - 'thres_avl_size_perc_stop', - type='integer', - default='60', - description="Threshold available percent to stop cache cleaning.") - - cinder_2013_1_3.param( - 'expiry_thres_minutes', - type='integer', - default='720', - description="Threshold minutes after which cache file can be cleaned.") - - cinder_2013_1_3.param( - 'netapp_size_multiplier', - type='floating point', - default='1.2', - description="Volume size multiplier to ensure while creation") - - cinder_2013_1_3.param( - 'netapp_volume_list', - type='string', - default='', - description="Comma separated volumes to be used for provisioning") - - cinder_2013_1_3.param( - 'netapp_storage_family', - type='string', - default='ontap_cluster', - description="Storage family type.") - - cinder_2013_1_3.param( - 'netapp_storage_protocol', - type='string', - default='', - description="Storage protocol type.") - - cinder_2013_1_3.param( - 'netapp_transport_type', - type='string', - default='http', - description="Transport type protocol") - - cinder_2013_1_3.param( - 'nexenta_host', - type='string', - default='', - description="IP address of Nexenta SA") - - cinder_2013_1_3.param( - 'nexenta_rest_port', - type='integer', - default='2000', - description="HTTP port to connect to Nexenta REST API server") - - cinder_2013_1_3.param( - 'nexenta_rest_protocol', - type='string', - default='auto', - description="Use http or https for REST connection") - - cinder_2013_1_3.param( - 'nexenta_user', - type='string', - default='admin', - description="User name to connect to Nexenta SA") - - cinder_2013_1_3.param( - 'nexenta_password', - type='string', - default='nexenta', - description="Password to connect to Nexenta SA") - - cinder_2013_1_3.param( - 'nexenta_iscsi_target_portal_port', - type='integer', - default='3260', - description="Nexenta target portal port") - - cinder_2013_1_3.param( - 'nexenta_volume', - type='string', - default='cinder', - description="pool on SA that will hold all volumes") - - cinder_2013_1_3.param( - 'nexenta_target_prefix', - type='string', - default='iqn.1986-03.com.sun:02:cinder-', - description="IQN prefix for iSCSI targets") - - cinder_2013_1_3.param( - 'nexenta_target_group_prefix', - type='string', - default='cinder/', - description="prefix for iSCSI target groups on SA") - - cinder_2013_1_3.param( - 'nexenta_shares_config', - type='string', - default='/etc/cinder/nfs_shares', - description="File with the list of available nfs shares") - - cinder_2013_1_3.param( - 'nexenta_mount_point_base', - type='string', - default='$state_path/mnt', - description="Base dir containing mount points for nfs shares") - - cinder_2013_1_3.param( - 'nexenta_sparsed_volumes', - type='boolean', - default='true', - description="Create volumes as sparsed files which take no space.If set " - "to False volume is created as regular file.In such case " - "volume creation takes a lot of time.") - - cinder_2013_1_3.param( - 'nexenta_volume_compression', - type='string', - default='on', - description="Default compression value for new ZFS folders.") - - cinder_2013_1_3.param( - 'nexenta_mount_options', - type='string', - default='', - description="Mount options passed to the nfs client. See section of " - "the nfs man page for details") - - cinder_2013_1_3.param( - 'nexenta_used_ratio', - type='floating point', - default='0.95', - description="Percent of ACTUAL usage of the underlying volume before " - "no new volumes can be allocated to the volume destination.") - - cinder_2013_1_3.param( - 'nexenta_oversub_ratio', - type='floating point', - default='1.0', - description="This will compare the allocated to available space on the " - "volume destination. If the ratio exceeds this number, the " - "destination will no longer be valid.") - - cinder_2013_1_3.param( - 'nexenta_blocksize', - type='string', - default='', - description="block size for volumes") - - cinder_2013_1_3.param( - 'nexenta_sparse', - type='boolean', - default='false', - description="flag to create sparse volumes") - - cinder_2013_1_3.param( - 'nfs_shares_config', - type='string', - default='/etc/cinder/nfs_shares', - description="File with the list of available nfs shares") - - cinder_2013_1_3.param( - 'nfs_sparsed_volumes', - type='boolean', - default='true', - description="Create volumes as sparsed files which take no space.If set " - "to False volume is created as regular file.In such case " - "volume creation takes a lot of time.") - - cinder_2013_1_3.param( - 'nfs_used_ratio', - type='floating point', - default='0.95', - description="Percent of ACTUAL usage of the underlying volume before no " - "new volumes can be allocated to the volume destination.") - - cinder_2013_1_3.param( - 'nfs_oversub_ratio', - type='floating point', - default='1.0', - description="This will compare the allocated to available space on the " - "volume destination. If the ratio exceeds this number, the " - "destination will no longer be valid.") - - cinder_2013_1_3.param( - 'rbd_pool', - type='string', - default='rbd', - description="the RADOS pool in which rbd volumes are stored") - - cinder_2013_1_3.param( - 'rbd_user', - type='string', - default='', - description="the RADOS client name for accessing rbd volumes - only set " - "when using cephx authentication") - - cinder_2013_1_3.param( - 'rbd_ceph_conf', - type='string', - default='', - description="path to the ceph configuration file to use") - - cinder_2013_1_3.param( - 'rbd_flatten_volume_from_snapshot', - type='boolean', - default='false', - description="flatten volumes created from snapshots to remove dependency") - - cinder_2013_1_3.param( - 'rbd_secret_uuid', - type='string', - default='', - description="the libvirt uuid of the secret for the rbd_uservolumes") - - cinder_2013_1_3.param( - 'volume_tmp_dir', - type='string', - default='', - description="where to store temporary image files if the volume driver " - "does not write them directly to the volume") - - cinder_2013_1_3.param( - 'rbd_max_clone_depth', - type='integer', - default='5', - description="maximum number of nested clones that can be taken of a " - "volume before enforcing a flatten prior to next clone. A " - "value of zero disables cloning") - - cinder_2013_1_3.param( - 'hp3par_api_url', - type='string', - default='', - description="3PAR WSAPI Server Url like https://<3par ip>:8080/api/v1") - - cinder_2013_1_3.param( - 'hp3par_username', - type='string', - default='', - description="3PAR Super user username") - - cinder_2013_1_3.param( - 'hp3par_password', - type='string', - default='', - description="3PAR Super user password") - - cinder_2013_1_3.param( - 'hp3par_domain', - type='string', - default='', - description="This option is DEPRECATED and no longer used. The 3par " - "domain name to use.") - - cinder_2013_1_3.param( - 'hp3par_cpg', - type='string', - default='OpenStack', - description="The CPG to use for volume creation") - - cinder_2013_1_3.param( - 'hp3par_cpg_snap', - type='string', - default='', - description="The CPG to use for Snapshots for volumes. If empty " - "hp3par_cpg will be used") - - cinder_2013_1_3.param( - 'hp3par_snapshot_retention', - type='string', - default='', - description="The time in hours to retain a snapshot. You can't delete " - "it before this expires.") - - cinder_2013_1_3.param( - 'hp3par_snapshot_expiration', - type='string', - default='', - description="The time in hours when a snapshot expires and is deleted." - " This must be larger than expiration") - - cinder_2013_1_3.param( - 'hp3par_debug', - type='boolean', - default='false', - description="Enable HTTP debugging to 3PAR") - - cinder_2013_1_3.param( - 'hp3par_iscsi_ips', - type='list', - default='', - description="List of target iSCSI addresses to use.") - - cinder_2013_1_3.param( - 'san_thin_provision', - type='boolean', - default='true', - description="Use thin provisioning for SAN volumes?") - - cinder_2013_1_3.param( - 'san_ip', - type='string', - default='', - description="IP address of SAN controller") - - cinder_2013_1_3.param( - 'san_login', - type='string', - default='admin', - description="Username for SAN controller") - - cinder_2013_1_3.param( - 'san_password', - type='string', - default='', - description="Password for SAN controller") - - cinder_2013_1_3.param( - 'san_private_key', - type='string', - default='', - description="Filename of private key to use for SSH authentication") - - cinder_2013_1_3.param( - 'san_clustername', - type='string', - default='', - description="Cluster name to use for creating volumes") - - cinder_2013_1_3.param( - 'san_ssh_port', - type='integer', - default='22', - description="SSH port to use with SAN") - - cinder_2013_1_3.param( - 'san_is_local', - type='boolean', - default='false', - description="Execute commands locally instead of over SSH; use if " - "the volume service is running on the SAN device") - - cinder_2013_1_3.param( - 'ssh_conn_timeout', - type='integer', - default='30', - description="SSH connection timeout in seconds") - - cinder_2013_1_3.param( - 'ssh_min_pool_conn', - type='integer', - default='1', - description="Minimum ssh connections in the pool") - - cinder_2013_1_3.param( - 'ssh_max_pool_conn', - type='integer', - default='5', - description="Maximum ssh connections in the pool") - - cinder_2013_1_3.param( - 'san_zfs_volume_base', - type='string', - default='rpool/', - description="The ZFS path under which to create zvols for volumes.") - - cinder_2013_1_3.param( - 'scality_sofs_config', - type='string', - default='', - description="Path or URL to Scality SOFS configuration file") - - cinder_2013_1_3.param( - 'scality_sofs_mount_point', - type='string', - default='$state_path/scality', - description="Base dir where Scality SOFS shall be mounted") - - cinder_2013_1_3.param( - 'scality_sofs_volume_dir', - type='string', - default='cinder/volumes', - description="Path from Scality SOFS root to volume dir") - - cinder_2013_1_3.param( - 'sf_emulate_512', - type='boolean', - default='true', - description="Set 512 byte emulation on volume creation; ") - - cinder_2013_1_3.param( - 'sf_allow_tenant_qos', - type='boolean', - default='false', - description="Allow tenants to specify QOS on create") - - cinder_2013_1_3.param( - 'sf_account_prefix', - type='string', - default='cinder', - description="Create SolidFire accounts with this prefix") - - cinder_2013_1_3.param( - 'sf_api_port', - type='integer', - default='443', - description="SolidFire API port. Useful if the device api is behind a " - "proxy on a different port.") - - cinder_2013_1_3.param( - 'storwize_svc_volpool_name', - type='string', - default='volpool', - description="Storage system storage pool for volumes") - - cinder_2013_1_3.param( - 'storwize_svc_vol_rsize', - type='integer', - default='2', - description="Storage system space-efficiency parameter for volumes") - - cinder_2013_1_3.param( - 'storwize_svc_vol_warning', - type='integer', - default='0', - description="Storage system threshold for volume capacity warnings") - - cinder_2013_1_3.param( - 'storwize_svc_vol_autoexpand', - type='boolean', - default='true', - description="Storage system autoexpand parameter for volumes") - - cinder_2013_1_3.param( - 'storwize_svc_vol_grainsize', - type='integer', - default='256', - description="Storage system grain size parameter for volumes") - - cinder_2013_1_3.param( - 'storwize_svc_vol_compression', - type='boolean', - default='false', - description="Storage system compression option for volumes") - - cinder_2013_1_3.param( - 'storwize_svc_vol_easytier', - type='boolean', - default='true', - description="Enable Easy Tier for volumes") - - cinder_2013_1_3.param( - 'storwize_svc_vol_iogrp', - type='integer', - default='0', - description="The I/O group in which to allocate volumes") - - cinder_2013_1_3.param( - 'storwize_svc_flashcopy_timeout', - type='integer', - default='120', - description="Maximum number of seconds to wait for FlashCopy to be" - " prepared. Maximum value is 600 seconds") - - cinder_2013_1_3.param( - 'storwize_svc_connection_protocol', - type='string', - default='iSCSI', - description="Connection protocol") - - cinder_2013_1_3.param( - 'storwize_svc_multipath_enabled', - type='boolean', - default='false', - description="Connect with multipath") - - cinder_2013_1_3.param( - 'storwize_svc_multihostmap_enabled', - type='boolean', - default='true', - description="Allows vdisk to multi host mapping") - - cinder_2013_1_3.param( - 'vmware_host_ip', - type='string', - default='', - description="IP address for connecting to VMware ESX/VC server.") - - cinder_2013_1_3.param( - 'vmware_host_username', - type='string', - default='', - description="Username for authenticating with VMware ESX/VC server.") - - cinder_2013_1_3.param( - 'vmware_host_password', - type='string', - default='', - description="Password for authenticating with VMware ESX/VC server.") - - cinder_2013_1_3.param( - 'vmware_wsdl_location', - type='string', - default='', - description="Optional VIM service WSDL Location e.g " - "http:///vimService.wsdl. Optional over-ride to " - "default location for bug work-arounds.") - - cinder_2013_1_3.param( - 'vmware_api_retry_count', - type='integer', - default='10', - description="Number of times VMware ESX/VC server API must be retried " - "upon connection related issues.") - - cinder_2013_1_3.param( - 'vmware_task_poll_interval', - type='integer', - default='5', - description="The interval used for polling remote tasks invoked on " - "VMware ESX/VC server.") - - cinder_2013_1_3.param( - 'vmware_volume_folder', - type='string', - default='cinder-volumes', - description="Name for the folder in the VC datacenter that will contain " - "cinder volumes.") - - cinder_2013_1_3.param( - 'vmware_image_transfer_timeout_secs', - type='integer', - default='7200', - description="Timeout in seconds for VMDK volume transfer between Cinder " - "and Glance.") - - cinder_2013_1_3.param( - 'windows_iscsi_lun_path', - type='string', - default='C:\iSCSIVirtualDisks', - description="Path to store VHD backed volumes") - - cinder_2013_1_3.param( - 'xenapi_nfs_server', - type='string', - default='', - description="NFS server to be used by XenAPINFSDriver") - - cinder_2013_1_3.param( - 'xenapi_nfs_serverpath', - type='string', - default='', - description="Path of exported NFS, used by XenAPINFSDriver") - - cinder_2013_1_3.param( - 'xenapi_connection_url', - type='string', - default='', - description="URL for XenAPI connection") - - cinder_2013_1_3.param( - 'xenapi_connection_username', - type='string', - default='root', - description="Username for XenAPI connection") - - cinder_2013_1_3.param( - 'xenapi_connection_password', - type='string', - default='', - description="Password for XenAPI connection") - - cinder_2013_1_3.param( - 'xenapi_sr_base_path', - type='string', - default='/var/run/sr-mount', - description="Base path to the storage repository") - - cinder_2013_1_3.param( - 'xiv_ds8k_proxy', - type='string', - default='xiv_ds8k_openstack.nova_proxy.XIVDS8KNovaProxy', - description="Proxy driver that connects to the IBM Storage Array") - - cinder_2013_1_3.param( - 'xiv_ds8k_connection_type', - type='string', - default='iscsi', - description="Connection type to the IBM Storage Array") - - cinder_2013_1_3.param( - 'zadara_vpsa_ip', - type='string', - default='', - description="Management IP of Zadara VPSA") - - cinder_2013_1_3.param( - 'zadara_vpsa_port', - type='string', - default='', - description="Zadara VPSA port number") - - cinder_2013_1_3.param( - 'zadara_vpsa_use_ssl', - type='boolean', - default='false', - description="Use SSL connection") - - cinder_2013_1_3.param( - 'zadara_user', - type='string', - default='', - description="User name for the VPSA") - - cinder_2013_1_3.param( - 'zadara_password', - type='string', - default='', - description="Password for the VPSA") - - cinder_2013_1_3.param( - 'zadara_vpsa_poolname', - type='string', - default='', - description="Name of VPSA storage pool for volumes") - - cinder_2013_1_3.param( - 'zadara_vol_thin', - type='boolean', - default='true', - description="Default thin provisioning policy for volumes") - - cinder_2013_1_3.param( - 'zadara_vol_encrypt', - type='boolean', - default='false', - description="Default encryption policy for volumes") - - cinder_2013_1_3.param( - 'zadara_default_striping_mode', - type='string', - default='simple', - description="Default striping mode for volumes") - - cinder_2013_1_3.param( - 'zadara_default_stripesize', - type='string', - default='64', - description="Default stripe size for volumes") - - cinder_2013_1_3.param( - 'zadara_vol_name_template', - type='string', - default='OS_%s', - description="Default template for VPSA volume names") - - cinder_2013_1_3.param( - 'zadara_vpsa_auto_detach_on_delete', - type='boolean', - default='true', - description="Automatically detach from servers on volume delete") - - cinder_2013_1_3.param( - 'zadara_vpsa_allow_nonexistent_delete', - type='boolean', - default='true', - description="Don't halt on deletion of non-existing volumes") - - cinder_2013_1_3.param( - 'volume_driver', - type='string', - default='cinder_2013_1_3.volume.drivers.lvm.LVMISCSIDriver', - description="Driver to use for volume creation") - - cinder_2013_1_3.param( - 'migration_create_volume_timeout_secs', - type='integer', - default='300', - description="Timeout for creating the volume to migrate to when " - "performing volume migration") - - cinder_2013_1_3.param( - 'volume_dd_blocksize', - type='string', - default='1M', - description="The default block size used when copying/clearing volumes") diff --git a/rubick/schemas/collector.py b/rubick/schemas/collector.py old mode 100644 new mode 100755 diff --git a/rubick/schemas/glance_api/__init__.py b/rubick/schemas/glance_api/__init__.py deleted file mode 100644 index 9e960b4..0000000 --- a/rubick/schemas/glance_api/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.glance_api.v2013_2_1 diff --git a/rubick/schemas/glance_registry/__init__.py b/rubick/schemas/glance_registry/__init__.py deleted file mode 100644 index 0c08333..0000000 --- a/rubick/schemas/glance_registry/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.glance_registry.v2013_2_1 diff --git a/rubick/schemas/keystone/__init__.py b/rubick/schemas/keystone/__init__.py deleted file mode 100644 index 9db558f..0000000 --- a/rubick/schemas/keystone/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -import rubick.schemas.keystone.v2013_1_3 -import rubick.schemas.keystone.v2013_1_4 -import rubick.schemas.keystone.v2013_2 diff --git a/rubick/schemas/keystone/v2013_1_3.py b/rubick/schemas/keystone/v2013_1_3.py deleted file mode 100644 index 4f6cddc..0000000 --- a/rubick/schemas/keystone/v2013_1_3.py +++ /dev/null @@ -1,1062 +0,0 @@ -from rubick.schema import ConfigSchemaRegistry - -keystone = ConfigSchemaRegistry.register_schema(project='keystone') - -with keystone.version('2013.1.3', checkpoint=True) as keystone_2013_1_3: - - keystone_2013_1_3.param( - 'admin_token', - type='string', - default='ADMIN', - description="A 'shared secret' between keystone and other openstack " - "services") - - keystone_2013_1_3.param( - 'bind_host', - type='host', - default='0.0.0.0', - description="The IP address of the network interface to listen on") - - keystone_2013_1_3.param( - 'public_port', - type='port', - default=5000, - description="The port number which the public service listens on") - - keystone_2013_1_3.param( - 'admin_port', - type='port', - default=35357, - description="The port number which the public admin listens on") - - keystone_2013_1_3.param( - 'public_endpoint', - type='string', - default='http://localhost:%(public_port)s/', - description="The base endpoint URLs for keystone that are advertised to " - "clients (NOTE: this does NOT affect how keystone listens for " - "connections)") - - keystone_2013_1_3.param( - 'admin_endpoint', - type='string', - default='http://localhost:%(admin_port)s/', - description="") - - keystone_2013_1_3.param( - 'compute_port', - type='port', - default=8774, - description="The port number which the OpenStack Compute service " - "listens on") - - keystone_2013_1_3.param( - 'policy_file', - type='string', - default='policy.json', - description="Path to your policy definition containing identity actions") - - keystone_2013_1_3.param( - 'policy_default_rule', - type='string', - default='admin_required', - description="Rule to check if no matching policy definition is found " - "FIXME(dolph): This should really be defined as [policy] " - "default_rule") - - keystone_2013_1_3.param( - 'member_role_id', - type='string', - default='9fe2ff9ee4384b1894a90878d3e92bab', - description="Role for migrating membership relationships During a SQL " - "upgrade, the following values will be used to create a new " - "role that will replace records in the user_tenant_membership " - "table with explicit role grants. After migration, the " - "member_role_id will be used in the API add_user_to_project, " - "and member_role_name will be ignored.") - - keystone_2013_1_3.param( - 'member_role_name', - type='string', - default='_member_', - description="") - - keystone_2013_1_3.param( - 'max_request_body_size', - type='string', - default='114688', - description="enforced by optional sizelimit middleware " - "(keystone_2013_1_3.middleware:RequestBodySizeLimiter)") - - keystone_2013_1_3.param( - 'max_param_size', - type='integer', - default=64, - description="limit the sizes of user & tenant ID/names") - - keystone_2013_1_3.param( - 'max_token_size', - type='integer', - default=8192, - description="similar to max_param_size, but provides an exception for " - "token values") - - keystone_2013_1_3.param( - 'debug', - type='boolean', - default=False, - description="=== Logging Options === Print debugging output (includes " - "plaintext request logging, potentially including passwords)") - - keystone_2013_1_3.param( - 'verbose', - type='boolean', - default=False, - description="Print more verbose output") - - keystone_2013_1_3.param( - 'log_file', - type='string', - default='keystone_2013_1_3.log', - description="Name of log file to output to. If not set, logging will go " - "to stdout.") - - keystone_2013_1_3.param( - 'log_dir', - type='string', - default='/var/log/keystone', - description="The directory to keep log files in (will be prepended to " - "--logfile)") - - keystone_2013_1_3.param( - 'use_syslog', - type='boolean', - default=False, - description="Use syslog for logging.") - - keystone_2013_1_3.param( - 'syslog_log_facility', - type='string', - default='LOG_USER', - description="syslog facility to receive log lines") - - keystone_2013_1_3.param( - 'log_config', - type='string', - default='logging.conf', - description="If this option is specified, the logging configuration file " - "specified is used and overrides any other logging options " - "specified. Please see the Python logging module documentation" - " for details on logging configuration files.") - - keystone_2013_1_3.param( - 'log_format', - type='string', - default='%(asctime)s %(levelname)8s [%(name)s] %(message)s', - description="A logging.Formatter log message format string which may use " - "any of the available logging.LogRecord attributes.") - - keystone_2013_1_3.param( - 'log_date_format', - type='string', - default='%Y-%m-%d %H:%M:%S', - description="Format string for %(asctime)s in log records.") - - keystone_2013_1_3.param( - 'onready', - type='string', - default='keystone_2013_1_3.common.systemd', - description="onready allows you to send a notification when the process " - "is ready to serve For example, to have it notify using " - "systemd, one could set shell command: onready = " - "systemd-notify --ready or a module with notify() method:") - - keystone_2013_1_3.param( - 'default_notification_level', - type='string', - default='INFO', - description="Default notification level for outgoing notifications") - - keystone_2013_1_3.param( - 'default_publisher_id', - type='string', - default='', - description="Default publisher_id for outgoing notifications; included in " - "the payload.") - - keystone_2013_1_3.param( - 'rpc_backend', - type='string', - default='keystone_2013_1_3.openstack.common.rpc.impl_kombu', - description="The messaging module to use, defaults to kombu.") - - keystone_2013_1_3.param( - 'rpc_thread_pool_size', - type='integer', - default=64, - description="Size of RPC thread pool") - - keystone_2013_1_3.param( - 'rpc_conn_pool_size', - type='integer', - default=30, - description="Size of RPC connection pool") - - keystone_2013_1_3.param( - 'rpc_response_timeout', - type='integer', - default=60, - description="Seconds to wait for a response from call or multicall") - - keystone_2013_1_3.param( - 'rpc_cast_timeout', - type='integer', - default=30, - description="Seconds to wait before a cast expires (TTL). Only supported " - "by impl_zmq.") - - keystone_2013_1_3.param( - 'fake_rabbit', - type='boolean', - default=False, - description="If True, use a fake RabbitMQ provider") - - keystone_2013_1_3.param( - 'control_exchange', - type='string', - default='openstack', - description="AMQP exchange to connect to if using RabbitMQ or Qpid") - - keystone_2013_1_3.section('sql') - - keystone_2013_1_3.param( - 'connection', - type='string', - default='sqlite:///keystone_2013_1_3.db', - description="The SQLAlchemy connection string used to connect to the " - "database") - - keystone_2013_1_3.param( - 'idle_timeout', - type='integer', - default=200, - description="the timeout before idle sql connections are reaped") - - keystone_2013_1_3.section('identity') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.identity.backends.sql.Identity', - description="") - - keystone_2013_1_3.param( - 'default_domain_id', - type='string', - default='default', - description="This references the domain to use for all Identity API v2 " - "requests (which are not aware of domains). A domain with " - "this ID will be created for you by keystone-manage db_sync " - "in migration 008. The domain referenced by this ID cannot " - "be deleted on the v3 API, to prevent accidentally breaking " - "the v2 API. There is nothing special about this domain, " - "other than the fact that it must exist to order to " - "maintain support for your v2 clients.") - - keystone_2013_1_3.param( - 'domain_specific_drivers_enabled', - type='boolean', - default=False, - description="A subset (or all) of domains can have their own identity " - "driver, each with their own partial configuration file in a " - "domain configuration directory. Only") - - keystone_2013_1_3.param( - 'domain_config_dir', - type='string', - default='/etc/keystone/domains', - description="") - - keystone_2013_1_3.param( - 'max_password_length', - type='integer', - default=4096, - description="Maximum supported length for user passwords; decrease to " - "improve performance.") - - keystone_2013_1_3.section('credential') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.credential.backends.sql.Credential', - description="") - - keystone_2013_1_3.section('trust') - - keystone_2013_1_3.param( - 'enabled', - type='boolean', - default=True, - description="delegation and impersonation features can be optionally " - "disabled") - - keystone_2013_1_3.section('os_inherit') - - keystone_2013_1_3.param( - 'enabled', - type='boolean', - default=False, - description="role-assignment inheritance to projects from owning domain " - "can be optionally enabled") - - keystone_2013_1_3.section('catalog') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.catalog.backends.sql.Catalog', - description="dynamic, sql-based backend (supports API/CLI-based " - "management commands)") - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.catalog.backends.templated.TemplatedCatalog', - description="static, file-based backend (does *NOT* support any " - "management commands)") - - keystone_2013_1_3.param( - 'template_file', - type='string', - default='default_catalog.templates', - description="") - - keystone_2013_1_3.section('endpoint_filter') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.contrib.endpoint_filter.backends.sql.EndpointFilter', - description="extension for creating associations between project and " - "endpoints in order to provide a tailored catalog for " - "project-scoped token requests.") - - keystone_2013_1_3.param( - 'return_all_endpoints_if_no_filter', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.section('token') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.token.backends.sql.Token', - description="Provides token persistence.") - - keystone_2013_1_3.param( - 'provider', - type='string', - default='', - description="Controls the token construction, validation, and revocation " - "operations. Core providers are keystone_2013_1_3.token.providers." - "[pki|uuid].Provider") - - keystone_2013_1_3.param( - 'expiration', - type='integer', - default=86400, - description="Amount of time a token should remain valid (in seconds)") - - keystone_2013_1_3.param( - 'bind', - type='string', - default='', - description="External auth mechanisms that should add bind information to " - "token. eg kerberos, x509") - - keystone_2013_1_3.param( - 'enforce_token_bind', - type='string', - default='permissive', - description="Enforcement policy on tokens presented to keystone with bind " - "information. One of disabled, permissive, strict, required " - "or a specifically required bind mode e.g. kerberos or x509 " - "to require binding to that authentication.") - - keystone_2013_1_3.param( - 'caching', - type='boolean', - default=True, - description="Token specific caching toggle. This has no effect unless the " - "global caching option is set to True") - - keystone_2013_1_3.param( - 'cache_time', - type='integer', - default=0, - description="Token specific cache time-to-live (TTL) in seconds.") - - keystone_2013_1_3.param( - 'revocation_cache_time', - type='integer', - default=3600, - description="Revocation-List specific cache time-to-live (TTL) " - "in seconds.") - - keystone_2013_1_3.section('cache') - - keystone_2013_1_3.param( - 'enabled', - type='boolean', - default=False, - description="Global cache functionality toggle.") - - keystone_2013_1_3.param( - 'config_prefix', - type='string', - default='cache.keystone', - description="Prefix for building the configuration dictionary for the " - "cache region. This should not need to be changed unless there" - " is another dogpile.cache region with the same configuration " - "name") - - keystone_2013_1_3.param( - 'backend', - type='string', - default='keystone_2013_1_3.common.cache.noop', - description="Dogpile.cache backend module. It is recommended that " - "Memcache (dogpile.cache.memcache) or Redis " - "(dogpile.cache.redis) be used in production deployments. " - "Small workloads (single process) like devstack can use the " - "dogpile.cache.memory backend.") - - keystone_2013_1_3.param( - 'backend_argument', - type='string', - default='', - description="Arguments supplied to the backend module. Specify this " - "option once per argument to be passed to the " - "dogpile.cache backend. Example format: :") - - keystone_2013_1_3.param( - 'proxies', - type='string', - default='', - description="Proxy Classes to import that will affect the way the " - "dogpile.cache backend functions. See the dogpile.cache " - "documentation on changing-backend-behavior. Comma delimited " - "list e.g. my.dogpile.proxy.Class, my.dogpile.proxyClass2") - - keystone_2013_1_3.param( - 'use_key_mangler', - type='boolean', - default=True, - description="Use a key-mangling function (sha1) to ensure fixed length " - "cache-keys. This is toggle-able for debugging purposes, " - "it is highly recommended to always leave this set to True.") - - keystone_2013_1_3.param( - 'debug_cache_backend', - type='boolean', - default=False, - description="Extra debugging from the cache backend (cache keys, " - "get/set/delete/etc calls) This is only really useful if you " - "need to see the specific cache-backend get/set/delete calls " - "with the keys/values. Typically this should be left set to " - "False.") - - keystone_2013_1_3.section('policy') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.policy.backends.sql.Policy', - description="") - - keystone_2013_1_3.section('ec2') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.contrib.ec2.backends.kvs.Ec2', - description="") - - keystone_2013_1_3.section('assignment') - - keystone_2013_1_3.param('driver', type='string', default='', description="") - - keystone_2013_1_3.param( - 'caching', - type='boolean', - default=True, - description="Assignment specific caching toggle. This has no effect " - "unless the global caching option is set to True") - - keystone_2013_1_3.param( - 'cache_time', - type='integer', - default=0, - description="Assignment specific cache time-to-live (TTL) in seconds.") - - keystone_2013_1_3.section('oauth1') - - keystone_2013_1_3.param( - 'driver', - type='string', - default='keystone_2013_1_3.contrib.oauth1.backends.sql.OAuth1', - description="") - - keystone_2013_1_3.param( - 'request_token_duration', - type='integer', - default=28800, - description="The Identity service may include expire attributes. If no " - "such attribute is included, then the token lasts " - "indefinitely. Specify how quickly the request token will " - "expire (in seconds)") - - keystone_2013_1_3.param( - 'access_token_duration', - type='integer', - default=86400, - description="Specify how quickly the access token will expire " - "(in seconds)") - - keystone_2013_1_3.section('ssl') - - keystone_2013_1_3.param('enable', type='boolean', default=True, description="") - - keystone_2013_1_3.param( - 'certfile', - type='string', - default='/etc/keystone/pki/certs/ssl_cert.pem', - description="") - - keystone_2013_1_3.param( - 'keyfile', - type='string', - default='/etc/keystone/pki/private/ssl_key.pem', - description="") - - keystone_2013_1_3.param( - 'ca_certs', - type='string', - default='/etc/keystone/pki/certs/cacert.pem', - description="") - - keystone_2013_1_3.param( - 'ca_key', - type='string', - default='/etc/keystone/pki/private/cakey.pem', - description="") - - keystone_2013_1_3.param('key_size', type='integer', default=1024, description="") - - keystone_2013_1_3.param('valid_days', type='integer', default=3650, description="") - - keystone_2013_1_3.param('cert_required', type='boolean', default=False, description="") - - keystone_2013_1_3.param( - 'cert_subject', - type='string', - default='/CUS/STUnset/LUnset/OUnset/CNlocalhost', - description="") - - keystone_2013_1_3.section('signing') - - keystone_2013_1_3.param( - 'token_format', - type='string', - default='', - description="Deprecated in favor of provider in the [token] section " - "Allowed values are PKI or UUID") - - keystone_2013_1_3.param( - 'certfile', - type='string', - default='/etc/keystone/pki/certs/signing_cert.pem', - description="") - - keystone_2013_1_3.param( - 'keyfile', - type='string', - default='/etc/keystone/pki/private/signing_key.pem', - description="") - - keystone_2013_1_3.param( - 'ca_certs', - type='string', - default='/etc/keystone/pki/certs/cacert.pem', - description="") - - keystone_2013_1_3.param( - 'ca_key', - type='string', - default='/etc/keystone/pki/private/cakey.pem', - description="") - - keystone_2013_1_3.param('key_size', type='boolean', default=2048, description="") - - keystone_2013_1_3.param('valid_days', type='boolean', default=3650, description="") - - keystone_2013_1_3.param( - 'cert_subject', - type='string', - default='/CUS/STUnset/LUnset/OUnset/CNwww.example.com', - description="") - - keystone_2013_1_3.section('ldap') - - keystone_2013_1_3.param( - 'url', - type='string', - default='ldap://localhost', - description="") - - keystone_2013_1_3.param( - 'user', - type='string', - default='dcManager,dcexample,dccom', - description="") - - keystone_2013_1_3.param('password', type='string', default=None, description="") - - keystone_2013_1_3.param( - 'suffix', - type='string', - default='cnexample,cncom', - description="") - - keystone_2013_1_3.param( - 'use_dumb_member', - type='boolean', - default=False, - description="") - - keystone_2013_1_3.param( - 'allow_subtree_delete', - type='boolean', - default=False, - description="") - - keystone_2013_1_3.param( - 'dumb_member', - type='string', - default='cndumb,dcexample,dccom', - description="") - - keystone_2013_1_3.param( - 'page_size', - type='integer', - default=0, - description="Maximum results per page; a value of zero ('0') disables " - "paging (default)") - - keystone_2013_1_3.param( - 'alias_dereferencing', - type='string', - default='default', - description="The LDAP dereferencing option for queries. This can be " - "either 'never', 'searching', 'always', 'finding' or " - "'default'. The 'default' option falls back to using " - "default dereferencing configured by your ldap.conf.") - - keystone_2013_1_3.param( - 'query_scope', - type='string', - default='one', - description="The LDAP scope for queries, this can be either 'one' " - "(onelevel/singleLevel) or 'sub' (subtree/wholeSubtree)") - - keystone_2013_1_3.param( - 'user_tree_dn', - type='string', - default='ouUsers,dcexample,dccom', - description="") - - keystone_2013_1_3.param('user_filter', type='string', default='', description="") - - keystone_2013_1_3.param( - 'user_objectclass', - type='string', - default='inetOrgPerson', - description="") - - keystone_2013_1_3.param( - 'user_domain_id_attribute', - type='string', - default='businessCategory', - description="") - - keystone_2013_1_3.param( - 'user_id_attribute', - type='string', - default='cn', - description="") - - keystone_2013_1_3.param( - 'user_name_attribute', - type='string', - default='sn', - description="") - - keystone_2013_1_3.param( - 'user_mail_attribute', - type='string', - default='email', - description="") - - keystone_2013_1_3.param( - 'user_pass_attribute', - type='string', - default='userPassword', - description="") - - keystone_2013_1_3.param( - 'user_enabled_attribute', - type='string', - default='enabled', - description="") - - keystone_2013_1_3.param('user_enabled_mask', type='integer', default=0, description="") - - keystone_2013_1_3.param( - 'user_enabled_default', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'user_attribute_ignore', - type='string', - default='tenant_id,tenants', - description="") - - keystone_2013_1_3.param( - 'user_allow_create', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'user_allow_update', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'user_allow_delete', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'user_enabled_emulation', - type='boolean', - default=False, - description="") - - keystone_2013_1_3.param( - 'user_enabled_emulation_dn', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'tenant_tree_dn', - type='string', - default='ouProjects,dcexample,dccom', - description="") - - keystone_2013_1_3.param('tenant_filter', type='string', default='', description="") - - keystone_2013_1_3.param( - 'tenant_objectclass', - type='string', - default='groupOfNames', - description="") - - keystone_2013_1_3.param( - 'tenant_domain_id_attribute', - type='string', - default='businessCategory', - description="") - - keystone_2013_1_3.param( - 'tenant_id_attribute', - type='string', - default='cn', - description="") - - keystone_2013_1_3.param( - 'tenant_member_attribute', - type='string', - default='member', - description="") - - keystone_2013_1_3.param( - 'tenant_name_attribute', - type='string', - default='ou', - description="") - - keystone_2013_1_3.param( - 'tenant_desc_attribute', - type='string', - default='desc', - description="") - - keystone_2013_1_3.param( - 'tenant_enabled_attribute', - type='string', - default='enabled', - description="") - - keystone_2013_1_3.param( - 'tenant_attribute_ignore', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'tenant_allow_create', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'tenant_allow_update', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'tenant_allow_delete', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'tenant_enabled_emulation', - type='boolean', - default=False, - description="") - - keystone_2013_1_3.param( - 'tenant_enabled_emulation_dn', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'role_tree_dn', - type='string', - default='ouRoles,dcexample,dccom', - description="") - - keystone_2013_1_3.param('role_filter', type='string', default='', description="") - - keystone_2013_1_3.param( - 'role_objectclass', - type='string', - default='organizationalRole', - description="") - - keystone_2013_1_3.param( - 'role_id_attribute', - type='string', - default='cn', - description="") - - keystone_2013_1_3.param( - 'role_name_attribute', - type='string', - default='ou', - description="") - - keystone_2013_1_3.param( - 'role_member_attribute', - type='string', - default='roleOccupant', - description="") - - keystone_2013_1_3.param( - 'role_attribute_ignore', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'role_allow_create', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'role_allow_update', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'role_allow_delete', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param('group_tree_dn', type='string', default='', description="") - - keystone_2013_1_3.param('group_filter', type='string', default='', description="") - - keystone_2013_1_3.param( - 'group_objectclass', - type='string', - default='groupOfNames', - description="") - - keystone_2013_1_3.param( - 'group_id_attribute', - type='string', - default='cn', - description="") - - keystone_2013_1_3.param( - 'group_name_attribute', - type='string', - default='ou', - description="") - - keystone_2013_1_3.param( - 'group_member_attribute', - type='string', - default='member', - description="") - - keystone_2013_1_3.param( - 'group_desc_attribute', - type='string', - default='desc', - description="") - - keystone_2013_1_3.param( - 'group_attribute_ignore', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'group_allow_create', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'group_allow_update', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'group_allow_delete', - type='boolean', - default=True, - description="") - - keystone_2013_1_3.param( - 'use_tls', - type='boolean', - default=False, - description="ldap TLS options if both tls_cacertfile and tls_cacertdir " - "are set then tls_cacertfile will be used and tls_cacertdir " - "is ignored valid options for tls_req_cert are demand, never, " - "and allow") - - keystone_2013_1_3.param('tls_cacertfile', type='string', default='', description="") - - keystone_2013_1_3.param('tls_cacertdir', type='string', default='', description="") - - keystone_2013_1_3.param('tls_req_cert', type='string', default='demand', description="") - - keystone_2013_1_3.param( - 'user_additional_attribute_mapping', - type='string', - default='description:name, gecos:name', - description="Additional attribute mappings can be used to map ldap " - "attributes to internal keystone attributes. This allows " - "keystone to fulfill ldap objectclass requirements. An " - "example to map the description and gecos attributes to a " - "user's name would be:") - - keystone_2013_1_3.param( - 'domain_additional_attribute_mapping', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'group_additional_attribute_mapping', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'role_additional_attribute_mapping', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'project_additional_attribute_mapping', - type='string', - default='', - description="") - - keystone_2013_1_3.param( - 'user_additional_attribute_mapping', - type='string', - default='', - description="") - - keystone_2013_1_3.section('auth') - - keystone_2013_1_3.param( - 'methods', - type='string', - default='external,password,token,oauth1', - description="") - - keystone_2013_1_3.param( - 'external', - type='string', - default='keystone_2013_1_3.auth.plugins.external.ExternalDefault', - description="") - - keystone_2013_1_3.param( - 'password', - type='string', - default='keystone_2013_1_3.auth.plugins.password.Password', - description="") - - keystone_2013_1_3.param( - 'token', - type='string', - default='keystone_2013_1_3.auth.plugins.token.Token', - description="") - - keystone_2013_1_3.param( - 'oauth1', - type='string', - default='keystone_2013_1_3.auth.plugins.oauth1.OAuth', - description="") - - keystone_2013_1_3.section('paste_deploy') - - keystone_2013_1_3.param( - 'config_file', - type='string', - default='keystone-paste.ini', - description="Name of the paste configuration file that defines the " - "available pipelines") diff --git a/rubick/schemas/keystone/v2013_1_4.py b/rubick/schemas/keystone/v2013_1_4.py deleted file mode 100644 index cb9f645..0000000 --- a/rubick/schemas/keystone/v2013_1_4.py +++ /dev/null @@ -1,87 +0,0 @@ -from rubick.schema import ConfigSchemaRegistry - -keystone = ConfigSchemaRegistry.register_schema(project='keystone') - -with keystone.version('2013.1.4') as keystone_2013_1_4: - - keystone_2013_1_4.section('ssl') - - keystone_2013_1_4.param('enable', type='boolean', default=True) - - keystone_2013_1_4.param('certfile', type='string', - default='/etc/keystone/pki/certs/ssl_cert.pem') - - keystone_2013_1_4.param('keyfile', type='string', - default='/etc/keystone/pki/private/ssl_key.pem') - - keystone_2013_1_4.param('ca_certs', type='string', - default='/etc/keystone/pki/certs/cacert.pem') - - keystone_2013_1_4.param('ca_key', type='string', - default='/etc/keystone/pki/private/cakey.pem') - - keystone_2013_1_4.param('key_size', type='integer', default=1024) - - keystone_2013_1_4.param('valid_days', type='integer', default=3650) - - keystone_2013_1_4.param('cert_required', type='boolean', default=False) - - keystone_2013_1_4.param('cert_subject', type='string', - default='/CUS/STUnset/LUnset/OUnset/CNlocalhost') - - keystone_2013_1_4.section('signing') - - keystone_2013_1_4.param( - 'token_format', type='string', default='', - description="Deprecated in favor of provider in the [token] " - "section Allowed values are PKI or UUID") - - keystone_2013_1_4.param('certfile', type='string', - default='/etc/keystone/pki/certs/signing_cert.pem') - - keystone_2013_1_4.param( - 'keyfile', type='string', - default='/etc/keystone/pki/private/signing_key.pem') - - keystone_2013_1_4.param('ca_certs', type='string', - default='/etc/keystone/pki/certs/cacert.pem') - - keystone_2013_1_4.param('ca_key', type='string', - default='/etc/keystone/pki/private/cakey.pem') - - keystone_2013_1_4.param('key_size', type='integer', default=2048) - - keystone_2013_1_4.param('valid_days', type='integer', default=3650) - - keystone_2013_1_4.param( - 'cert_subject', type='string', - default='/CUS/STUnset/LUnset/OUnset/CNwww.example.com') - - keystone_2013_1_4.section('auth') - - keystone_2013_1_4.param('methods', type='string', - default='external,password,token,oauth1') - - keystone_2013_1_4.param( - 'external', type='string', - default='keystone_2013_1_4.auth.plugins.external.ExternalDefault') - - keystone_2013_1_4.param( - 'password', type='string', - default='keystone_2013_1_4.auth.plugins.password.Password') - - keystone_2013_1_4.param( - 'token', type='string', - default='keystone_2013_1_4.auth.plugins.token.Token') - - keystone_2013_1_4.param( - 'oauth1', type='string', - default='keystone_2013_1_4.auth.plugins.oauth1.OAuth') - - keystone_2013_1_4.section('paste_deploy') - - keystone_2013_1_4.param( - 'config_file', type='string', - default='keystone-paste.ini', - description="Name of the paste configuration file that defines " - "the available pipelines") diff --git a/rubick/schemas/keystone/v2013_2.py b/rubick/schemas/keystone/v2013_2.py deleted file mode 100644 index 1564724..0000000 --- a/rubick/schemas/keystone/v2013_2.py +++ /dev/null @@ -1,370 +0,0 @@ -from rubick.schema import ConfigSchemaRegistry - -keystone = ConfigSchemaRegistry.register_schema(project='keystone') - -with keystone.version('2013.2') as keystone_2013_2: - - keystone_2013_2.section('DEFAULT') - - keystone_2013_2.param('admin_token', type='string', default='ADMIN', - description="A 'shared secret' between keystone and other openstack services") - - keystone_2013_2.param('bind_host', type='host', default='0.0.0.0', - description="The IP address of the network interface to listen on") - - keystone_2013_2.param('public_port', type='port', default=5000, - description="The port number which the public service listens on") - - keystone_2013_2.param('admin_port', type='port', default=35357, - description="The port number which the public admin listens on") - - keystone_2013_2.param( - 'public_endpoint', type='string', default='http://localhost:%(public_port)s/', - description="The base endpoint URLs for keystone that are advertised to clients (NOTE: this does NOT affect how keystone listens for connections)") - - keystone_2013_2.param( - 'admin_endpoint', type='string', default='http://localhost:%(admin_port)s/', - description="The base endpoint URLs for keystone that are advertised to clients (NOTE: this does NOT affect how keystone listens for connections)") - - keystone_2013_2.param('compute_port', type='port', default=8774, - description="The port number which the OpenStack Compute service listens on") - - keystone_2013_2.param('policy_file', type='string', default='policy.json', - description="Path to your policy definition containing identity actions") - - keystone_2013_2.param( - 'policy_default_rule', type='string', default='admin_required', - description="Rule to check if no matching policy definition is found FIXME(dolph): This should really be defined as [policy] default_rule") - - keystone_2013_2.param( - 'member_role_id', type='string', default='9fe2ff9ee4384b1894a90878d3e92bab', - description="Role for migrating membership relationships During a SQL upgrade, the following values will be used to create a new role that will replace records in the user_tenant_membership table with explicit role grants. After migration, the member_role_id will be used in the API add_user_to_project, and member_role_name will be ignored.") - - keystone_2013_2.param( - 'member_role_name', type='string', default='_member_', - description="Role for migrating membership relationships During a SQL upgrade, the following values will be used to create a new role that will replace records in the user_tenant_membership table with explicit role grants. After migration, the member_role_id will be used in the API add_user_to_project, and member_role_name will be ignored.") - - keystone_2013_2.param( - 'max_request_body_size', type='string', default='114688', - description="enforced by optional sizelimit middleware (keystone.middleware:RequestBodySizeLimiter)") - - keystone_2013_2.param('max_param_size', type='string', default='64', - description="limit the sizes of user & tenant ID/names") - - keystone_2013_2.param('max_token_size', type='string', default='8192', - description="similar to max_param_size, but provides an exception for token values") - - keystone_2013_2.param('debug', type='string', default='False', - description="=== Logging Options === Print debugging output (includes plaintext request logging, potentially including passwords)") - - keystone_2013_2.param('verbose', type='string', - default='False', description="Print more verbose output") - - keystone_2013_2.param('log_file', type='string', default='keystone.log', - description="Name of log file to output to. If not set, logging will go to stdout.") - - keystone_2013_2.param( - 'log_dir', type='string', default='/var/log/keystone', - description="The directory to keep log files in (will be prepended to --logfile)") - - keystone_2013_2.param('use_syslog', type='string', - default='False', description="Use syslog for logging.") - - keystone_2013_2.param('syslog_log_facility', type='string', - default='LOG_USER', description="syslog facility to receive log lines") - - keystone_2013_2.param('log_config', type='string', default='logging.conf', - description="If this option is specified, the logging configuration file specified is used and overrides any other logging options specified. Please see the Python logging module documentation for details on logging configuration files.") - - keystone_2013_2.param('log_format', type='string', - default='%(asctime)s %(levelname)8s [%(name)s] %(message)s', description="A logging.Formatter log message format string which may use any of the available logging.LogRecord attributes.") - - keystone_2013_2.param( - 'log_date_format', type='string', default='%Y-%m-%d %H:%M:%S', - description="Format string for %(asctime)s in log records.") - - keystone_2013_2.param( - 'onready', type='string', default='keystone.common.systemd', - description="onready allows you to send a notification when the process is ready to serve For example, to have it notify using systemd, one could set shell command: onready = systemd-notify --ready or a module with notify() method:") - - keystone_2013_2.param( - 'notification_driver', type='string', default='keystone.openstack.common.notifier.rpc_notifier', - description="notification_driver can be defined multiple times Do nothing driver (the default) notification_driver = keystone.openstack.common.notifier.no_op_notifier Logging driver example (not enabled by default) notification_driver = keystone.openstack.common.notifier.log_notifier RPC driver example (not enabled by default)") - - keystone_2013_2.param( - 'default_notification_level', type='string', default='INFO', - description="Default notification level for outgoing notifications") - - keystone_2013_2.param('default_publisher_id', type='string', default='', - description="Default publisher_id for outgoing notifications; included in the payload.") - - keystone_2013_2.param( - 'notification_topics', type='string', default='notifications', - description="AMQP topics to publish to when using the RPC notification driver. Multiple values can be specified by separating with commas. The actual topic names will be %s.%(default_notification_level)s") - - keystone_2013_2.param( - 'rpc_backend', type='string', default='keystone.openstack.common.rpc.impl_kombu', - description="The messaging module to use, defaults to kombu.") - - keystone_2013_2.param('rpc_thread_pool_size', type='string', - default='64', description="Size of RPC thread pool") - - keystone_2013_2.param('rpc_conn_pool_size', type='string', - default='30', description="Size of RPC connection pool") - - keystone_2013_2.param('rpc_response_timeout', type='string', default='60', - description="Seconds to wait for a response from call or multicall") - - keystone_2013_2.param('rpc_cast_timeout', type='string', default='30', - description="Seconds to wait before a cast expires (TTL). Only supported by impl_zmq.") - - keystone_2013_2.param( - 'allowed_rpc_exception_modules', type='string', default='keystone.openstack.common.exception,nova.exception,cinder.exception,exceptions', - description="Modules of exceptions that are permitted to be recreated upon receiving exception data from an rpc call.") - - keystone_2013_2.param('fake_rabbit', type='string', default='False', - description="If True, use a fake RabbitMQ provider") - - keystone_2013_2.param( - 'control_exchange', type='string', default='openstack', - description="AMQP exchange to connect to if using RabbitMQ or Qpid") - - keystone_2013_2.section('sql') - - keystone_2013_2.param( - 'connection', type='string', default='sqlite:///keystone.db', - description="The SQLAlchemy connection string used to connect to the database") - - keystone_2013_2.param('idle_timeout', type='string', default='200', - description="the timeout before idle sql connections are reaped") - - keystone_2013_2.section('identity') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.identity.backends.sql.Identity', description="") - - keystone_2013_2.param( - 'default_domain_id', type='string', default='default', - description="This references the domain to use for all Identity API v2 requests (which are not aware of domains). A domain with this ID will be created for you by keystone-manage db_sync in migration 008. The domain referenced by this ID cannot be deleted on the v3 API, to prevent accidentally breaking the v2 API. There is nothing special about this domain, other than the fact that it must exist to order to maintain support for your v2 clients.") - - keystone_2013_2.param( - 'domain_specific_drivers_enabled', type='string', default='False', - description="A subset (or all) of domains can have their own identity driver, each with their own partial configuration file in a domain configuration directory. Only values specific to the domain need to be placed in the domain specific configuration file. This feature is disabled by default; set domain_specific_drivers_enabled to True to enable.") - - keystone_2013_2.param( - 'domain_config_dir', type='string', default='/etc/keystone/domains', - description="A subset (or all) of domains can have their own identity driver, each with their own partial configuration file in a domain configuration directory. Only values specific to the domain need to be placed in the domain specific configuration file. This feature is disabled by default; set domain_specific_drivers_enabled to True to enable.") - - keystone_2013_2.param('max_password_length', type='string', default='4096', - description="Maximum supported length for user passwords; decrease to improve performance.") - - keystone_2013_2.section('credential') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.credential.backends.sql.Credential', description="") - - keystone_2013_2.section('trust') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.trust.backends.sql.Trust', description="") - - keystone_2013_2.param('enabled', type='string', default='True', - description="delegation and impersonation features can be optionally disabled") - - keystone_2013_2.section('os_inherit') - - keystone_2013_2.param('enabled', type='string', default='False', - description="role-assignment inheritance to projects from owning domain can be optionally enabled") - - keystone_2013_2.section('catalog') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.catalog.backends.sql.Catalog', - description="dynamic, sql-based backend (supports API/CLI-based management commands)") - - keystone_2013_2.param( - 'driver', type='string', default='keystone.catalog.backends.templated.TemplatedCatalog', - description="static, file-based backend (does *NOT* support any management commands)") - - keystone_2013_2.param('template_file', type='string', - default='default_catalog.templates', description="") - - keystone_2013_2.section('endpoint_filter') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.contrib.endpoint_filter.backends.sql.EndpointFilter', - description="extension for creating associations between project and endpoints in order to provide a tailored catalog for project-scoped token requests.") - - keystone_2013_2.param( - 'return_all_endpoints_if_no_filter', type='string', default='True', - description="extension for creating associations between project and endpoints in order to provide a tailored catalog for project-scoped token requests.") - - keystone_2013_2.section('token') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.token.backends.sql.Token', description="Provides token persistence.") - - keystone_2013_2.param('provider', type='string', default='', - description="Controls the token construction, validation, and revocation operations. Core providers are keystone.token.providers.[pki|uuid].Provider") - - keystone_2013_2.param('expiration', type='string', default='86400', - description="Amount of time a token should remain valid (in seconds)") - - keystone_2013_2.param('bind', type='string', default='', - description="External auth mechanisms that should add bind information to token. eg kerberos, x509") - - keystone_2013_2.param( - 'enforce_token_bind', type='string', default='permissive', - description="Enforcement policy on tokens presented to keystone with bind information. One of disabled, permissive, strict, required or a specifically required bind mode e.g. kerberos or x509 to require binding to that authentication.") - - keystone_2013_2.param('caching', type='string', default='True', - description="Token specific caching toggle. This has no effect unless the global caching option is set to True") - - keystone_2013_2.param('cache_time', type='string', default='', - description="Token specific cache time-to-live (TTL) in seconds.") - - keystone_2013_2.param( - 'revocation_cache_time', type='string', default='3600', - description="Revocation-List specific cache time-to-live (TTL) in seconds.") - - keystone_2013_2.section('cache') - - keystone_2013_2.param('enabled', type='string', default='False', - description="Global cache functionality toggle.") - - keystone_2013_2.param( - 'config_prefix', type='string', default='cache.keystone', - description="Prefix for building the configuration dictionary for the cache region. This should not need to be changed unless there is another dogpile.cache region with the same configuration name") - - keystone_2013_2.param('expiration_time', type='string', default='600', - description="Default TTL, in seconds, for any cached item in the dogpile.cache region. This applies to any cached method that doesn't have an explicit cache expiration time defined for it.") - - keystone_2013_2.param( - 'backend', type='string', default='keystone.common.cache.noop', - description="Dogpile.cache backend module. It is recommended that Memcache (dogpile.cache.memcache) or Redis (dogpile.cache.redis) be used in production deployments. Small workloads (single process) like devstack can use the dogpile.cache.memory backend.") - - keystone_2013_2.param('backend_argument', type='string', default='', - description="Arguments supplied to the backend module. Specify this option once per argument to be passed to the dogpile.cache backend. Example format: :") - - keystone_2013_2.param('proxies', type='string', default='', - description="Proxy Classes to import that will affect the way the dogpile.cache backend functions. See the dogpile.cache documentation on changing-backend-behavior. Comma delimited list e.g. my.dogpile.proxy.Class, my.dogpile.proxyClass2") - - keystone_2013_2.param('use_key_mangler', type='string', default='True', - description="Use a key-mangling function (sha1) to ensure fixed length cache-keys. This is toggle-able for debugging purposes, it is highly recommended to always leave this set to True.") - - keystone_2013_2.param( - 'debug_cache_backend', type='string', default='False', - description="Extra debugging from the cache backend (cache keys, get/set/delete/etc calls) This is only really useful if you need to see the specific cache-backend get/set/delete calls with the keys/values. Typically this should be left set to False.") - - keystone_2013_2.section('policy') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.policy.backends.sql.Policy', description="") - - keystone_2013_2.section('ec2') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.contrib.ec2.backends.kvs.Ec2', description="") - - keystone_2013_2.section('assignment') - - keystone_2013_2.param('driver', type='string', default='', description="") - - keystone_2013_2.param('caching', type='string', default='True', - description="Assignment specific caching toggle. This has no effect unless the global caching option is set to True") - - keystone_2013_2.param('cache_time', type='string', default='', - description="Assignment specific cache time-to-live (TTL) in seconds.") - - keystone_2013_2.section('oauth1') - - keystone_2013_2.param( - 'driver', type='string', default='keystone.contrib.oauth1.backends.sql.OAuth1', description="") - - keystone_2013_2.param( - 'request_token_duration', type='string', default='28800', - description="The Identity service may include expire attributes. If no such attribute is included, then the token lasts indefinitely. Specify how quickly the request token will expire (in seconds)") - - keystone_2013_2.param( - 'access_token_duration', type='string', default='86400', - description="The Identity service may include expire attributes. If no such attribute is included, then the token lasts indefinitely. Specify how quickly the request token will expire (in seconds) Specify how quickly the access token will expire (in seconds)") - - keystone_2013_2.section('ssl') - - keystone_2013_2.param( - 'enable', type='string', default='True', description="") - - keystone_2013_2.param('certfile', type='string', - default='/etc/keystone/pki/certs/ssl_cert.pem', description="") - - keystone_2013_2.param( - 'keyfile', type='string', default='/etc/keystone/pki/private/ssl_key.pem', description="") - - keystone_2013_2.param('ca_certs', type='string', - default='/etc/keystone/pki/certs/cacert.pem', description="") - - keystone_2013_2.param( - 'ca_key', type='string', default='/etc/keystone/pki/private/cakey.pem', description="") - - keystone_2013_2.param( - 'key_size', type='string', default='1024', description="") - - keystone_2013_2.param( - 'valid_days', type='string', default='3650', description="") - - keystone_2013_2.param( - 'cert_required', type='string', default='False', description="") - - keystone_2013_2.param('cert_subject', type='string', - default='/C=US/ST=Unset/L=Unset/O=Unset/CN=localhost', description="") - - keystone_2013_2.section('signing') - - keystone_2013_2.param('token_format', type='string', default='', - description="Deprecated in favor of provider in the [token] section Allowed values are PKI or UUID") - - keystone_2013_2.param('certfile', type='string', - default='/etc/keystone/pki/certs/signing_cert.pem', description="") - - keystone_2013_2.param( - 'keyfile', type='string', default='/etc/keystone/pki/private/signing_key.pem', description="") - - keystone_2013_2.param('ca_certs', type='string', - default='/etc/keystone/pki/certs/cacert.pem', description="") - - keystone_2013_2.param( - 'ca_key', type='string', default='/etc/keystone/pki/private/cakey.pem', description="") - - keystone_2013_2.param( - 'key_size', type='string', default='2048', description="") - - keystone_2013_2.param( - 'valid_days', type='string', default='3650', description="") - - keystone_2013_2.param('cert_subject', type='string', - default='/C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com', description="") - - keystone_2013_2.section('ldap') - - keystone_2013_2.section('auth') - - keystone_2013_2.param( - 'methods', type='string', default='external,password,token,oauth1', description="") - - keystone_2013_2.param('external', type='string', - default='keystone.auth.plugins.external.ExternalDefault', description="") - - keystone_2013_2.param('password', type='string', - default='keystone.auth.plugins.password.Password', description="") - - keystone_2013_2.param( - 'token', type='string', default='keystone.auth.plugins.token.Token', description="") - - keystone_2013_2.param( - 'oauth1', type='string', default='keystone.auth.plugins.oauth1.OAuth', description="") - - keystone_2013_2.section('paste_deploy') - - keystone_2013_2.param( - 'config_file', type='string', default='keystone-paste.ini', - description="Name of the paste configuration file that defines the available pipelines") diff --git a/rubick/schemas/neutron_dhcp_agent/__init__.py b/rubick/schemas/neutron_dhcp_agent/__init__.py deleted file mode 100644 index 70a1bb2..0000000 --- a/rubick/schemas/neutron_dhcp_agent/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.neutron_dhcp_agent.v2013_2_1 diff --git a/rubick/schemas/neutron_l3_agent/__init__.py b/rubick/schemas/neutron_l3_agent/__init__.py deleted file mode 100644 index c08c53f..0000000 --- a/rubick/schemas/neutron_l3_agent/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.neutron_l3_agent.v2013_2_1 diff --git a/rubick/schemas/neutron_metadata_agent/__init__.py b/rubick/schemas/neutron_metadata_agent/__init__.py deleted file mode 100644 index c7c1501..0000000 --- a/rubick/schemas/neutron_metadata_agent/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.neutron_metadata_agent.v2013_2_1 diff --git a/rubick/schemas/neutron_openvswitch_agent/__init__.py b/rubick/schemas/neutron_openvswitch_agent/__init__.py deleted file mode 100644 index 7bb573a..0000000 --- a/rubick/schemas/neutron_openvswitch_agent/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.neutron_openvswitch_agent.v2013_2_1 diff --git a/rubick/schemas/neutron_server/__init__.py b/rubick/schemas/neutron_server/__init__.py deleted file mode 100644 index b4f0bc4..0000000 --- a/rubick/schemas/neutron_server/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.neutron_server.v2013_2_1 diff --git a/rubick/schemas/nova/__init__.py b/rubick/schemas/nova/__init__.py deleted file mode 100644 index 3a02843..0000000 --- a/rubick/schemas/nova/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -import rubick.schemas.nova.v2013_1_3 -import rubick.schemas.nova.v2013_1_4 -import rubick.schemas.nova.v2013_2 diff --git a/rubick/schemas/rabbitmq/__init__.py b/rubick/schemas/rabbitmq/__init__.py deleted file mode 100644 index 6ee69af..0000000 --- a/rubick/schemas/rabbitmq/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.rabbitmq.v3_0_0 diff --git a/rubick/schemas/rabbitmq/v3_0_0.py b/rubick/schemas/rabbitmq/v3_0_0.py deleted file mode 100644 index f882f7b..0000000 --- a/rubick/schemas/rabbitmq/v3_0_0.py +++ /dev/null @@ -1,27 +0,0 @@ -from rubick.schema import ConfigSchemaRegistry - -rabbitmq = ConfigSchemaRegistry.register_schema(project='rabbitmq') - -with rabbitmq.version('3.0.0', checkpoint=True) as cfg: - cfg.param( - 'tcp_listeners', type='rabbitmq_bind_list', default=[5672], - description="List of ports on which to listen for AMQP connections (without SSL)") - - cfg.param( - 'ssl_listeners', type='rabbitmq_bind_list', default=[], - description="List of ports on which to listen for AMQP connections (SSL)") - - cfg.param('ssl_options', type='string_list', default=[]) - - cfg.param('vm_memory_high_watermark', type='float', default=0.4) - - cfg.param('vm_memory_high_watermark_paging_ratio', - type='float', default=0.5) - - cfg.param('disk_free_limit', type='integer', default='50000000') - cfg.param('log_levels', type='string_list', default=['{connection, info}']) - cfg.param('frame_max', type='integer', default=131072) - cfg.param('heartbeat', type='integer', default=600) - cfg.param('default_vhost', type='string', default='/') - cfg.param('default_user', type='string', default='guest') - cfg.param('default_pass', type='string', default='guest') diff --git a/rubick/schemas/swift_account_server/__init__.py b/rubick/schemas/swift_account_server/__init__.py deleted file mode 100644 index f8fc767..0000000 --- a/rubick/schemas/swift_account_server/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.swift_account_server.v2013_2_1 diff --git a/rubick/schemas/swift_container_server/__init__.py b/rubick/schemas/swift_container_server/__init__.py deleted file mode 100644 index 4a378cd..0000000 --- a/rubick/schemas/swift_container_server/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.swift_container_server.v2013_2_1 diff --git a/rubick/schemas/swift_object_server/__init__.py b/rubick/schemas/swift_object_server/__init__.py deleted file mode 100644 index 6fb6ee4..0000000 --- a/rubick/schemas/swift_object_server/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.swift_object_server.v2013_2_1 diff --git a/rubick/schemas/swift_proxy_server/__init__.py b/rubick/schemas/swift_proxy_server/__init__.py deleted file mode 100644 index 0832bbc..0000000 --- a/rubick/schemas/swift_proxy_server/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import rubick.schemas.swift_proxy_server.v2013_2_1