aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/conf/moon.yaml
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2020-06-03 10:06:52 +0200
committerThomas Duval <thomas.duval@orange.com>2020-06-03 10:06:52 +0200
commit7bb53c64da2dcf88894bfd31503accdd81498f3d (patch)
tree4310e12366818af27947b5e2c80cb162da93a4b5 /moon_manager/conf/moon.yaml
parentcbea4e360e9bfaa9698cf7c61c83c96a1ba89b8c (diff)
Update to new version 5.4HEADstable/jermamaster
Signed-off-by: Thomas Duval <thomas.duval@orange.com> Change-Id: Idcd868133d75928a1ffd74d749ce98503e0555ea
Diffstat (limited to 'moon_manager/conf/moon.yaml')
-rw-r--r--moon_manager/conf/moon.yaml108
1 files changed, 108 insertions, 0 deletions
diff --git a/moon_manager/conf/moon.yaml b/moon_manager/conf/moon.yaml
new file mode 100644
index 00000000..6bf0ec14
--- /dev/null
+++ b/moon_manager/conf/moon.yaml
@@ -0,0 +1,108 @@
+debug: true
+
+database:
+ # url: mysql+pymysql://moon:p4sswOrd1@db/moon
+ url: sqlite:////tmp/database.db
+ driver: moon_manager.plugins.sql
+ migration_dir: moon_manager.api.db.migrations
+ # migration_dir: /home/tom/projets/moon/moon_manager/moon_manager/api/db/migrations/
+
+dashboard:
+ root: ../dashboard/moon_ui/dist/
+ pid_filename: /tmp/moon_web_ui.pid
+ port: 8080
+
+management:
+ url: http://127.0.0.1:8000
+ user: admin
+ password: admin
+ token_file: moon.pwd
+ pid_file: /tmp/moon.pid
+
+orchestration:
+ driver: moon_manager.plugins.pyorchestrator
+ connection: local
+ # driver: moon_manager.plugins.docker_compose
+ # connection: ssh://admin:admin@1.1.1.1
+ # driver: moon_manager.plugins.kubernetes
+ # connection: ~/.kube/config
+ port: 10000...10100
+ config_dir: /tmp
+
+information:
+ user: admin
+ password: p4ssw0rd
+ domain: default
+ project: admin
+ check_token: false
+ certificate: false
+ url: http://keystone:5000/v3
+ subjects:
+ drivers:
+ moon_manager.plugins.moon_keystone_plugin:
+ url: http://keystone:5000/v3
+ objects:
+ drivers:
+ moon_manager.plugins.moon_nova_plugin:
+ url: http://keystone:5000/compute/v2.1
+
+ daemon:
+ pid_file: /tmp/daemon.pid
+ log_file: /tmp/daemon.log
+
+ global_attrs:
+ driver: moon_manager.plugins.global_attrs
+ attributes:
+ mode:
+ values:
+ - build
+ - run
+ default: build
+ url: file:/etc/moon/mode
+ #url: https://127.0.0.1:8080/mode
+ #url: mysql+pymysql://moon:p4sswOrd1@db/moon_mode
+ #url: sqlite:////tmp/database.db
+ #url: driver://moon_manager.plugins.my_plugin
+
+plugins:
+ directory: /var/moon/plugins
+
+components:
+ manager:
+ port: 8080
+ bind: 0.0.0.0
+ hostname: manager
+
+logging:
+ version: 1
+
+ formatters:
+ brief:
+ format: "%(levelname)s %(name)s %(message)-30s"
+ custom:
+ format: "%(asctime)-15s %(levelname)s %(name)s %(message)s"
+
+ handlers:
+ console:
+ class : logging.StreamHandler
+ formatter: custom
+ level : INFO
+ stream : ext://sys.stdout
+ file:
+ class : logging.handlers.RotatingFileHandler
+ formatter: custom
+ level : DEBUG
+ filename: /tmp/moon.log
+ maxBytes: 1048576
+ backupCount: 3
+
+ loggers:
+ moon:
+ level: DEBUG
+ handlers: [console, file]
+ propagate: no
+
+ root:
+ level: ERROR
+ handlers: [console]
+