OpenIxia / IxNetwork

A central location for IxNetwork sample scripts and utilities. Please also visit http://openixia.com
MIT License
50 stars 59 forks source link

StatViewAssistant - Statistics view does not exist #132

Open imsnadeep opened 2 years ago

imsnadeep commented 2 years ago

I am trying to get the stat for 'Tx-Rx Frame Rate Statistics', it is not available after waiting for 180sec

these are the view types available: ['Port Statistics', 'Tx-Rx Frame Rate Statistics', 'PCS Lane Statistics', 'Frame Preemption Statistics', 'Port CPU Statistics', 'Global Protocol Statistics']

File "/root/.local/lib/python3.6/site-packages/ixnetwork_restpy/assistants/sessions/sessionassistant.py", line 113, in StatViewAssistant return StatViewAssistant(self._ixnetwork, ViewName, Timeout, LocalCsvStorage) File "/root/.local/lib/python3.6/site-packages/ixnetwork_restpy/assistants/statistics/statviewassistant.py", line 64, in init self._is_view_ready File "/root/.local/lib/python3.6/site-packages/ixnetwork_restpy/assistants/statistics/statviewassistant.py", line 96, in _is_view_ready raise NotFoundError('After %s seconds the %s view does not exist.' % (self._Timeout, self._ViewName)) ixnetwork_restpy.errors.NotFoundError: After 180 seconds the Traffic Item Statistics view does not exist.

can anyone suggest me, if i missing anything or is there any way to get the view.

Thank you!