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 |
| 17 | frontend_only: true |
| 18 | |
| 19 | /opt/xos/xos_configuration/xos_common_config: |
| 20 | type: tosca.nodes.XOSVolume |
| 21 | properties: |
| 22 | host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] } |
| 23 | read_only: false |
| 24 | requirements: |
| 25 | - xos: |
| 26 | node: xos |
| 27 | relationship: tosca.relationships.UsedByXOS |
| 28 | |
| 29 | /opt/xos/xos_configuration/xos_vtn_config: |
| 30 | type: tosca.nodes.XOSVolume |
| 31 | properties: |
| 32 | host_path: { path_join: [ SELF, CONFIG_DIR, ../cord-pod/files/xos_vtn_config, ENV_VAR ] } |
| 33 | read_only: true |
| 34 | requirements: |
| 35 | - xos: |
| 36 | node: xos |
| 37 | relationship: tosca.relationships.UsedByXOS |
| 38 | |
Matteo Scandolo | fade3ec | 2016-08-02 10:17:53 -0700 | [diff] [blame] | 39 | /opt/xos/core/templatetags: |
| 40 | type: tosca.nodes.XOSVolume |
| 41 | properties: |
| 42 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] } |
| 43 | read_only: false |
| 44 | requirements: |
| 45 | - xos: |
| 46 | node: xos |
| 47 | relationship: tosca.relationships.UsedByXOS |
| 48 | |
| 49 | /opt/xos/core/xoslib/dashboards: |
| 50 | type: tosca.nodes.XOSVolume |
| 51 | properties: |
| 52 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] } |
| 53 | read_only: false |
| 54 | requirements: |
| 55 | - xos: |
| 56 | node: xos |
| 57 | relationship: tosca.relationships.UsedByXOS |
| 58 | |
| 59 | /opt/xos/core/xoslib/static/css: |
| 60 | type: tosca.nodes.XOSVolume |
| 61 | properties: |
| 62 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] } |
| 63 | read_only: false |
| 64 | requirements: |
| 65 | - xos: |
| 66 | node: xos |
| 67 | relationship: tosca.relationships.UsedByXOS |
| 68 | |
| 69 | /opt/xos/core/xoslib/static/images: |
| 70 | type: tosca.nodes.XOSVolume |
| 71 | properties: |
| 72 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] } |
| 73 | read_only: false |
| 74 | requirements: |
| 75 | - xos: |
| 76 | node: xos |
| 77 | relationship: tosca.relationships.UsedByXOS |
| 78 | |
| 79 | /opt/xos/core/xoslib/static/js: |
| 80 | type: tosca.nodes.XOSVolume |
| 81 | properties: |
| 82 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] } |
| 83 | read_only: false |
| 84 | requirements: |
| 85 | - xos: |
| 86 | node: xos |
| 87 | relationship: tosca.relationships.UsedByXOS |
| 88 | |
Matteo Scandolo | 0da50d1 | 2016-07-08 11:07:38 -0700 | [diff] [blame] | 89 | /opt/xos/templates: |
| 90 | type: tosca.nodes.XOSVolume |
| 91 | properties: |
| 92 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] } |
| 93 | read_only: false |
| 94 | requirements: |
| 95 | - xos: |
| 96 | node: xos |
Matteo Scandolo | 1aeb49f | 2016-07-20 15:36:22 -0700 | [diff] [blame] | 97 | relationship: tosca.relationships.UsedByXOS |
| 98 | |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame^] | 99 | # The following volumes are sometimes used in development, |
| 100 | # 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] | 101 | |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame^] | 102 | # /opt/xos/tosca: |
| 103 | # type: tosca.nodes.XOSVolume |
| 104 | # properties: |
| 105 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] } |
| 106 | # read_only: false |
| 107 | # requirements: |
| 108 | # - xos: |
| 109 | # node: xos |
| 110 | # relationship: tosca.relationships.UsedByXOS |
| 111 | |
| 112 | # /opt/xos/xos: |
| 113 | # type: tosca.nodes.XOSVolume |
| 114 | # properties: |
| 115 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] } |
| 116 | # read_only: false |
| 117 | # requirements: |
| 118 | # - xos: |
| 119 | # node: xos |
| 120 | # relationship: tosca.relationships.UsedByXOS |
| 121 | |
| 122 | # /opt/xos/core/models: |
| 123 | # type: tosca.nodes.XOSVolume |
| 124 | # properties: |
| 125 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] } |
| 126 | # read_only: false |
| 127 | # requirements: |
| 128 | # - xos: |
| 129 | # node: xos |
| 130 | # relationship: tosca.relationships.UsedByXOS |
| 131 | |
| 132 | # /opt/xos/api/utility: |
| 133 | # type: tosca.nodes.XOSVolume |
| 134 | # properties: |
| 135 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility/, ENV_VAR ] } |
| 136 | # read_only: false |
| 137 | # requirements: |
| 138 | # - xos: |
| 139 | # node: xos |
| 140 | # relationship: tosca.relationships.UsedByXOS |