split out node, scaleset, and pool code (#507)

This commit is contained in:
bmc-msft
2021-02-04 19:07:49 -05:00
committed by GitHub
parent 81263c9065
commit a02e084522
24 changed files with 1302 additions and 1229 deletions

View File

@ -10,8 +10,10 @@ from typing import List
from onefuzztypes.enums import NodeState, ScalesetState
from onefuzztypes.models import AutoScaleConfig, TaskPool
from .pools import Node, Pool, Scaleset
from .tasks.main import Task
from .workers.nodes import Node
from .workers.pools import Pool
from .workers.scalesets import Scaleset
def scale_up(pool: Pool, scalesets: List[Scaleset], nodes_needed: int) -> None: