{"type":"api","title":"Get Port Statistics","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["System Monitoring"],"summary":"Get Port Statistics","description":"Get statistics information about all ports","operationId":"data_system_monitoring_system_monitoring_host_port_table_port_usage_get","produces":["application/yang-data+json"],"parameters":[{"name":"content","in":"query","description":"controlling descendant nodes in response","required":false,"type":"string","format":"enumeration","default":"config","enum":["config","nonconfig","all"],"$$ref":"#/parameters/content"}],"responses":{"200":{"description":"A list of all port statistic detail for each port","schema":{"type":"object","properties":{"system_monitoring:port-usage":{"type":"array","description":"A list of all port statistic detail for each port (list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"duration":{"description":"Duration of collections (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"1min","enum":["1min","5min","15min","30min","1h","1H","6h","6H","1d","1D","5d","5D","30d","30D"]},"collect-start-date-time":{"description":"The start date and time of the collections (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"collect-interval-seconds":{"description":"The real collecting interval in seconds (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint32"},"name":{"description":"Name of the port. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"status":{"description":"Status of the port. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"ip-address":{"description":"IP address of the port. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"rx-packets":{"description":"rx packet count (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"tx-packets":{"description":"tx packet count (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"rx-packets-per-sec":{"description":"average rx packet rate pck/second (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"tx-packets-per-sec":{"description":"average tx packet rate pck/second (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"rx-octets":{"description":"rx octet count (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"tx-octets":{"description":"tx octet count (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"rx-kilobits-per-sec":{"description":"average rx bitrate in kbps (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"tx-kilobits-per-sec":{"description":"average tx bitrate in kbps (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}},"$$ref":"#/definitions/data_system_monitoring_system-monitoring_host_port_table_port-usage"}},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_system_monitoring_system_monitoring_host_port_table_port_usage_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/system_monitoring:system-monitoring/host/port/table/port-usage"}}