This is a cloud module for the Dimension Data Cloud, using the existing Libcloud driver for Dimension Data.
# Note: This example is for /etc/salt/cloud.providers
# or any file in the
# /etc/salt/cloud.providers.d/ directory.
my-dimensiondata-config:
user_id: my_username
key: myPassword!
region: dd-na
driver: dimensiondata
Anthony Shaw <anthonyshaw@apache.org>
libcloud >= 1.2.1
salt.cloud.clouds.dimensiondata.
avail_images
(conn=None, call=None)Return a dict of all available VM images on the cloud provider with relevant data
salt.cloud.clouds.dimensiondata.
avail_locations
(conn=None, call=None)Return a dict of all available VM locations on the cloud provider with relevant data
salt.cloud.clouds.dimensiondata.
avail_sizes
(conn=None, call=None)Return a dict of all available VM images on the cloud provider with relevant data
salt.cloud.clouds.dimensiondata.
create_lb
(kwargs=None, call=None)Create a load-balancer configuration. CLI Example:
salt-cloud -f create_lb dimensiondata \
name=dev-lb port=80 protocol=http \
members=w1,w2,w3 algorithm=ROUND_ROBIN
salt.cloud.clouds.dimensiondata.
list_nodes
(conn=None, call=None)Return a list of the VMs that are on the provider
salt.cloud.clouds.dimensiondata.
list_nodes_full
(conn=None, call=None)Return a list of the VMs that are on the provider, with all fields
salt.cloud.clouds.dimensiondata.
list_nodes_select
(conn=None, call=None)Return a list of the VMs that are on the provider, with select fields
salt.cloud.clouds.dimensiondata.
preferred_ip
(vm_, ips)Return the preferred Internet protocol. Either 'ipv4' (default) or 'ipv6'.
salt.cloud.clouds.dimensiondata.
show_instance
(name, call=None)Show the details from the provider concerning an instance
salt.cloud.clouds.dimensiondata.
ssh_interface
(vm_)Return the ssh_interface type to connect to. Either 'public_ips' (default) or 'private_ips'.
salt.cloud.clouds.dimensiondata.
start
(name, call=None)Stop a VM in DimensionData.
name (str) -- The name of the VM to stop.
CLI Example:
salt-cloud -a stop vm_name