Module Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpOr CompareEq NameLoad Str CompareNotIn NameLoad NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpAnd CompareNotEq NameLoad Str CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body If CompareNotIn SubscriptLoad NameLoad Index Str NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpAnd CompareNotIn NameLoad TupleLoad Str Str Str Str CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareNotIn NameLoad NameLoad body Continue Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Dict AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Str Str Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareNotIn NameLoad NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If CompareLt Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore IfExp NameLoad NameLoad NameLoad If NameLoad body Assign TupleStore NameStore NameStore TupleLoad ListLoad NameLoad orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad ListLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign SubscriptStore NameLoad Index AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr Return NameLoad decorator_list NameLoad decorator_list
N/A N/A collections N/A copy distutils version N/A six nailgun consts nailgun.extensions.network_manager.objects.serializers network_configuration nailgun objects nailgun utils objects adapters merge_attributes N/A N/A a b N/A N/A N/A Merge values of editable attributes.

    The values of the b attributes have precedence over the values
    of the a attributes.
     N/A attrs N/A N/A copy deepcopy b N/A N/A section pairs N/A N/A six iteritems attrs N/A N/A N/A N/A section repo_setup N/A section a N/A N/A N/A a_values N/A a N/A section N/A N/A key values N/A N/A six iteritems pairs N/A N/A N/A N/A key metadata N/A key a_values N/A N/A N/A values N/A value N/A N/A a_values N/A key N/A value N/A attrs N/A merge_nets N/A N/A a b N/A N/A N/A new_settings N/A N/A copy deepcopy b N/A source_networks N/A dict N/A N/A N/A n N/A name n N/A n N/A a N/A networks N/A net N/A new_settings N/A networks N/A N/A N/A N/A net N/A name source_networks N/A N/A N/A source_net N/A source_networks N/A N/A net N/A name N/A N/A key value N/A N/A six iteritems net N/A N/A N/A N/A key N/A cluster_id id meta group_id N/A key source_net N/A N/A N/A net N/A key N/A source_net N/A key N/A networking_params N/A new_settings N/A networking_parameters N/A source_params N/A a N/A networking_parameters N/A N/A key value N/A N/A six iteritems networking_params N/A N/A N/A key source_params N/A N/A N/A N/A networking_params N/A key N/A source_params N/A key N/A new_settings N/A UpgradeHelper N/A object N/A N/A network_serializers N/A N/A N/A consts CLUSTER_NET_PROVIDERS neutron N/A N/A consts CLUSTER_NET_PROVIDERS nova_network N/A network_configuration NeutronNetworkConfigurationSerializer N/A network_configuration NovaNetworkConfigurationSerializer clone_cluster N/A N/A cls orig_cluster data N/A N/A objects relations N/A new_cluster N/A N/A cls create_cluster_clone orig_cluster data N/A N/A N/A cls copy_attributes orig_cluster new_cluster N/A N/A N/A cls copy_network_config orig_cluster new_cluster N/A N/A N/A N/A relations UpgradeRelationObject create_relation N/A orig_cluster id N/A new_cluster id N/A new_cluster N/A classmethod create_cluster_clone N/A N/A cls orig_cluster data N/A N/A N/A create_data N/A N/A orig_cluster get_create_data N/A N/A create_data N/A name N/A data N/A name N/A N/A create_data N/A release_id N/A data N/A release_id N/A new_cluster N/A N/A N/A adapters NailgunClusterAdapter create create_data N/A new_cluster N/A classmethod copy_attributes N/A N/A cls orig_cluster new_cluster N/A N/A N/A N/A new_cluster generated_attrs N/A N/A utils dict_merge N/A new_cluster generated_attrs N/A orig_cluster generated_attrs N/A N/A new_cluster editable_attrs N/A merge_attributes N/A orig_cluster editable_attrs N/A new_cluster editable_attrs N/A classmethod transform_vips_for_net_groups_70 N/A N/A cls vips N/A N/A N/A Rename or remove types of VIPs for 7.0 network groups.

        This method renames types of VIPs from older releases (<7.0) to
        be compatible with network groups of the 7.0 release according
        to the rules:

            management: haproxy -> management
            public: haproxy -> public
            public: vrouter -> vrouter_pub

        Note, that in the result VIPs are present only those IPs that
        correspond to the given rules.
         N/A rename_vip_rules N/A management public N/A haproxy vrouter management vrouter N/A haproxy vrouter public vrouter_pub N/A renamed_vips N/A N/A collections defaultdict dict N/A N/A ng_name vips N/A N/A six iteritems vips N/A N/A ng_vip_rules N/A rename_vip_rules N/A ng_name N/A N/A vip_name vip_addr N/A N/A six iteritems vips N/A N/A N/A vip_name ng_vip_rules N/A N/A N/A new_vip_name N/A ng_vip_rules N/A vip_name N/A N/A N/A renamed_vips N/A ng_name N/A new_vip_name vip_addr N/A renamed_vips N/A classmethod copy_network_config N/A N/A cls orig_cluster new_cluster N/A N/A N/A nets_serializer N/A N/A cls network_serializers N/A N/A orig_cluster net_provider N/A nets N/A merge_nets N/A N/A nets_serializer serialize_for_cluster N/A orig_cluster cluster N/A N/A nets_serializer serialize_for_cluster N/A new_cluster cluster N/A new_net_manager N/A N/A new_cluster get_network_manager N/A N/A N/A new_net_manager update nets N/A classmethod copy_vips N/A N/A cls orig_cluster new_cluster N/A N/A N/A orig_net_manager N/A N/A orig_cluster get_network_manager N/A new_net_manager N/A N/A new_cluster get_network_manager N/A vips N/A N/A assigned_vips N/A N/A orig_net_manager get_assigned_vips N/A ng_name N/A N/A N/A consts NETWORKS public N/A N/A consts NETWORKS management N/A N/A N/A vips N/A ng_name N/A assigned_vips N/A ng_name N/A N/A N/A N/A version LooseVersion N/A N/A orig_cluster release environment_version N/A N/A version LooseVersion 7.0 N/A N/A vips N/A N/A cls transform_vips_for_net_groups_70 vips N/A N/A N/A new_net_manager assign_given_vips_for_net_groups vips N/A N/A N/A new_net_manager assign_vips_for_net_groups N/A classmethod get_node_roles N/A N/A cls reprovision current_roles given_roles N/A N/A N/A Return roles depending on the reprovisioning status.

        In case the node should be re-provisioned, only pending roles
        should be set, otherwise for an already provisioned and deployed
        node only actual roles should be set. In the both case the
        given roles will have precedence over the existing.

        :param reprovision: boolean, if set to True then the node should
                            be re-provisioned
        :param current_roles: a list of current roles of the node
        :param given_roles: a list of roles that should be assigned to
                            the node
        :returns: a tuple of a list of roles and a list of pending roles
                  that will be assigned to the node
         N/A roles_to_assign N/A given_roles given_roles current_roles N/A reprovision N/A N/A N/A roles pending_roles N/A N/A roles_to_assign N/A N/A N/A roles pending_roles N/A roles_to_assign N/A N/A N/A roles pending_roles N/A classmethod assign_node_to_cluster N/A N/A cls node seed_cluster roles pending_roles N/A N/A N/A orig_cluster N/A N/A N/A adapters NailgunClusterAdapter get_by_uid N/A node cluster_id N/A orig_manager N/A N/A orig_cluster get_network_manager N/A netgroups_id_mapping N/A N/A cls get_netgroups_id_mapping orig_cluster seed_cluster N/A N/A N/A node update_cluster_assignment seed_cluster roles pending_roles N/A N/A N/A N/A objects Node set_netgroups_ids node netgroups_id_mapping N/A N/A N/A orig_manager set_nic_assignment_netgroups_ids node netgroups_id_mapping N/A N/A N/A orig_manager set_bond_assignment_netgroups_ids node netgroups_id_mapping N/A N/A N/A node add_pending_change N/A N/A consts CLUSTER_CHANGES interfaces N/A classmethod get_netgroups_id_mapping N/A N/A self orig_cluster seed_cluster N/A N/A N/A orig_ng N/A N/A orig_cluster get_network_groups N/A seed_ng N/A N/A seed_cluster get_network_groups N/A seed_ng_dict N/A dict N/A N/A N/A ng name N/A ng id N/A ng seed_ng N/A mapping N/A dict N/A N/A N/A ng id N/A seed_ng_dict N/A N/A ng name N/A ng orig_ng N/A N/A mapping N/A N/A N/A N/A orig_cluster get_admin_network_group id N/A N/A N/A seed_cluster get_admin_network_group id N/A mapping N/A classmethod N/A