Package backend :: Package cdn_tools :: Module cdnsync :: Class CdnSync
[hide private]
[frames] | no frames]

Class CdnSync

source code


Main class of CDN sync run.

Instance Methods [hide private]
 
__init__(self, no_packages=False, no_errata=False, no_rpms=False, no_kickstarts=False, log_level=None, mount_point=None, consider_full=False, force_kickstarts=False, force_all_errata=False, email=False, import_batch_size=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_tree_available_channels(self) source code
 
_list_available_channels(self) source code
 
_can_add_repos(self, db_channel, repos) source code
 
_is_channel_available(self, label) source code
 
_update_product_names(self, channels) source code
 
_update_channels_metadata(self, channels) source code
 
_create_yum_repo(self, repo_source) source code
 
_sync_channel(self, channel) source code
 
sync(self, channels=None) source code
 
setup_repos_and_sync(self, channels=None, add_repos=None, delete_repos=None) source code
 
count_packages(self, channels=None) source code
 
_channel_line_format(self, channel, longest_label) source code
 
_is_channel_eol(self, channel) source code
 
_print_unmapped_channels(self) source code
 
print_channel_tree(self, repos=False) source code
 
clear_cache(self) source code
 
print_cdn_certificates_info(self, repos=False) source code
 
print_eol_channel_list(self) source code
 
_msg_array_if_not_activated(self) source code
 
send_email(self, additional_messages) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
_get_cdn_certificate_keys_and_certs() source code
Class Variables [hide private]
  log_path = '/var/log/rhn/cdnsync.log'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, no_packages=False, no_errata=False, no_rpms=False, no_kickstarts=False, log_level=None, mount_point=None, consider_full=False, force_kickstarts=False, force_all_errata=False, email=False, import_batch_size=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)