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 |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | # CORD Services |
| 12 | service#vtr: |
| 13 | type: tosca.nodes.Service |
| 14 | properties: |
| 15 | view_url: /admin/vtr/vtrservice/$id$/ |
| 16 | kind: vTR |
| 17 | replaces: service_vtr |
| 18 | |
| 19 | service#volt: |
| 20 | type: tosca.nodes.VOLTService |
| 21 | requirements: |
| 22 | - vsg_tenant: |
| 23 | node: service#vsg |
| 24 | relationship: tosca.relationships.TenantOfService |
| 25 | properties: |
| 26 | view_url: /admin/cord/voltservice/$id$/ |
| 27 | kind: vOLT |
| 28 | replaces: service_volt |
| 29 | |
| 30 | addresses_vsg: |
| 31 | type: tosca.nodes.AddressPool |
| 32 | properties: |
| 33 | addresses: 10.168.0.0/24 |
| 34 | gateway_ip: 10.168.0.1 |
| 35 | gateway_mac: 02:42:0a:a8:00:01 |
| 36 | |
| 37 | addresses_exampleservice-public: |
| 38 | type: tosca.nodes.AddressPool |
| 39 | properties: |
| 40 | addresses: 10.168.1.0/24 |
| 41 | gateway_ip: 10.168.1.1 |
| 42 | gateway_mac: 02:42:0a:a8:00:01 |
| 43 | |
| 44 | service#vsg: |
| 45 | type: tosca.nodes.VSGService |
| 46 | requirements: |
| 47 | - vrouter_tenant: |
| 48 | node: service#vrouter |
| 49 | relationship: tosca.relationships.TenantOfService |
| 50 | properties: |
| 51 | view_url: /admin/cord/vsgservice/$id$/ |
| 52 | private_key_fn: /opt/xos/synchronizers/vcpe/vcpe_private_key |
| 53 | replaces: service_vsg |
| 54 | |
| 55 | service#vrouter: |
| 56 | type: tosca.nodes.VRouterService |
| 57 | properties: |
| 58 | view_url: /admin/vrouter/vrouterservice/$id$/ |
| 59 | replaces: service_vrouter |
| 60 | requirements: |
| 61 | - addresses_vsg: |
| 62 | node: addresses_vsg |
| 63 | relationship: tosca.relationships.ProvidesAddresses |
| 64 | - addresses_service1: |
| 65 | node: addresses_exampleservice-public |
| 66 | relationship: tosca.relationships.ProvidesAddresses |
| 67 | |