Ejemplo n.º 1
0
	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"))
Ejemplo n.º 2
0
	def _createIfbs(self):
		pool = self.getResourcePool("ifb")
		ifaceutil.createIfbs(self, pool.first_num + pool.num_count)