Skip to content

henrywang/dumper

Repository files navigation

Dumper

Build Status

An RESTful API interface.

Introduction

Dumper API is a fully hosted solution to manage IP address of each VM which is generated dynamically . Dumper API provides a REST API built on pragmatic RESTful design principles.

Dumper API uses resource-oriented URLs that leverage built in features of HTTP, like verbs, response codes. All request and response bodies are JSON encoded, including error responses. Any off-the-shelf HTTP client can be used to communicate with the API. We believe an API is a user interface for a developer - accordingly, we've made sure our API can be easily explored from the browser!

Cloud init

How to generate ISO file used by cloud-init

Run the following Shell script with parameters:

./tools/make-cloud-init-iso.sh <API URL> <Atomic Version> <Hypervisor Version> <Firmware> <Build Number> <Public Key>

The build number will come from your CI. The public key will be appended into .ssh/authorized_keys. The Atomic host will support SSH RSA/DSA authentication.

For example:

./tools/make-cloud-init-iso.sh http://10.10.10.10:9000/api/v0/stacker/ipaddrs 7.4.1 2016 gen1 101 "`cat ~/.ssh/id_rsa.pub`"

About

API to transfer information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published