Andy Bavier | e38b051 | 2018-01-08 13:33:53 -0700 | [diff] [blame] | 1 | {# |
| 2 | Copyright 2017-present Open Networking Foundation |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | #} |
| 16 | |
| 17 | |
| 18 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 19 | |
| 20 | imports: |
| 21 | - custom_types/onosservice.yaml |
| 22 | |
| 23 | description: Configures the global ONOS service |
| 24 | |
| 25 | topology_template: |
| 26 | node_templates: |
| 27 | |
| 28 | service#ONOS_CORD: |
| 29 | type: tosca.nodes.ONOSService |
| 30 | requirements: |
| 31 | properties: |
| 32 | name: ONOS_CORD |
| 33 | kind: ecord |
| 34 | no_container: true |
| 35 | rest_hostname: onos-cord.{{ site_suffix }} |
| 36 | rest_port: 8182 |
| 37 | |