diff options
author | WuKong <rebirthmonkey@gmail.com> | 2017-12-24 13:09:46 +0100 |
---|---|---|
committer | WuKong <rebirthmonkey@gmail.com> | 2017-12-24 13:09:46 +0100 |
commit | b2904eb52f85938a18f55520ce2b4cf4dcb0269f (patch) | |
tree | 055bcf58dc3d767fc61a870a4f859e0f740ac3db /templates | |
parent | 1b21e61269223d9a9b97112e75606b1f612a0a24 (diff) |
moon doc cleanup
Change-Id: Iccc0858e305d724fd8c3341e27f9fa90ffeb916f
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/moon/moon.conf | 87 | ||||
-rw-r--r-- | templates/moon_forming/Dockerfile (renamed from templates/moonforming/Dockerfile) | 0 | ||||
-rw-r--r-- | templates/moon_forming/README.md (renamed from templates/moonforming/README.md) | 0 | ||||
-rw-r--r-- | templates/moon_forming/conf/mls.py (renamed from templates/moonforming/conf/mls.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/conf/rbac.py (renamed from templates/moonforming/conf/rbac.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/conf2consul.py (renamed from templates/moonforming/conf2consul.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/moon.conf (renamed from templates/moonforming/moon.conf) | 0 | ||||
-rw-r--r-- | templates/moon_forming/populate_default_values.py (renamed from templates/moonforming/populate_default_values.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/run.sh (renamed from templates/moonforming/run.sh) | 0 | ||||
-rw-r--r-- | templates/moon_forming/utils/__init__.py (renamed from templates/moonforming/utils/__init__.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/utils/config.py (renamed from templates/moonforming/utils/config.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/utils/models.py (renamed from templates/moonforming/utils/models.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/utils/pdp.py (renamed from templates/moonforming/utils/pdp.py) | 0 | ||||
-rw-r--r-- | templates/moon_forming/utils/policies.py (renamed from templates/moonforming/utils/policies.py) | 0 | ||||
-rw-r--r-- | templates/moon_pythonunittest/Dockerfile (renamed from templates/python_unit_test/Dockerfile) | 0 | ||||
-rw-r--r-- | templates/moon_pythonunittest/README.md (renamed from templates/python_unit_test/README.md) | 0 | ||||
-rw-r--r-- | templates/moon_pythonunittest/requirements.txt (renamed from templates/python_unit_test/requirements.txt) | 0 | ||||
-rw-r--r-- | templates/moon_pythonunittest/run_tests.sh (renamed from templates/python_unit_test/run_tests.sh) | 0 | ||||
-rw-r--r-- | templates/openstack/glance/policy.json (renamed from templates/glance/policy.json) | 0 | ||||
-rw-r--r-- | templates/openstack/nova/policy.json (renamed from templates/nova/policy.json) | 0 |
20 files changed, 87 insertions, 0 deletions
diff --git a/templates/moon/moon.conf b/templates/moon/moon.conf new file mode 100644 index 00000000..a5a40ad2 --- /dev/null +++ b/templates/moon/moon.conf @@ -0,0 +1,87 @@ +database: + url: mysql+pymysql://moon:p4sswOrd1@db/moon + driver: sql + +openstack: + keystone: + url: http://keystone:5000/v3 + user: admin + password: p4ssw0rd + domain: default + project: admin + check_token: false + certificate: false + external: + url: http://keystone:30006/v3 + +plugins: + authz: + container: wukongsun/moon_authz:v4.3 + port: 8081 + session: + container: asteroide/session:latest + port: 8082 + +components: + interface: + port: 8080 + bind: 0.0.0.0 + hostname: interface + container: wukongsun/moon_interface:v4.3 + orchestrator: + port: 8083 + bind: 0.0.0.0 + hostname: orchestrator + container: wukongsun/moon_orchestrator:v4.3 + external: + port: 30003 + hostname: orchestrator + wrapper: + port: 8080 + bind: 0.0.0.0 + hostname: wrapper + container: wukongsun/moon_wrapper:v4.3.1 + timeout: 5 + manager: + port: 8082 + bind: 0.0.0.0 + hostname: manager + container: wukongsun/moon_manager:v4.3.1 + external: + port: 30001 + hostname: manager + port_start: 31001 + +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: brief + 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] + diff --git a/templates/moonforming/Dockerfile b/templates/moon_forming/Dockerfile index fe48eee0..fe48eee0 100644 --- a/templates/moonforming/Dockerfile +++ b/templates/moon_forming/Dockerfile diff --git a/templates/moonforming/README.md b/templates/moon_forming/README.md index f6327693..f6327693 100644 --- a/templates/moonforming/README.md +++ b/templates/moon_forming/README.md diff --git a/templates/moonforming/conf/mls.py b/templates/moon_forming/conf/mls.py index 0e6285c9..0e6285c9 100644 --- a/templates/moonforming/conf/mls.py +++ b/templates/moon_forming/conf/mls.py diff --git a/templates/moonforming/conf/rbac.py b/templates/moon_forming/conf/rbac.py index 25c010fd..25c010fd 100644 --- a/templates/moonforming/conf/rbac.py +++ b/templates/moon_forming/conf/rbac.py diff --git a/templates/moonforming/conf2consul.py b/templates/moon_forming/conf2consul.py index 46c99d5c..46c99d5c 100644 --- a/templates/moonforming/conf2consul.py +++ b/templates/moon_forming/conf2consul.py diff --git a/templates/moonforming/moon.conf b/templates/moon_forming/moon.conf index dc498e34..dc498e34 100644 --- a/templates/moonforming/moon.conf +++ b/templates/moon_forming/moon.conf diff --git a/templates/moonforming/populate_default_values.py b/templates/moon_forming/populate_default_values.py index fa099458..fa099458 100644 --- a/templates/moonforming/populate_default_values.py +++ b/templates/moon_forming/populate_default_values.py diff --git a/templates/moonforming/run.sh b/templates/moon_forming/run.sh index 71543f9e..71543f9e 100644 --- a/templates/moonforming/run.sh +++ b/templates/moon_forming/run.sh diff --git a/templates/moonforming/utils/__init__.py b/templates/moon_forming/utils/__init__.py index e69de29b..e69de29b 100644 --- a/templates/moonforming/utils/__init__.py +++ b/templates/moon_forming/utils/__init__.py diff --git a/templates/moonforming/utils/config.py b/templates/moon_forming/utils/config.py index 30c8ea4f..30c8ea4f 100644 --- a/templates/moonforming/utils/config.py +++ b/templates/moon_forming/utils/config.py diff --git a/templates/moonforming/utils/models.py b/templates/moon_forming/utils/models.py index 3cf31354..3cf31354 100644 --- a/templates/moonforming/utils/models.py +++ b/templates/moon_forming/utils/models.py diff --git a/templates/moonforming/utils/pdp.py b/templates/moon_forming/utils/pdp.py index f3c6df37..f3c6df37 100644 --- a/templates/moonforming/utils/pdp.py +++ b/templates/moon_forming/utils/pdp.py diff --git a/templates/moonforming/utils/policies.py b/templates/moon_forming/utils/policies.py index bd08291a..bd08291a 100644 --- a/templates/moonforming/utils/policies.py +++ b/templates/moon_forming/utils/policies.py diff --git a/templates/python_unit_test/Dockerfile b/templates/moon_pythonunittest/Dockerfile index b8fb5151..b8fb5151 100644 --- a/templates/python_unit_test/Dockerfile +++ b/templates/moon_pythonunittest/Dockerfile diff --git a/templates/python_unit_test/README.md b/templates/moon_pythonunittest/README.md index 45d3a988..45d3a988 100644 --- a/templates/python_unit_test/README.md +++ b/templates/moon_pythonunittest/README.md diff --git a/templates/python_unit_test/requirements.txt b/templates/moon_pythonunittest/requirements.txt index b611b008..b611b008 100644 --- a/templates/python_unit_test/requirements.txt +++ b/templates/moon_pythonunittest/requirements.txt diff --git a/templates/python_unit_test/run_tests.sh b/templates/moon_pythonunittest/run_tests.sh index 6c586f87..6c586f87 100644 --- a/templates/python_unit_test/run_tests.sh +++ b/templates/moon_pythonunittest/run_tests.sh diff --git a/templates/glance/policy.json b/templates/openstack/glance/policy.json index 5505f67f..5505f67f 100644 --- a/templates/glance/policy.json +++ b/templates/openstack/glance/policy.json diff --git a/templates/nova/policy.json b/templates/openstack/nova/policy.json index 29763ce3..29763ce3 100644 --- a/templates/nova/policy.json +++ b/templates/openstack/nova/policy.json |