def throughputLan(self):
     # Constrain (width, height) to (800, 600) -- See 141980.
     if int(self.fields['w']) > 800:
         self.fields['w'] = 800
     if int(self.fields['h']) > 600:
         self.fields['h'] = 600
     gg, doc = ReportGenerationHelper.throughputLan(self.mgmt,
                                                    self.fields,
                                                    ProductGfxContext)
     self.render(gg, 'Optimized LAN Throughput')
     self.saveTabularInfo(doc)
 def throughputLan(self):
     gg, doc = ReportGenerationHelper.throughputLan(self.mgmt,
                                                    self.fields,
                                                    ProductGfxContext)
     self.render(gg, 'Optimized LAN Throughput')
     self.saveTabularInfo(doc)