Package backend :: Package satellite_tools :: Module constants
[hide private]
[frames] | no frames]

Source Code for Module backend.satellite_tools.constants

 1  # Copyright (c) 2008--2015 Red Hat, Inc. 
 2  # 
 3  # This software is licensed to you under the GNU General Public License, 
 4  # version 2 (GPLv2). There is NO WARRANTY for this software, express or 
 5  # implied, including the implied warranties of MERCHANTABILITY or FITNESS 
 6  # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 
 7  # along with this software; if not, see 
 8  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 
 9  # 
10  # Red Hat trademarks are not licensed under GPLv2. No permission is 
11  # granted to use or replicate Red Hat trademarks that are incorporated 
12  # in this software or its documentation. 
13  # 
14   
15  """ 
16  Constant values (protocol versions, etc) for satellite sync/exporter. 
17  """ 
18   
19  # XML dump version we export 
20  PROTOCOL_VERSION = 3.7 
21   
22  ALLOWED_SYNC_PROTOCOL_VERSIONS = ['3.7', '3.6', '3.5', '3.4', '3.3', '3.2', '3.1', '3.0'] 
23   
24  # Support for syncing orgs / org trusts / channel trusts 
25  ORG_SUPPORTED_VERSION = 3.7 
26   
27  # Support for checksums other then md5 
28  SHA256_SUPPORTED_VERSION = 3.5 
29   
30  # Support for redirects to CDN (Akamai) 
31  REDIRECTS_SUPPORTED_VERSION = 3.4 
32   
33  # Support for supplying comps.xml files (package groups) 
34  COMPS_SUPPORTED_VERSION = 3.3 
35   
36  # Support for update model details (rhn510+) 
37  EUS_SUPPORTED_VERSION = 3.2 
38   
39  # Support for virt details (rhn500+) 
40  VIRT_SUPPORTED_VERSION = 3.1 
41   
42  # Historical log 
43  # * Version 2.2 2004-03-02 
44  #    arch types introduced in all the arch dumps 
45  # * Version 2.3 2004-09-13 
46  #    added short package dumps per channel 
47  # * Version 3.0 2005-01-13 
48  #    required major version change for channel family merging (#136525) 
49