History | View | Annotate | Download (4.3 kB)
cyclades: fix URLs in cyclades/vmapi tests
Use custom method for joining urls
Implement 'join_urls' method for joining a base URL with a path,without worrying about redundant or missing "/". Do not use'urlparse.urljoin', since it has different semantics.
cyclades: Fix vmapi test
Use 'urljoin' to compute the 'config_url' parameter.
pep8 fixes
Use vmapi when creating servers
Use the vmapi when creating servers. Creete instance RAPI call takes theconfiguration url instead all the image parametere. The id and formatof the image are still passed, just for readability and debugging.
Also renamed params_url to config-url.
Rename nodeapi to vmapi
vmapi improvements