blob: 36ad25ad93e84b48e87a80127a3a09685a6f9523 [file] [log] [blame]
Zack Williams682450e2016-11-19 09:04:41 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
5
Zack Williamsa2763112017-01-03 11:38:38 -07006description: fabric services, generated by platform-install
Zack Williams682450e2016-11-19 09:04:41 -07007
8topology_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 Williamsa2763112017-01-03 11:38:38 -070022 fabric_network_cfg_json: {{ fabric_network_cfg_json }}
Zack Williams682450e2016-11-19 09:04:41 -070023
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