omf_sfa 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. data/.gitignore +24 -0
  2. data/Gemfile +6 -0
  3. data/README.md +211 -0
  4. data/Rakefile +23 -0
  5. data/bin/parse_rspec.rb +167 -0
  6. data/etc/omf-sfa/omf-sfa-am.yaml +12 -0
  7. data/examples/exogeni5nodemanifest.rspec +105 -0
  8. data/examples/instageni5nodemanifest.rspec +150 -0
  9. data/lib/omf-sfa/am/am-rest/REST_API.md +301 -0
  10. data/lib/omf-sfa/am/am-rest/account_handler.rb +145 -0
  11. data/lib/omf-sfa/am/am-rest/am_rest_server.rb +255 -0
  12. data/lib/omf-sfa/am/am-rest/api_template.html +48 -0
  13. data/lib/omf-sfa/am/am-rest/config.ru +110 -0
  14. data/lib/omf-sfa/am/am-rest/resource_handler.rb +178 -0
  15. data/lib/omf-sfa/am/am-rest/rest_handler.rb +573 -0
  16. data/lib/omf-sfa/am/am-rest/session_authenticator.rb +130 -0
  17. data/lib/omf-sfa/am/am-rpc/abstract_rpc_service.rb +60 -0
  18. data/lib/omf-sfa/am/am-rpc/am_authorizer.rb +161 -0
  19. data/lib/omf-sfa/am/am-rpc/am_rpc_api.rb +450 -0
  20. data/lib/omf-sfa/am/am-rpc/am_rpc_service.rb +402 -0
  21. data/lib/omf-sfa/am/am_liaison.rb +93 -0
  22. data/lib/omf-sfa/am/am_manager.rb +859 -0
  23. data/lib/omf-sfa/am/am_runner.rb +108 -0
  24. data/lib/omf-sfa/am/am_scheduler.rb +146 -0
  25. data/lib/omf-sfa/am/am_server.rb +194 -0
  26. data/lib/omf-sfa/am/config.ru +122 -0
  27. data/lib/omf-sfa/am/credential.rb +145 -0
  28. data/lib/omf-sfa/am/default_authorizer.rb +44 -0
  29. data/lib/omf-sfa/am/privilege_credential.rb +76 -0
  30. data/lib/omf-sfa/am/signature.rb +37 -0
  31. data/lib/omf-sfa/am/user_credential.rb +56 -0
  32. data/lib/omf-sfa/am.rb +7 -0
  33. data/lib/omf-sfa/model/abstract_prop_description.rb +87 -0
  34. data/lib/omf-sfa/model/model_class_description.rb +145 -0
  35. data/lib/omf-sfa/model/model_data_prop_description.rb +28 -0
  36. data/lib/omf-sfa/model/model_obj_prop_description.rb +49 -0
  37. data/lib/omf-sfa/model/ontology.rb +169 -0
  38. data/lib/omf-sfa/resource/README.md +24 -0
  39. data/lib/omf-sfa/resource/channel.rb +49 -0
  40. data/lib/omf-sfa/resource/comp_group.rb +41 -0
  41. data/lib/omf-sfa/resource/component_lease.rb +10 -0
  42. data/lib/omf-sfa/resource/constants.rb +24 -0
  43. data/lib/omf-sfa/resource/group_component.rb +35 -0
  44. data/lib/omf-sfa/resource/group_membership.rb +17 -0
  45. data/lib/omf-sfa/resource/gurn.rb +187 -0
  46. data/lib/omf-sfa/resource/interface.rb +78 -0
  47. data/lib/omf-sfa/resource/ip.rb +48 -0
  48. data/lib/omf-sfa/resource/link.rb +29 -0
  49. data/lib/omf-sfa/resource/node.rb +75 -0
  50. data/lib/omf-sfa/resource/oaccount.rb +94 -0
  51. data/lib/omf-sfa/resource/ocomponent.rb +134 -0
  52. data/lib/omf-sfa/resource/ogroup.rb +106 -0
  53. data/lib/omf-sfa/resource/olease.rb +61 -0
  54. data/lib/omf-sfa/resource/oproperty.rb +178 -0
  55. data/lib/omf-sfa/resource/oreference.rb +15 -0
  56. data/lib/omf-sfa/resource/oresource.rb +491 -0
  57. data/lib/omf-sfa/resource/project.rb +28 -0
  58. data/lib/omf-sfa/resource/project_membership.rb +13 -0
  59. data/lib/omf-sfa/resource/sfa_base.rb +544 -0
  60. data/lib/omf-sfa/resource/user.rb +25 -0
  61. data/lib/omf-sfa/resource.rb +20 -0
  62. data/lib/omf-sfa/util/create_sample_testbed.rb +68 -0
  63. data/lib/omf-sfa/util/load_from_sfa_xml.rb +65 -0
  64. data/lib/omf-sfa/version.rb +4 -0
  65. data/lib/omf_sfa.rb +5 -0
  66. data/omf_sfa.gemspec +46 -0
  67. data/owl/README +3 -0
  68. data/owl/ben-6509.rdf +1377 -0
  69. data/owl/ben-dell.rdf +586 -0
  70. data/owl/ben-dtn.rdf +1698 -0
  71. data/owl/ben.rdf +1335 -0
  72. data/owl/collections.owl +309 -0
  73. data/owl/compute.owl +1486 -0
  74. data/owl/domain.owl +444 -0
  75. data/owl/dtn.owl +1165 -0
  76. data/owl/ec2.owl +385 -0
  77. data/owl/ethernet.owl +466 -0
  78. data/owl/eucalyptus.owl +431 -0
  79. data/owl/id-mp-Request1.rdf +247 -0
  80. data/owl/itu-grid.owl +147 -0
  81. data/owl/kansei.owl +511 -0
  82. data/owl/layer.owl +645 -0
  83. data/owl/location.owl +117 -0
  84. data/owl/mass.rdf +608 -0
  85. data/owl/nlr.rdf +901 -0
  86. data/owl/orca.owl +181 -0
  87. data/owl/planetlab.owl +124 -0
  88. data/owl/protogeni.owl +467 -0
  89. data/owl/request-6509-2.rdf +150 -0
  90. data/owl/request-6509-3.rdf +158 -0
  91. data/owl/request-6509.rdf +199 -0
  92. data/owl/request.owl +222 -0
  93. data/owl/storage.owl +511 -0
  94. data/owl/topology.owl +608 -0
  95. data/schema/rspec-v3/ad-common.xsd +269 -0
  96. data/schema/rspec-v3/ad-reservation.rnc +12 -0
  97. data/schema/rspec-v3/ad-reservation.rng +28 -0
  98. data/schema/rspec-v3/ad-reservation.xsd +13 -0
  99. data/schema/rspec-v3/ad.rnc +151 -0
  100. data/schema/rspec-v3/ad.xsd +77 -0
  101. data/schema/rspec-v3/any-extension-schema.xsd +38 -0
  102. data/schema/rspec-v3/any-extension.rnc +30 -0
  103. data/schema/rspec-v3/common.rnc +185 -0
  104. data/schema/rspec-v3/manifest-common.xsd +244 -0
  105. data/schema/rspec-v3/manifest-request.xsd +95 -0
  106. data/schema/rspec-v3/manifest.rnc +62 -0
  107. data/schema/rspec-v3/manifest.xsd +34 -0
  108. data/schema/rspec-v3/request-common.xsd +219 -0
  109. data/schema/rspec-v3/request-reservation.rnc +12 -0
  110. data/schema/rspec-v3/request-reservation.xsd +13 -0
  111. data/schema/rspec-v3/request.rnc +118 -0
  112. data/schema/rspec-v3/request.xsd +94 -0
  113. data/share/assets/css/default.css +147 -0
  114. data/share/assets/css/rest_api.css +0 -0
  115. data/share/assets/network.html +28 -0
  116. data/share/assets/network.js +82 -0
  117. data/spec/am/am-rest/common.rb +29 -0
  118. data/spec/am/am-rest/resource_group_handler_XspecX.rb +97 -0
  119. data/spec/am/am-rest/resource_handler_spec.rb +204 -0
  120. data/spec/am/am-rpc/sfa_methods_spec.rb +150 -0
  121. data/spec/am/am_manager_spec.rb +307 -0
  122. data/spec/am/am_scheduler_spec.rb +57 -0
  123. data/spec/am/common.rb +24 -0
  124. data/spec/resource/common.rb +31 -0
  125. data/spec/resource/node_spec.rb +171 -0
  126. data/spec/resource/oaccount_spec.rb +92 -0
  127. data/spec/resource/ocomponent_spec.rb +225 -0
  128. data/spec/resource/ogroup_spec.rb +93 -0
  129. data/spec/resource/oresource_spec.rb +208 -0
  130. data/spec/resource_and_leases_spec.rb +377 -0
  131. data/test/OLD_FILES/assertion1.xml +117 -0
  132. data/test/OLD_FILES/greeter_spec.rb +15 -0
  133. data/test/OLD_FILES/mongo_test.rb +45 -0
  134. data/test/OLD_FILES/req-sfa-2.xml +6 -0
  135. data/test/OLD_FILES/req-sfa-g.xml +8 -0
  136. data/test/OLD_FILES/req-sfa-g2.xml +10 -0
  137. data/test/OLD_FILES/req-sfa-g3.xml +14 -0
  138. data/test/OLD_FILES/req-sfa.xml +6 -0
  139. data/test/OLD_FILES/req1.xml +22 -0
  140. data/test/OLD_FILES/req1b.xml +15 -0
  141. data/test/OLD_FILES/rspec-test.xml +1867 -0
  142. data/test/OLD_FILES/test.rb +67 -0
  143. data/test/OLD_FILES/test2.rb +32 -0
  144. data/test/am/am_manager_rspec_tests.rb +378 -0
  145. data/test/am/am_manager_tests.rb +518 -0
  146. data/test/am/am_scheduler_tests.rb +173 -0
  147. data/test/resource/olease_test.rb +74 -0
  148. data/test/sfa_requests/request.xml +5 -0
  149. data/test/sfa_requests/request1.xml +5 -0
  150. data/test/sfa_requests/request2.xml +5 -0
  151. data/test/sfa_requests/request3.xml +5 -0
  152. metadata +601 -0
