Zack Williams | 4a830ed | 2018-01-18 09:55:27 -0700 | [diff] [blame^] | 1 | --- |
Andy Bavier | 01685f8 | 2017-12-21 14:06:54 -0700 | [diff] [blame] | 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 | |
Andy Bavier | 01685f8 | 2017-12-21 14:06:54 -0700 | [diff] [blame] | 18 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 19 | |
| 20 | imports: |
| 21 | - custom_types/veeservice.yaml |
| 22 | - custom_types/vegservice.yaml |
| 23 | - custom_types/networktemplate.yaml |
| 24 | - custom_types/servicedependency.yaml |
| 25 | |
Zack Williams | 4a830ed | 2018-01-18 09:55:27 -0700 | [diff] [blame^] | 26 | description: vee services, generated by ecord profile |
Andy Bavier | 01685f8 | 2017-12-21 14:06:54 -0700 | [diff] [blame] | 27 | |
| 28 | topology_template: |
| 29 | node_templates: |
| 30 | |
| 31 | service#veg: |
| 32 | type: tosca.nodes.VEGService |
| 33 | requirements: |
| 34 | properties: |
| 35 | name: veg |
| 36 | must-exist: true |
| 37 | |
| 38 | service#vee: |
| 39 | type: tosca.nodes.VEEService |
| 40 | properties: |
| 41 | name: vee |
| 42 | |
| 43 | veg_vee: |
| 44 | type: tosca.nodes.ServiceDependency |
| 45 | properties: |
| 46 | connect_method: None |
| 47 | requirements: |
| 48 | - subscriber_service: |
| 49 | node: service#veg |
| 50 | relationship: tosca.relationships.BelongsToOne |
| 51 | - provider_service: |
| 52 | node: service#vee |
| 53 | relationship: tosca.relationships.BelongsToOne |
| 54 | |
Zack Williams | 4a830ed | 2018-01-18 09:55:27 -0700 | [diff] [blame^] | 55 | vee_template: |
Andy Bavier | 01685f8 | 2017-12-21 14:06:54 -0700 | [diff] [blame] | 56 | type: tosca.nodes.NetworkTemplate |
| 57 | properties: |
Zack Williams | 4a830ed | 2018-01-18 09:55:27 -0700 | [diff] [blame^] | 58 | name: vee_template |
Andy Bavier | 01685f8 | 2017-12-21 14:06:54 -0700 | [diff] [blame] | 59 | visibility: private |
| 60 | translation: none |
| 61 | vtn_kind: vee |
| 62 | |