NCLMonitoring still uses INetworkStatisticsCapability to get statistics with element id.

A network uses its own INetworkStatisticsCapability to get PortStatistics of all its elements.
INetworkStatisticsCapability at its turn uses IPortStatistics capability of each network element to get the PortStatistics, and translates the port ids.

OFSwitch resources allready have an IPortStatistics implementation.
GenericNetwork will also have an IPortStatistics implementation.
This implementation will use INetworkStatisticsCapability to retrieve PortStatistics with the element id, and will create a PortStatistics object (removing element id from NetworkStatistics).
Merge pull request #952 from isartcanyameres/feature/port-statistics-monitoring

NCLMonitoring still uses INetworkStatisticsCapability to get statistics.

NCLMonitoring still uses INetworkStatisticsCapability to get statistics with element id.

A network uses its own INetworkStatisticsCapability to get PortStatistics of all its elements.
INetworkStatisticsCapability at its turn uses IPortStatistics capability of each network element to get the PortStatistics, and translates the port ids.

OFSwitch resources allready have an IPortStatistics implementation.
GenericNetwork will also have an IPortStatistics implementation.
This implementation will use INetworkStatisticsCapability to retrieve PortStatistics with the element id, and will create a PortStatistics object (removing element id from NetworkStatistics).