Scott Baker | f93a06c | 2016-07-11 17:04:49 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Just enough Tosca to get the vSG slice running on the CORD POD |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | service#volt: |
| 11 | type: tosca.nodes.VOLTService |
| 12 | properties: |
| 13 | no-create: True |
| 14 | no-delete: True |
| 15 | no-update: True |
| 16 | |
| 17 | voltdev-1: |
| 18 | type: tosca.nodes.VOLTDevice |
| 19 | properties: |
| 20 | driver: pmc-olt |
| 21 | openflow_id: of:1000000000000001 |
| 22 | access_devices: > |
| 23 | 2 222, |
| 24 | 3 223, |
| 25 | 4 224 |
| 26 | requirements: |
| 27 | - volt_service: |
| 28 | node: service#volt |
| 29 | relationship: tosca.relationships.MemberOfService |
| 30 | - access_agent: |
| 31 | node: agent-1 |
| 32 | relationship: tosca.relationships.UsesAgent |
| 33 | |
| 34 | agent-1: |
| 35 | type: tosca.nodes.AccessAgent |
| 36 | properties: |
| 37 | mac: AA:BB:CC:DD:EE:FF |
| 38 | port_mappings: > |
| 39 | of:0000000000000002/2 DE:AD:BE:EF:BA:11, |
| 40 | of:0000000000000002/3 BE:EF:DE:AD:BE:EF |
| 41 | requirements: |
| 42 | - volt_service: |
| 43 | node: service#volt |
| 44 | relationship: tosca.relationships.MemberOfService |
| 45 | |
| 46 | |
| 47 | |