[root@xorux ~]# curl -k -X POST -u XXXXXXX:XXXXXXX https://10.10.0.55:23451/ConfigurationManager/v1/objects/storages/730000211918/sessions -H 'Content-Type:application/json' -H 'Accept: application/json' -H 'Connection: keep-alive' { "token" : "4fbb6c86-7cc0-4be3-abeb-c3b94db6be23", "sessionId" : 87 [root@xorux ~]# curl -k -X GET https://10.10.0.55:23451/ConfigurationManager/v1/objects/storages/730000211918/ports -H 'Content-Type:application/json' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'authorization: Session 4fbb6c86-7cc0-4be3-abeb-c3b94db6be23' { "data" : [ { "portId" : "CL1-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "EF", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e00" }, { "portId" : "CL1-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "E1", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e01" }, { "portId" : "CL1-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "B2", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e02" }, { "portId" : "CL1-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "AC", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e03" }, { "portId" : "CL2-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "D9", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e10" }, { "portId" : "CL2-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "D3", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e11" }, { "portId" : "CL2-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "A7", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e12" }, { "portId" : "CL2-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "9F", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e13" }, { "portId" : "CL3-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "E8", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e20" }, { "portId" : "CL3-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "E0", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e21" }, { "portId" : "CL3-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "B1", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e22" }, { "portId" : "CL3-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "AB", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e23" }, { "portId" : "CL4-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "D6", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e30" }, { "portId" : "CL4-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "D2", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e31" }, { "portId" : "CL4-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "A6", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e32" }, { "portId" : "CL4-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "9E", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e33" }, { "portId" : "CL5-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "E4", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e40" }, { "portId" : "CL5-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "DC", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e41" }, { "portId" : "CL5-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "AE", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e42" }, { "portId" : "CL5-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "AA", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e43" }, { "portId" : "CL6-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "D5", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e50" }, { "portId" : "CL6-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "D1", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e51" }, { "portId" : "CL6-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "A5", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e52" }, { "portId" : "CL6-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "9D", "fabricMode" : false, "portConnection" : "FCAL", "lunSecuritySetting" : false, "wwn" : "50060e80132e8e53" }, { "portId" : "CL7-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "E2", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e60" }, { "portId" : "CL7-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "DA", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e61" }, { "portId" : "CL7-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "AD", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e62" }, { "portId" : "CL7-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "A9", "fabricMode" : false, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e63" }, { "portId" : "CL8-A", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "D4", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e70" }, { "portId" : "CL8-B", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "CE", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e71" }, { "portId" : "CL8-C", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "A3", "fabricMode" : true, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e72" }, { "portId" : "CL8-D", "portType" : "FIBRE", "portAttributes" : [ "TAR" ], "portSpeed" : "AUT", "loopId" : "9B", "fabricMode" : false, "portConnection" : "PtoP", "lunSecuritySetting" : true, "wwn" : "50060e80132e8e73" } ] [root@xorux ~]# curl -k -X DELETE https://10.10.0.55:23451/ConfigurationManager/v1/objects/storages/730000211918/sessions/87 -H 'Content-Type:application/json' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'authorization: Session 4fbb6c86-7cc0-4be3-abeb-c3b94db6be23' { "errorSource" : "/ConfigurationManager/v1/objects/storages/730000211918/sessions/87", "message" : "The specified token is invalid.", "cause" : "An invalid token was specified, or the session might be disabled.", "solution" : "Revise the token info. If the problem persists, recreate the session.", "messageId" : "KART40047-E", "detailCode" : "40047E-0"