Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | imports: |
| 4 | - custom_types/xos.yaml |
| 5 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 6 | description: fabric services, generated by platform-install |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | service#ONOS_Fabric: |
| 12 | type: tosca.nodes.ONOSService |
| 13 | requirements: |
| 14 | properties: |
| 15 | kind: onos |
| 16 | view_url: /admin/onos/onosservice/$id$/ |
| 17 | no_container: true |
| 18 | rest_hostname: onos-fabric |
| 19 | replaces: service_ONOS_Fabric |
| 20 | rest_onos/v1/network/configuration/: { get_artifact: [ SELF, fabric_network_cfg_json, LOCAL_FILE ] } |
| 21 | artifacts: |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 22 | fabric_network_cfg_json: {{ fabric_network_cfg_json }} |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 23 | |
| 24 | service#fabric: |
| 25 | type: tosca.nodes.FabricService |
| 26 | properties: |
| 27 | view_url: /admin/fabric/fabricservice/$id$/ |
| 28 | replaces: service_fabric |
| 29 | |
| 30 | Fabric_ONOS_app: |
| 31 | type: tosca.nodes.ONOSApp |
| 32 | requirements: |
| 33 | - onos_tenant: |
| 34 | node: service#ONOS_Fabric |
| 35 | relationship: tosca.relationships.TenantOfService |
| 36 | - fabric_service: |
| 37 | node: service#fabric |
| 38 | relationship: tosca.relationships.UsedByService |
| 39 | properties: |
| 40 | dependencies: org.onosproject.drivers, org.onosproject.openflow-base, org.onosproject.netcfghostprovider, org.onosproject.netcfglinksprovider, org.onosproject.segmentrouting, org.onosproject.vrouter, org.onosproject.hostprovider |
| 41 | |