@classmethod
    def get_network_by_name_and_nodegroup(cls, name, nodegroup):
        network = cls.get_from_node_group_by_name(nodegroup.id, name)

        # FIXME:
        #   Built-in fuelweb_admin network doesn't belong to any node
        #   group, since it's shared between all clusters. So we need
        #   to handle this very special case if we want to be able
        #   to allocate VIP in default admin network.
        if not network and name == consts.NETWORKS.fuelweb_admin:
            network = cls.get_default_admin_network()

        return network
BaseInterpreter() -> BaseInterpreter
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/objects/network_group.py/NetworkGroup.get_network_by_name_and_nodegroup--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/interpreter/base.py/BaseInterpreter.__init__