Add capacity values for the DMS K8S profile 40/13140/2
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Sun, 30 Jun 2024 15:33:22 +0000 (23:33 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Sun, 30 Jun 2024 15:45:56 +0000 (23:45 +0800)
commitdefeb292d90ce07556f0dc6d5f9ab0d16d760e42
tree4728b94049b61ff6d2909b60d80ecbb96c28b59b
parentd526dada19a291932dd2c235fc2c40f0422ccdd7
Add capacity values for the DMS K8S profile

Get the attribute "capacity" value from the following Kubernetes command
kubectl describe node controller-0

This commit will add the value for the capacity of the DMS K8S profile.

Test Case:
The watcher service can store the correct value in the database.

Issue-ID: INF-477

Change-Id: Iec0e7e49e96848a5bfc57757372f69377b505717
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
o2ims/adapter/clients/ocloud_client.py
o2ims/adapter/orm.py
o2ims/service/auditor/dms_handler.py
o2ims/views/ocloud_dto.py
requirements.txt