Add capacity values for the DMS K8S profile
[pti/o2.git] / o2ims / views / ocloud_dto.py
index 7d1b8f6..a35be4b 100644 (file)
@@ -369,9 +369,17 @@ class DeploymentManagerDTO:
 
     capacity = api_ims_inventory_v1.model(
         "DeploymentManagerCapacity", {
-            'OS': fields.String(
-                example='low_latency',
-                description='Show the OS capacity of ' +
+            'cpu': fields.String(
+                example='32',
+                description='Show the cpu capacity of ' +
+                'the Deployment Manager'),
+            'hugepages-2Mi': fields.String(
+                example='2048',
+                description='Show the 2Mi hugepages capacity of ' +
+                'the Deployment Manager'),
+            'hugepages-1Gi': fields.String(
+                example='2048',
+                description='Show the 1Gi hugepages capacity of ' +
                 'the Deployment Manager'),
         })