this change is designed for illustrative purposes only
[sfa.git] / sfa / rspecs / elements / memory.py
diff --git a/sfa/rspecs/elements/memory.py b/sfa/rspecs/elements/memory.py
new file mode 100644 (file)
index 0000000..74fda41
--- /dev/null
@@ -0,0 +1,11 @@
+# This is a simple illustrative example of how a memory amount could be exposed
+# in the rspec like this <memory Gb="4"/>
+# this is not intended for production though
+
+from sfa.rspecs.elements.element import Element
+
+class Memory(Element):
+    
+    fields = [
+        'Gb',
+    ]