ports element

Type: ports
Namespace: (default namespace)

List of port summary.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <ports uri="..." total="..."> <port uri="..."> <instanceId>...</instanceId> <name>...</name> <resourceType>...</resourceType> <portId>...</portId> <portName>...</portName> <portMac>...</portMac> <hostSerial>...</hostSerial> <hostname>...</hostname> <hostID>...</hostID> <portDescr>...</portDescr> <portSpeed>...</portSpeed> <portType>...</portType> <adminStatus>...</adminStatus> <operStatus>...</operStatus> <lastFlap>...</lastFlap> </port> <port uri="..."> <!--...--> </port> <!--...more "port" elements...--> </ports>

Example JSON

{ "uri" : "...", "total" : ..., "port" : [ { "uri" : "...", "portId" : "...", "portName" : "...", "portMac" : "...", "hostSerial" : "...", "hostname" : "...", "hostID" : "...", "portDescr" : "...", "portSpeed" : "...", "portType" : "...", "adminStatus" : "UP", "operStatus" : "UP", "lastFlap" : "...", "instanceId" : "...", "name" : "...", "resourceType" : "..." }, ... ] }