feat: add AED currency support and user node groups
This commit is contained in:
@@ -97,10 +97,94 @@
|
||||
"active_product_rentals": [],
|
||||
"resource_provider_rental_earnings": [],
|
||||
"node_rentals": [],
|
||||
"node_groups": [],
|
||||
"node_groups": [
|
||||
{
|
||||
"id": "compute",
|
||||
"name": "Compute",
|
||||
"description": "General compute workloads",
|
||||
"node_ids": [],
|
||||
"group_type": {
|
||||
"Default": "compute"
|
||||
},
|
||||
"updated_at": "2025-09-08T18:44:31.238377407Z",
|
||||
"created_at": "2025-09-08T18:44:31.238375624Z",
|
||||
"group_config": {
|
||||
"group_name": "Compute Nodes",
|
||||
"max_nodes": 100,
|
||||
"allocation_strategy": "balanced",
|
||||
"auto_scaling": true,
|
||||
"preferred_slice_formats": [
|
||||
"1x1",
|
||||
"2x2"
|
||||
],
|
||||
"default_pricing": 50.0,
|
||||
"resource_optimization": {
|
||||
"cpu_optimization": 0.5,
|
||||
"memory_optimization": 0.5,
|
||||
"storage_optimization": 0.5,
|
||||
"network_optimization": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "storage",
|
||||
"name": "Storage",
|
||||
"description": "Storage and data workloads",
|
||||
"node_ids": [],
|
||||
"group_type": {
|
||||
"Default": "storage"
|
||||
},
|
||||
"updated_at": "2025-09-08T18:44:31.238384425Z",
|
||||
"created_at": "2025-09-08T18:44:31.238383997Z",
|
||||
"group_config": {
|
||||
"group_name": "Storage Nodes",
|
||||
"max_nodes": 50,
|
||||
"allocation_strategy": "storage_optimized",
|
||||
"auto_scaling": false,
|
||||
"preferred_slice_formats": [
|
||||
"1x1"
|
||||
],
|
||||
"default_pricing": 30.0,
|
||||
"resource_optimization": {
|
||||
"cpu_optimization": 0.3,
|
||||
"memory_optimization": 0.3,
|
||||
"storage_optimization": 0.8,
|
||||
"network_optimization": 0.6
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ai-gpu",
|
||||
"name": "AI/GPU",
|
||||
"description": "AI and GPU-intensive workloads",
|
||||
"node_ids": [],
|
||||
"group_type": {
|
||||
"Default": "ai-gpu"
|
||||
},
|
||||
"updated_at": "2025-09-08T18:44:31.238388576Z",
|
||||
"created_at": "2025-09-08T18:44:31.238388156Z",
|
||||
"group_config": {
|
||||
"group_name": "AI/GPU Nodes",
|
||||
"max_nodes": 20,
|
||||
"allocation_strategy": "gpu_optimized",
|
||||
"auto_scaling": true,
|
||||
"preferred_slice_formats": [
|
||||
"4x4",
|
||||
"8x8"
|
||||
],
|
||||
"default_pricing": 200.0,
|
||||
"resource_optimization": {
|
||||
"cpu_optimization": 0.8,
|
||||
"memory_optimization": 0.7,
|
||||
"storage_optimization": 0.4,
|
||||
"network_optimization": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"slice_rentals": [],
|
||||
"slice_assignments": [],
|
||||
"display_currency": "USD",
|
||||
"display_currency": "AED",
|
||||
"quick_topup_amounts": [
|
||||
10.0,
|
||||
25.0,
|
||||
|
Reference in New Issue
Block a user