glideinwms.frontend.tools.lib package

Submodules

glideinwms.frontend.tools.lib.frontenvparse module

class glideinwms.frontend.tools.lib.frontenvparse.FEConfig[source]

Bases: object

config_optparse(argparser)[source]

Configure a optparse.OptionParser object

load_frontend_config(options)[source]

Given the reulst of a optparse.OptionParser.parge_args call extract the relevant info, load the frontend config and return a glideinFrontendConfig.ElementMergedDescript object

set_environment(wpilots=True)[source]

Set the environment to mimic what happens in the Frontend. If wpilots is True, also add the pilot DNs in the mapfile.

Note: Assumes load_frontend_config() was already called.

validate_options()[source]

Module contents