Package backend :: Package cdn_tools :: Module activation :: Class Activation
[hide private]
[frames] | no frames]

Class Activation

source code


Class inserting channel families and SSL metadata into DB.

Instance Methods [hide private]
 
__init__(self, manifest_path)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_update_certificates(self)
Delete and insert certificates needed for syncing from CDN repositories.
source code
 
import_channel_families(self)
Insert channel family data into DB.
source code
 
_update_repositories(self)
Setup SSL credential to access repositories We do this in 2 steps: 1.
source code
 
activate(self) source code

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

Static Methods [hide private]
 
_remove_certificates() source code
 
_remove_repositories()
This method removes repositories obtained from manifest
source code
 
deactivate()
Function to remove certificates and manifest repositories from DB
source code
 
manifest_info(manifest_path) source code
 
download_manifest(old_manifest_path, http_proxy=None, http_proxy_username=None, http_proxy_password=None) source code
 
refresh_manifest(old_manifest_path, http_proxy=None, http_proxy_username=None, http_proxy_password=None) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, manifest_path)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

_update_repositories(self)

source code 
Setup SSL credential to access repositories
We do this in 2 steps:
1. Fetching provided repositories from manifest - URL contains variables to substitute
2. Assigning one certificate/key set to each repository