dana-i2cat/opennaas — pull request #952 by isartcanyameres (2014-10-10 07:42:43+00:00)
Title: 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).