# General settings SECRET_KEY: '+er!!4olta#17a=n%uotcazg2ncpl==yjog%1*o-(cr%zys-)!' # SECURITY WARNING: don't run with debug turned on in production! DEBUG: True ALLOWED_HOSTS: - "*" ADDITIONAL_APPS: - adjutant.api.v1 - adjutant.actions.v1 - adjutant.notifications.request_tracker DATABASES: default: ENGINE: django.db.backends.sqlite3 NAME: db.sqlite3 LOGGING: version: 1 disable_existing_loggers: False handlers: file: level: INFO class: logging.FileHandler filename: reg_log.log loggers: adjutant: handlers: - file level: INFO propagate: False django: handlers: - file level: INFO propagate: False keystonemiddleware: handlers: - file level: INFO propagate: False EMAIL_SETTINGS: EMAIL_BACKEND: django.core.mail.backends.console.EmailBackend # setting to control if user name and email are allowed # to have different values. USERNAME_IS_EMAIL: True # Keystone admin credentials: KEYSTONE: username: admin password: openstack project_name: admin # MUST BE V3 API: auth_url: http://localhost:5000/v3 domain_id: default TOKEN_SUBMISSION_URL: http://192.168.122.160:8080/token/ # time for the token to expire in hours TOKEN_EXPIRE_TIME: 24 ACTIVE_TASKVIEWS: - UserRoles - UserDetail - UserResetPassword - UserSetPassword - UserList - RoleList - SignUp - UserUpdateEmail DEFAULT_TASK_SETTINGS: emails: initial: subject: Initial Confirmation reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com template: initial.txt # html_template: initial.txt # If the related actions 'can' send a token, # this field should here. token: subject: Your Token reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com template: token.txt # html_template: token.txt completed: subject: Task completed reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com template: completed.txt # html_template: completed.txt notifications: EmailNotification: standard: emails: - example@example.com reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com template: notification.txt # html_template: completed.txt error: emails: - example@example.com reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com template: notification.txt # html_template: completed.txt RTNotification: standard: url: http://localhost/rt/REST/1.0/ queue: helpdesk username: example@example.com password: password template: notification.txt error: url: http://localhost/rt/REST/1.0/ queue: errors username: example@example.com password: password template: notification.txt # Default Action settings: # These can be overriden at a per task level below in the # task settings so that multiple tasks can use the same actions # slightly differently. # # TASK_SETTINGS: # : # .... # .... # action_settings: # : # .... DEFAULT_ACTION_SETTINGS: NewProjectAction: default_roles: - project_admin - project_mod - heat_stack_owner - _member_ NewProjectWithUserAction: default_roles: - project_admin - project_mod - heat_stack_owner - _member_ NewUserAction: allowed_roles: - project_admin - project_mod - heat_stack_owner - _member_ ResetUserPasswordAction: blacklisted_roles: - admin NewDefaultNetworkAction: RegionOne: network_name: default_network subnet_name: default_subnet router_name: default_router public_network: 3cb50d61-5bce-4c03-96e6-8e262e12bb35 DNS_NAMESERVERS: - 193.168.1.2 - 193.168.1.3 SUBNET_CIDR: 192.168.1.0/24 NewProjectDefaultNetworkAction: RegionOne: network_name: default_network subnet_name: default_subnet router_name: default_router public_network: 3cb50d61-5bce-4c03-96e6-8e262e12bb35 DNS_NAMESERVERS: - 193.168.1.2 - 193.168.1.3 SUBNET_CIDR: 192.168.1.0/24 AddDefaultUsersToProjectAction: default_users: - admin default_roles: - admin SetProjectQuotaAction: regions: RegionOne: quota_size: small SendAdditionalEmailAction: initial: email_current_user: false reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com subject: "Openstack Email Notification" template: null token: email_current_user: false reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com subject: "Openstack Email Notification" template: null completed: email_current_user: false reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com subject: "Openstack Email Notification" template: null # A null template will cause the email not to send # Also emails to the given roles on the project # email_roles: # - project_admin # Or sends to an email set in the task cache # email_in_task_cache: true # Or sends to an arbitrary admin email # email_additional_addresses: # - admin@example.org # These are cascading overrides for the default settings: TASK_SETTINGS: signup: # You can override 'default_actions' if needed for given taskviews # The order of the actions is order of execution. # # default_actions: # - NewProjectAction # # Additional actions for views # These will run after the default actions, in the given order. additional_actions: - NewProjectDefaultNetworkAction - SetProjectQuotaAction emails: initial: subject: Your OpenStack signup has been received template: signup_initial.txt token: subject: Your OpenStack signup has been approved template: signup_token.txt completed: subject: Your OpenStack signup has been completed template: signup_completed.txt notifications: EmailNotification: standard: emails: - signups@example.com error: emails: - signups@example.com RTNotification: standard: queue: signups error: queue: signups default_region: RegionOne # If 'None' (null in yaml), will default to domain as parent. # If domain isn't set explicity, will service user domain (see KEYSTONE). default_parent_id: null invite_user: duplicate_policy: cancel emails: # To not send this email, set the value to null initial: null token: subject: Invitation to an OpenStack project template: invite_user_token.txt completed: subject: Invitation Completed template: invite_user_completed.txt errors: SMTPException: notification: acknowledge engines: False reset_password: duplicate_policy: cancel emails: initial: null token: subject: Password Reset for OpenStack template: password_reset_token.txt completed: subject: Password Reset Completed template: password_reset_completed.txt force_password: duplicate_policy: cancel emails: initial: null token: subject: Set your OpenStack password template: initial_password_token.txt completed: subject: Welcome to OpenStack! template: initial_password_completed.txt edit_user: duplicate_policy: cancel emails: initial: null token: null role_blacklist: - admin edit_roles: duplicate_policy: cancel emails: initial: null token: null update_email: duplicate_policy: cancel additional_actions: - SendAdditionalEmailAction emails: initial: null token: subject: Confirm OpenStack Email Update template: email_update_token.txt completed: subject: OpenStack Email Updated template: email_update_completed.txt action_settings: SendAdditionalEmailAction: initial: subject: OpenStack Email Update Requested template: email_update_started.txt email_current_user: True # mapping between roles and managable roles ROLES_MAPPING: admin: - project_admin - project_mod - heat_stack_owner - _member_ project_admin: - project_admin - project_mod - heat_stack_owner - _member_ project_mod: - project_mod - heat_stack_owner - _member_ PROJECT_QUOTA_SIZES: small: nova: instances: 10 cores: 20 ram: 65536 floating_ips: 10 fixed_ips: 0 metadata_items: 128 injected_files: 5 injected_file_content_bytes: 10240 key_pairs: 50 security_groups: 20 security_group_rules: 100 cinder: gigabytes: 5000 snapshots: 50 volumes: 20 neutron: floatingip: 10 network: 3 port: 50 router: 3 security_group: 20 security_group_rule: 100 subnet: 3