Skip to content

rackspace/openstack.net

 
 

Repository files navigation

openstack.net: An OpenStack SDK for Microsoft .NET

Join the chat at https://gitter.im/openstacknetsdk/openstack.net

The openstack.net SDK, written for the Microsoft .NET platform, is designed to enable developers to seamlessly work with the many services provided by the OpenStack cloud operating system.

The openstack.net SDK contains:

  • A language API
  • Getting Started Guide
  • API Reference Manual
  • Release Notes
  • Sample code

Contributing

We welcome and encourage contributions from the developer community. For an overview of the contribution process, including an explanation of our issue labels and common emoji used in discussions, please see CONTRIBUTING.

Building from Source

Prerequisites

The recommended development environment for this project is Visual Studio 2013 or Visual Studio 2015. When using Visual Studio 2015, a custom analyzer is provided which uses static analysis to identify common mistakes, and in many cases is able to automatically fix the issue.

Build script

Execute build.cmd to download all dependencies and build. Use build.cmd help or build.cmd /? to view the available command line arguments.

build.cmd [Build|UnitTest|Documentation|Package] [/Configuration Debug|Release]

# Execute Build target in Debug mode
build.cmd

# Execute UnitTest target in Debug mode
build.cmd UnitTest

# Execute Build target in Release mode
build.cmd /Configuration Release

# Execute Package target in Release mode
build.cmd Package /Configuration Release

See the Documentation README if you would like to build the Sandcastle documentation which is published to http://docs.openstacknetsdk.org.

Integration Tests

You must have an OpenStack environment to test against in order to run the integration tests. We use the all-in-one OpenStack Ansible Deployment to set everything up on a single server. The tests look for the identity endpoint and credentials in environment variables: OPENSTACKNET_USER, OPENSTACKNET_PASSWORD, OPENSTACKNET_PROJECT and OPENSTACKNET_IDENTITY_URL. After you have set the environment variables you will need to log out then log back in.

setx OPENSTACKNET_USER secretusername
setx OPENSTACKNET_PASSWORD secretpassword
setx OPENSTACKNET_PROJECT projectname
setx OPENSTACKNET_IDENTITY_URL http://localhost:5000/v2.0

This is not an official OpenStack project

About

The Microsoft .NET SDK for the Rackspace Cloud

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.2%
  • Visual Basic .NET 0.4%
  • C++ 0.2%
  • F# 0.2%
  • Batchfile 0.0%
  • PowerShell 0.0%