Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad Call NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad attr TryExcept body Assign NameStore Call AttributeLoad Call NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr Num decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list
N/A N/A 
Handlers dealing with node groups
 N/A web nailgun.api.v1.handlers.base CollectionHandler nailgun.api.v1.handlers.base SingleHandler nailgun.api.v1.handlers.base content nailgun.api.v1.validators.node_group NodeGroupValidator nailgun consts nailgun.db db nailgun errors nailgun objects nailgun.task.manager UpdateDnsmasqTaskManager NodeGroupHandler N/A SingleHandler N/A N/A NodeGroup single handler N/A single N/A objects NodeGroup N/A validator NodeGroupValidator DELETE N/A N/A self group_id N/A N/A N/A :returns: {}

        :http: * 204 (object successfully deleted)
               * 400 (data validation or some of tasks failed)
               * 404 (nodegroup not found in db)
               * 409 (previous dsnmasq setup is not finished yet)
         N/A node_group N/A N/A self get_object_or_404 N/A objects NodeGroup group_id N/A N/A N/A self checked_data N/A N/A self validator validate_delete instance node_group N/A N/A N/A N/A db delete node_group N/A N/A N/A N/A db flush N/A N/A N/A task N/A N/A N/A UpdateDnsmasqTaskManager execute N/A N/A N/A N/A errors TaskAlreadyRunning N/A N/A N/A N/A self http 409 N/A N/A errors UpdateDnsmasqTaskIsRunning message N/A N/A N/A task status N/A N/A consts TASK_STATUSES error N/A N/A N/A N/A self http 400 N/A task message N/A N/A N/A self http 204 N/A content N/A NodeGroupCollectionHandler N/A CollectionHandler N/A N/A NodeGroup collection handler N/A collection N/A objects NodeGroupCollection N/A validator NodeGroupValidator GET N/A N/A self N/A N/A N/A May receive cluster_id parameter to filter list of groups

        :returns: Collection of JSONized Task objects.
        :http: * 200 (OK)
               * 404 (task not found in db)
         N/A user_data N/A N/A web input cluster_id None N/A N/A N/A user_data cluster_id None N/A N/A N/A N/A N/A self collection to_json N/A N/A N/A self collection get_by_cluster_id N/A user_data cluster_id N/A N/A N/A N/A N/A self collection to_json N/A content N/A