X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fservice%2Fauditor%2Fpserver_handler.py;h=63b053472488647d1bfde3adb6757e00ed5706cf;hb=refs%2Fchanges%2F82%2F7282%2F1;hp=f5f526ad8784832ce6b500b68989db58d06ff096;hpb=f73c8e3b01b8f5b7438ba544870e06d8f30cdea0;p=pti%2Fo2.git diff --git a/o2ims/service/auditor/pserver_handler.py b/o2ims/service/auditor/pserver_handler.py index f5f526a..63b0534 100644 --- a/o2ims/service/auditor/pserver_handler.py +++ b/o2ims/service/auditor/pserver_handler.py @@ -98,7 +98,8 @@ def create_by(stxobj: StxGenericModel, parentid: str, resourcetype_id: str) \ gAssetId = '' # TODO: global ID description = "A physical server resource" resource = Resource(stxobj.id, resourcetype_id, resourcepool_id, - parent_id, gAssetId, stxobj.content, description) + stxobj.name, parent_id, gAssetId, stxobj.content, + description) resource.createtime = stxobj.createtime resource.updatetime = stxobj.updatetime resource.hash = stxobj.hash