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: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 13 | ui_port: 9000 |
| 14 | bootstrap_ui_port: 9001 |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 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 | |
Scott Baker | 2d1a176 | 2017-01-17 14:54:04 -0800 | [diff] [blame] | 40 | /opt/cord: |
| 41 | type: tosca.nodes.XOSVolume |
| 42 | properties: |
| 43 | # note: The following path should be set to the place where `repo init` |
| 44 | # was run to checkout your CORD hierarchy. |
| 45 | host_path: "/opt/cord" |
| 46 | read_only: true |
| 47 | requirements: |
| 48 | - xos: |
| 49 | node: xos |
| 50 | relationship: tosca.relationships.UsedByXOS |
| 51 | |
Matteo Scandolo | fade3ec | 2016-08-02 10:17:53 -0700 | [diff] [blame] | 52 | /opt/xos/core/templatetags: |
| 53 | type: tosca.nodes.XOSVolume |
| 54 | properties: |
| 55 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] } |
| 56 | read_only: false |
| 57 | requirements: |
| 58 | - xos: |
| 59 | node: xos |
| 60 | relationship: tosca.relationships.UsedByXOS |
| 61 | |
| 62 | /opt/xos/core/xoslib/dashboards: |
| 63 | type: tosca.nodes.XOSVolume |
| 64 | properties: |
| 65 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] } |
| 66 | read_only: false |
| 67 | requirements: |
| 68 | - xos: |
| 69 | node: xos |
| 70 | relationship: tosca.relationships.UsedByXOS |
| 71 | |
| 72 | /opt/xos/core/xoslib/static/css: |
| 73 | type: tosca.nodes.XOSVolume |
| 74 | properties: |
| 75 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] } |
| 76 | read_only: false |
| 77 | requirements: |
| 78 | - xos: |
| 79 | node: xos |
| 80 | relationship: tosca.relationships.UsedByXOS |
| 81 | |
| 82 | /opt/xos/core/xoslib/static/images: |
| 83 | type: tosca.nodes.XOSVolume |
| 84 | properties: |
| 85 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] } |
| 86 | read_only: false |
| 87 | requirements: |
| 88 | - xos: |
| 89 | node: xos |
| 90 | relationship: tosca.relationships.UsedByXOS |
| 91 | |
| 92 | /opt/xos/core/xoslib/static/js: |
| 93 | type: tosca.nodes.XOSVolume |
| 94 | properties: |
| 95 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] } |
| 96 | read_only: false |
| 97 | requirements: |
| 98 | - xos: |
| 99 | node: xos |
| 100 | relationship: tosca.relationships.UsedByXOS |
| 101 | |
Matteo Scandolo | 0da50d1 | 2016-07-08 11:07:38 -0700 | [diff] [blame] | 102 | /opt/xos/templates: |
| 103 | type: tosca.nodes.XOSVolume |
| 104 | properties: |
| 105 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] } |
| 106 | read_only: false |
| 107 | requirements: |
| 108 | - xos: |
| 109 | node: xos |
Matteo Scandolo | 1aeb49f | 2016-07-20 15:36:22 -0700 | [diff] [blame] | 110 | relationship: tosca.relationships.UsedByXOS |
| 111 | |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 112 | # The following volumes are sometimes used in development, |
| 113 | # 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] | 114 | |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 115 | # /opt/xos/tosca: |
| 116 | # type: tosca.nodes.XOSVolume |
| 117 | # properties: |
| 118 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] } |
| 119 | # read_only: false |
| 120 | # requirements: |
| 121 | # - xos: |
| 122 | # node: xos |
| 123 | # relationship: tosca.relationships.UsedByXOS |
| 124 | |
| 125 | # /opt/xos/xos: |
| 126 | # type: tosca.nodes.XOSVolume |
| 127 | # properties: |
| 128 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] } |
| 129 | # read_only: false |
| 130 | # requirements: |
| 131 | # - xos: |
| 132 | # node: xos |
| 133 | # relationship: tosca.relationships.UsedByXOS |
| 134 | |
| 135 | # /opt/xos/core/models: |
| 136 | # type: tosca.nodes.XOSVolume |
| 137 | # properties: |
| 138 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] } |
| 139 | # read_only: false |
| 140 | # requirements: |
| 141 | # - xos: |
| 142 | # node: xos |
| 143 | # relationship: tosca.relationships.UsedByXOS |
| 144 | |
| 145 | # /opt/xos/api/utility: |
| 146 | # type: tosca.nodes.XOSVolume |
| 147 | # properties: |
| 148 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility/, ENV_VAR ] } |
| 149 | # read_only: false |
| 150 | # requirements: |
| 151 | # - xos: |
| 152 | # node: xos |
| 153 | # relationship: tosca.relationships.UsedByXOS |