Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Created by platform-install/roles/cord-profile/templates/services.yaml.j2 |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
Scott Baker | 3a5dea7 | 2017-03-06 23:01:01 -0800 | [diff] [blame] | 7 | - custom_types/vtr.yaml |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 8 | |
| 9 | topology_template: |
| 10 | node_templates: |
| 11 | |
| 12 | # CORD Services |
| 13 | service#vtr: |
Scott Baker | 3a5dea7 | 2017-03-06 23:01:01 -0800 | [diff] [blame] | 14 | type: tosca.nodes.VTRService |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 15 | 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 | |