def retrieveVals(self):
for iface in self._ifaceList:<EOL><INDENT>if self._reqIfaceList is None or iface in self._reqIfaceList:<EOL><INDENT>if (self.graphEnabled('<STR_LIT>') <EOL>or self.graphEnabled('<STR_LIT>')):<EOL><INDENT>stats = self._ifaceStats.get(iface)<EOL>if stats:<EOL><INDENT>graph_name = '<STR_LIT>' % iface<EOL>if self.hasGraph(graph_name):<EOL><INDENT>for field in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>self.setGraphVal(graph_name, field, <EOL>stats.get(field))<EOL><DEDENT><DEDENT>graph_name = '<STR_LIT>' % iface<EOL>if self.hasGraph(graph_name):<EOL><INDENT>for field in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>self.setGraphVal(graph_name, field, <EOL>stats.get(field))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>if (self.graphEnabled('<STR_LIT>') <EOL>or self.graphEnabled('<STR_LIT>')):<EOL><INDENT>try:<EOL><INDENT>stats = self._wanpipeInfo.getPRIstats(iface)<EOL><DEDENT>except:<EOL><INDENT>stats = None<EOL><DEDENT>if stats:<EOL><INDENT>graph_name = '<STR_LIT>' % iface<EOL>if self.hasGraph(graph_name):<EOL><INDENT>for field in ('<STR_LIT>', <EOL>'<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>self.setGraphVal(graph_name, field, <EOL>stats.get(field))<EOL><DEDENT><DEDENT>if self.hasGraph('<STR_LIT>'):<EOL><INDENT>self.setGraphVal('<STR_LIT>', <EOL>iface, stats.get('<STR_LIT>'))<EOL><DEDENT><DEDENT><DEDENT><DEDENT><DEDENT>
Retrieve values for graphs.