Andrea Campanella | bd56e78 | 2017-02-23 15:43:21 +0100 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | imports: |
| 4 | - custom_types/xos.yaml |
| 5 | - custom_types/vee.yaml |
| 6 | - custom_types/veg.yaml |
| 7 | - custom_types/vnodlocal.yaml |
| 8 | |
| 9 | description: vee services, generated by platform-install |
| 10 | |
| 11 | topology_template: |
| 12 | node_templates: |
| 13 | |
| 14 | service#ONOS_Fabric: |
| 15 | type: tosca.nodes.ONOSService |
| 16 | properties: |
| 17 | no-delete: true |
| 18 | no-create: true |
| 19 | no-update: true |
| 20 | |
| 21 | service#veg: |
| 22 | type: tosca.nodes.VEGService |
| 23 | requirements: |
| 24 | properties: |
| 25 | no-delete: true |
| 26 | no-create: true |
| 27 | no-update: true |
| 28 | artifacts: |
| 29 | pubkey: /opt/xos/services/veg/keys/veg_rsa.pub |
| 30 | |
| 31 | service#vnodlocal: |
| 32 | type: tosca.nodes.VNodLocalService |
| 33 | properties: |
| 34 | no-delete: true |
| 35 | no-create: true |
| 36 | no-update: true |
| 37 | requirements: |
| 38 | |
| 39 | service#vee: |
| 40 | type: tosca.nodes.VEEService |
| 41 | requirements: |
| 42 | - veg_tenant: |
| 43 | node: service#veg |
| 44 | relationship: tosca.relationships.TenantOfService |
| 45 | - vnodlocal_tenant: |
| 46 | node: service#vnodlocal |
| 47 | relationship: tosca.relationships.TenantOfService |
| 48 | properties: |
| 49 | view_url: /admin/vEE/veeservice/$id$/ |
| 50 | |
| 51 | template#vee: |
| 52 | type: tosca.nodes.NetworkTemplate |
| 53 | properties: |
| 54 | visibility: private |
| 55 | translation: none |
| 56 | vtn_kind: vee |
| 57 | |
| 58 | CarrierEthernet_ONOS_app: |
| 59 | type: tosca.nodes.ONOSApp |
| 60 | requirements: |
| 61 | - onos_tenant: |
| 62 | node: service#ONOS_Fabric |
| 63 | relationship: tosca.relationships.TenantOfService |
| 64 | - vee_service: |
| 65 | node: service#vee |
| 66 | relationship: tosca.relationships.UsedByService |
| 67 | properties: |
| 68 | dependencies: org.onosproject.drivers, org.onosproject.openflow-base, org.onosproject.ecord.carrierethernet |
| 69 | |