Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.62 KB

README.rst

File metadata and controls

51 lines (37 loc) · 1.62 KB

LabManager

This is the labmanger vmprovider plugin for the Pagrant, it can help you distribute your test cases to the labmanager support cloud platform. You just need to config the Pagrantfile to use it

Install

pagrant vmprovider install labmanager [--index-url http://pypi.douban.com/simple]

Pagrantfile configuration

vmprovider

def vmprovider():
    return {
        "type": "labmanager"
        # this is required to make pagrant detect that
        # you are using the labmanger plguin
    }

vmprovider config

def vmprovider_config():
    return {
        'wsdl_url': 'https://chnservices-lm.dctmlabs.com/LabManager/SOAP/LabManagerinternal.asmx?WSDL',
        'username': 'shaom2',
        'password': '**********',
        'organizationname': '************', # The organization name
        'workspacename': 'Main', # workspace name
        'default_template_name': 'xmnTemplate', # the template name displayed on the web portal
        'default_network_name': 'PF-10.32.122.133-254:network', # the network name displayed on the web portal
        'configuration': 'pagrant1', # all the machines will been created under it ,
                                     #  please create the new configuraion for the test

        'ssh_username': 'root', # default user for ssh
        'ssh_password': 'password', # default password for ssh
    }