|
|
|
|
|
rhsm_registered()
Returns true if system is registred using subscription manager |
source code
|
|
|
|
|
|
|
|
|
_write_secure_file(secure_file,
file_contents)
Write a file to disk that is not readable by other users. |
source code
|
|
|
|
|
writeHWCode(hw_activation_code)
Returns True if the write is successful or False if it fails. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
registerSystem(username=None,
password=None,
profileName=None,
token=None,
other=None)
Wrapper for the old xmlrpc to register a system. |
source code
|
|
|
|
|
|
|
registerSystem2(username=None,
password=None,
profileName=None,
packages=None,
activationKey=None,
other={ } )
Uses the new xmlrpcs to register a system. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
makeNiceServerUrl(server)
Raises up2dateErrors.InvalidProtocolError if the server url has a
protocol specified and it's not http or https. |
source code
|
|
|
|
|
_encode_characters(*args)
All the data we gathered from dmi, bios, gudev are in utf-8, we need
to convert characters beyond ord(127) - e.g ® to unicode. |
source code
|
|
|
|
|
activateHardwareInfo(username,
password,
hardwareInfo,
orgId=None)
Tries to activate an entitlement linked to the hardware info that we
read from the bios. |
source code
|
|
|
|
|
support = None
hash(x)
|
|
t = gettext.translation('rhn-client-tools', fallback= True)
|
|
SYSID_DIR = ' /etc/sysconfig/rhn '
|
|
REMIND_FILE = ' /etc/sysconfig/rhn/rhn_register_remind '
|
|
HW_CODE_FILE = ' /etc/sysconfig/rhn/hw-activation-code '
|
|
RHSM_FILE = ' /etc/pki/consumer/cert.pem '
|
|
cfg = config.initUp2dateConfig()
|
|
log = up2dateLog.initLog()
|
|
__package__ = ' up2date_client '
|