blob: d44061058fd721674c932425b10b9d29cefe14e4 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Created by platform-install/roles/cord-profile/templates/services.yaml.j2
4
5imports:
6 - custom_types/xos.yaml
Scott Baker3a5dea72017-03-06 23:01:01 -08007 - custom_types/vtr.yaml
Zack Williamsa2763112017-01-03 11:38:38 -07008
9topology_template:
10 node_templates:
11
12 # CORD Services
13 service#vtr:
Scott Baker3a5dea72017-03-06 23:01:01 -080014 type: tosca.nodes.VTRService
Zack Williamsa2763112017-01-03 11:38:38 -070015 properties:
16 view_url: /admin/vtr/vtrservice/$id$/
17 kind: vTR
18 replaces: service_vtr
19
20 service#volt:
21 type: tosca.nodes.VOLTService
22 requirements:
23 - vsg_tenant:
24 node: service#vsg
25 relationship: tosca.relationships.TenantOfService
26 properties:
27 view_url: /admin/cord/voltservice/$id$/
28 kind: vOLT
29 replaces: service_volt
30
31 addresses_vsg:
32 type: tosca.nodes.AddressPool
33 properties:
34 addresses: 10.168.0.0/24
35 gateway_ip: 10.168.0.1
36 gateway_mac: 02:42:0a:a8:00:01
37
38 addresses_exampleservice-public:
39 type: tosca.nodes.AddressPool
40 properties:
41 addresses: 10.168.1.0/24
42 gateway_ip: 10.168.1.1
43 gateway_mac: 02:42:0a:a8:00:01
44
45 service#vsg:
46 type: tosca.nodes.VSGService
47 requirements:
48 - vrouter_tenant:
49 node: service#vrouter
50 relationship: tosca.relationships.TenantOfService
51 properties:
52 view_url: /admin/cord/vsgservice/$id$/
53 private_key_fn: /opt/xos/synchronizers/vcpe/vcpe_private_key
54 replaces: service_vsg
55
56 service#vrouter:
57 type: tosca.nodes.VRouterService
58 properties:
59 view_url: /admin/vrouter/vrouterservice/$id$/
60 replaces: service_vrouter
61 requirements:
62 - addresses_vsg:
63 node: addresses_vsg
64 relationship: tosca.relationships.ProvidesAddresses
65 - addresses_service1:
66 node: addresses_exampleservice-public
67 relationship: tosca.relationships.ProvidesAddresses
68