This support has been added in the perl code base. This modified such that
RHN::Downloads which had specific code to local(hosted) is now replaced with
RHN::TokenGen::Local.
rhn-tokengen rpm has the akamai specific tokengen.Which needs to be installed.
RHN::TokenGen::Generator acts as a switch whether to choose a Akamai
tokenGen(Akamai.pm) or local(phx/tampa)(Local.pm) based on the location name.
Basically:
- The link for an iso in web ui will be pointing to akamai or local based on the
location.
- When the client clicks for the iso (in the browser) and if the iso is
available with akamai we download it.
- else akamai will point to akamai_iso.pxt which basically redirect to hosted
(tampa/pxx) which ever datacenter we use to download the iso.
- akamai sends back the redirect url with some specific info such as path and
location.
- the authentication of the path is done using a cleanser basically checking for
user auth.