Example #1
0
def template_dump( the_identation_level, the_container, the_output ) :
    from cloudflu.preferences import dump_begin
    dump_begin( the_identation_level, the_container, the_output )

    from cloudflu.preferences import dump_end
    dump_end( the_identation_level, the_container, the_output )
    pass
def dump(the_identation_level, the_output):
    a_container.add_option(
        PersistentOption(
            "--data-location",
            metavar="< location of the data : 'EU', ''( us-east ), 'us-west-1' or 'ap-southeast-1' >",
            choices=["EU", "", "us-west-1", "ap-southeast-1"],
            action="store",
            dest="location",
            help="'%default', by default ",
            default="",
        )
    )

    from cloudflu.preferences import dump_begin

    dump_begin(the_identation_level, a_container, the_output)

    import upload_options

    upload_options.dump(the_identation_level + 1, the_output)
    import download_options

    download_options.dump(the_identation_level + 1, the_output)

    from cloudflu.preferences import dump_end

    dump_end(the_identation_level, a_container, the_output)
    pass
Example #3
0
def dump( the_identation_level, the_output ) :
    from cloudflu.preferences import dump_begin, dump_resume, dump_end
    dump_begin( the_identation_level, a_container, the_output )

    from ami import run_options
    dump_resume( the_identation_level, run_options.a_container, the_output )
    
    from ami import use_options
    dump_resume( the_identation_level, use_options.a_container, the_output )
    
    dump_end( the_identation_level, a_container, the_output )
    pass
Example #4
0
def dump( the_identation_level, the_output ) :
    from cloudflu.preferences import dump_begin
    dump_begin( the_identation_level, a_container, the_output )

    from run_options import dump as run_dump
    run_dump( the_identation_level + 1, the_output )
    
    from use_options import dump as use_dump
    use_dump( the_identation_level + 1, the_output )
    
    from cloudflu.preferences import dump_end
    dump_end( the_identation_level, a_container, the_output )
    pass
def dump( the_identation_level, the_output ) :
    from cloudflu.preferences import OptionGroup
    a_container = OptionGroup( 'common.algorithm' )

    from cloudflu.preferences import dump_begin, dump_resume, dump_end
    dump_begin( the_identation_level, a_container, the_output )

    import concurrency_options
    dump_resume( the_identation_level, concurrency_options.a_container, the_output )
    
    import communication_options
    dump_resume( the_identation_level, communication_options.a_container, the_output )

    dump_end( the_identation_level, a_container, the_output )
    pass
def dump( the_identation_level, the_output ) :
    from cloudflu.preferences import OptionGroup
    a_container = OptionGroup( 'amazon.solver' )

    from cloudflu.preferences import dump_begin, dump_resume, dump_end
    dump_begin( the_identation_level, a_container, the_output )

    import solver_start_options
    dump_resume( the_identation_level, solver_start_options.a_container, the_output )
    
    import solver_process_options
    dump_resume( the_identation_level, solver_process_options.a_container, the_output )

    dump_end( the_identation_level, a_container, the_output )
    pass
def dump( the_identation_level, the_output ) :
    from cloudflu.preferences import OptionGroup
    a_container = OptionGroup( 'amazon.data_transfer.upload' )

    from cloudflu.preferences import dump_begin, dump_resume, dump_end
    dump_begin( the_identation_level, a_container, the_output )

    import data_upload_options
    dump_resume( the_identation_level, data_upload_options.a_container, the_output )
    
    import upload_start_options
    dump_resume( the_identation_level, upload_start_options.a_container, the_output )

    import data_seeding_options
    dump_resume( the_identation_level, data_seeding_options.a_container, the_output )
    
    dump_end( the_identation_level, a_container, the_output )
    pass
Example #8
0
def dump(the_identation_level, the_output):
    from cloudflu.preferences import dump_begin

    dump_begin(the_identation_level, a_container, the_output)

    # import proxy_options; proxy_options.dump( the_identation_level + 1, the_output )

    import algorithm_options

    algorithm_options.dump(the_identation_level + 1, the_output)

    import deploy_options

    deploy_options.dump(the_identation_level + 1, the_output)

    import ssh.options

    ssh.options.dump(the_identation_level + 1, the_output)

    from cloudflu.preferences import dump_end

    dump_end(the_identation_level, a_container, the_output)
    pass
Example #9
0
def dump(the_identation_level, the_output):
    from cloudflu.preferences import OptionGroup, PersistentOption, TransientOption

    a_container = OptionGroup("amazon")

    from cloudflu.preferences import dump_begin

    dump_begin(the_identation_level, a_container, the_output)

    import ec2.options

    ec2.options.dump(the_identation_level + 1, the_output)

    import apps.data_transfer_options

    apps.data_transfer_options.dump(the_identation_level + 1, the_output)

    import apps.solver_run_options

    apps.solver_run_options.dump(the_identation_level + 1, the_output)

    import security_options

    security_options.dump(the_identation_level + 1, the_output)

    import apps.credentials_deploy_options

    apps.credentials_deploy_options.dump(the_identation_level + 1, the_output)

    import apps.openmpi_config_options

    apps.openmpi_config_options.dump(the_identation_level + 1, the_output)

    from cloudflu.preferences import dump_end

    dump_end(the_identation_level, a_container, the_output)
    pass