1
0

dimensiondata.rst 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. =========================================
  2. Getting Started With Dimension Data Cloud
  3. =========================================
  4. Dimension Data are a global IT Services company and form part of the NTT Group.
  5. Dimension Data provide IT-as-a-Service to customers around the globe on their
  6. cloud platform (Compute as a Service). The CaaS service is available either on
  7. one of the public cloud instances or as a private instance on premises.
  8. http://cloud.dimensiondata.com/
  9. CaaS has its own non-standard API , SaltStack provides a wrapper on top of this
  10. API with common methods with other IaaS solutions and Public cloud providers.
  11. Therefore, you can use the Dimension Data module to communicate with both the
  12. public and private clouds.
  13. Dependencies
  14. ============
  15. This driver requires the Python ``apache-libcloud`` and ``netaddr`` library to be installed.
  16. Configuration
  17. =============
  18. When you instantiate a driver you need to pass the following arguments to the
  19. driver constructor:
  20. * ``user_id`` - Your Dimension Data Cloud username
  21. * ``key`` - Your Dimension Data Cloud password
  22. * ``region`` - The region key, one of the possible region keys
  23. Possible regions:
  24. * ``dd-na`` : Dimension Data North America (USA)
  25. * ``dd-eu`` : Dimension Data Europe
  26. * ``dd-af`` : Dimension Data Africa
  27. * ``dd-au`` : Dimension Data Australia
  28. * ``dd-latam`` : Dimension Data Latin America
  29. * ``dd-ap`` : Dimension Data Asia Pacific
  30. * ``dd-canada`` : Dimension Data Canada region
  31. .. code-block:: yaml
  32. # Note: This example is for /etc/salt/cloud.providers or any file in the
  33. # /etc/salt/cloud.providers.d/ directory.
  34. my-dimensiondata-config:
  35. user_id: my_username
  36. key: myPassword!
  37. region: dd-na
  38. driver: dimensiondata
  39. .. note::
  40. In version 2015.8.0, the ``provider`` parameter in cloud provider
  41. definitions was renamed to ``driver``. This change was made to avoid
  42. confusion with the ``provider`` parameter that is used in cloud profile
  43. definitions. Cloud provider definitions now use ``driver`` to refer to the
  44. Salt cloud module that provides the underlying functionality to connect to
  45. a cloud host, while cloud profiles continue to use ``provider`` to refer to
  46. provider configurations that you define.
  47. Profiles
  48. ========
  49. Cloud Profiles
  50. ~~~~~~~~~~~~~~
  51. Dimension Data images have an inbuilt size configuration, there is no list of sizes (although, if the
  52. command --list-sizes is run a default will be returned).
  53. Images can be obtained using the ``--list-images`` option for the ``salt-cloud``
  54. command:
  55. .. code-block:: console
  56. # salt-cloud --list-images my-dimensiondata-config
  57. my-dimensiondata-config:
  58. ----------
  59. dimensiondata:
  60. ----------
  61. CSfM SharePoint 2013 Trial:
  62. ----------
  63. driver:
  64. extra:
  65. ----------
  66. OS_displayName:
  67. WIN2012R2S/64
  68. OS_type:
  69. None
  70. cpu:
  71. created:
  72. 2015-03-19T18:36:06.000Z
  73. description:
  74. Windows 2012 R2 Standard 64-bit installed with SharePoint 2013 and Visual Studio 2013 Pro (Trial Version)
  75. location:
  76. memoryGb:
  77. 12
  78. osImageKey:
  79. T-WIN-2012R2-STD-SP2013-VS2013-64-4-12-100
  80. get_uuid:
  81. id:
  82. 0df4677e-d380-4e9b-9469-b529ee0214c5
  83. name:
  84. CSfM SharePoint 2013 Trial
  85. uuid:
  86. 28c077f1be970ee904541407b377e3ff87a9ac69
  87. CentOS 5 32-bit 2 CPU:
  88. ----------
  89. driver:
  90. extra:
  91. ----------
  92. OS_displayName:
  93. CENTOS5/32
  94. OS_type:
  95. None
  96. cpu:
  97. created:
  98. 2015-10-21T14:52:29.000Z
  99. description:
  100. CentOS Release 5.11 32-bit
  101. location:
  102. memoryGb:
  103. 4
  104. osImageKey:
  105. T-CENT-5-32-2-4-10
  106. get_uuid:
  107. id:
  108. a8046bd1-04ea-4668-bf32-bf8d5540faed
  109. name:
  110. CentOS 5 32-bit 2 CPU
  111. uuid:
  112. 4d7dd59929fed6f4228db861b609da64997773a7
  113. ...SNIP...
  114. Locations can be obtained using the ``--list-locations`` option for the ``salt-cloud``
  115. command:
  116. .. code-block:: bash
  117. my-dimensiondata-config:
  118. ----------
  119. dimensiondata:
  120. ----------
  121. Australia - Melbourne:
  122. ----------
  123. country:
  124. Australia
  125. driver:
  126. id:
  127. AU2
  128. name:
  129. Australia - Melbourne
  130. Australia - Melbourne MCP2:
  131. ----------
  132. country:
  133. Australia
  134. driver:
  135. id:
  136. AU10
  137. name:
  138. Australia - Melbourne MCP2
  139. Australia - Sydney:
  140. ----------
  141. country:
  142. Australia
  143. driver:
  144. id:
  145. AU1
  146. name:
  147. Australia - Sydney
  148. Australia - Sydney MCP2:
  149. ----------
  150. country:
  151. Australia
  152. driver:
  153. id:
  154. AU9
  155. name:
  156. Australia - Sydney MCP2
  157. New Zealand:
  158. ----------
  159. country:
  160. New Zealand
  161. driver:
  162. id:
  163. AU8
  164. name:
  165. New Zealand
  166. New_Zealand:
  167. ----------
  168. country:
  169. New Zealand
  170. driver:
  171. id:
  172. AU11
  173. name:
  174. New_Zealand
  175. .. note::
  176. Dimension Data Cloud REST API documentation is available from `Dimension Data MCP 2 <https://community.opsourcecloud.net/Browse.jsp?id=e5b1a66815188ad439f76183b401f026>`_.