blob: c7a0bd7a4d9264badcb5cf4bd22eba4c57400128 [file] [log] [blame]
Andy Bavier923d8ff2019-03-15 14:49:13 -07001---
2# Copyright 2018-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# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary 010-tt-workflow.yaml http://10.90.0.101:30007/run
17
18tosca_definitions_version: tosca_simple_yaml_1_0
19imports:
20 - custom_types/servicedependency.yaml
21 - custom_types/voltservice.yaml
22 - custom_types/ttworkflowdriverwhitelistentry.yaml
23 - custom_types/ttworkflowdriverservice.yaml
24description: Create an instance of the OSS Service and connect it to the vOLT Service
25topology_template:
26 node_templates:
27
28 service#tt:
29 type: tosca.nodes.TtWorkflowDriverService
30 properties:
31 name: tt-workflow-driver
32 must-exist: true
33
34 whitelist:
35 type: tosca.nodes.TtWorkflowDriverWhiteListEntry
36 properties:
37 serial_number: PSMO12345678
38 device_id: of:0000aabbccddeeff
39 pon_port_id: 1
40 requirements:
41 - owner:
42 node: service#tt
43 relationship: tosca.relationships.BelongsToOne