Port operations

RESTful API for IBM® Spectrum Control Base Edition uses the GET command for port operations.

You can run an interface query by issuing the GET command to get a list of IP ports that belong to a storage array and their properties, or display the properties of a single port. The command output can be filtered by module ID or interface type (management, iSCSI, etc.).

For example, GET /api/v1/ports/1 lists the properties of the port with identification number 1, as illustrated below.
OK 200
{
	"index": 1,
	"array": "pur15m1",
	"role": "iSCSI",
	"ip_interface": "iSCSI_1_1", 
	"module" : "1:Module:1" 
}