data/owl/ec2.owl ADDED
@@ -0,0 +1,385 @@
1
+ <?xml version="1.0"?>
2
+
3
+
4
+ <!DOCTYPE rdf:RDF [
5
+ <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
6
+ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
7
+ <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
8
+ <!ENTITY domain "http://geni-orca.renci.org/owl/domain.owl#" >
9
+ <!ENTITY storage "http://geni-orca.renci.org/owl/storage.owl#" >
10
+ <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
11
+ <!ENTITY compute "http://geni-orca.renci.org/owl/compute.owl#" >
12
+ ]>
13
+
14
+
15
+ <rdf:RDF xmlns="http://geni-orca.renci.org/owl/ec2.owl#"
16
+ xml:base="http://geni-orca.renci.org/owl/ec2.owl"
17
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
18
+ xmlns:owl="http://www.w3.org/2002/07/owl#"
19
+ xmlns:domain="http://geni-orca.renci.org/owl/domain.owl#"
20
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
21
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
22
+ xmlns:compute="http://geni-orca.renci.org/owl/compute.owl#"
23
+ xmlns:storage="http://geni-orca.renci.org/owl/storage.owl#">
24
+ <owl:Ontology rdf:about="http://geni-orca.renci.org/owl/ec2.owl">
25
+ <rdfs:isDefinedBy>RENCI
26
+ UNC Chapel Hill
27
+ ibaldin@renci.org, yxin@renci.org</rdfs:isDefinedBy>
28
+ <rdfs:comment>Amazon EC2 compute resource definitions</rdfs:comment>
29
+ <owl:imports rdf:resource="http://geni-orca.renci.org/owl/compute.owl"/>
30
+ <owl:versionIRI rdf:resource="http://geni-orca.renci.org/owl/ec2-v1.owl"/>
31
+ <owl:imports rdf:resource="http://geni-orca.renci.org/owl/storage.owl"/>
32
+ </owl:Ontology>
33
+
34
+
35
+
36
+ <!--
37
+ ///////////////////////////////////////////////////////////////////////////////////////
38
+ //
39
+ // Annotation properties
40
+ //
41
+ ///////////////////////////////////////////////////////////////////////////////////////
42
+ -->
43
+
44
+
45
+
46
+
47
+ <!--
48
+ ///////////////////////////////////////////////////////////////////////////////////////
49
+ //
50
+ // Datatypes
51
+ //
52
+ ///////////////////////////////////////////////////////////////////////////////////////
53
+ -->
54
+
55
+
56
+
57
+
58
+ <!--
59
+ ///////////////////////////////////////////////////////////////////////////////////////
60
+ //
61
+ // Classes
62
+ //
63
+ ///////////////////////////////////////////////////////////////////////////////////////
64
+ -->
65
+
66
+
67
+
68
+
69
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2C1Medium -->
70
+
71
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2C1Medium">
72
+ <owl:equivalentClass>
73
+ <owl:Class>
74
+ <owl:intersectionOf rdf:parseType="Collection">
75
+ <owl:Restriction>
76
+ <owl:onProperty rdf:resource="&compute;cpu"/>
77
+ <owl:hasValue rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2x86CPUCore"/>
78
+ </owl:Restriction>
79
+ <owl:Restriction>
80
+ <owl:onProperty rdf:resource="&compute;vmm"/>
81
+ <owl:hasValue rdf:resource="&compute;Xen"/>
82
+ </owl:Restriction>
83
+ <owl:Restriction>
84
+ <owl:onProperty rdf:resource="&compute;memoryCapacity"/>
85
+ <owl:hasValue>1.7GB</owl:hasValue>
86
+ </owl:Restriction>
87
+ <owl:Restriction>
88
+ <owl:onProperty rdf:resource="&compute;numCPUs"/>
89
+ <owl:hasValue rdf:datatype="&xsd;integer">2</owl:hasValue>
90
+ </owl:Restriction>
91
+ <owl:Restriction>
92
+ <owl:onProperty rdf:resource="&storage;storageCapacity"/>
93
+ <owl:hasValue>160GB</owl:hasValue>
94
+ </owl:Restriction>
95
+ </owl:intersectionOf>
96
+ </owl:Class>
97
+ </owl:equivalentClass>
98
+ <rdfs:subClassOf rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2ComputeElement"/>
99
+ </owl:Class>
100
+
101
+
102
+
103
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2C1XLarge -->
104
+
105
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2C1XLarge">
106
+ <owl:equivalentClass>
107
+ <owl:Class>
108
+ <owl:intersectionOf rdf:parseType="Collection">
109
+ <owl:Restriction>
110
+ <owl:onProperty rdf:resource="&compute;cpu"/>
111
+ <owl:hasValue rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2x86-64CPUCore"/>
112
+ </owl:Restriction>
113
+ <owl:Restriction>
114
+ <owl:onProperty rdf:resource="&compute;vmm"/>
115
+ <owl:hasValue rdf:resource="&compute;Xen"/>
116
+ </owl:Restriction>
117
+ <owl:Restriction>
118
+ <owl:onProperty rdf:resource="&compute;memoryCapacity"/>
119
+ <owl:hasValue>7GB</owl:hasValue>
120
+ </owl:Restriction>
121
+ <owl:Restriction>
122
+ <owl:onProperty rdf:resource="&compute;numCPUs"/>
123
+ <owl:hasValue rdf:datatype="&xsd;integer">8</owl:hasValue>
124
+ </owl:Restriction>
125
+ <owl:Restriction>
126
+ <owl:onProperty rdf:resource="&storage;storageCapacity"/>
127
+ <owl:hasValue>1690GB</owl:hasValue>
128
+ </owl:Restriction>
129
+ </owl:intersectionOf>
130
+ </owl:Class>
131
+ </owl:equivalentClass>
132
+ <rdfs:subClassOf rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2ComputeElement"/>
133
+ </owl:Class>
134
+
135
+
136
+
137
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2ComputeElement -->
138
+
139
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2ComputeElement">
140
+ <rdfs:subClassOf rdf:resource="&compute;ClassifiedComputeElement"/>
141
+ </owl:Class>
142
+
143
+
144
+
145
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2M1Large -->
146
+
147
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2M1Large">
148
+ <owl:equivalentClass>
149
+ <owl:Class>
150
+ <owl:intersectionOf rdf:parseType="Collection">
151
+ <owl:Restriction>
152
+ <owl:onProperty rdf:resource="&compute;cpu"/>
153
+ <owl:hasValue rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2x86-64CPUCore"/>
154
+ </owl:Restriction>
155
+ <owl:Restriction>
156
+ <owl:onProperty rdf:resource="&compute;vmm"/>
157
+ <owl:hasValue rdf:resource="&compute;Xen"/>
158
+ </owl:Restriction>
159
+ <owl:Restriction>
160
+ <owl:onProperty rdf:resource="&compute;memoryCapacity"/>
161
+ <owl:hasValue>7.5GB</owl:hasValue>
162
+ </owl:Restriction>
163
+ <owl:Restriction>
164
+ <owl:onProperty rdf:resource="&compute;numCPUs"/>
165
+ <owl:hasValue rdf:datatype="&xsd;integer">2</owl:hasValue>
166
+ </owl:Restriction>
167
+ <owl:Restriction>
168
+ <owl:onProperty rdf:resource="&storage;storageCapacity"/>
169
+ <owl:hasValue>850GB</owl:hasValue>
170
+ </owl:Restriction>
171
+ </owl:intersectionOf>
172
+ </owl:Class>
173
+ </owl:equivalentClass>
174
+ <rdfs:subClassOf rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2ComputeElement"/>
175
+ </owl:Class>
176
+
177
+
178
+
179
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2M1Small -->
180
+
181
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2M1Small">
182
+ <owl:equivalentClass>
183
+ <owl:Class>
184
+ <owl:intersectionOf rdf:parseType="Collection">
185
+ <owl:Restriction>
186
+ <owl:onProperty rdf:resource="&compute;cpu"/>
187
+ <owl:hasValue rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2x86CPUCore"/>
188
+ </owl:Restriction>
189
+ <owl:Restriction>
190
+ <owl:onProperty rdf:resource="&compute;vmm"/>
191
+ <owl:hasValue rdf:resource="&compute;Xen"/>
192
+ </owl:Restriction>
193
+ <owl:Restriction>
194
+ <owl:onProperty rdf:resource="&compute;memoryCapacity"/>
195
+ <owl:hasValue>1.7GB</owl:hasValue>
196
+ </owl:Restriction>
197
+ <owl:Restriction>
198
+ <owl:onProperty rdf:resource="&storage;storageCapacity"/>
199
+ <owl:hasValue>160GB</owl:hasValue>
200
+ </owl:Restriction>
201
+ </owl:intersectionOf>
202
+ </owl:Class>
203
+ </owl:equivalentClass>
204
+ <rdfs:subClassOf rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2ComputeElement"/>
205
+ </owl:Class>
206
+
207
+
208
+
209
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2M1XLarge -->
210
+
211
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2M1XLarge">
212
+ <owl:equivalentClass>
213
+ <owl:Class>
214
+ <owl:intersectionOf rdf:parseType="Collection">
215
+ <owl:Restriction>
216
+ <owl:onProperty rdf:resource="&compute;cpu"/>
217
+ <owl:hasValue rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2x86-64CPUCore"/>
218
+ </owl:Restriction>
219
+ <owl:Restriction>
220
+ <owl:onProperty rdf:resource="&compute;vmm"/>
221
+ <owl:hasValue rdf:resource="&compute;Xen"/>
222
+ </owl:Restriction>
223
+ <owl:Restriction>
224
+ <owl:onProperty rdf:resource="&compute;memoryCapacity"/>
225
+ <owl:hasValue>15GB</owl:hasValue>
226
+ </owl:Restriction>
227
+ <owl:Restriction>
228
+ <owl:onProperty rdf:resource="&compute;numCPUs"/>
229
+ <owl:hasValue rdf:datatype="&xsd;integer">4</owl:hasValue>
230
+ </owl:Restriction>
231
+ <owl:Restriction>
232
+ <owl:onProperty rdf:resource="&storage;storageCapacity"/>
233
+ <owl:hasValue>1690GB</owl:hasValue>
234
+ </owl:Restriction>
235
+ </owl:intersectionOf>
236
+ </owl:Class>
237
+ </owl:equivalentClass>
238
+ <rdfs:subClassOf rdf:resource="http://geni-orca.renci.org/owl/ec2.owl#EC2ComputeElement"/>
239
+ </owl:Class>
240
+
241
+
242
+
243
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2x86-64CPUCore -->
244
+
245
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2x86-64CPUCore">
246
+ <owl:equivalentClass>
247
+ <owl:Class>
248
+ <owl:intersectionOf rdf:parseType="Collection">
249
+ <owl:Restriction>
250
+ <owl:onProperty rdf:resource="&compute;cpuArchitecture"/>
251
+ <owl:hasValue rdf:resource="&compute;x86-64"/>
252
+ </owl:Restriction>
253
+ <owl:Restriction>
254
+ <owl:onProperty rdf:resource="&compute;vendor"/>
255
+ <owl:hasValue rdf:resource="&compute;AMD"/>
256
+ </owl:Restriction>
257
+ <owl:Restriction>
258
+ <owl:onProperty rdf:resource="&compute;clockFrequency"/>
259
+ <owl:hasValue>1.2GHz</owl:hasValue>
260
+ </owl:Restriction>
261
+ <owl:Restriction>
262
+ <owl:onProperty rdf:resource="&compute;cpuFamily"/>
263
+ <owl:hasValue>Opteron</owl:hasValue>
264
+ </owl:Restriction>
265
+ <owl:Restriction>
266
+ <owl:onProperty rdf:resource="&compute;numCPUCores"/>
267
+ <owl:hasValue rdf:datatype="&xsd;integer">1</owl:hasValue>
268
+ </owl:Restriction>
269
+ </owl:intersectionOf>
270
+ </owl:Class>
271
+ </owl:equivalentClass>
272
+ <rdfs:subClassOf rdf:resource="&compute;CPU"/>
273
+ </owl:Class>
274
+
275
+
276
+
277
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2x86CPUCore -->
278
+
279
+ <owl:Class rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2x86CPUCore">
280
+ <owl:equivalentClass>
281
+ <owl:Class>
282
+ <owl:intersectionOf rdf:parseType="Collection">
283
+ <owl:Restriction>
284
+ <owl:onProperty rdf:resource="&compute;cpuArchitecture"/>
285
+ <owl:hasValue rdf:resource="&compute;x86"/>
286
+ </owl:Restriction>
287
+ <owl:Restriction>
288
+ <owl:onProperty rdf:resource="&compute;vendor"/>
289
+ <owl:hasValue rdf:resource="&compute;AMD"/>
290
+ </owl:Restriction>
291
+ <owl:Restriction>
292
+ <owl:onProperty rdf:resource="&compute;clockFrequency"/>
293
+ <owl:hasValue>1.2GHz</owl:hasValue>
294
+ </owl:Restriction>
295
+ <owl:Restriction>
296
+ <owl:onProperty rdf:resource="&compute;cpuFamily"/>
297
+ <owl:hasValue>Opteron</owl:hasValue>
298
+ </owl:Restriction>
299
+ <owl:Restriction>
300
+ <owl:onProperty rdf:resource="&compute;numCPUCores"/>
301
+ <owl:hasValue rdf:datatype="&xsd;integer">1</owl:hasValue>
302
+ </owl:Restriction>
303
+ </owl:intersectionOf>
304
+ </owl:Class>
305
+ </owl:equivalentClass>
306
+ <rdfs:subClassOf rdf:resource="&compute;CPU"/>
307
+ </owl:Class>
308
+
309
+
310
+
311
+ <!--
312
+ ///////////////////////////////////////////////////////////////////////////////////////
313
+ //
314
+ // Individuals
315
+ //
316
+ ///////////////////////////////////////////////////////////////////////////////////////
317
+ -->
318
+
319
+
320
+
321
+
322
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2C1Medium -->
323
+
324
+ <owl:NamedIndividual rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2C1Medium">
325
+ <rdf:type rdf:resource="&compute;ClassifiedComputeElementInstance"/>
326
+ <rdf:type rdf:resource="&domain;ResourceType"/>
327
+ </owl:NamedIndividual>
328
+
329
+
330
+
331
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2C1XLarge -->
332
+
333
+ <owl:NamedIndividual rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2C1XLarge">
334
+ <rdf:type rdf:resource="&compute;ClassifiedComputeElementInstance"/>
335
+ <rdf:type rdf:resource="&domain;ResourceType"/>
336
+ </owl:NamedIndividual>
337
+
338
+
339
+
340
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2M1Large -->
341
+
342
+ <owl:NamedIndividual rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2M1Large">
343
+ <rdf:type rdf:resource="&compute;ClassifiedComputeElementInstance"/>
344
+ <rdf:type rdf:resource="&domain;ResourceType"/>
345
+ </owl:NamedIndividual>
346
+
347
+
348
+
349
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2M1Small -->
350
+
351
+ <owl:NamedIndividual rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2M1Small">
352
+ <rdf:type rdf:resource="&compute;ClassifiedComputeElementInstance"/>
353
+ <rdf:type rdf:resource="&domain;ResourceType"/>
354
+ </owl:NamedIndividual>
355
+
356
+
357
+
358
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2M1XLarge -->
359
+
360
+ <owl:NamedIndividual rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2M1XLarge">
361
+ <rdf:type rdf:resource="&compute;ClassifiedComputeElementInstance"/>
362
+ <rdf:type rdf:resource="&domain;ResourceType"/>
363
+ </owl:NamedIndividual>
364
+
365
+
366
+
367
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2x86-64CPUCore -->
368
+
369
+ <owl:NamedIndividual rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2x86-64CPUCore">
370
+ <rdf:type rdf:resource="&compute;CPUInstance"/>
371
+ </owl:NamedIndividual>
372
+
373
+
374
+
375
+ <!-- http://geni-orca.renci.org/owl/ec2.owl#EC2x86CPUCore -->
376
+
377
+ <owl:NamedIndividual rdf:about="http://geni-orca.renci.org/owl/ec2.owl#EC2x86CPUCore">
378
+ <rdf:type rdf:resource="&compute;CPUInstance"/>
379
+ </owl:NamedIndividual>
380
+ </rdf:RDF>
381
+
382
+
383
+
384
+ <!-- Generated by the OWL API (version 3.2.3.22702) http://owlapi.sourceforge.net -->
385
+