Info
Version: | 1.0.0 |
Author(s): | Brian Furner |
Last Update: | Wednesday, September 7, 2016 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/OpenStackClient |
Install
Install-Package OpenStackClient
dotnet add package OpenStackClient
paket add OpenStackClient
OpenStackClient Download (Unzip the "nupkg" after downloading)
Dependencies
- Newtonsoft.Json(>= 6.0.8)
Source Code at: https://github.com/normanpaterson/OpenStackClient
Basic functionality includes Authorization (returns a token used for subsequent calls), List server status
(including information such as IP address), and create server which creates a VM from an image.
Example to authenticate:
OpenStackClient.OpenStackClient osc = new OpenStackClient.OpenStackClient();
osc.Username = "OpenStackUserName";
osc.Password = "OpenStackPassword";
osc.TenantName = "TenantName";
osc.IdentityUrl = identityURI;
OpenStackAuthResponse osresponse = await osc.Authenticate("nova");
The response object (several different response objects, consult the class diagram) can be inspected when the asynchronous call is completed
i.e. string accesstoken = osresponse.access.token.id;.