sfa-0.9-17 tag
[sfa.git] / rspec / model / planetlab.ecore
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ecore:EPackage xmi:version="2.0"
3     xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="planetlab"
5     nsURI="http://www.planet-lab.org" nsPrefix="pl">
6   <eClassifiers xsi:type="ecore:EClass" name="RSpec">
7     <eStructuralFeatures xsi:type="ecore:EReference" name="networks" lowerBound="1"
8         upperBound="-1" eType="#//NetSpec"/>
9     <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
10     <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
11   </eClassifiers>
12   <eClassifiers xsi:type="ecore:EClass" name="NetSpec">
13     <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
14     <eStructuralFeatures xsi:type="ecore:EReference" name="nodes" lowerBound="1" upperBound="-1"
15         eType="#//NodeSpec"/>
16     <eStructuralFeatures xsi:type="ecore:EReference" name="links" upperBound="-1"
17         eType="#//LinkSpec" containment="true"/>
18     <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
19     <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
20   </eClassifiers>
21   <eClassifiers xsi:type="ecore:EClass" name="NodeSpec">
22     <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" upperBound="1000"
23         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
24     <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
25         defaultValueLiteral="&quot;&quot;"/>
26     <eStructuralFeatures xsi:type="ecore:EAttribute" name="init_params" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByteArray"
27         defaultValueLiteral=""/>
28     <eStructuralFeatures xsi:type="ecore:EAttribute" name="cpu_min" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
29         defaultValueLiteral="0"/>
30     <eStructuralFeatures xsi:type="ecore:EAttribute" name="cpu_share" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
31         defaultValueLiteral="0"/>
32     <eStructuralFeatures xsi:type="ecore:EAttribute" name="cpu_pct" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
33         defaultValueLiteral="0"/>
34     <eStructuralFeatures xsi:type="ecore:EAttribute" name="disk_max" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
35         defaultValueLiteral="0"/>
36     <eStructuralFeatures xsi:type="ecore:EReference" name="net_if" lowerBound="1"
37         upperBound="-1" eType="#//IfSpec"/>
38     <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
39     <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
40   </eClassifiers>
41   <eClassifiers xsi:type="ecore:EClass" name="LinkSpec">
42     <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
43         changeable="false" defaultValueLiteral="&quot;&quot;"/>
44     <eStructuralFeatures xsi:type="ecore:EAttribute" name="init_params" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByteArray"/>
45     <eStructuralFeatures xsi:type="ecore:EAttribute" name="bw" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
46         defaultValueLiteral="0"/>
47     <eStructuralFeatures xsi:type="ecore:EAttribute" name="min_alloc" upperBound="-2"
48         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/>
49     <eStructuralFeatures xsi:type="ecore:EAttribute" name="max_alloc" upperBound="-1"
50         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/>
51     <eStructuralFeatures xsi:type="ecore:EReference" name="endpoint" lowerBound="1"
52         upperBound="-1" eType="#//IfSpec" changeable="false"/>
53     <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_time" upperBound="-2"
54         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
55     <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration" upperBound="-2"
56         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
57   </eClassifiers>
58   <eClassifiers xsi:type="ecore:EClass" name="IfSpec">
59     <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
60     <eStructuralFeatures xsi:type="ecore:EAttribute" name="addr" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
61     <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" upperBound="-2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
62         changeable="false" defaultValueLiteral=""/>
63     <eStructuralFeatures xsi:type="ecore:EAttribute" name="init_params" upperBound="-2"
64         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByteArray"
65         defaultValueLiteral=""/>
66     <eStructuralFeatures xsi:type="ecore:EAttribute" name="min_rate" upperBound="-2"
67         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/>
68     <eStructuralFeatures xsi:type="ecore:EAttribute" name="max_rate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
69         defaultValueLiteral="12207"/>
70     <eStructuralFeatures xsi:type="ecore:EAttribute" name="max_kbyte" upperBound="-1"
71         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="5452595"
72         unsettable="true"/>
73     <eStructuralFeatures xsi:type="ecore:EAttribute" name="ip_spoof" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
74         defaultValueLiteral="false"/>
75   </eClassifiers>
76   <eClassifiers xsi:type="ecore:EClass" name="SwitchSpec" eSuperTypes="#//NodeSpec">
77     <eStructuralFeatures xsi:type="ecore:EAttribute" name="fib_max" upperBound="-2"
78         eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/>
79   </eClassifiers>
80 </ecore:EPackage>