blob: 29a5d8777932e300eea57be6f3d4a483d0402f0b [file] [log] [blame]
Scott Bakerf93a06c2016-07-11 17:04:49 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Just enough Tosca to get the vSG slice running on the CORD POD
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
10
11 service#volt:
12 type: tosca.nodes.VOLTService
13 properties:
14 no-delete: true
15 no-create: true
16 no-update: true
17
18 mysite:
19 type: tosca.nodes.Site
20 properties:
21 no-delete: true
22 no-create: true
23 no-update: true
24
25 # CORD Slices
26 mysite_vsg:
27 type: tosca.nodes.Slice
28 properties:
29 no-delete: true
30 no-create: true
31 no-update: true
32
33 # Let's add a user who can be administrator of the household
34 johndoe@myhouse.com:
35 type: tosca.nodes.User
36 properties:
37 password: letmein
38 firstname: john
39 lastname: doe
40 requirements:
41 - site:
42 node: mysite
43 relationship: tosca.relationships.MemberOfSite
44 - dependency:
45 node: mysite_vsg
46 relationship: tosca.relationships.DependsOn
47
48 # A subscriber
49 My House:
50 type: tosca.nodes.CORDSubscriber
51 properties:
52 service_specific_id: 123
53 firewall_enable: false
54 cdn_enable: false
55 url_filter_enable: false
56 url_filter_level: R
57 requirements:
58 - house_admin:
59 node: johndoe@myhouse.com
60 relationship: tosca.relationships.AdminPrivilege
61
62 Mom's PC:
63 type: tosca.nodes.CORDUser
64 properties:
65 mac: 01:02:03:04:05:06
66 level: PG_13
67 requirements:
68 - household:
69 node: My House
70 relationship: tosca.relationships.SubscriberDevice
71
72 Dad's PC:
73 type: tosca.nodes.CORDUser
74 properties:
75 mac: 90:E2:BA:82:F9:75
76 level: PG_13
77 requirements:
78 - household:
79 node: My House
80 relationship: tosca.relationships.SubscriberDevice
81
82 Jack's Laptop:
83 type: tosca.nodes.CORDUser
84 properties:
85 mac: 68:5B:35:9D:91:D5
86 level: PG_13
87 requirements:
88 - household:
89 node: My House
90 relationship: tosca.relationships.SubscriberDevice
91
92 Jill's Laptop:
93 type: tosca.nodes.CORDUser
94 properties:
95 mac: 34:36:3B:C9:B6:A6
96 level: PG_13
97 requirements:
98 - household:
99 node: My House
100 relationship: tosca.relationships.SubscriberDevice
101
102 My Volt:
103 type: tosca.nodes.VOLTTenant
104 properties:
105 service_specific_id: 123
106 s_tag: 222
107 c_tag: 111
108 requirements:
109 - provider_service:
110 node: service#volt
111 relationship: tosca.relationships.MemberOfService
112 - subscriber:
113 node: My House
114 relationship: tosca.relationships.BelongsToSubscriber
115 - dependency:
116 node: mysite_vsg
117 relationship: tosca.relationships.DependsOn