Skip to content

Commit

Permalink
merged docstrings from neon
Browse files Browse the repository at this point in the history
  • Loading branch information
Akm0d committed Aug 29, 2019
1 parent 90d4d7b commit 52739cc
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions salt/cloud/clouds/packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,27 @@
====================================================
The Packet cloud module is used to control access to the Packet VPS system.
Use of this module only requires the ``token`` parameter.
Set up the cloud configuration at ``/etc/salt/cloud.providers`` or ``/etc/salt/cloud.providers.d/packet.conf``:
The Packet profile requires ``size``, ``image``, ``location``, ``project_id``
Optional profile parameters:
- ``storage_size`` - min value is 10, defines Gigabytes of storage that will be attached to device.
- ``storage_tier`` - storage_1 - Standard Plan, storage_2 - Performance Plan
- ``snapshot_count`` - int
- ``snapshot_frequency`` - string - possible values:
- 1min
- 15min
- 1hour
- 1day
- 1week
- 1month
- 1year
- ``storage_size`` - min value is 10, defines Gigabytes of storage that will be attached to device.
- ``storage_tier`` - storage_1 - Standard Plan, storage_2 - Performance Plan
- ``snapshot_count`` - int
- ``snapshot_frequency`` - string - possible values:
- 1min
- 15min
- 1hour
- 1day
- 1week
- 1month
- 1year
This driver requires Packet's client library: https://pypi.python.org/pypi/packet-python
Expand Down Expand Up @@ -514,7 +517,9 @@ def list_nodes(call=None):
'''
Returns a list of devices, keeping only a brief listing.
CLI Example:
.. code-block:: bash
salt-cloud -Q
salt-cloud --query
salt-cloud -f list_nodes packet-provider
Expand Down

0 comments on commit 52739cc

Please sign in to comment.