Could you assist me how to retrieve specific lines and put it into CSV file? How to process the output via Bash and Python3?
Remark:
"objectID" represents each found server
"An instance of Path" group could be more than 2 presented there for each server
I will be grateful for little explanation.
Example Command output:
cat /tmp/output.log
objectID=HSDOMAIN.HM700.212040.9.9
portID=9
portName=CL3-C
domainID=9
hostMode=Windows Extension
hostModeOption=7;40;73
displayName=CL3-C-9
domainType=0
nickname=CLSRV129
resourcePartitionUnitID=0
List of 10 Path elements:
An instance of Path
objectID=PATH.HM700.212040.9.9.12573
devNum=12,573
displayDevNum=00:31:1D
portID=9
portName=CL3-C
domainID=9
scsiID=15
LUN=3
wwnSecurityValidity=true
An instance of Path
objectID=PATH.HM700.212040.9.9.4413
devNum=4,413
displayDevNum=00:11:3D
portID=9
portName=CL3-C
domainID=9
scsiID=15
LUN=8
wwnSecurityValidity=true
CSV file summarized:
cat /tmp/output.csv
212040;CLSRV129;CL3-C;31:1D
212040;CLSRV129;CL3-C;11:3D
An instance of PathandwwnSecurityValidityare static?