Module Expr Str Import 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 NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr Return ListComp Dict Str Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Lambda arguments args NameParam defaults CompareIsNot NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list
N/A N/A 
Handlers dealing with nodes
 N/A web nailgun.api.v1.handlers.base BaseHandler nailgun.api.v1.handlers.base content nailgun.extensions.network_manager.validators.network NetAssignmentValidator nailgun consts nailgun objects nailgun.extensions.network_manager.objects.serializers.nic NodeInterfacesSerializer nailgun.db.sqlalchemy.models NetworkGroup nailgun.db.sqlalchemy.models NodeNICInterface NodeNICsHandler N/A BaseHandler N/A N/A Node network interfaces handler N/A model NodeNICInterface N/A validator NetAssignmentValidator N/A serializer NodeInterfacesSerializer GET N/A N/A self node_id N/A N/A N/A :returns: Collection of JSONized Node interfaces.

        :http: * 200 (OK)
               * 404 (node not found in db)
         N/A node N/A N/A self get_object_or_404 N/A objects Node node_id N/A N/A map N/A self render N/A node interfaces N/A content PUT N/A N/A self node_id N/A N/A N/A :returns: Collection of JSONized Node objects.

        :http: * 200 (nodes are successfully updated)
               * 400 (data validation failed)
         N/A interfaces_data N/A N/A self checked_data N/A N/A self validator validate_structure_and_data node_id node_id N/A node_data N/A id interfaces node_id interfaces_data N/A N/A N/A N/A N/A N/A objects Cluster get_network_manager _update_attrs node_data N/A node N/A N/A self get_object_or_404 N/A objects Node node_id N/A N/A N/A N/A objects Node add_pending_change node N/A N/A consts CLUSTER_CHANGES interfaces N/A N/A map N/A self render N/A node interfaces N/A content N/A NodeCollectionNICsHandler N/A BaseHandler N/A N/A Node collection network interfaces handler N/A model NetworkGroup N/A validator NetAssignmentValidator N/A serializer NodeInterfacesSerializer PUT N/A N/A self N/A N/A N/A :returns: Collection of JSONized Node objects.

        :http: * 200 (nodes are successfully updated)
               * 400 (data validation failed)
         N/A data N/A N/A self checked_data N/A N/A self validator validate_collection_structure_and_data N/A updated_nodes_ids N/A N/A node_data data N/A N/A node_id N/A N/A N/A N/A N/A objects Cluster get_network_manager _update_attrs node_data N/A N/A N/A updated_nodes_ids append node_id N/A updated_nodes N/A N/A N/A N/A N/A objects NodeCollection filter_by_id_list None updated_nodes_ids all N/A N/A N/A id interfaces N/A n id N/A map N/A self render N/A n interfaces N/A n updated_nodes N/A content N/A NodeNICsDefaultHandler N/A BaseHandler N/A N/A Node default network interfaces handler GET N/A N/A self node_id N/A N/A N/A :returns: Collection of default JSONized interfaces for node.

        :http: * 200 (OK)
               * 404 (node not found in db)
         N/A node N/A N/A self get_object_or_404 N/A objects Node node_id N/A N/A N/A self get_default node N/A content get_default N/A N/A self node N/A N/A N/A N/A node cluster N/A N/A N/A N/A N/A N/A N/A objects Cluster get_network_manager N/A node cluster get_default_interfaces_configuration node N/A N/A NodeCollectionNICsDefaultHandler N/A NodeNICsDefaultHandler N/A N/A Node collection default network interfaces handler N/A validator NetAssignmentValidator GET N/A N/A self N/A N/A N/A May receive cluster_id parameter to filter list of nodes

        :returns: Collection of JSONized Nodes interfaces.
        :http: * 200 (OK)
         N/A cluster_id N/A N/A N/A web input cluster_id None cluster_id N/A cluster_id N/A N/A nodes N/A N/A N/A objects NodeCollection filter_by None cluster_id cluster_id N/A N/A nodes N/A N/A N/A objects NodeCollection all N/A N/A filter N/A N/A N/A x N/A N/A x None N/A map N/A self get_default nodes N/A content N/A