Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 2 | {# |
| 3 | Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | #} |
| 17 | |
| 18 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 19 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 20 | |
| 21 | description: created by platform-install, need to add M-CORD services later |
| 22 | |
| 23 | imports: |
| 24 | - custom_types/xos.yaml |
| 25 | |
| 26 | topology_template: |
| 27 | node_templates: |
| 28 | |
| 29 | # site, image, fully created in deployment.yaml |
| 30 | {{ site_name }}: |
| 31 | type: tosca.nodes.Site |
| 32 | |
| 33 | image#vsg-1.1: |
| 34 | type: tosca.nodes.Image |
| 35 | |
| 36 | # management networks, fully created in management-net.yaml |
| 37 | management: |
| 38 | type: tosca.nodes.network.Network.XOS |
| 39 | properties: |
| 40 | no-create: true |
| 41 | no-delete: true |
| 42 | no-update: true |
| 43 | |
| 44 | {% if use_management_hosts %} |
| 45 | management_hosts: |
| 46 | type: tosca.nodes.network.Network.XOS |
| 47 | properties: |
| 48 | no-create: true |
| 49 | no-delete: true |
| 50 | no-update: true |
| 51 | {% endif %} |
| 52 | |
| 53 | # ONOS_CORD, fully created in vtn.yaml |
| 54 | service#ONOS_CORD: |
| 55 | type: tosca.nodes.ONOSService |
| 56 | properties: |
| 57 | no-delete: true |
| 58 | no-create: true |
| 59 | no-update: true |
| 60 | |
| 61 | # ONOS_Fabric, fully created in fabric.yaml |
| 62 | service#ONOS_Fabric: |
| 63 | type: tosca.nodes.ONOSService |
| 64 | properties: |
| 65 | no-delete: true |
| 66 | no-create: true |
| 67 | no-update: true |
| 68 | |
| 69 | # CORD Services, add later |