def _createIfbs(self): if self.getAttribute("ifb_start") is None: self.setAttribute("ifb_start", 0) if self.getAttribute("ifb_count") is None: self.setAttribute("ifb_count", 500) ifaceutil.createIfbs(self, self.getAttribute("ifb_start") + self.getAttribute("ifb_count"))
def _createIfbs(self): pool = self.getResourcePool("ifb") ifaceutil.createIfbs(self, pool.first_num + pool.num_count)