* Create expansion_card.json * Update 0206_load_module_type_profiles.py * Update expansion_card.json Fixed
@@ -19,7 +19,8 @@ def load_initial_data(apps, schema_editor):
'gpu',
'hard_disk',
'memory',
- 'power_supply'
+ 'power_supply',
+ 'expansion_card'
)
for name in initial_profiles:
@@ -0,0 +1,15 @@
+{
+ "name": "Expansion card",
+ "schema": {
+ "properties": {
+ "connector_type": {
+ "type": "string",
+ "description": "Connector type e.g. PCIe x4"
+ },
+ "bandwidth": {
+ "type": "integer",
+ "description": "Total Bandwidth for this module"
+ }
+}