diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-10-20 14:29:54 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-10-20 14:29:54 -0400 |
commit | 96c40932e147c84f0299fac830cdb94aad9c9478 (patch) | |
tree | a525093e9d114316a2a7e8f27b2a0874ed15011b /doc/sources | |
parent | dff72e0f5ee4718416ab7d1c212eb480c6208218 (diff) | |
parent | 216d3bf22414ca731a1eac2098e5883d2dab06b1 (diff) | |
download | vyos-cloud-init-96c40932e147c84f0299fac830cdb94aad9c9478.tar.gz vyos-cloud-init-96c40932e147c84f0299fac830cdb94aad9c9478.zip |
Add Digital Ocean Datasource.
This adds a DataSource for DigitalOcean's metadata service. The service is
documented at https://developers.digitalocean.com/metadata/ .
Diffstat (limited to 'doc/sources')
-rw-r--r-- | doc/sources/digitalocean/README.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/sources/digitalocean/README.rst b/doc/sources/digitalocean/README.rst new file mode 100644 index 00000000..1bb89fe1 --- /dev/null +++ b/doc/sources/digitalocean/README.rst @@ -0,0 +1,21 @@ + The `DigitalOcean`_ datasource consumes the content served from DigitalOcean's `metadata service`_. This +metadata service serves information about the running droplet via HTTP over the link local address +169.254.169.254. The metadata API endpoints are fully described at +`https://developers.digitalocean.com/metadata/ <https://developers.digitalocean.com/metadata/>`_. + +Configuration +~~~~~~~~~~~~~ + +DigitalOcean's datasource can be configured as follows: + + datasource: + DigitalOcean: + retries: 3 + timeout: 2 + +- *retries*: Determines the number of times to attempt to connect to the metadata service +- *timeout*: Determines the timeout in seconds to wait for a response from the metadata service + +.. _DigitalOcean: http://digitalocean.com/ +.. _metadata service: https://developers.digitalocean.com/metadata/ +.. _Full documentation: https://developers.digitalocean.com/metadata/ |