File: ordering.rst

package info (click to toggle)
python-softlayer 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,508 kB
  • sloc: python: 57,195; makefile: 133; xml: 97; sh: 59
file content (154 lines) | stat: -rw-r--r-- 5,231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.. _cli_order:

Ordering
========
The Order :ref:`cli` commands can be used to build an order for any product in the SoftLayer catalog.

The basic flow for ordering goes something like this...

#. package-list
#. category-list <package key name>
#. item-list <package key name>
#. place <package key name> <item key names> <location>





.. click:: SoftLayer.CLI.order.package_list:cli
    :prog: order package-list
    :show-nested:


.. note::
    * CLOUD_SERVER: These are Virtual Servers
    * BARE_METAL_INSTANCE: Hourly Bare Metal
    * BARE_METAL_SERVER: Other monthly server types
    * `#_PROC_#_DRIVES`: Packages in this format will contain only this CPU model and Drive bays
    * ADDITIONAL_PRODUCTS: Additional IPs, Vlans, SSL certs and other things are in here
    * NETWORK_GATEWAY_APPLIANCE: Vyattas

    Bluemix services listed here may still need to be ordered through the Bluemix CLI/Portal


.. click:: SoftLayer.CLI.order.package_locations:cli
    :prog: order package-locations
    :show-nested:

.. click:: SoftLayer.CLI.order.category_list:cli
    :prog: order category-list
    :show-nested:

Shows all the available categories for a certain package, useful in finding the required categories. Categories that are required will need to have a corresponding item included with any orders

These are all the required categories for ``BARE_METAL_SERVER``
::

    $ slcli order category-list BARE_METAL_SERVER
    :........................................:.......................:............:
    :                  name                  :      categoryCode     : isRequired :
    :........................................:.......................:............:
    :                 Server                 :         server        :     Y      :
    :            Operating System            :           os          :     Y      :
    :                  RAM                   :          ram          :     Y      :
    :            Disk Controller             :    disk_controller    :     Y      :
    :            First Hard Drive            :         disk0         :     Y      :
    :            Public Bandwidth            :       bandwidth       :     Y      :
    :           Uplink Port Speeds           :       port_speed      :     Y      :
    :           Remote Management            :   remote_management   :     Y      :
    :          Primary IP Addresses          :    pri_ip_addresses   :     Y      :
    :    VPN Management - Private Network    :     vpn_management    :     Y      :
    :........................................:.......................:............:

.. click:: SoftLayer.CLI.order.item_list:cli
    :prog: order item-list
    :show-nested:

Shows all the prices for a given package. Collect all the items you want included on your server. Don't forget to include the required category items. If forgotten, ``order place`` will tell you about it.

.. click:: SoftLayer.CLI.order.preset_list:cli
    :prog: order preset-list
    :show-nested:



.. click:: SoftLayer.CLI.order.place:cli
    :prog: order place
    :show-nested:

Now that you have the package you want, the prices needed, and found a location, it is time to place an order.

order place <preset>
^^^^^^^^^^^^^^^^^^^^

::

    $ slcli --really order place --preset D2620V4_64GB_2X1TB_SATA_RAID_1 BARE_METAL_SERVER  TORONTO  \
        OS_UBUNTU_16_04_LTS_XENIAL_XERUS_64_BIT \
        BANDWIDTH_0_GB_2  \
        1_GBPS_PRIVATE_NETWORK_UPLINK  \
        REBOOT_KVM_OVER_IP 1_IP_ADDRESS  \
        UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT \
        --extras '{"hardware": [{"hostname" : "testOrder", "domain": "cgallo.com"}]}' \
        --complex-type SoftLayer_Container_Product_Order_Hardware_Server


order place <Virtual Server>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    $ slcli order place --billing hourly CLOUD_SERVER DALLAS13 \
        GUEST_CORES_4 \
        RAM_16_GB \
        REBOOT_REMOTE_CONSOLE \
        1_GBPS_PUBLIC_PRIVATE_NETWORK_UPLINKS \
        BANDWIDTH_0_GB_2 \
        1_IP_ADDRESS \
        GUEST_DISK_100_GB_SAN \
        OS_UBUNTU_16_04_LTS_XENIAL_XERUS_MINIMAL_64_BIT_FOR_VSI \
        MONITORING_HOST_PING \
        NOTIFICATION_EMAIL_AND_TICKET \
        AUTOMATED_NOTIFICATION \
        UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT \
        --extras '{"virtualGuests": [{"hostname": "test", "domain": "softlayer.com"}]}' \
        --complex-type SoftLayer_Container_Product_Order_Virtual_Guest



Quotes
======
.. click:: SoftLayer.CLI.order.quote:cli
    :prog: order quote
    :show-nested:


.. click:: SoftLayer.CLI.order.quote_list:cli
    :prog: order quote-list
    :show-nested:

.. click:: SoftLayer.CLI.order.quote_detail:cli
    :prog: order quote-detail
    :show-nested:

.. click:: SoftLayer.CLI.order.quote_save:cli
    :prog: order quote-save
    :show-nested:

.. click:: SoftLayer.CLI.order.place_quote:cli
    :prog: order place-quote
    :show-nested:

.. click:: SoftLayer.CLI.order.quote_delete:cli
    :prog: order quote-delete
    :show-nested:

.. click:: SoftLayer.CLI.order.cancelation:cli
    :prog: order cancelation
    :show-nested:

Lookup
======
.. click:: SoftLayer.CLI.order.lookup:cli
    :prog: order lookup
    :show-nested: