Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

osc-sdk-c example

examples with numbers are in C, and with letters are in C++

example 0

call osc_read_load_balancers and osc_read_images with outscale ownner as filter, printf the result. it's in C89

example 1

call osc_read_images with Arch image_names as filter, and pretty print the result using json-c. it's in GNU C 99

example 2

Usage: ./example2 VM_NAME_FILTER [ACTION]

small program do some action on all Vms that match a vm tag name filter. It can either, list all vm-id, print full json info, stop, start or terminate the VMs matching te filter.

It's in GNU C 99 too.

example 3

Create a VM with a big volume as /dev/sda

example a

call osc_read_images with Outscale account_alias as filter, and pretty print the result using jsoncpp.

ricochet_preparation

not an example per say, but a bit of code called by local-tests, to have the mock behave the same as our Outscale Test Account

LICENSE

exemples are license under BSD-3