You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
redfishtool systems is expecting "AssetTag" in Members list but it is not required filed actually. Due to this we are seeing script failures.
udock redfishtool -r -u -p --Secure=Always Systems list
{
"_Path": "/redfish/v1/Systems",
"Name": "Computer System Collection",
"Members@odata.count": 1,
"Members": []
}
but in Systems.py we are seeing it is looking for AssetTag and etc.
def list(self,sc,op,rft, cmdTop=False, prop=None):
rft.printVerbose(4,"{}:{}: in operation".format(rft.subcommand,sc.operation))
# getCollection
collName="Systems"
rc,r,j,d=op.getCollection(sc,op, rft)
if( rc != 0): return(rc,r,False,None)
#loop through the members and create the list sub-operation response
rc,r,j,d=rft.listCollection(rft, r, d, prop="AssetTag")
if(rc==0):
rft.printVerbose(1," list {} Collection member info: Id, URI, AssetTag".format(collName,skip1=True, printV12=cmdTop))
return(rc,r,j,d)
redfishtool systems is expecting "AssetTag" in Members list but it is not required filed actually. Due to this we are seeing script failures.
udock redfishtool -r -u -p --Secure=Always Systems list
{
"_Path": "/redfish/v1/Systems",
"Name": "Computer System Collection",
"Members@odata.count": 1,
"Members": []
}
but in Systems.py we are seeing it is looking for AssetTag and etc.
def list(self,sc,op,rft, cmdTop=False, prop=None):
rft.printVerbose(4,"{}:{}: in operation".format(rft.subcommand,sc.operation))
https://github.com/DMTF/Redfishtool/blob/master/redfishtool/Systems.py
In redfish systems.py code they are looking for (“Id”, “URI” and “AssetTag”).
list -- list information about the Systems collection members("Id", URI, and AssetTag)
The text was updated successfully, but these errors were encountered: