Difference between revisions of "Rally/ServerProviders"
< Rally
(→Note) |
m (→LxcProvider: updated sample configuration) |
||
Line 32: | Line 32: | ||
===Description=== | ===Description=== | ||
− | This provider creates lxc containers on host provided by another provider. | + | This provider creates lxc containers on host provided by another provider. Container is attached to the same network as host. |
+ | |||
+ | Works well with ubuntu-13.10 hosts. | ||
===Configuration Example=== | ===Configuration Example=== | ||
{ | { | ||
− | + | "name": "LxcProvider", | |
− | + | "containers_per_host": 1, | |
− | + | "distribution": "ubuntu", | |
− | + | "ipv4_start_address": "192.168.1.43", | |
− | + | "ipv4_prefixlen": 16, | |
− | + | "host_provider": { | |
+ | "name": "DummyProvider", | ||
+ | "credentials": ["root@192.168.1.42"] | ||
} | } | ||
} | } | ||
− | |||
− | |||
− | |||
=Note= | =Note= | ||
LxcProvider still under development. Stay tuned. | LxcProvider still under development. Stay tuned. |
Revision as of 09:20, 23 October 2013
Contents
Available Server providers
DummyProvider
Description
This provider does nothing, but returns endpoints from configuration. This may be useful if you have specific software/hardware configuration ready to deploy OpenStack.
Configuration Example
{ "name": "ExampleEngine", "provider": { "name": "DummyProvider", "credentials": ["root@host1.net", "root@host2.net"] } }
VirshProvider
Description
This provider creates virtual machines on host provided by configuration.
Configuration Examples
Clone VM from pre-built template using virsh
{ "name": "VirshProvider", "connection": "user@host.net", "vm_name": "virsh-test", "clone_from_template": "devstack-template" }
LxcProvider
Description
This provider creates lxc containers on host provided by another provider. Container is attached to the same network as host.
Works well with ubuntu-13.10 hosts.
Configuration Example
{ "name": "LxcProvider", "containers_per_host": 1, "distribution": "ubuntu", "ipv4_start_address": "192.168.1.43", "ipv4_prefixlen": 16, "host_provider": { "name": "DummyProvider", "credentials": ["root@192.168.1.42"] } }
Note
LxcProvider still under development. Stay tuned.