def __init__(self, bandwidth):
        DeploymentEnactment.__init__(self)
        self.logger = logging.getLogger("ENACT.SIMUL.INFO")
                
        self.bandwidth = bandwidth
        
        imgcapacity = Capacity([constants.RES_NETOUT])
        imgcapacity.set_quantity(constants.RES_NETOUT, self.bandwidth)

        # TODO: Determine node number based on site
        self.imagenode = ResourcePoolNode(1000, "image_node", imgcapacity)
Exemple #2
0
    def __init__(self, bandwidth):
        DeploymentEnactment.__init__(self)
        self.logger = logging.getLogger("ENACT.SIMUL.INFO")

        self.bandwidth = bandwidth

        imgcapacity = Capacity([constants.RES_NETOUT])
        imgcapacity.set_quantity(constants.RES_NETOUT, self.bandwidth)

        # TODO: Determine node number based on site
        self.imagenode = ResourcePoolNode(1000, "image_node", imgcapacity)
 def __init__(self):
     DeploymentEnactment.__init__(self)
Exemple #4
0
 def __init__(self):
     DeploymentEnactment.__init__(self)