code: def get_satellite5_info(self, branch_info):
          
          logger.debug(
              "Remote branch not -1 but remote leaf is -1, must be Satellite 5")
          if os.path.isfile('/etc/sysconfig/rhn/systemid'):
              logger.debug("Found systemid file")
              sat5_conf = ET.parse('/etc/sysconfig/rhn/systemid').getroot()
              leaf_id = None
              for member in sat5_conf.getiterator('member'):
                  if member.find('name').text == 'system_id':
                      logger.debug("Found member 'system_id'")
                      leaf_id = member.find('value').find(
                          'string').text.split('ID-')[1]
                      logger.debug("Found leaf id: %s", leaf_id)
                      branch_info['remote_leaf'] = leaf_id
              if leaf_id is None:
                  logger.error("Could not determine leaf_id!  Exiting!")
                  return False
docs: Get remote_leaf for Satellite 5 Managed box