Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Onboard the exampleservice |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | xos: |
| 11 | type: tosca.nodes.XOS |
| 12 | properties: |
| 13 | ui_port: 9999 |
| 14 | bootstrap_ui_port: 9998 |
| 15 | docker_project_name: frontend |
| 16 | db_container_name: frontendbs_xos_db_1 |
Matteo Scandolo | ae7e83e | 2016-12-12 14:06:40 -0800 | [diff] [blame] | 17 | redis_container_name: frontendbs_xos_redis_1 |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 18 | frontend_only: true |
| 19 | |
| 20 | /opt/xos/xos_configuration/xos_common_config: |
| 21 | type: tosca.nodes.XOSVolume |
| 22 | properties: |
| 23 | host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] } |
| 24 | read_only: false |
| 25 | requirements: |
| 26 | - xos: |
| 27 | node: xos |
| 28 | relationship: tosca.relationships.UsedByXOS |
| 29 | |
| 30 | /opt/xos/xos_configuration/xos_vtn_config: |
| 31 | type: tosca.nodes.XOSVolume |
| 32 | properties: |
| 33 | host_path: { path_join: [ SELF, CONFIG_DIR, ../cord-pod/files/xos_vtn_config, ENV_VAR ] } |
| 34 | read_only: true |
| 35 | requirements: |
| 36 | - xos: |
| 37 | node: xos |
| 38 | relationship: tosca.relationships.UsedByXOS |
| 39 | |
Matteo Scandolo | fade3ec | 2016-08-02 10:17:53 -0700 | [diff] [blame] | 40 | /opt/xos/core/templatetags: |
| 41 | type: tosca.nodes.XOSVolume |
| 42 | properties: |
| 43 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] } |
| 44 | read_only: false |
| 45 | requirements: |
| 46 | - xos: |
| 47 | node: xos |
| 48 | relationship: tosca.relationships.UsedByXOS |
| 49 | |
| 50 | /opt/xos/core/xoslib/dashboards: |
| 51 | type: tosca.nodes.XOSVolume |
| 52 | properties: |
| 53 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] } |
| 54 | read_only: false |
| 55 | requirements: |
| 56 | - xos: |
| 57 | node: xos |
| 58 | relationship: tosca.relationships.UsedByXOS |
| 59 | |
| 60 | /opt/xos/core/xoslib/static/css: |
| 61 | type: tosca.nodes.XOSVolume |
| 62 | properties: |
| 63 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] } |
| 64 | read_only: false |
| 65 | requirements: |
| 66 | - xos: |
| 67 | node: xos |
| 68 | relationship: tosca.relationships.UsedByXOS |
| 69 | |
| 70 | /opt/xos/core/xoslib/static/images: |
| 71 | type: tosca.nodes.XOSVolume |
| 72 | properties: |
| 73 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] } |
| 74 | read_only: false |
| 75 | requirements: |
| 76 | - xos: |
| 77 | node: xos |
| 78 | relationship: tosca.relationships.UsedByXOS |
| 79 | |
| 80 | /opt/xos/core/xoslib/static/js: |
| 81 | type: tosca.nodes.XOSVolume |
| 82 | properties: |
| 83 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] } |
| 84 | read_only: false |
| 85 | requirements: |
| 86 | - xos: |
| 87 | node: xos |
| 88 | relationship: tosca.relationships.UsedByXOS |
| 89 | |
Matteo Scandolo | 0da50d1 | 2016-07-08 11:07:38 -0700 | [diff] [blame] | 90 | /opt/xos/templates: |
| 91 | type: tosca.nodes.XOSVolume |
| 92 | properties: |
| 93 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] } |
| 94 | read_only: false |
| 95 | requirements: |
| 96 | - xos: |
| 97 | node: xos |
Matteo Scandolo | 1aeb49f | 2016-07-20 15:36:22 -0700 | [diff] [blame] | 98 | relationship: tosca.relationships.UsedByXOS |
| 99 | |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 100 | # The following volumes are sometimes used in development, |
| 101 | # but they are not tested and they can break part of the system, handle with care. |
Matteo Scandolo | 1aeb49f | 2016-07-20 15:36:22 -0700 | [diff] [blame] | 102 | |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 103 | # /opt/xos/tosca: |
| 104 | # type: tosca.nodes.XOSVolume |
| 105 | # properties: |
| 106 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] } |
| 107 | # read_only: false |
| 108 | # requirements: |
| 109 | # - xos: |
| 110 | # node: xos |
| 111 | # relationship: tosca.relationships.UsedByXOS |
| 112 | |
| 113 | # /opt/xos/xos: |
| 114 | # type: tosca.nodes.XOSVolume |
| 115 | # properties: |
| 116 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] } |
| 117 | # read_only: false |
| 118 | # requirements: |
| 119 | # - xos: |
| 120 | # node: xos |
| 121 | # relationship: tosca.relationships.UsedByXOS |
| 122 | |
| 123 | # /opt/xos/core/models: |
| 124 | # type: tosca.nodes.XOSVolume |
| 125 | # properties: |
| 126 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] } |
| 127 | # read_only: false |
| 128 | # requirements: |
| 129 | # - xos: |
| 130 | # node: xos |
| 131 | # relationship: tosca.relationships.UsedByXOS |
| 132 | |
| 133 | # /opt/xos/api/utility: |
| 134 | # type: tosca.nodes.XOSVolume |
| 135 | # properties: |
| 136 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility/, ENV_VAR ] } |
| 137 | # read_only: false |
| 138 | # requirements: |
| 139 | # - xos: |
| 140 | # node: xos |
| 141 | # relationship: tosca.relationships.UsedByXOS |