"""Model representing objects that already exist in target panel"""

from collections import namedtuple
from parallels.common.utils.yaml_utils import pretty_yaml

ExistingObjectsModel = pretty_yaml(
	namedtuple('ExistingObjectsModel', (
		'resellers', 'customers', 'service_templates', 'addon_service_templates',
		'raw_ppa_subscriptions', 'webspaces',
		'auxiliary_user_roles', 'auxiliary_users', 'plesk_subscriptions', 'plesk_sites',
		'plesk_site_aliases', 'plesk_subdomains',
		'ip_addresses'  # list of IP addresses on target server, list[parallels.common.utils.plesk_utils.IPAddressInfo]
	)), 
	prefix='ppa'
)