from parallels.common.connections.connections import Connections
from parallels.common.connections.source_server import SourceServer
from parallels.ppcpl_migrator import settings

class PPCPLMigratorConnections(Connections):
	def __init__(self, config, target_panel):
		super(PPCPLMigratorConnections, self).__init__(config, target_panel)
		self.source_settings = settings.init(config)
		self.ppcpl = SourceServer('ppcpl', self.source_settings)

	def get_information_servers(self):
		return {'ppcpl': self.ppcpl.node_settings}
