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