commit | 2eee7c7fef196adc4b36a4ae1319db2f43cab9d2 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Thu Nov 02 23:18:12 2017 -0400 |
committer | Sapan Bhatia <sapan@opennetworking.org> | Tue Nov 14 17:47:59 2017 -0800 |
tree | e87d465f6fa45c70c666db4f3b6b1575326e671c | |
parent | 0cebb02ba60c427764c357b1d2221fe7b3984520 [diff] |
CORD-1972: Add blueprint type to config file for being able to encode a child service graph Change-Id: I194ced7db631b2b379aaf192301c2bbce1f90a62 (cherry picked from commit 78085264a1f6a5b5db82ff44b582259bd08d0b8e)
diff --git a/lib/xos-config/xosconfig/default.py b/lib/xos-config/xosconfig/default.py index 61829ba..f6469aa 100644 --- a/lib/xos-config/xosconfig/default.py +++ b/lib/xos-config/xosconfig/default.py
@@ -23,6 +23,7 @@ # So for instance, you can add new handlers. Note that all handlers will # receive logs simultaneously. + 'blueprints': {}, 'logging': { 'version': 1, 'handlers': {
diff --git a/lib/xos-config/xosconfig/synchronizer-config-schema.yaml b/lib/xos-config/xosconfig/synchronizer-config-schema.yaml index 95a69b1..eac4065 100644 --- a/lib/xos-config/xosconfig/synchronizer-config-schema.yaml +++ b/lib/xos-config/xosconfig/synchronizer-config-schema.yaml
@@ -21,6 +21,17 @@ type: str logging: type: any + blueprints: + type: seq + sequence: + - type: map + map: + name: + type: str + required: True + graph: + type: any + required: True dependency_graph: type: str link_graph: