From 1e273fb599ec32e3ec5948c4671b42befd10784f Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Thu, 5 Apr 2018 19:16:58 -0500 Subject: [PATCH] 20180405 release --- article/object-filters/index.html | 10 +- classes/index.xml | 12 +- .../index.html | 10 + .../index.xml | 11 + .../index.html | 10 + .../index.xml | 11 + classes/softlayer_hardware/index.xml | 2 +- classes/softlayer_hardware_router/index.xml | 2 +- .../index.xml | 2 +- .../index.xml | 2 +- classes/softlayer_hardware_server/index.xml | 2 +- .../index.html | 10 + .../index.xml | 14 +- classes/softlayer_product_item/index.html | 5 + classes/softlayer_product_item/index.xml | 12 +- classes/softlayer_product_order/index.html | 5 + classes/softlayer_product_order/index.xml | 12 +- classes/softlayer_product_package/index.html | 5 + classes/softlayer_product_package/index.xml | 12 +- classes/softlayer_user_customer/index.html | 3 +- classes/softlayer_user_customer/index.xml | 6 +- .../index.html | 3 +- .../index.xml | 6 +- index.html | 1 + index.xml | 852 ++++++++++++------ python/index.html | 10 + python/index.xml | 12 +- python/orderVyatta/index.html | 467 ++++++++++ python/ordering_slcli/index.html | 19 + .../datatypes/SoftLayer_Hardware/index.html | 12 +- .../SoftLayer_Hardware_Firewall/index.html | 12 +- .../index.html | 12 +- .../SoftLayer_Hardware_Router/index.html | 12 +- .../index.html | 12 +- .../index.html | 12 +- .../index.html | 12 +- .../index.html | 12 +- .../SoftLayer_Hardware_Server/index.html | 12 +- .../SoftLayer_Hardware_Switch/index.html | 12 +- .../SoftLayer_Hardware/getUserData/index.html | 3 +- .../services/SoftLayer_Hardware/index.xml | 2 +- .../getUserData/index.html | 3 +- .../SoftLayer_Hardware_Router/index.xml | 2 +- .../getUserData/index.html | 3 +- .../index.xml | 2 +- .../getUserData/index.html | 3 +- .../index.xml | 2 +- .../getUserData/index.html | 3 +- .../SoftLayer_Hardware_Server/index.xml | 2 +- .../SoftLayer_User_Customer/index.xml | 6 +- .../isValidForumPassword/index.html | 10 +- .../updateForumPassword/index.html | 10 +- .../index.xml | 6 +- .../isValidForumPassword/index.html | 10 +- .../updateForumPassword/index.html | 10 +- release_notes/2018/20180330/index.html | 1 + release_notes/index.html | 1 + rest/events/index.html | 485 ++++++++++ rest/index.html | 10 + rest/index.xml | 14 +- sitemap.xml | 44 +- tags/event/index.html | 10 + tags/event/index.xml | 14 +- tags/hardware/index.xml | 10 +- tags/index.xml | 16 +- tags/method/index.html | 6 +- tags/method/index.xml | 22 +- tags/objectfilter/index.html | 5 + tags/objectfilter/index.xml | 14 +- tags/objectmask/index.html | 5 + tags/objectmask/index.xml | 14 +- tags/order/index.html | 5 + tags/order/index.xml | 12 +- tags/placeorder/index.html | 5 + tags/placeorder/index.xml | 12 +- tags/resultlimit/index.html | 10 + tags/resultlimit/index.xml | 14 +- tags/sldn/index.html | 6 +- tags/sldn/index.xml | 22 +- tags/user/index.html | 6 +- tags/user/index.xml | 12 +- tags/vlans/index.html | 10 + tags/vlans/index.xml | 12 +- tags/vyatta/index.html | 10 + tags/vyatta/index.xml | 12 +- 85 files changed, 2090 insertions(+), 454 deletions(-) create mode 100644 python/orderVyatta/index.html create mode 100644 rest/events/index.html diff --git a/article/object-filters/index.html b/article/object-filters/index.html index a0edfe9113c..aa470ce44f8 100644 --- a/article/object-filters/index.html +++ b/article/object-filters/index.html @@ -202,32 +202,32 @@

Exact Date

operation = 'isDate'
 options = [{
     'name': 'date',
-    'value': '01/01/01'
+    'value': ['01/01/01']
     }
 ]

Date Before Value

operation = 'lessThanDate'
 options = [{
     'name': 'date',
-    'value: '01/01/01'
+    'value: ['01/01/01']
     }
 ]

Date After Value

operation = 'greaterThanDate'
 options = [{
     'name': 'date',
-    'value: '01/01/01'
+    'value: ['01/01/01']
     }
 ]

Between Dates

operation = 'betweenDate'
 options = [{
     'name': 'startDate',
-    'value: '01/01/01'
+    'value: ['01/01/01']
     },
     {
     'name': 'endDate',
-    'value': '01/02/01
+    'value': ['01/02/01]
     }
 ]

Regex Filters

diff --git a/classes/index.xml b/classes/index.xml index cf4588dd1a4..e2602e2a9d6 100644 --- a/classes/index.xml +++ b/classes/index.xml @@ -3479,7 +3479,7 @@ Softlayer_container_product_order_gateway_appliance_cluster https://softlayer.github.io/classes/softlayer_container_product_order_gateway_appliance_cluster/ - Mon, 01 Jan 0001 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/classes/softlayer_container_product_order_gateway_appliance_cluster/ @@ -3515,7 +3515,7 @@ Softlayer_container_product_order_hardware_server_gateway_appliance https://softlayer.github.io/classes/softlayer_container_product_order_hardware_server_gateway_appliance/ - Mon, 01 Jan 0001 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/classes/softlayer_container_product_order_hardware_server_gateway_appliance/ @@ -7664,7 +7664,7 @@ Softlayer_notification_occurrence_event https://softlayer.github.io/classes/softlayer_notification_occurrence_event/ - Mon, 12 Feb 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/classes/softlayer_notification_occurrence_event/ @@ -7943,7 +7943,7 @@ Softlayer_product_item https://softlayer.github.io/classes/softlayer_product_item/ - Mon, 15 Jan 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/classes/softlayer_product_item/ @@ -8240,7 +8240,7 @@ Softlayer_product_order https://softlayer.github.io/classes/softlayer_product_order/ - Fri, 02 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/classes/softlayer_product_order/ @@ -8249,7 +8249,7 @@ Softlayer_product_package https://softlayer.github.io/classes/softlayer_product_package/ - Mon, 12 Feb 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/classes/softlayer_product_package/ diff --git a/classes/softlayer_container_product_order_gateway_appliance_cluster/index.html b/classes/softlayer_container_product_order_gateway_appliance_cluster/index.html index cb5e583dacb..befc732742b 100644 --- a/classes/softlayer_container_product_order_gateway_appliance_cluster/index.html +++ b/classes/softlayer_container_product_order_gateway_appliance_cluster/index.html @@ -106,6 +106,16 @@ Items with tag softlayer_container_product_order_gateway_appliance_cluster
    +

    python

    + +

    reference

      diff --git a/classes/softlayer_container_product_order_gateway_appliance_cluster/index.xml b/classes/softlayer_container_product_order_gateway_appliance_cluster/index.xml index accc92830b0..4a759f3a753 100644 --- a/classes/softlayer_container_product_order_gateway_appliance_cluster/index.xml +++ b/classes/softlayer_container_product_order_gateway_appliance_cluster/index.xml @@ -6,10 +6,21 @@ Recent content in Softlayer_container_product_order_gateway_appliance_cluster on SoftLayer API Hugo -- gohugo.io en-us + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug("Starting up") # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ < 'v5.4.3': print("SoftLayer needs to be 5.4.3+, is currently %s" % SoftLayer.__version__) self.client = SoftLayer. + + SoftLayer_Container_Product_Order_Gateway_Appliance_Cluster https://softlayer.github.io/reference/datatypes/SoftLayer_Container_Product_Order_Gateway_Appliance_Cluster/ diff --git a/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.html b/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.html index 37bad4ae2e1..aaafc59a022 100644 --- a/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.html +++ b/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.html @@ -106,6 +106,16 @@ Items with tag softlayer_container_product_order_hardware_server_gateway_appliance
        +

        python

        + +

        reference

          diff --git a/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.xml b/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.xml index 96bdf412f38..114f2db215c 100644 --- a/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.xml +++ b/classes/softlayer_container_product_order_hardware_server_gateway_appliance/index.xml @@ -6,10 +6,21 @@ Recent content in Softlayer_container_product_order_hardware_server_gateway_appliance on SoftLayer API Hugo -- gohugo.io en-us + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug("Starting up") # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ < 'v5.4.3': print("SoftLayer needs to be 5.4.3+, is currently %s" % SoftLayer.__version__) self.client = SoftLayer. + + SoftLayer_Container_Product_Order_Hardware_Server_Gateway_Appliance https://softlayer.github.io/reference/datatypes/SoftLayer_Container_Product_Order_Hardware_Server_Gateway_Appliance/ diff --git a/classes/softlayer_hardware/index.xml b/classes/softlayer_hardware/index.xml index ac36b564df1..a1bf765c5b5 100644 --- a/classes/softlayer_hardware/index.xml +++ b/classes/softlayer_hardware/index.xml @@ -1783,7 +1783,7 @@ Parameters Name Type Description Required Headers SoftLayer_HardwareIni https://softlayer.github.io/reference/services/SoftLayer_Hardware/getUserData/ SoftLayer_Hardware::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] diff --git a/classes/softlayer_hardware_router/index.xml b/classes/softlayer_hardware_router/index.xml index b865a826ade..b84c6a502c5 100644 --- a/classes/softlayer_hardware_router/index.xml +++ b/classes/softlayer_hardware_router/index.xml @@ -1740,7 +1740,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Ro https://softlayer.github.io/reference/services/SoftLayer_Hardware_Router/getUserData/ SoftLayer_Hardware_Router::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] diff --git a/classes/softlayer_hardware_securitymodule/index.xml b/classes/softlayer_hardware_securitymodule/index.xml index f57b0170eb7..4cf10038938 100644 --- a/classes/softlayer_hardware_securitymodule/index.xml +++ b/classes/softlayer_hardware_securitymodule/index.xml @@ -2439,7 +2439,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/ SoftLayer_Hardware_SecurityModule::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] diff --git a/classes/softlayer_hardware_securitymodule750/index.xml b/classes/softlayer_hardware_securitymodule750/index.xml index 70dd78d1d36..e488340ab2e 100644 --- a/classes/softlayer_hardware_securitymodule750/index.xml +++ b/classes/softlayer_hardware_securitymodule750/index.xml @@ -2439,7 +2439,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/ SoftLayer_Hardware_SecurityModule750::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] diff --git a/classes/softlayer_hardware_server/index.xml b/classes/softlayer_hardware_server/index.xml index 60c80f9f853..ee81a24a34f 100644 --- a/classes/softlayer_hardware_server/index.xml +++ b/classes/softlayer_hardware_server/index.xml @@ -2555,7 +2555,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_Server/getUserData/ SoftLayer_Hardware_Server::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] diff --git a/classes/softlayer_notification_occurrence_event/index.html b/classes/softlayer_notification_occurrence_event/index.html index 24a99ac2bca..f11ca28ce9c 100644 --- a/classes/softlayer_notification_occurrence_event/index.html +++ b/classes/softlayer_notification_occurrence_event/index.html @@ -216,6 +216,16 @@

          reference

        +

        rest

        +
          + +
        • + Events +
          Going over Events with some examples of what each might look like
          +
        • + +
        +

        ruby

          diff --git a/classes/softlayer_notification_occurrence_event/index.xml b/classes/softlayer_notification_occurrence_event/index.xml index fd3d1c7a8ee..5c3fb52c104 100644 --- a/classes/softlayer_notification_occurrence_event/index.xml +++ b/classes/softlayer_notification_occurrence_event/index.xml @@ -6,11 +6,23 @@ Recent content in Softlayer_notification_occurrence_event on SoftLayer API Hugo -- gohugo.io en-us - Mon, 12 Feb 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Events + https://softlayer.github.io/rest/events/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/rest/events/ + Events SoftLayer_Notification_Occurrence_Events at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at https://control.softlayer.com/event/announcement +Get All Events SoftLayer_Notification_Occurrence_Event::getAllObjects() +curl -u $SL_USER:$SL_APIKEY 'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event +[ { "endDate": null, "id": 2584, "lastImpactedUserCount": 11232, "modifyDate": "2016-06-13T08:27:20-06:00", "recoveryTime": null, "startDate": "2014-03-31T00:35:00-06:00", "statusCode": { "keyName": "COMPLETED", "name": "Completed" }, "subject": "IPv6 Sessions Down on FCR02. + + SoftLayer_Notification_Occurrence_Event https://softlayer.github.io/reference/services/SoftLayer_Notification_Occurrence_Event/ diff --git a/classes/softlayer_product_item/index.html b/classes/softlayer_product_item/index.html index 576643de832..99a70d58550 100644 --- a/classes/softlayer_product_item/index.html +++ b/classes/softlayer_product_item/index.html @@ -109,6 +109,11 @@

          python

            +
          • + Ordering Vyatta Network Gateways +
            Ordering Vyattas
            +
          • +
          • Ordering with KeyNames
            Examples on how to order anything in the catalog with the proper package and item names.
            diff --git a/classes/softlayer_product_item/index.xml b/classes/softlayer_product_item/index.xml index 389569a7f78..94a442ef538 100644 --- a/classes/softlayer_product_item/index.xml +++ b/classes/softlayer_product_item/index.xml @@ -6,11 +6,21 @@ Recent content in Softlayer_product_item on SoftLayer API Hugo -- gohugo.io en-us - Mon, 15 Jan 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug("Starting up") # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ < 'v5.4.3': print("SoftLayer needs to be 5.4.3+, is currently %s" % SoftLayer.__version__) self.client = SoftLayer. + + Ordering with KeyNames https://softlayer.github.io/python/ordering_slcli/ diff --git a/classes/softlayer_product_order/index.html b/classes/softlayer_product_order/index.html index c69970e4650..ef0953a51e5 100644 --- a/classes/softlayer_product_order/index.html +++ b/classes/softlayer_product_order/index.html @@ -139,6 +139,11 @@

            php

            python

              +
            • + Ordering Vyatta Network Gateways +
              Ordering Vyattas
              +
            • +
            • Ordering with KeyNames
              Examples on how to order anything in the catalog with the proper package and item names.
              diff --git a/classes/softlayer_product_order/index.xml b/classes/softlayer_product_order/index.xml index 85dfa6d2ec9..98f039edc88 100644 --- a/classes/softlayer_product_order/index.xml +++ b/classes/softlayer_product_order/index.xml @@ -6,11 +6,21 @@ Recent content in Softlayer_product_order on SoftLayer API Hugo -- gohugo.io en-us - Fri, 02 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug("Starting up") # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ < 'v5.4.3': print("SoftLayer needs to be 5.4.3+, is currently %s" % SoftLayer.__version__) self.client = SoftLayer. + + How to order Vlans https://softlayer.github.io/rest/orderVlan/ diff --git a/classes/softlayer_product_package/index.html b/classes/softlayer_product_package/index.html index fe4d46c6623..1912ea8270b 100644 --- a/classes/softlayer_product_package/index.html +++ b/classes/softlayer_product_package/index.html @@ -144,6 +144,11 @@

              php

              python

                +
              • + Ordering Vyatta Network Gateways +
                Ordering Vyattas
                +
              • +
              • Ordering with KeyNames
                Examples on how to order anything in the catalog with the proper package and item names.
                diff --git a/classes/softlayer_product_package/index.xml b/classes/softlayer_product_package/index.xml index 0e052a760cc..e512abd5e8b 100644 --- a/classes/softlayer_product_package/index.xml +++ b/classes/softlayer_product_package/index.xml @@ -6,11 +6,21 @@ Recent content in Softlayer_product_package on SoftLayer API Hugo -- gohugo.io en-us - Mon, 12 Feb 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug("Starting up") # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ < 'v5.4.3': print("SoftLayer needs to be 5.4.3+, is currently %s" % SoftLayer.__version__) self.client = SoftLayer. + + SoftLayer_Product_Package https://softlayer.github.io/reference/services/SoftLayer_Product_Package/ diff --git a/classes/softlayer_user_customer/index.html b/classes/softlayer_user_customer/index.html index 79579f07bde..fbbed099c7f 100644 --- a/classes/softlayer_user_customer/index.html +++ b/classes/softlayer_user_customer/index.html @@ -756,8 +756,7 @@

                reference

              • updateForumPassword -
                This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
                +
                This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
              • diff --git a/classes/softlayer_user_customer/index.xml b/classes/softlayer_user_customer/index.xml index 8bad46c777b..29b2f213d17 100644 --- a/classes/softlayer_user_customer/index.xml +++ b/classes/softlayer_user_customer/index.xml @@ -1076,9 +1076,9 @@ Parameters Name Type Description Required Headers authenticate SoftLaye https://softlayer.github.io/reference/services/SoftLayer_User_Customer/isValidForumPassword/ SoftLayer_User_Customer::isValidForumPassword Determine if a string is a user’s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user’s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values void @@ -1362,7 +1362,7 @@ Overview As master user, calling this api for the IBMid provider type when there https://softlayer.github.io/reference/services/SoftLayer_User_Customer/updateForumPassword/ SoftLayer_User_Customer::updateForumPassword Update a user’s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user’s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must… * …be over eight characters long. * …be under twenty characters long. * …contain at least one uppercase letter * …contain at least one lowercase letter * …contain at least one number * …contain one of the special characters _ - | @ . diff --git a/classes/softlayer_user_customer_openidconnect/index.html b/classes/softlayer_user_customer_openidconnect/index.html index fb53113d0dd..136ba288c6a 100644 --- a/classes/softlayer_user_customer_openidconnect/index.html +++ b/classes/softlayer_user_customer_openidconnect/index.html @@ -766,8 +766,7 @@

                reference

              • updateForumPassword -
                This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
                +
                This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
              • diff --git a/classes/softlayer_user_customer_openidconnect/index.xml b/classes/softlayer_user_customer_openidconnect/index.xml index 4470b603f93..446c4dd6cc7 100644 --- a/classes/softlayer_user_customer_openidconnect/index.xml +++ b/classes/softlayer_user_customer_openidconnect/index.xml @@ -1094,9 +1094,9 @@ Parameters Name Type Description Required Headers authenticate SoftLaye https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/ SoftLayer_User_Customer_OpenIdConnect::isValidForumPassword Determine if a string is a user’s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user’s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values void @@ -1380,7 +1380,7 @@ Overview As master user, calling this api for the IBMid provider type when there https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/ SoftLayer_User_Customer_OpenIdConnect::updateForumPassword Update a user’s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user’s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must… * …be over eight characters long. * …be under twenty characters long. * …contain at least one uppercase letter * …contain at least one lowercase letter * …contain at least one number * …contain one of the special characters _ - | @ . diff --git a/index.html b/index.html index 24e2d24b061..bc3520788ab 100644 --- a/index.html +++ b/index.html @@ -147,6 +147,7 @@

                Backend

              • Fixes an intermittent issue preventing iSCSI authorizations when credentials already exist.
              • Refactored the script that checks for mixed-public/private VSIs on dedicated hosts and changed the behavior to not send emails when none are found.
              • Fix an issue ordering IPv6 subnets on public VLANs under certain circumstances.
              • +
              • EOL: Disable Flex Image Service for all Customers

              SLCLI

              diff --git a/index.xml b/index.xml index c37332a847d..ba8c5f4f15d 100644 --- a/index.xml +++ b/index.xml @@ -6,7 +6,571 @@ en-US Enthusiastic Hugo User Copyright (c) 2014, Enthusiastic Hugo User; all rights reserved. - Fri, 30 Mar 2018 00:00:00 UTC + Thu, 05 Apr 2018 00:00:00 UTC + + + Events + https://softlayer.github.io/rest/events/ + Thu, 05 Apr 2018 00:00:00 UTC + Enthusiastic Hugo User + https://softlayer.github.io/rest/events/ + + +<h1 id="events">Events</h1> + +<p><a href="https://softlayer.github.io/reference/services/SoftLayer_Notification_Occurrence_Event/">SoftLayer_Notification_Occurrence_Events</a> at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at <a href="https://control.softlayer.com/event/announcement">https://control.softlayer.com/event/announcement</a></p> + +<h2 id="get-all-events">Get All Events</h2> + +<p><a href="https://softlayer.github.io/reference/services/SoftLayer_Notification_Occurrence_Event/getAllObjects/">SoftLayer_Notification_Occurrence_Event::getAllObjects()</a></p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json</pre></div> +<p>The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">[ + { + &#34;endDate&#34;: null, + &#34;id&#34;: 2584, + &#34;lastImpactedUserCount&#34;: 11232, + &#34;modifyDate&#34;: &#34;2016-06-13T08:27:20-06:00&#34;, + &#34;recoveryTime&#34;: null, + &#34;startDate&#34;: &#34;2014-03-31T00:35:00-06:00&#34;, + &#34;statusCode&#34;: { + &#34;keyName&#34;: &#34;COMPLETED&#34;, + &#34;name&#34;: &#34;Completed&#34; + }, + &#34;subject&#34;: &#34;IPv6 Sessions Down on FCR02.DAL05&#34;, + &#34;summary&#34;: &#34;At 31-Mar-2014 06:35 UTC the Network Operations Center was alerted that the IPv6 BGP session on frontend customer router (FCR) fcr02.dal05 had dropped. Network Engineers began investigating the issue and found a customer was sending a high rate of IPv6 packets destined to fcr02.dal05. Network Engineers mitigated the issue at 31-Mar-2014 07:16 UTC.&#34;, + &#34;systemTicketId&#34;: 9266184 + } +]</pre></div> +<h2 id="get-open-events">Get Open Events</h2> + +<p>To find all the open events, look for statusCode = ACTIVE</p> + +<p>statusCode = COMPLETED is also an option.</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json? +objectMask=mask[notificationOccurrenceEventType] +resultLimit=0,10 +objectFilter={&#34;statusCode&#34;:+{&#34;keyName&#34;:+{&#34;operation&#34;:+&#34;ACTIVE&#34;}}}&#39;</pre></div><div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5BnotificationOccurrenceEventType%5D&amp;resultLimit=0%2C10&amp;objectFilter=%7B%22statusCode%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22ACTIVE%22%7D%7D%7D&#39;</pre></div><div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">{&#39;endDate&#39;: &#39;2018-04-05T17:00:00-06:00&#39;, + &#39;id&#39;: 116425, + &#39;lastImpactedUserCount&#39;: 581, + &#39;modifyDate&#39;: &#39;2018-04-05T07:35:20-06:00&#39;, + &#39;notificationOccurrenceEventType&#39;: {&#39;keyName&#39;: &#39;PLANNED&#39;}, + &#39;recoveryTime&#39;: None, + &#39;startDate&#39;: &#39;2018-04-05T04:00:00-06:00&#39;, + &#39;statusCode&#39;: {&#39;keyName&#39;: &#39;ACTIVE&#39;, &#39;name&#39;: &#39;Active&#39;}, + &#39;subject&#39;: &#39;Scheduled Maintenance: WDC04 Critical Power Maintenance&#39;, + &#39;summary&#39;: &#39;Dear IBM Customer, \r\n&#39; + &#39;\r\n&#39; + &#39;IBM Cloud in coordination with our vendors will be performing a &#39; + &#39;Critical Power Maintenance at WDC04 starting on Thursday, April &#39; + &#39;5th, 2018. The window for this maintenance is 06:00am EST to &#39; + &#39;19:00pm EST.\r\n&#39; + &#39;\r\n&#39; + &#39;We Do not expect any major impact to our servers or services &#39; + &#39;during this maintenance. The only expected impact during this &#39; + &#39;maintenance will be a loss of redundancy at the server level &#39; + &#39;only for a short period of time as they work on the Secondary &#39; + &#39;power source and a 5-10 minute loss of IPMI functionality during &#39; + &#39;the transition to alternative power source at the start and end &#39; + &#39;of the maintenace but will not be an extended period of time.\r\n&#39; + &#39;\r\n&#39; + &#39;If additional preventative course of action is required to &#39; + &#39;minimize service impact, further notification(s) will be &#39; + &#39;provided. In the event of an unexpected impact, we will work &#39; + &#39;with our Data Center Staff and on-site Engineers to take &#39; + &#39;immediate action to bring critical services back on-line as &#39; + &#39;quickly as possible. \r\n&#39; + &#39;\r\n&#39; + &#39;\r\n&#39; + &#39;***Scheduled Date(s): Thursday, April 5th, 2018 \r\n&#39; + &#39;***Scheduled Time(s): 06:00am EST to 19:00pm EST Please contact &#39; + &#39;our support department should you have any questions or &#39; + &#39;concerns.&#39;, + &#39;systemTicketId&#39;: 58076149},</pre></div> +<h1 id="event-types">Event Types</h1> + +<p>Events can be PLANNED, UNPLANNED_INCIDENT, or ANNOUNCEMENT.</p> + +<h2 id="planned">PLANNED</h2> + +<p>Planned events are usually announced a few weeks in advanced, and cover things like router upgrades, VSI reboots, and other work that needs to be done to improve our products.</p> + +<p>This will get all the PLANNED and ACTIVE events going on.</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json? +objectMask=mask[notificationOccurrenceEventType]&amp; +objectFilter={ + &#34;notificationOccurrenceEventType&#34;:{&#34;keyName&#34;:{&#34;operation&#34;:+&#34;PLANNED&#34;}}, + &#34;statusCode&#34;:{&#34;keyName&#34;:{&#34;operation&#34;:&#34;ACTIVE&#34;}}}&#39;</pre></div><div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5BnotificationOccurrenceEventType%5D&amp;objectFilter=%7B%22notificationOccurrenceEventType%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22PLANNED%22%7D%7D%2C+%22statusCode%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22ACTIVE%22%7D%7D%7D&#39;</pre></div> +<p>Output:</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> {&#39;endDate&#39;: &#39;2017-08-19T19:00:00-06:00&#39;, + &#39;id&#39;: 81507, + &#39;lastImpactedUserCount&#39;: 284685, + &#39;modifyDate&#39;: &#39;2017-08-19T13:25:50-06:00&#39;, + &#39;notificationOccurrenceEventType&#39;: {&#39;keyName&#39;: &#39;PLANNED&#39;}, + &#39;recoveryTime&#39;: None, + &#39;startDate&#39;: &#39;2017-08-19T13:00:00-06:00&#39;, + &#39;statusCode&#39;: {&#39;keyName&#39;: &#39;ACTIVE&#39;, &#39;name&#39;: &#39;Active&#39;}, + &#39;subject&#39;: &#39;Emergency Planned IMS Maintenance&#39;, + &#39;summary&#39;: &#39;The IBM Cloud system engineers will be performing an emergency &#39; + &#39;IMS application database system maintenance. During this &#39; + &#39;maintenance we do not expect any IMS database or application &#39; + &#39;system downtime. The purpose of the maintenance is to resolve &#39; + &#39;IMS database system issues. When the maintenance tasks are &#39; + &#39;completed, notifications will be sent out stating that IMS &#39; + &#39;application database maintenance has been successfully &#39; + &#39;completed.\r\n&#39;, + &#39;systemTicketId&#39;: 44279325}</pre></div> +<h2 id="unplanned-incident">UNPLANNED_INCIDENT</h2> + +<p>Unplanned incidents are a whole variety of things that might impact services.</p> + +<p>This query will get all the UNPLANNED_INCIDENTS that were created AFTER 04/01/2018 01:00:00. <a href="https://softlayer.github.io/article/object-filters/">https://softlayer.github.io/article/object-filters/</a> has more details on other date time operations you can use.</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json? +objectMask=mask[id,+startDate,+notificationOccurrenceEventType]&amp; +objectFilter={ + &#34;notificationOccurrenceEventType&#34;: + {&#34;keyName&#34;:{&#34;operation&#34;:&#34;UNPLANNED_INCIDENT&#34;} + } + &#34;startDate&#34;: + {&#34;operation&#34;:&#34;greaterThanDate&#34;, + &#34;options&#34;:[{&#34;name&#34;:&#34;date&#34;,&#34;value&#34;:[&#34;04/01/2018 01:00:00&#34;]}] + } +}</pre></div><div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5Bid%2C+startDate%2C+notificationOccurrenceEventType%5D&amp;objectFilter=%7B%22notificationOccurrenceEventType%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22UNPLANNED_INCIDENT%22%7D%7D%2C+%22startDate%22%3A+%7B%22operation%22%3A+%22greaterThanDate%22%2C+%22options%22%3A+%5B%7B%22name%22%3A+%22date%22%2C+%22value%22%3A+%5B%2204%2F01%2F2018+01%3A00%3A00%22%5D%7D%5D%7D%7D&#39;</pre></div> +<p>Output</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">{&#39;endDate&#39;: &#39;2018-04-02T23:41:00-06:00&#39;, + &#39;id&#39;: 116225, + &#39;lastImpactedUserCount&#39;: 7905, + &#39;modifyDate&#39;: &#39;2018-04-03T11:04:32-06:00&#39;, + &#39;notificationOccurrenceEventType&#39;: {&#39;keyName&#39;: &#39;UNPLANNED_INCIDENT&#39;}, + &#39;recoveryTime&#39;: None, + &#39;startDate&#39;: &#39;2018-04-02T23:34:00-06:00&#39;, + &#39;statusCode&#39;: {&#39;keyName&#39;: &#39;ACTIVE&#39;, &#39;name&#39;: &#39;Active&#39;}, + &#39;subject&#39;: &#39;Private network degradation in DCs in Dallas region&#39;, + &#39;summary&#39;: &#39;At 03-Apr-2018 5:03 UTC the Network Operation Center was alerted &#39; + &#39;to communication failures for the backend private networks in &#39; + &#39;the Dallas Region. Network Engineers are investigating at this &#39; + &#39;time. We will provide more detail as it becomes available.&#39;, + &#39;systemTicketId&#39;: 58021829}</pre></div> +<h2 id="announcement">ANNOUNCEMENT</h2> + +<p>Announcements are the &lsquo;everything else&rsquo; category. Not usually disruptive, will usually be things like end of life announcements.</p> + +<p>This time I&rsquo;ve changed the objectMask to include the lastUpdate and restrict other local fields to limit the amount of information we get back to fields I care about at the moment.</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json? +objectMask=mask[ + id, startDate, subject, lastUpdate ,notificationOccurrenceEventType +]&amp; +objectFilter= + {&#34;notificationOccurrenceEventType&#34;: + {&#34;keyName&#34;:{&#34;operation&#34;:&#34;ANNOUNCEMENT&#34;}} + }&#39;</pre></div><div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2ClastUpdate%2CnotificationOccurrenceEventType%5D&amp;objectFilter=%7B%22notificationOccurrenceEventType%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22ANNOUNCEMENT%22%7D%7D%7D&#39;</pre></div> +<p>Output:</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> &#39;id&#39;: 106105, + &#39;lastUpdate&#39;: {&#39;contents&#39;: &#39;IBM Cloud engineers have received patches from &#39; + &#39;Red Hat that address the Meltdown and Spectre &#39; + &#39;security vulnerabilities.\r\n&#39; + &#39;\r\n&#39; + &#39;New image only available for Red Hat Enterprise &#39; + &#39;Linux 7.x at this time. \r\n&#39; + &#39;\r\n&#39; + &#39;As always - before applying new images, IBM &#39; + &#39;Cloud recommends testing to ensure a smooth &#39; + &#39;transition for your environment.\r\n&#39; + &#39;\r\n&#39; + &#39;\r\n&#39; + &#39;IBM Cloud&#39;, + &#39;createDate&#39;: &#39;2018-01-17T13:44:51-06:00&#39;, + &#39;endDate&#39;: None, + &#39;startDate&#39;: &#39;2018-01-17T13:44:51-06:00&#39;}, + &#39;notificationOccurrenceEventType&#39;: {&#39;keyName&#39;: &#39;ANNOUNCEMENT&#39;}, + &#39;startDate&#39;: None, + &#39;subject&#39;: &#39;New Red Hat Enterprise Linux 7 Images Available&#39;</pre></div> +<h1 id="event-specifics">Event Specifics</h1> + +<p>Now that we know how to deal with getting a list of all events, lets dive into a specific event.</p> + +<p>The most recent Active event I have is going to be this one.</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> &#39;endDate&#39;: &#39;2018-04-02T23:41:00-06:00&#39;, + &#39;id&#39;: 116225, + &#39;lastImpactedUserCount&#39;: 7905, + &#39;modifyDate&#39;: &#39;2018-04-03T11:04:32-06:00&#39;, + &#39;notificationOccurrenceEventType&#39;: {&#39;keyName&#39;: &#39;UNPLANNED_INCIDENT&#39;}, + &#39;recoveryTime&#39;: None, + &#39;startDate&#39;: &#39;2018-04-02T23:34:00-06:00&#39;, + &#39;statusCode&#39;: {&#39;keyName&#39;: &#39;ACTIVE&#39;, &#39;name&#39;: &#39;Active&#39;}, + &#39;subject&#39;: &#39;Private network degradation in DCs in Dallas region&#39;,</pre></div> +<h2 id="effected-machines">Effected Machines</h2> + +<p>To see what machines on our account are effected by this event, we need to tap into the <a href="https://softlayer.github.io/reference/datatypes/SoftLayer_Notification_Occurrence_Resource/">impactedResources</a> relational property. There is also impactedAccounts and impactedUsers that work the same way.</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CimpactedResources%5D&#39;</pre></div> +<p>Output:</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">{&#39;id&#39;: 116225, + &#39;impactedResources&#39;: [{&#39;active&#39;: 1, + &#39;filterLabel&#39;: &#39;dal01&#39;, + &#39;hostname&#39;: &#39;testvpn.test.com&#39;, + &#39;notificationOccurrenceEventId&#39;: 116225, + &#39;privateIp&#39;: &#39;10.17.223.157&#39;, + &#39;publicIp&#39;: &#39;208.43.49.207&#39;, + &#39;resourceAccountId&#39;: 307608, + &#39;resourceName&#39;: &#39;testvpn.test.com&#39;, + &#39;resourceTableId&#39;: 218467, + &#39;resourceType&#39;: &#39;SERVER&#39;}, + {&#39;active&#39;: 1, + &#39;filterLabel&#39;: &#39;dal01&#39;, + &#39;hostname&#39;: &#39;domain-master.lablayer.info&#39;, + &#39;notificationOccurrenceEventId&#39;: 116225, + &#39;privateIp&#39;: &#39;10.37.82.159&#39;, + &#39;publicIp&#39;: &#39;173.193.23.40&#39;, + &#39;resourceAccountId&#39;: 307608, + &#39;resourceName&#39;: &#39;domain-master.lablayer.info&#39;, + &#39;resourceTableId&#39;: 662657, + &#39;resourceType&#39;: &#39;SERVER&#39;}], + &#39;startDate&#39;: &#39;2018-04-02T23:34:00-06:00&#39;, + &#39;subject&#39;: &#39;Private network degradation in DCs in Dallas region&#39;}</pre></div> +<p>If the resource is a storage volume, the output would look more like this</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">{&#39;id&#39;: 115025, + &#39;impactedResources&#39;: [{&#39;active&#39;: 1, + &#39;filterLabel&#39;: &#39;Storage Type 02 File Cluster &#39; + &#39;stff-syd0101&#39;, + &#39;hostname&#39;: &#39;SL02SV307608_1&#39;, + &#39;notificationOccurrenceEventId&#39;: 115025, + &#39;privateIp&#39;: &#39;fsf-syd0101a-fz.service.softlayer.com&#39;, + &#39;resourceAccountId&#39;: 307608, + &#39;resourceName&#39;: &#39;SL02SV307608_1&#39;, + &#39;resourceTableId&#39;: 39134586, + &#39;resourceType&#39;: &#39;STORAGE_NAS&#39;}], + &#39;startDate&#39;: &#39;2018-04-02T05:20:00-06:00&#39;, + &#39;subject&#39;: &#39;PLANNED MAINTENANCE: Performance/Endurance File Storage Services &#39; + &#39;in SYD01&#39;}</pre></div> +<h2 id="updates">Updates</h2> + +<p>Over the course of an event, SoftLayer employees working to resolve the event will update it with progress if needed. To get that information, tap into the <a href="https://softlayer.github.io/reference/datatypes/SoftLayer_Notification_Occurrence_Update">updates</a> relational property</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2Cupdates%5D&#39;</pre></div> +<p>Output:</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">{&#39;id&#39;: 116225, + &#39;startDate&#39;: &#39;2018-04-02T23:34:00-06:00&#39;, + &#39;subject&#39;: &#39;Private network degradation in DCs in Dallas region&#39;, + &#39;updates&#39;: [{&#39;contents&#39;: &#39;At 06:48 UTC network engineers performed a &#39; + &#39;supervisor failover on mbr01.dal01 which restored &#39; + &#39;backend connectivity for affected hosts. A reboot &#39; + &#39;and disk check may be required for virtual hosts &#39; + &#34;which use SAN. If you&#39;re still experiencing issues &#34; + &#39;please contact support via phone, chat or ticket &#39; + &#39;and reference event ID #58021829.&#39;, + &#39;createDate&#39;: &#39;2018-04-03T01:45:20-06:00&#39;, + &#39;endDate&#39;: None, + &#39;startDate&#39;: &#39;2018-04-03T01:44:00-06:00&#39;}, + {&#39;contents&#39;: &#39;As of 03-April-2018 06:45 UTC network engineers are &#39; + &#39;still investigating and working to restore &#39; + &#39;connectivity as soon as possible.&#39;, + &#39;createDate&#39;: &#39;2018-04-03T00:50:08-06:00&#39;, + &#39;endDate&#39;: None, + &#39;startDate&#39;: &#39;2018-04-03T00:49:00-06:00&#39;}, + {&#39;contents&#39;: &#39;At 03-Apr-2018 5:03 UTC the Network Operation &#39; + &#39;Center was alerted to communication failures for &#39; + &#39;the backend private networks in the Dallas Region. &#39; + &#39;Network Engineers are investigating at this time. &#39; + &#39;We will provide more detail as it becomes &#39; + &#39;available.&#39;, + &#39;createDate&#39;: &#39;2018-04-02T23:36:57-06:00&#39;, + &#39;endDate&#39;: None, + &#39;startDate&#39;: &#39;2018-04-02T23:36:57-06:00&#39;}]}</pre></div> +<h2 id="ack-events">Ack Events</h2> + +<p>To Acknowledge events (this just makes them not pop-up in the control portal) use the <a href="https://softlayer.github.io/reference/services/SoftLayer_Notification_Occurrence_Event/acknowledgeNotification/">acknowledgeNotification method</a></p> + +<p>Use the <a href="https://softlayer.github.io/reference/datatypes/SoftLayer_Notification_Occurrence_Event/#acknowledgedFlag">acknowledgeFlag</a> to determine if an incident is in an acknowledged state or not.</p> + +<p>List all unacknowledged events</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CnotificationOccurrenceEventType%2CacknowledgedFlag%5D&amp;objectFilter=%7B%22acknowledgedFlag%22%3A+%7B%22operation%22%3A+0%7D%7D&#39;</pre></div> +<p>Get the event, notice its unacknowledged</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CnotificationOccurrenceEventType%2CacknowledgedFlag%5D&#39;</pre></div> +<p>Acknowledge an event</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/acknowledgeNotification.json&#39;</pre></div> +<p>Get the event, notice its acknowledged</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">curl -u $SL_USER:$SL_APIKEY -X GET -H &#34;Accept: */*&#34; -H &#34;Accept-Encoding: gzip, deflate, compress&#34; &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CnotificationOccurrenceEventType%2CacknowledgedFlag%5D&#39;</pre></div> +<p>Output:</p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">{&#39;acknowledgedFlag&#39;: False, + &#39;id&#39;: 116225, + &#39;notificationOccurrenceEventType&#39;: {&#39;keyName&#39;: &#39;UNPLANNED_INCIDENT&#39;}, + &#39;startDate&#39;: &#39;2018-04-02T23:34:00-06:00&#39;, + &#39;subject&#39;: &#39;Private network degradation in DCs in Dallas region&#39;} +True +{&#39;acknowledgedFlag&#39;: True, + &#39;id&#39;: 116225, + &#39;notificationOccurrenceEventType&#39;: {&#39;keyName&#39;: &#39;UNPLANNED_INCIDENT&#39;}, + &#39;startDate&#39;: &#39;2018-04-02T23:34:00-06:00&#39;, + &#39;subject&#39;: &#39;Private network degradation in DCs in Dallas region&#39;}</pre></div> + + + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 UTC + Enthusiastic Hugo User + https://softlayer.github.io/python/orderVyatta/ + <p>This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in <a href="https://softlayer.github.io/python/orderBareMetal/">https://softlayer.github.io/python/orderBareMetal/</a> and <a href="https://softlayer.github.io/python/ordering_slcli/">https://softlayer.github.io/python/ordering_slcli/</a></p> +<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python"><span style="color:#f92672">import</span> SoftLayer +<span style="color:#f92672">from</span> SoftLayer.managers <span style="color:#f92672">import</span> ordering +<span style="color:#f92672">import</span> sys +<span style="color:#f92672">from</span> pprint <span style="color:#f92672">import</span> pprint <span style="color:#66d9ef">as</span> pp +<span style="color:#f92672">import</span> logging + + +logging<span style="color:#f92672">.</span>debug(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;Starting up&#34;</span>) +<span style="color:#75715e"># Requires softlayer-python 5.4.3+</span> + +<span style="color:#66d9ef">class</span> <span style="color:#a6e22e">vyattaOrderer</span>(): + + <span style="color:#66d9ef">def</span> __init__(self): + <span style="color:#66d9ef">if</span> SoftLayer<span style="color:#f92672">.</span>__version__ <span style="color:#f92672">&lt;</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;v5.4.3&#39;</span>: + <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;SoftLayer needs to be 5.4.3+, is currently </span><span style="color:#e6db74">%s</span><span style="color:#e6db74">&#34;</span> <span style="color:#f92672">%</span> SoftLayer<span style="color:#f92672">.</span>__version__) + self<span style="color:#f92672">.</span>client <span style="color:#f92672">=</span> SoftLayer<span style="color:#f92672">.</span>Client() + <span style="color:#75715e"># slcli order package-list --package_type BARE_METAL_GATEWAY </span> + <span style="color:#75715e"># Will get you available package keynames</span> + self<span style="color:#f92672">.</span>package_keyname <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;2U_NETWORK_GATEWAY_APPLIANCE_1O_GBPS&#34;</span> + self<span style="color:#f92672">.</span>complex_type <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;SoftLayer_Container_Product_Order_Hardware_Server_Gateway_Appliance&#39;</span> + + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">orderVyatta</span>(self, dc, pub_vlan<span style="color:#f92672">=</span><span style="color:#e6db74"></span><span style="color:#e6db74">&#39;&#39;</span>, prv_vlan<span style="color:#f92672">=</span><span style="color:#e6db74"></span><span style="color:#e6db74">&#39;&#39;</span>): + <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;&#34;&#34;Actually orders a vyatts +</span><span style="color:#e6db74"> Required +</span><span style="color:#e6db74"> - dc +</span><span style="color:#e6db74"> - Server Chassis +</span><span style="color:#e6db74"> - RAM +</span><span style="color:#e6db74"> - OS (not really though) +</span><span style="color:#e6db74"> - HD (number, raid, partition) +</span><span style="color:#e6db74"> - Bandwidth +</span><span style="color:#e6db74"> - Port Speed +</span><span style="color:#e6db74"> - IPv6 +</span><span style="color:#e6db74"> Options +</span><span style="color:#e6db74"> - vlans +</span><span style="color:#e6db74"> - provision scrips +</span><span style="color:#e6db74"> - ssh keys +</span><span style="color:#e6db74"> - userdata +</span><span style="color:#e6db74"> - hostname, domain +</span><span style="color:#e6db74"> &#34;&#34;&#34;</span> + + order_svc <span style="color:#f92672">=</span> self<span style="color:#f92672">.</span>client[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;Product_Order&#39;</span>] + + order_items <span style="color:#f92672">=</span> self<span style="color:#f92672">.</span>itemKeynameList() + + extras <span style="color:#f92672">=</span> {} + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;hardware&#39;</span>] <span style="color:#f92672">=</span> [ + self<span style="color:#f92672">.</span>generateHardwareEntry(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;vyatta1&#39;</span>, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;test.com&#39;</span>, pub_vlan, prv_vlan, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;vyatta1 Test&#39;</span>) + ] + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;storageGroups&#39;</span>] <span style="color:#f92672">=</span> [self<span style="color:#f92672">.</span>generateRaidEntry()] + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;sshKeys&#39;</span>] <span style="color:#f92672">=</span> [{<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;sshKeyIds&#39;</span>: [<span style="color:#ae81ff">87634</span>]}] + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;provisionScripts&#39;</span>] <span style="color:#f92672">=</span> [ + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;https://raw.githubusercontent.com/softlayer/softlayer.github.io/master/provision-test.sh&#39;</span> + ] + + vyatta_order <span style="color:#f92672">=</span> self<span style="color:#f92672">.</span>getOrderObject(dc, order_items, extras, <span style="color:#ae81ff">1</span>) + order_object <span style="color:#f92672">=</span> { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;orderContainers&#39;</span>: [ + vyatta_order + ] + } + + verify <span style="color:#f92672">=</span> order_svc<span style="color:#f92672">.</span>verifyOrder(order_object) + <span style="color:#75715e"># verify = order_svc.placeOrder(order_object)</span> + pp(verify) + <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;done&#34;</span>) + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">orderVyattaHA</span>(self, dc, pub_vlan<span style="color:#f92672">=</span><span style="color:#e6db74"></span><span style="color:#e6db74">&#39;&#39;</span>, prv_vlan<span style="color:#f92672">=</span><span style="color:#e6db74"></span><span style="color:#e6db74">&#39;&#39;</span>): + order_svc <span style="color:#f92672">=</span> self<span style="color:#f92672">.</span>client[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;Product_Order&#39;</span>] + om <span style="color:#f92672">=</span> ordering<span style="color:#f92672">.</span>OrderingManager(self<span style="color:#f92672">.</span>client) + + order_items <span style="color:#f92672">=</span> self<span style="color:#f92672">.</span>itemKeynameList() + + extras <span style="color:#f92672">=</span> {} + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;hardware&#39;</span>] <span style="color:#f92672">=</span> [ + self<span style="color:#f92672">.</span>generateHardwareEntry(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;vyatta1&#39;</span>, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;test.com&#39;</span>, pub_vlan, prv_vlan, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;vyatta1 Test&#39;</span>), + self<span style="color:#f92672">.</span>generateHardwareEntry(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;vyatta2&#39;</span>, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;test.com&#39;</span>, pub_vlan, prv_vlan, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;vyatta2 Test&#39;</span>) + ] + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;storageGroups&#39;</span>] <span style="color:#f92672">=</span> [self<span style="color:#f92672">.</span>generateRaidEntry()] + mySshKey <span style="color:#f92672">=</span> <span style="color:#ae81ff">87634</span> + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;sshKeys&#39;</span>] <span style="color:#f92672">=</span> [{<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;sshKeyIds&#39;</span>: [mySshKey]}, {<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;sshKeyIds&#39;</span>: [mySshKey]}] + <span style="color:#75715e"># Each server needs a provision script</span> + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;provisionScripts&#39;</span>] <span style="color:#f92672">=</span> [ + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;https://raw.githubusercontent.com/softlayer/softlayer.github.io/master/provision-test.sh&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;https://raw.githubusercontent.com/softlayer/softlayer.github.io/master/provision-test.sh&#39;</span> + ] + extras[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;clusterIdentifier&#39;</span>] <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;myTestClusterOfVyattas&#39;</span> + + vyatta_order <span style="color:#f92672">=</span> self<span style="color:#f92672">.</span>getOrderObject(dc, order_items, extras, <span style="color:#ae81ff">2</span>) + + cluster_extras <span style="color:#f92672">=</span> { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;clusterIdentifier&#39;</span>: <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;myTestClusterOfVyattas&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;sshKeys&#34;</span>: [{<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;sshKeyIds&#34;</span>: [mySshKey]}] + } + cluster_type <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;SoftLayer_Container_Product_Order_Gateway_Appliance_Cluster&#34;</span> + cluster_object <span style="color:#f92672">=</span> om<span style="color:#f92672">.</span>generate_order(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;NETWORK_GATEWAY_APPLIANCE_CLUSTER&#39;</span>, dc, [<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;GATEWAY_APPLIANCE_CLUSTER&#39;</span>], + cluster_type, False, None, cluster_extras, <span style="color:#ae81ff">1</span>) + <span style="color:#75715e"># the cluster order object is a bit special, and we need to remove these for it to work properly</span> + <span style="color:#66d9ef">del</span> cluster_object[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;location&#39;</span>] + <span style="color:#66d9ef">del</span> cluster_object[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;useHourlyPricing&#39;</span>] + order_object <span style="color:#f92672">=</span> { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;orderContainers&#39;</span>: [ + vyatta_order, + cluster_object + ] + } + + verify <span style="color:#f92672">=</span> order_svc<span style="color:#f92672">.</span>verifyOrder(order_object) + <span style="color:#75715e"># verify = order_svc.placeOrder(order_object)</span> + pp(verify) + <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;done&#34;</span>) + + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">generateHardwareEntry</span>(self, hostname, domain, prv_vlan<span style="color:#f92672">=</span><span style="color:#e6db74"></span><span style="color:#e6db74">&#39;&#39;</span>, pub_vlan<span style="color:#f92672">=</span><span style="color:#e6db74"></span><span style="color:#e6db74">&#39;&#39;</span>, userData<span style="color:#f92672">=</span><span style="color:#e6db74"></span><span style="color:#e6db74">&#39;&#39;</span>): + hardware <span style="color:#f92672">=</span> { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;domain&#39;</span>: domain, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;hostname&#39;</span>: hostname, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;primaryBackendNetworkComponent&#39;</span>: + {<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;networkVlan&#39;</span>: {<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span> : int(pub_vlan)}}, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;primaryNetworkComponent&#39;</span>: + {<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;networkVlan&#39;</span>: {<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span> : int(prv_vlan)}}, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;userData&#39;</span>: [{<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;value&#39;</span>: userData}] + } + <span style="color:#66d9ef">return</span> hardware + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">generateRaidEntry</span>(self): + storage <span style="color:#f92672">=</span> { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;arrayTypeId&#39;</span>: <span style="color:#ae81ff">2</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;hardDrives&#39;</span>: [<span style="color:#ae81ff">0</span>,<span style="color:#ae81ff">1</span>], + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;partitionTemplateId&#39;</span>: <span style="color:#ae81ff">1</span> + } + <span style="color:#66d9ef">return</span> storage + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">getOrderObject</span>(self, dc, items, extras, quantity <span style="color:#f92672">=</span> <span style="color:#ae81ff">1</span>): + <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;&#34;&#34;Uses the ordering manager to build a order object&#34;&#34;&#34;</span> + om <span style="color:#f92672">=</span> ordering<span style="color:#f92672">.</span>OrderingManager(self<span style="color:#f92672">.</span>client) + order <span style="color:#f92672">=</span> om<span style="color:#f92672">.</span>generate_order(self<span style="color:#f92672">.</span>package_keyname, dc, items, self<span style="color:#f92672">.</span>complex_type, False, None, extras, quantity) + <span style="color:#75715e"># pp(order)</span> + <span style="color:#66d9ef">return</span> order + + + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">datacenterList</span>(self): + <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;&#34;&#34;Prints a list of dcs and their ids&#34;&#34;&#34;</span> + om <span style="color:#f92672">=</span> ordering<span style="color:#f92672">.</span>OrderingManager(self<span style="color:#f92672">.</span>client) + locations <span style="color:#f92672">=</span> om<span style="color:#f92672">.</span>package_locations(self<span style="color:#f92672">.</span>package_keyname) + <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;ID, name, longName&#34;</span>) + <span style="color:#66d9ef">for</span> region <span style="color:#f92672">in</span> locations: + <span style="color:#66d9ef">for</span> location <span style="color:#f92672">in</span> region[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;locations&#39;</span>]: + <span style="color:#66d9ef">if</span> location[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;locationPackageDetails&#39;</span>][<span style="color:#ae81ff">0</span>][<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;isAvailable&#39;</span>] <span style="color:#f92672">==</span> <span style="color:#ae81ff">1</span>: + dc <span style="color:#f92672">=</span> location[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;location&#39;</span>] + <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">%s</span><span style="color:#e6db74">, </span><span style="color:#e6db74">%s</span><span style="color:#e6db74">, </span><span style="color:#e6db74">%s</span><span style="color:#e6db74">&#34;</span> <span style="color:#f92672">%</span> (dc[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span>], dc[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;name&#39;</span>], dc[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;longName&#39;</span>])) + + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">itemKeynameList</span>(self): + <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;&#34;&#34;Builds a list of item keyNames needed to order a VYATTA +</span><span style="color:#e6db74"> +</span><span style="color:#e6db74"> To see what category of items are required, use this command +</span><span style="color:#e6db74"> $&gt; slcli order category-list 2U_NETWORK_GATEWAY_APPLIANCE_1O_GBPS +</span><span style="color:#e6db74"> +</span><span style="color:#e6db74"> To see what items are in each category, use this command +</span><span style="color:#e6db74"> $&gt; slcli order item-list 2U_NETWORK_GATEWAY_APPLIANCE_1O_GBPS +</span><span style="color:#e6db74"> +</span><span style="color:#e6db74"> Price Ids are subject to change, so please use keynames to get price ids +</span><span style="color:#e6db74"> at order time. +</span><span style="color:#e6db74"> &#34;&#34;&#34;</span> + + <span style="color:#75715e"># The junk all orders have to have</span> + required_items <span style="color:#f92672">=</span> [ + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;AUTOMATED_NOTIFICATION&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;MONITORING_HOST_PING&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;NOTIFICATION_EMAIL_AND_TICKET&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;REBOOT_KVM_OVER_IP&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;NESSUS_VULNERABILITY_ASSESSMENT_REPORTING&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;REDUNDANT_POWER_SUPPLY&#39;</span>, + ] + + <span style="color:#75715e"># 20000GB is recommended. </span> + <span style="color:#75715e"># BANDWIDTH_0_GB_2 and BANDWIDTH_UNLIMITED_100_MBPS_UPLINK are also possible</span> + network_items <span style="color:#f92672">=</span> [ + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;BANDWIDTH_20000_GB&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;10_GBPS_PUBLIC_PRIVATE_NETWORK_UPLINKS&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;1_IP_ADDRESS&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;1_IPV6_ADDRESS&#39;</span> + ] + + <span style="color:#75715e"># Were going to go with RAID1, 500GB. </span> + hard_drive <span style="color:#f92672">=</span> [ + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;HARD_DRIVE_500GB_SATA_II&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;HARD_DRIVE_500GB_SATA_II&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;DISK_CONTROLLER_RAID_1&#39;</span> + ] + + ram <span style="color:#f92672">=</span> [ + <span style="color:#75715e"># &#39;RAM_16_GB_DDR3_1333_ECC_REG&#39;</span> + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;RAM_32_GB_DDR3_1333_REG_2&#39;</span>, + <span style="color:#75715e"># &#39;RAM_64_GB_DDR3_1333_REG_2&#39;</span> + <span style="color:#75715e"># &#39;RAM_48_GB_DDR3_1333_REG&#39;</span> + <span style="color:#75715e"># &#39;RAM_96_GB_DDR3_1333_REG&#39;</span> + <span style="color:#75715e"># &#39;RAM_128_GB_DDR3_1333_REG_2&#39;</span> + <span style="color:#75715e"># &#39;RAM_256_GB_DDR3_1333_REG_2&#39;</span> + ] + + <span style="color:#75715e"># Sets the server chassis and OS</span> + server <span style="color:#f92672">=</span> [ + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;OS_VYATTA_5600_5_X_UP_TO_20GBPS_SUBSCRIPTION_EDITION_64_BIT&#39;</span>, + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;INTEL_XEON_2620_2_40&#39;</span>, + <span style="color:#75715e"># &#39;INTEL_INTEL_XEON_E52620_V4_2_10&#39;</span> + <span style="color:#75715e"># &#39;INTEL_XEON_2650_2_30&#39;</span> + <span style="color:#75715e"># &#39;INTEL_INTEL_XEON_E52650_V4_2_20&#39;</span> + <span style="color:#75715e"># &#39;INTEL_XEON_2690_2_60&#39;</span> + <span style="color:#75715e"># &#39;INTEL_INTEL_XEON_E52690_V4_2_60&#39;</span> + ] + + allItems <span style="color:#f92672">=</span> required_items <span style="color:#f92672">+</span> network_items <span style="color:#f92672">+</span> hard_drive <span style="color:#f92672">+</span> ram <span style="color:#f92672">+</span> server + <span style="color:#66d9ef">return</span> allItems + + <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">listAvailableVlans</span>(self, dc_id): + <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;&#34;&#34;Will find available VLANs that a vyatta can be ordered on&#34;&#34;&#34;</span> + + mask <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;&#34;&#34;mask[ +</span><span style="color:#e6db74"> network, type, primaryRouter[datacenter], +</span><span style="color:#e6db74"> attachedNetworkGatewayFlag, dedicatedFirewallFlag +</span><span style="color:#e6db74"> ]&#34;&#34;&#34;</span> + + _filter <span style="color:#f92672">=</span> { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;networkVlans&#39;</span> : { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;primaryRouter&#39;</span>: { + <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;datacenter&#39;</span> : { <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span>: {<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;operation&#39;</span>: dc_id} } + } + } + } + result <span style="color:#f92672">=</span> self<span style="color:#f92672">.</span>client[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;SoftLayer_Account&#39;</span>]<span style="color:#f92672">.</span>getNetworkVlans(mask<span style="color:#f92672">=</span>mask,filter<span style="color:#f92672">=</span>_filter) + + <span style="color:#75715e"># Vlans that are not-standard, part of a firewall or gateway, can&#39;t be ordered on. </span> + <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;ID, Vlan Number, Type, Router&#34;</span>) + <span style="color:#66d9ef">for</span> vlan <span style="color:#f92672">in</span> result: + vlan_type <span style="color:#f92672">=</span> vlan[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;type&#39;</span>][<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;keyName&#39;</span>] + <span style="color:#66d9ef">if</span> vlan_type <span style="color:#f92672">==</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;GATEWAY&#39;</span>: + vlan_type <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;GATEWAY (No ordering)&#39;</span> + <span style="color:#66d9ef">elif</span> vlan[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;dedicatedFirewallFlag&#39;</span>] <span style="color:#f92672">==</span> <span style="color:#ae81ff">1</span>: + vlan_type <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">%s</span><span style="color:#e6db74">/FIREWALL (No ordering)&#34;</span> <span style="color:#f92672">%</span> vlan_type + <span style="color:#66d9ef">elif</span> vlan[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;attachedNetworkGatewayFlag&#39;</span>]: + vlan_type <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">%s</span><span style="color:#e6db74">/GATEWAY MEMBER (No ordering)&#34;</span> <span style="color:#f92672">%</span> vlan_type + + <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">%s</span><span style="color:#e6db74"> - VLAN: </span><span style="color:#e6db74">%s</span><span style="color:#e6db74"> - Type: </span><span style="color:#e6db74">%s</span><span style="color:#e6db74"> - </span><span style="color:#e6db74">%s</span><span style="color:#e6db74"> &#34;</span> <span style="color:#f92672">%</span> + (vlan[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span>], + vlan[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;vlanNumber&#39;</span>], + vlan_type, + vlan[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;primaryRouter&#39;</span>][<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;hostname&#39;</span>]) + ) + + +<span style="color:#66d9ef">if</span> __name__ <span style="color:#f92672">==</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;__main__&#34;</span>: + main <span style="color:#f92672">=</span> vyattaOrderer() + <span style="color:#75715e"># 2255245 - VLAN: 946 - Type: STANDARD - bcr01a.sjc04</span> + <span style="color:#75715e"># 2255243 - VLAN: 913 - Type: STANDARD - fcr01a.sjc04</span> + <span style="color:#75715e"># main.orderVyatta(&#39;sjc04&#39;, 2255243, 2255245)</span> + main<span style="color:#f92672">.</span>orderVyattaHA(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;sjc04&#39;</span>, <span style="color:#ae81ff">2255243</span>, <span style="color:#ae81ff">2255245</span>)</code></pre></div> + Release notes: March 30, 2018 @@ -45,6 +609,7 @@ <li>Fixes an intermittent issue preventing iSCSI authorizations when credentials already exist.</li> <li>Refactored the script that checks for mixed-public/private VSIs on dedicated hosts and changed the behavior to not send emails when none are found.</li> <li>Fix an issue ordering IPv6 subnets on public VLANs under certain circumstances.</li> +<li>EOL: Disable Flex Image Service for all Customers</li> </ul> <h4 id="slcli">SLCLI</h4> @@ -1027,290 +1592,5 @@ If you start to experience connection errors on the transition date, the best co - - Release notes: January 22, 2018 - https://softlayer.github.io/release_notes/2018/20180122/ - Mon, 22 Jan 2018 00:00:00 UTC - Enthusiastic Hugo User - https://softlayer.github.io/release_notes/2018/20180122/ - - -<h4 id="portal">Portal</h4> - -<ul> -<li>Fixes bug when checking for available vGPU resources.</li> -<li>Update favicon on IBM cloud template</li> -<li>Fixed an informative popup to properly display entire username when deleting or disabling a user with a long username</li> -</ul> - -<h4 id="api">API</h4> - -<ul> -<li>SoftLayer_Network_Storage::getAllowableDatacenters() performance improvements</li> -<li>Added a SUPPORTED_BOOT_MODE attribute to the SoftLayer_Virtual_Disk_Image_Attribute_Type class to hold what boot modes the image can support.</li> -<li>Update SLDN doc for Virtual_Guest.createObject to add Security Group parameters</li> -<li>Replace checking for parentId with isMasterUser flag for add/remove device access</li> -<li>Added quantity validation on StaaS orders. SoftLayer_Container_Product_Order_Network_Storage_AsAService can only be ordered one at a time. If quantity is greater than 1, an exception will now be thrown. Before the order was just placed as quantity 1.</li> -<li>Remove the default SEV4 setting on all tickets created and require employees to set the ticket severity on the first update</li> -<li>Parent user who doesn&rsquo;t have the VPN_MANAGE permission should be able to disable or delete the child user.</li> -<li>Generic message is displayed when sub-user is trying to add External Binding for a child user. This has been changed to a message to indicate only the Master User can add external bindings</li> -</ul> - -<h4 id="backend">Backend</h4> - -<ul> -<li>Improve sanity checks and error messages when a user&rsquo;s email field is changed after sending an IBMid invitation</li> -<li>Remove weak SSL ciphers from LBaaS supported cipher list. Specifically - -<ol> -<li>DHE-RSA-AES256-GCM-SHA384</li> -<li>DHE-RSA-AES256-SHA256</li> -<li>DHE-RSA-AES128-GCM-SHA256</li> -<li>DHE-RSA-AES128-SHA256</li> -</ol></li> -<li>Fixes an issue where extraneous SoftLayer_Network_Storage::activeTransactions could be present on a volume which actually has no active transactions running.</li> -<li>Block Live Migrations for GPU Guests</li> -<li>Enable Order Support for External Resources</li> -<li>&ldquo;Insufficient Resources&rdquo; error has been changed to &ldquo;Insufficient Capacity&rdquo;.</li> -</ul> - - - - - Creating a support ticket - https://softlayer.github.io/python/create_ticket/ - Tue, 16 Jan 2018 00:00:00 UTC - Enthusiastic Hugo User - https://softlayer.github.io/python/create_ticket/ - - -<h2 id="getting-subjects">Getting Subjects</h2> - -<p>Standard support tickets&rsquo; titles must be selected from a pre-determined list of ticket subjects, defined in the <a href="http://sldn.softlayer.com/reference/services/SoftLayer_Ticket_Subject">SoftLayer_Ticket_Subject</a> service. The following example will output all of the Ticket Subjects:</p> -<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python"><span style="color:#f92672">import</span> SoftLayer -client <span style="color:#f92672">=</span> SoftLayer<span style="color:#f92672">.</span>Client() -<span style="color:#66d9ef">def</span> <span style="color:#a6e22e">getSubjects</span>(self): - mask <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;mask[group]&#34;</span> - subjects <span style="color:#f92672">=</span> client<span style="color:#f92672">.</span>call(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;SoftLayer_Ticket_Subject&#39;</span>, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;getAllObjects&#39;</span>, mask<span style="color:#f92672">=</span>mask) - <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;|Subject Id | Subject Name | Group Name |&#34;</span>) - <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;| --- | --- | --- |&#34;</span>) - <span style="color:#66d9ef">for</span> subject <span style="color:#f92672">in</span> subjects: - <span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">&#34;|</span><span style="color:#e6db74">%s</span><span style="color:#e6db74">| </span><span style="color:#e6db74">%s</span><span style="color:#e6db74">| </span><span style="color:#e6db74">%s</span><span style="color:#e6db74">|&#34;</span> <span style="color:#f92672">%</span> (subject[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span>], subject[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;name&#39;</span>], subject[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;group&#39;</span>][<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;name&#39;</span>]))</code></pre></div> -<h3 id="subjects">Subjects</h3> - -<table> -<thead> -<tr> -<th>Subject Id</th> -<th>Subject Name</th> -<th>Group Name</th> -</tr> -</thead> - -<tbody> -<tr> -<td>1522</td> -<td>API Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1001</td> -<td>Accounting Request</td> -<td>Accounting</td> -</tr> - -<tr> -<td>1181</td> -<td>CDN Question</td> -<td>SysAdmin</td> -</tr> - -<tr> -<td>1261</td> -<td>Colocation Service Request</td> -<td>Hardware</td> -</tr> - -<tr> -<td>1041</td> -<td>DNS Request</td> -<td>Support</td> -</tr> - -<tr> -<td>1201</td> -<td>DOS/Abuse Issue</td> -<td>Support</td> -</tr> - -<tr> -<td>1121</td> -<td>Hardware Firewall Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1021</td> -<td>Hardware Issue</td> -<td>Support</td> -</tr> - -<tr> -<td>1122</td> -<td>Hardware Load Balancer Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1081</td> -<td>Licensing Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1141</td> -<td>Mail Server Issue</td> -<td>Support</td> -</tr> - -<tr> -<td>1004</td> -<td>OS Reload Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1005</td> -<td>Portal Information Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1061</td> -<td>Private Network Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1022</td> -<td>Public Network Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1003</td> -<td>Reboots and Console Access</td> -<td>Support</td> -</tr> - -<tr> -<td>1002</td> -<td>Sales Request</td> -<td>Sales</td> -</tr> - -<tr> -<td>1603</td> -<td>Sales Request - Compute &amp; Infrastructure</td> -<td>Sales</td> -</tr> - -<tr> -<td>1645</td> -<td>Sales Request - Firewall Service</td> -<td>Sales</td> -</tr> - -<tr> -<td>1647</td> -<td>Sales Request - General Question</td> -<td>Sales</td> -</tr> - -<tr> -<td>1605</td> -<td>Sales Request - Network &amp; Security Services</td> -<td>Sales</td> -</tr> - -<tr> -<td>1643</td> -<td>Sales Request - Other Services</td> -<td>Sales</td> -</tr> - -<tr> -<td>1607</td> -<td>Sales Request - Upgrades &amp; Add-ons</td> -<td>Sales</td> -</tr> - -<tr> -<td>1101</td> -<td>Security Issue</td> -<td>Support</td> -</tr> - -<tr> -<td>1161</td> -<td>Storage Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1221</td> -<td>Transcoding Question</td> -<td>Support</td> -</tr> - -<tr> -<td>1723</td> -<td>VMware Solutions</td> -<td>VMware Solutions</td> -</tr> - -<tr> -<td>1482</td> -<td>Vyatta Question</td> -<td>SysAdmin</td> -</tr> -</tbody> -</table> - -<h2 id="creating-tickets">Creating Tickets</h2> - -<p>Once you have the Ticket Subject ID you can pass it to <a href="http://sldn.softlayer.com/reference/services/SoftLayer_Ticket/createStandardTicket">createStandardTicket</a>. In the following example we are opening a ticket under the subject Hardware Issue (ID 1021).</p> -<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python"><span style="color:#f92672">import</span> SoftLayer -client <span style="color:#f92672">=</span> SoftLayer<span style="color:#f92672">.</span>Client() -currentUser <span style="color:#f92672">=</span> client[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;Account&#39;</span>]<span style="color:#f92672">.</span>getCurrentUser() -new_ticket <span style="color:#f92672">=</span> { - <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;subjectId&#39;</span>: <span style="color:#ae81ff">1021</span>, - <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;assignedUserId&#39;</span>: currentUser[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span>] -} -created_ticket <span style="color:#f92672">=</span> client<span style="color:#f92672">.</span>call(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;SoftLayer_Ticket&#39;</span>, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;createStandardTicket&#39;</span>, new_ticket, <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;Content of the ticket goes here&#34;</span>)</code></pre></div> -<h3 id="full-example">Full Example</h3> - -<p>createStandardTicket takes a few arguments that can be used to create a ticket. Anything that isn&rsquo;t an argument to createStandardTicket should be passed in as the ticket template object.</p> -<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python"><span style="color:#f92672">import</span> SoftLayer -client <span style="color:#f92672">=</span> SoftLayer<span style="color:#f92672">.</span>Client() -<span style="color:#66d9ef">def</span> <span style="color:#a6e22e">createTicket</span>(self): - current_user <span style="color:#f92672">=</span> client<span style="color:#f92672">.</span>call(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;SoftLayer_Account&#39;</span>, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;getCurrentUser&#39;</span>) - body <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#34;I&#39;m testing API ticket creation. Please close this ticket if you see it. Thanks.&#34;</span> - serverId <span style="color:#f92672">=</span> <span style="color:#ae81ff">1317535</span> - serverPass <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;12345&#39;</span> - <span style="color:#75715e"># http://sldn.softlayer.com/reference/datatypes/SoftLayer_Ticket</span> - new_ticket <span style="color:#f92672">=</span> { - <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;subjectId&#39;</span>: <span style="color:#ae81ff">1021</span>, - <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;assignedUserId&#39;</span>: current_user[<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;id&#39;</span>], - <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;title&#39;</span>: <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;TESTING TICKET 003&#39;</span>, - <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;priority&#39;</span>: <span style="color:#ae81ff">4</span> - } - <span style="color:#75715e"># parameter list is from, need to be in order http://sldn.softlayer.com/reference/services/softlayer_ticket/createStandardTicket</span> - created_ticket <span style="color:#f92672">=</span> client<span style="color:#f92672">.</span>call(<span style="color:#e6db74"></span><span style="color:#e6db74">&#39;SoftLayer_Ticket&#39;</span>, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;createStandardTicket&#39;</span>, - new_ticket, body, serverId, serverPass, None, None, None, <span style="color:#e6db74"></span><span style="color:#e6db74">&#39;HARDWARE&#39;</span>) - pp(created_ticket)</code></pre></div> - - \ No newline at end of file diff --git a/python/index.html b/python/index.html index b44b1e4093c..4c2dc70809c 100644 --- a/python/index.html +++ b/python/index.html @@ -107,6 +107,16 @@

              + Ordering Vyatta Network Gateways Apr 5, 2018
              + Ordering Vyattas +

              + View Example +
              +
              + +
              +
              +

              Creating a support ticket Jan 16, 2018
              Create a standard support ticket assigned to your user

              diff --git a/python/index.xml b/python/index.xml index 181ef07cfb2..8b76e2599fc 100644 --- a/python/index.xml +++ b/python/index.xml @@ -6,11 +6,21 @@ Recent content in Python on SoftLayer API Hugo -- gohugo.io en-us - Tue, 16 Jan 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug(&#34;Starting up&#34;) # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ &lt; &#39;v5.4.3&#39;: print(&#34;SoftLayer needs to be 5.4.3+, is currently %s&#34; % SoftLayer.__version__) self.client = SoftLayer. + + Creating a support ticket https://softlayer.github.io/python/create_ticket/ diff --git a/python/orderVyatta/index.html b/python/orderVyatta/index.html new file mode 100644 index 00000000000..e016b4a9c3b --- /dev/null +++ b/python/orderVyatta/index.html @@ -0,0 +1,467 @@ + + + + + + + + + + + Ordering Vyatta Network Gateways - https://softlayer.github.io/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              +
              +
              +

              Ordering Vyatta Network Gateways
              Ordering Vyattas

              + + + +

              This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/

              +
              import SoftLayer
              +from SoftLayer.managers import ordering
              +import sys
              +from  pprint import pprint as pp
              +import logging
              +
              +
              +logging.debug("Starting up")
              +# Requires softlayer-python 5.4.3+
              +
              +class vyattaOrderer():
              +
              +    def __init__(self):
              +        if SoftLayer.__version__ < 'v5.4.3':
              +            print("SoftLayer needs to be 5.4.3+, is currently %s" % SoftLayer.__version__)
              +        self.client = SoftLayer.Client()
              +        # slcli order package-list --package_type BARE_METAL_GATEWAY 
              +        # Will get you available package keynames
              +        self.package_keyname = "2U_NETWORK_GATEWAY_APPLIANCE_1O_GBPS"
              +        self.complex_type = 'SoftLayer_Container_Product_Order_Hardware_Server_Gateway_Appliance'
              +
              +
              +    def orderVyatta(self, dc, pub_vlan='', prv_vlan=''):
              +        """Actually orders a vyatts
              +            Required
              +                - dc
              +                - Server Chassis
              +                - RAM
              +                - OS (not really though)
              +                - HD (number, raid, partition)
              +                - Bandwidth 
              +                - Port Speed
              +                - IPv6
              +            Options
              +                - vlans
              +                - provision scrips
              +                - ssh keys
              +                - userdata
              +                - hostname, domain
              +        """
              +        
              +        order_svc = self.client['Product_Order']
              +
              +        order_items = self.itemKeynameList()
              +
              +        extras = {}
              +        extras['hardware'] = [
              +            self.generateHardwareEntry('vyatta1', 'test.com', pub_vlan, prv_vlan, 'vyatta1 Test')
              +        ]
              +        extras['storageGroups'] = [self.generateRaidEntry()]
              +        extras['sshKeys'] = [{'sshKeyIds': [87634]}]
              +        extras['provisionScripts'] = [
              +        'https://raw.githubusercontent.com/softlayer/softlayer.github.io/master/provision-test.sh'
              +        ]
              +
              +        vyatta_order = self.getOrderObject(dc, order_items, extras, 1)
              +        order_object = {
              +            'orderContainers': [
              +                vyatta_order
              +            ]
              +        }
              +
              +        verify = order_svc.verifyOrder(order_object)
              +        # verify = order_svc.placeOrder(order_object)
              +        pp(verify)
              +        print("done")
              +
              +    def orderVyattaHA(self, dc, pub_vlan='', prv_vlan=''):
              +        order_svc = self.client['Product_Order']
              +        om = ordering.OrderingManager(self.client)
              +
              +        order_items = self.itemKeynameList()
              +
              +        extras = {}
              +        extras['hardware'] = [
              +            self.generateHardwareEntry('vyatta1', 'test.com', pub_vlan, prv_vlan, 'vyatta1 Test'),
              +            self.generateHardwareEntry('vyatta2', 'test.com', pub_vlan, prv_vlan, 'vyatta2 Test')
              +        ]
              +        extras['storageGroups'] = [self.generateRaidEntry()]
              +        mySshKey = 87634
              +        extras['sshKeys'] = [{'sshKeyIds': [mySshKey]}, {'sshKeyIds': [mySshKey]}]
              +        # Each server needs a provision script
              +        extras['provisionScripts'] = [
              +        'https://raw.githubusercontent.com/softlayer/softlayer.github.io/master/provision-test.sh',
              +        'https://raw.githubusercontent.com/softlayer/softlayer.github.io/master/provision-test.sh'
              +        ]
              +        extras['clusterIdentifier'] = 'myTestClusterOfVyattas'
              +
              +        vyatta_order = self.getOrderObject(dc, order_items, extras, 2)
              +
              +        cluster_extras = {
              +            'clusterIdentifier': 'myTestClusterOfVyattas',
              +            "sshKeys": [{"sshKeyIds": [mySshKey]}]
              +        }
              +        cluster_type = "SoftLayer_Container_Product_Order_Gateway_Appliance_Cluster"
              +        cluster_object = om.generate_order('NETWORK_GATEWAY_APPLIANCE_CLUSTER', dc, ['GATEWAY_APPLIANCE_CLUSTER'],
              +                                            cluster_type, False, None, cluster_extras, 1)
              +        # the cluster order object is a bit special, and we need to remove these for it to work properly
              +        del cluster_object['location']
              +        del cluster_object['useHourlyPricing']
              +        order_object = {
              +            'orderContainers': [
              +                vyatta_order,
              +                cluster_object
              +            ]
              +        }
              +
              +        verify = order_svc.verifyOrder(order_object)
              +        # verify = order_svc.placeOrder(order_object)
              +        pp(verify)
              +        print("done")
              +
              +
              +    def generateHardwareEntry(self, hostname, domain, prv_vlan='', pub_vlan='', userData=''):
              +        hardware = {
              +            'domain': domain,
              +            'hostname': hostname,
              +            'primaryBackendNetworkComponent': 
              +                {'networkVlan': {'id' : int(pub_vlan)}},
              +            'primaryNetworkComponent': 
              +                {'networkVlan': {'id' : int(prv_vlan)}},
              +            'userData': [{'value': userData}]
              +        }
              +        return hardware
              +
              +    def generateRaidEntry(self):
              +        storage = {
              +                'arrayTypeId': 2,
              +                'hardDrives': [0,1],
              +                'partitionTemplateId': 1
              +        }
              +        return storage
              +
              +    def getOrderObject(self, dc, items, extras, quantity = 1):
              +        """Uses the ordering manager to build a order object"""
              +        om = ordering.OrderingManager(self.client)
              +        order = om.generate_order(self.package_keyname, dc, items, self.complex_type, False, None, extras, quantity)
              +        # pp(order)
              +        return order
              +
              +
              +
              +    def datacenterList(self):
              +        """Prints a list of dcs and their ids"""
              +        om = ordering.OrderingManager(self.client)
              +        locations = om.package_locations(self.package_keyname)
              +        print("ID, name, longName")
              +        for region in locations:
              +            for location in region['locations']:
              +                if location['locationPackageDetails'][0]['isAvailable'] == 1:
              +                    dc = location['location']
              +                    print("%s, %s, %s" % (dc['id'], dc['name'], dc['longName']))
              +
              +
              +    def itemKeynameList(self):
              +        """Builds a list of item keyNames needed to order a VYATTA
              +
              +        To see what category of items are required, use this command
              +        $> slcli order category-list 2U_NETWORK_GATEWAY_APPLIANCE_1O_GBPS
              +        
              +        To see what items are in each category, use this command
              +        $> slcli order item-list 2U_NETWORK_GATEWAY_APPLIANCE_1O_GBPS
              +        
              +        Price Ids are subject to change, so please use keynames to get price ids
              +        at order time.
              +        """
              +
              +        # The junk all orders have to have
              +        required_items = [
              +            'AUTOMATED_NOTIFICATION',
              +            'MONITORING_HOST_PING',
              +            'NOTIFICATION_EMAIL_AND_TICKET',
              +            'REBOOT_KVM_OVER_IP',
              +            'NESSUS_VULNERABILITY_ASSESSMENT_REPORTING',
              +            'UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT',
              +            'REDUNDANT_POWER_SUPPLY',
              +        ]
              +
              +        # 20000GB is recommended. 
              +        # BANDWIDTH_0_GB_2 and BANDWIDTH_UNLIMITED_100_MBPS_UPLINK are also possible
              +        network_items = [
              +            'BANDWIDTH_20000_GB',
              +            '10_GBPS_PUBLIC_PRIVATE_NETWORK_UPLINKS',
              +            '1_IP_ADDRESS',
              +            '1_IPV6_ADDRESS' 
              +        ]
              +
              +        # Were going to go with RAID1, 500GB. 
              +        hard_drive = [
              +            'HARD_DRIVE_500GB_SATA_II',
              +            'HARD_DRIVE_500GB_SATA_II',
              +            'DISK_CONTROLLER_RAID_1'
              +        ]
              +
              +        ram = [
              +            # 'RAM_16_GB_DDR3_1333_ECC_REG'
              +            'RAM_32_GB_DDR3_1333_REG_2',
              +            # 'RAM_64_GB_DDR3_1333_REG_2'
              +            # 'RAM_48_GB_DDR3_1333_REG'
              +            # 'RAM_96_GB_DDR3_1333_REG'
              +            # 'RAM_128_GB_DDR3_1333_REG_2'
              +            # 'RAM_256_GB_DDR3_1333_REG_2'
              +        ]
              +
              +        # Sets the server chassis and OS
              +        server = [
              +            'OS_VYATTA_5600_5_X_UP_TO_20GBPS_SUBSCRIPTION_EDITION_64_BIT',
              +            'INTEL_XEON_2620_2_40',
              +            # 'INTEL_INTEL_XEON_E52620_V4_2_10'
              +            # 'INTEL_XEON_2650_2_30'
              +            # 'INTEL_INTEL_XEON_E52650_V4_2_20'
              +            # 'INTEL_XEON_2690_2_60'
              +            # 'INTEL_INTEL_XEON_E52690_V4_2_60'
              +        ]
              +
              +        allItems = required_items + network_items + hard_drive + ram + server
              +        return allItems
              +
              +    def listAvailableVlans(self, dc_id):
              +        """Will find available VLANs that a vyatta can be ordered on"""
              +
              +        mask = """mask[
              +            network, type, primaryRouter[datacenter], 
              +            attachedNetworkGatewayFlag, dedicatedFirewallFlag
              +        ]"""
              +
              +        _filter = {
              +            'networkVlans' : {
              +                'primaryRouter': {
              +                    'datacenter' : { 'id': {'operation': dc_id} }
              +                }
              +            }
              +        }
              +        result = self.client['SoftLayer_Account'].getNetworkVlans(mask=mask,filter=_filter)
              +
              +        # Vlans that are not-standard, part of a firewall or gateway, can't be ordered on. 
              +        print("ID, Vlan Number, Type, Router")
              +        for vlan in result:
              +            vlan_type = vlan['type']['keyName']
              +            if vlan_type == 'GATEWAY':
              +                vlan_type = 'GATEWAY (No ordering)'
              +            elif vlan['dedicatedFirewallFlag'] == 1:
              +                vlan_type = "%s/FIREWALL (No ordering)" % vlan_type
              +            elif vlan['attachedNetworkGatewayFlag']:
              +                vlan_type = "%s/GATEWAY MEMBER (No ordering)" % vlan_type
              +
              +            print("%s - VLAN: %s - Type: %s - %s " % 
              +                (vlan['id'], 
              +                 vlan['vlanNumber'],
              +                 vlan_type, 
              +                 vlan['primaryRouter']['hostname'])
              +            )
              +
              +
              +if __name__ == "__main__":
              +    main = vyattaOrderer()
              +    # 2255245 - VLAN: 946 - Type: STANDARD - bcr01a.sjc04
              +    # 2255243 - VLAN: 913 - Type: STANDARD - fcr01a.sjc04
              +    # main.orderVyatta('sjc04', 2255243, 2255245)
              +    main.orderVyattaHA('sjc04', 2255243, 2255245)
              +
              +
              + +
              +
              +
              + + +
              +
              + Feedback? +

              + We would love to hear it
              + Open an issue +

              +
              +
              + +
              +
              +
              +
              +
              +

              © SoftLayer 2015
              + Built with Hugo

              +
              +
              +
              +
              + + + + + + +/python/orderVyatta/ diff --git a/python/ordering_slcli/index.html b/python/ordering_slcli/index.html index 51cae9146ba..14ff4e3b4ab 100644 --- a/python/ordering_slcli/index.html +++ b/python/ordering_slcli/index.html @@ -307,6 +307,25 @@

              5. Testing an order.

              UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT \ --extras '{"hardware": [{"hostname" : "testOrder1", "domain": "cgallo.com"}], "sshKeys" : [87634], "tags": "cgallo, test"}' \ --complex-type SoftLayer_Container_Product_Order_Hardware_Server
              +

              An example without using a preset

              +
              slcli order place --verify --billing monthly DUAL_E52600_V4_4_DRIVES DALLAS13 \
              +    BANDWIDTH_500_GB \
              +    HARD_DRIVE_1_00_TB_SATA_2 \
              +    DISK_CONTROLLER_NONRAID \
              +    MONITORING_HOST_PING \
              +    NOTIFICATION_EMAIL_AND_TICKET \
              +    OS_CENTOS_7_X_64_BIT \
              +    1_GBPS_PUBLIC_PRIVATE_NETWORK_UPLINKS \
              +    1_IP_ADDRESS \
              +    1_IPV6_ADDRESS  \
              +    RAM_128_GB_DDR4_2133_ECC_REG \
              +    REBOOT_KVM_OVER_IP \
              +    AUTOMATED_NOTIFICATION \
              +    INTEL_INTEL_XEON_E52690_V4_2_60 \
              +    UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT \
              +    NESSUS_VULNERABILITY_ASSESSMENT_REPORTING \
              +    --extras '{"hardware": [{"hostname" : "testOrder1", "domain": "cgallo.com"}], "sshKeys" : [87634], "tags": "cgallo, test"}'  \
              +    --complex-type SoftLayer_Container_Product_Order_Hardware_Server
              diff --git a/reference/datatypes/SoftLayer_Hardware/index.html b/reference/datatypes/SoftLayer_Hardware/index.html index 71d3a69a00e..2758949ad08 100644 --- a/reference/datatypes/SoftLayer_Hardware/index.html +++ b/reference/datatypes/SoftLayer_Hardware/index.html @@ -1607,7 +1607,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2230,6 +2230,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_Firewall/index.html b/reference/datatypes/SoftLayer_Hardware_Firewall/index.html index e36d544c901..74ee86be7b7 100644 --- a/reference/datatypes/SoftLayer_Hardware_Firewall/index.html +++ b/reference/datatypes/SoftLayer_Hardware_Firewall/index.html @@ -1521,7 +1521,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2164,6 +2164,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_LoadBalancer/index.html b/reference/datatypes/SoftLayer_Hardware_LoadBalancer/index.html index 650e85d30c9..59e4de12c6f 100644 --- a/reference/datatypes/SoftLayer_Hardware_LoadBalancer/index.html +++ b/reference/datatypes/SoftLayer_Hardware_LoadBalancer/index.html @@ -1569,7 +1569,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2212,6 +2212,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_Router/index.html b/reference/datatypes/SoftLayer_Hardware_Router/index.html index d4d9e473123..6b64dd56c98 100644 --- a/reference/datatypes/SoftLayer_Hardware_Router/index.html +++ b/reference/datatypes/SoftLayer_Hardware_Router/index.html @@ -1561,7 +1561,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2184,6 +2184,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_Router_Backend/index.html b/reference/datatypes/SoftLayer_Hardware_Router_Backend/index.html index 9dab6f33591..df869afa4be 100644 --- a/reference/datatypes/SoftLayer_Hardware_Router_Backend/index.html +++ b/reference/datatypes/SoftLayer_Hardware_Router_Backend/index.html @@ -1561,7 +1561,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2184,6 +2184,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_Router_Frontend/index.html b/reference/datatypes/SoftLayer_Hardware_Router_Frontend/index.html index 3c34f868311..8c808e01483 100644 --- a/reference/datatypes/SoftLayer_Hardware_Router_Frontend/index.html +++ b/reference/datatypes/SoftLayer_Hardware_Router_Frontend/index.html @@ -1561,7 +1561,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2184,6 +2184,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_SecurityModule/index.html b/reference/datatypes/SoftLayer_Hardware_SecurityModule/index.html index 1e7a94ba3cb..dc7fe8abea0 100644 --- a/reference/datatypes/SoftLayer_Hardware_SecurityModule/index.html +++ b/reference/datatypes/SoftLayer_Hardware_SecurityModule/index.html @@ -1859,7 +1859,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2582,6 +2582,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_SecurityModule750/index.html b/reference/datatypes/SoftLayer_Hardware_SecurityModule750/index.html index 1f466252e50..c4f96e358e1 100644 --- a/reference/datatypes/SoftLayer_Hardware_SecurityModule750/index.html +++ b/reference/datatypes/SoftLayer_Hardware_SecurityModule750/index.html @@ -1859,7 +1859,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2582,6 +2582,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_Server/index.html b/reference/datatypes/SoftLayer_Hardware_Server/index.html index b6cb8308291..ad5cd8d2bf1 100644 --- a/reference/datatypes/SoftLayer_Hardware_Server/index.html +++ b/reference/datatypes/SoftLayer_Hardware_Server/index.html @@ -1891,7 +1891,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2614,6 +2614,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/datatypes/SoftLayer_Hardware_Switch/index.html b/reference/datatypes/SoftLayer_Hardware_Switch/index.html index 54ae5075d77..a284ffb4c37 100644 --- a/reference/datatypes/SoftLayer_Hardware_Switch/index.html +++ b/reference/datatypes/SoftLayer_Hardware_Switch/index.html @@ -1557,7 +1557,7 @@

              Relational

              A string containing custom user data for a hardware order.
              Type:
              @@ -2180,6 +2180,16 @@

              Count

              unsignedLong

              +
              +
              + + userDataCount + +
              A count of a string containing custom user data for a hardware order.
              + Type: +
              +

              unsignedLong

              +
              diff --git a/reference/services/SoftLayer_Hardware/getUserData/index.html b/reference/services/SoftLayer_Hardware/getUserData/index.html index 50fab7bfa07..47acab9abac 100644 --- a/reference/services/SoftLayer_Hardware/getUserData/index.html +++ b/reference/services/SoftLayer_Hardware/getUserData/index.html @@ -210,12 +210,13 @@

              Optional Headers

              • SoftLayer_HardwareObjectMask
              • SoftLayer_HardwareObjectFilter
              • +
              • resultLimit
              • SoftLayer_ObjectMask

              Return Values

              -

              SoftLayer_Hardware_Attribute_UserData

              +

              SoftLayer_Hardware_Attribute[]

              diff --git a/reference/services/SoftLayer_Hardware/index.xml b/reference/services/SoftLayer_Hardware/index.xml index 9008a7e951a..39768ba88ed 100644 --- a/reference/services/SoftLayer_Hardware/index.xml +++ b/reference/services/SoftLayer_Hardware/index.xml @@ -1731,7 +1731,7 @@ Parameters Name Type Description Required Headers SoftLayer_HardwareIni https://softlayer.github.io/reference/services/SoftLayer_Hardware/getUserData/ SoftLayer_Hardware::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[]
              diff --git a/reference/services/SoftLayer_Hardware_Router/getUserData/index.html b/reference/services/SoftLayer_Hardware_Router/getUserData/index.html index 798a6d4d2b5..3d55bd26cb0 100644 --- a/reference/services/SoftLayer_Hardware_Router/getUserData/index.html +++ b/reference/services/SoftLayer_Hardware_Router/getUserData/index.html @@ -210,12 +210,13 @@

              Optional Headers

              • SoftLayer_Hardware_RouterObjectMask
              • SoftLayer_Hardware_RouterObjectFilter
              • +
              • resultLimit
              • SoftLayer_ObjectMask

              Return Values

              -

              SoftLayer_Hardware_Attribute_UserData

              +

              SoftLayer_Hardware_Attribute[]

              diff --git a/reference/services/SoftLayer_Hardware_Router/index.xml b/reference/services/SoftLayer_Hardware_Router/index.xml index 859b3ccb96c..85af9bd00f3 100644 --- a/reference/services/SoftLayer_Hardware_Router/index.xml +++ b/reference/services/SoftLayer_Hardware_Router/index.xml @@ -1719,7 +1719,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Ro https://softlayer.github.io/reference/services/SoftLayer_Hardware_Router/getUserData/ SoftLayer_Hardware_Router::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[]
              diff --git a/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/index.html b/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/index.html index 9529ae41e19..e467c912312 100644 --- a/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/index.html +++ b/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/index.html @@ -210,12 +210,13 @@

              Optional Headers

              • SoftLayer_Hardware_SecurityModuleObjectMask
              • SoftLayer_Hardware_SecurityModuleObjectFilter
              • +
              • resultLimit
              • SoftLayer_ObjectMask

              Return Values

              -

              SoftLayer_Hardware_Attribute_UserData

              +

              SoftLayer_Hardware_Attribute[]

              diff --git a/reference/services/SoftLayer_Hardware_SecurityModule/index.xml b/reference/services/SoftLayer_Hardware_SecurityModule/index.xml index 3139aee935e..5034748cf85 100644 --- a/reference/services/SoftLayer_Hardware_SecurityModule/index.xml +++ b/reference/services/SoftLayer_Hardware_SecurityModule/index.xml @@ -2420,7 +2420,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/ SoftLayer_Hardware_SecurityModule::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[]
              diff --git a/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/index.html b/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/index.html index d2d9ee343ce..42c1938834a 100644 --- a/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/index.html +++ b/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/index.html @@ -210,12 +210,13 @@

              Optional Headers

              • SoftLayer_Hardware_SecurityModule750ObjectMask
              • SoftLayer_Hardware_SecurityModule750ObjectFilter
              • +
              • resultLimit
              • SoftLayer_ObjectMask

              Return Values

              -

              SoftLayer_Hardware_Attribute_UserData

              +

              SoftLayer_Hardware_Attribute[]

              diff --git a/reference/services/SoftLayer_Hardware_SecurityModule750/index.xml b/reference/services/SoftLayer_Hardware_SecurityModule750/index.xml index 7990a1a0ee5..0db58458f8f 100644 --- a/reference/services/SoftLayer_Hardware_SecurityModule750/index.xml +++ b/reference/services/SoftLayer_Hardware_SecurityModule750/index.xml @@ -2420,7 +2420,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/ SoftLayer_Hardware_SecurityModule750::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[]
              diff --git a/reference/services/SoftLayer_Hardware_Server/getUserData/index.html b/reference/services/SoftLayer_Hardware_Server/getUserData/index.html index a38e294bd02..86b2c874745 100644 --- a/reference/services/SoftLayer_Hardware_Server/getUserData/index.html +++ b/reference/services/SoftLayer_Hardware_Server/getUserData/index.html @@ -210,12 +210,13 @@

              Optional Headers

              • SoftLayer_Hardware_ServerObjectMask
              • SoftLayer_Hardware_ServerObjectFilter
              • +
              • resultLimit
              • SoftLayer_ObjectMask

              Return Values

              -

              SoftLayer_Hardware_Attribute_UserData

              +

              SoftLayer_Hardware_Attribute[]

              diff --git a/reference/services/SoftLayer_Hardware_Server/index.xml b/reference/services/SoftLayer_Hardware_Server/index.xml index ef5be1a73c5..356902f0753 100644 --- a/reference/services/SoftLayer_Hardware_Server/index.xml +++ b/reference/services/SoftLayer_Hardware_Server/index.xml @@ -2443,7 +2443,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_Server/getUserData/ SoftLayer_Hardware_Server::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[]
              diff --git a/reference/services/SoftLayer_User_Customer/index.xml b/reference/services/SoftLayer_User_Customer/index.xml index f5caa6f7749..0bbd6389d00 100644 --- a/reference/services/SoftLayer_User_Customer/index.xml +++ b/reference/services/SoftLayer_User_Customer/index.xml @@ -990,9 +990,9 @@ Parameters Name Type Description Required Headers authenticate SoftLaye https://softlayer.github.io/reference/services/SoftLayer_User_Customer/isValidForumPassword/ SoftLayer_User_Customer::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values void @@ -1276,7 +1276,7 @@ Overview As master user, calling this api for the IBMid provider type when there https://softlayer.github.io/reference/services/SoftLayer_User_Customer/updateForumPassword/ SoftLayer_User_Customer::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . diff --git a/reference/services/SoftLayer_User_Customer/isValidForumPassword/index.html b/reference/services/SoftLayer_User_Customer/isValidForumPassword/index.html index 019e818ed62..a382aa3b11f 100644 --- a/reference/services/SoftLayer_User_Customer/isValidForumPassword/index.html +++ b/reference/services/SoftLayer_User_Customer/isValidForumPassword/index.html @@ -181,7 +181,7 @@

              Overview

              -

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false.

              +

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed.

              Determine if a string is the given user’s login password to the SoftLayer community forums.

              @@ -216,13 +216,7 @@

              Optional Headers

              Return Values

              -

              boolean

              - - - - +

              void

              diff --git a/reference/services/SoftLayer_User_Customer/updateForumPassword/index.html b/reference/services/SoftLayer_User_Customer/updateForumPassword/index.html index 4517a57a2aa..04b0db42a01 100644 --- a/reference/services/SoftLayer_User_Customer/updateForumPassword/index.html +++ b/reference/services/SoftLayer_User_Customer/updateForumPassword/index.html @@ -181,7 +181,7 @@

              Overview

              -

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false.

              +

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed.

              Update a user’s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must… * …be over eight characters long. @@ -225,13 +225,7 @@

              Optional Headers

              Return Values

              -

              boolean

              - - - - +

              void

              associatedMethods

              diff --git a/reference/services/SoftLayer_User_Customer_OpenIdConnect/index.xml b/reference/services/SoftLayer_User_Customer_OpenIdConnect/index.xml index c4cd1dbdfd5..0e1f90352ce 100644 --- a/reference/services/SoftLayer_User_Customer_OpenIdConnect/index.xml +++ b/reference/services/SoftLayer_User_Customer_OpenIdConnect/index.xml @@ -1073,9 +1073,9 @@ Parameters Name Type Description Required Headers authenticate SoftLaye https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/ SoftLayer_User_Customer_OpenIdConnect::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values void @@ -1359,7 +1359,7 @@ Overview As master user, calling this api for the IBMid provider type when there https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/ SoftLayer_User_Customer_OpenIdConnect::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . diff --git a/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/index.html b/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/index.html index c664b1125f4..26509b6d14a 100644 --- a/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/index.html +++ b/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/index.html @@ -181,7 +181,7 @@

              Overview

              -

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false.

              +

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed.

              Determine if a string is the given user’s login password to the SoftLayer community forums.

              @@ -216,13 +216,7 @@

              Optional Headers

              Return Values

              -

              boolean

              - - - - +

              void

              diff --git a/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/index.html b/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/index.html index 4592b3e14a9..696a9f11d7f 100644 --- a/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/index.html +++ b/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/index.html @@ -181,7 +181,7 @@

              Overview

              -

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false.

              +

              This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed.

              Update a user’s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must… * …be over eight characters long. @@ -225,13 +225,7 @@

              Optional Headers

              Return Values

              -

              boolean

              - - - - +

              void

              associatedMethods

              diff --git a/release_notes/2018/20180330/index.html b/release_notes/2018/20180330/index.html index d2615920c2e..a636a09a9cf 100644 --- a/release_notes/2018/20180330/index.html +++ b/release_notes/2018/20180330/index.html @@ -139,6 +139,7 @@

              Backend

            • Fixes an intermittent issue preventing iSCSI authorizations when credentials already exist.
            • Refactored the script that checks for mixed-public/private VSIs on dedicated hosts and changed the behavior to not send emails when none are found.
            • Fix an issue ordering IPv6 subnets on public VLANs under certain circumstances.
            • +
            • EOL: Disable Flex Image Service for all Customers

            SLCLI

            diff --git a/release_notes/index.html b/release_notes/index.html index 6b5f74190ea..0ef73a72222 100644 --- a/release_notes/index.html +++ b/release_notes/index.html @@ -143,6 +143,7 @@

            Backend

          • Fixes an intermittent issue preventing iSCSI authorizations when credentials already exist.
          • Refactored the script that checks for mixed-public/private VSIs on dedicated hosts and changed the behavior to not send emails when none are found.
          • Fix an issue ordering IPv6 subnets on public VLANs under certain circumstances.
          • +
          • EOL: Disable Flex Image Service for all Customers

          SLCLI

          diff --git a/rest/events/index.html b/rest/events/index.html new file mode 100644 index 00000000000..a4e525d5d3d --- /dev/null +++ b/rest/events/index.html @@ -0,0 +1,485 @@ + + + + + + + + + + + Events - https://softlayer.github.io/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          +
          + +
          +
          +

          April 5, 2018

          +
          +
          +
          + + Classes + + SoftLayer_Notification_Occurrence_Event + +
          + Tags + + resultlimit + + objectmask + + objectfilter + + event + +
          +
          +
          +
          +
          +
          +

          Events
          Going over Events with some examples of what each might look like

          + + + + + +

          Events

          + +

          SoftLayer_Notification_Occurrence_Events at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at https://control.softlayer.com/event/announcement

          + +

          Get All Events

          + +

          SoftLayer_Notification_Occurrence_Event::getAllObjects()

          +
          curl -u $SL_USER:$SL_APIKEY 'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json
          +

          The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event

          +
          [
          +    {
          +        "endDate": null,
          +        "id": 2584,
          +        "lastImpactedUserCount": 11232,
          +        "modifyDate": "2016-06-13T08:27:20-06:00",
          +        "recoveryTime": null,
          +        "startDate": "2014-03-31T00:35:00-06:00",
          +        "statusCode": {
          +            "keyName": "COMPLETED",
          +            "name": "Completed"
          +        },
          +        "subject": "IPv6 Sessions Down on FCR02.DAL05",
          +        "summary": "At 31-Mar-2014 06:35 UTC the Network Operations Center was alerted that the IPv6 BGP session on frontend customer router (FCR) fcr02.dal05 had dropped.  Network Engineers began investigating the issue and found a customer was sending a high rate of IPv6 packets destined to fcr02.dal05.  Network Engineers mitigated the issue at 31-Mar-2014 07:16 UTC.",
          +        "systemTicketId": 9266184
          +    }
          +]
          +

          Get Open Events

          + +

          To find all the open events, look for statusCode = ACTIVE

          + +

          statusCode = COMPLETED is also an option.

          +
          https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?
          +objectMask=mask[notificationOccurrenceEventType]
          +resultLimit=0,10
          +objectFilter={"statusCode":+{"keyName":+{"operation":+"ACTIVE"}}}'
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5BnotificationOccurrenceEventType%5D&resultLimit=0%2C10&objectFilter=%7B%22statusCode%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22ACTIVE%22%7D%7D%7D'
          {'endDate': '2018-04-05T17:00:00-06:00',
          +  'id': 116425,
          +  'lastImpactedUserCount': 581,
          +  'modifyDate': '2018-04-05T07:35:20-06:00',
          +  'notificationOccurrenceEventType': {'keyName': 'PLANNED'},
          +  'recoveryTime': None,
          +  'startDate': '2018-04-05T04:00:00-06:00',
          +  'statusCode': {'keyName': 'ACTIVE', 'name': 'Active'},
          +  'subject': 'Scheduled Maintenance: WDC04 Critical Power Maintenance',
          +  'summary': 'Dear IBM Customer, \r\n'
          +             '\r\n'
          +             'IBM Cloud in coordination with our vendors will be performing a '
          +             'Critical Power Maintenance at WDC04 starting on Thursday, April '
          +             '5th, 2018.  The window for this maintenance is 06:00am EST to '
          +             '19:00pm EST.\r\n'
          +             '\r\n'
          +             'We Do not expect any major impact to our servers or services '
          +             'during this maintenance.  The only expected impact during this '
          +             'maintenance will be a loss of redundancy at the server level '
          +             'only for a short period of time as they work on the Secondary '
          +             'power source and a 5-10 minute loss of IPMI functionality during '
          +             'the transition to alternative power source at the start and end '
          +             'of the maintenace but will not be an extended period of time.\r\n'
          +             '\r\n'
          +             'If additional preventative course of action is required to '
          +             'minimize service impact, further notification(s) will be '
          +             'provided. In the event of an unexpected impact, we will work '
          +             'with our Data Center Staff and on-site Engineers to take '
          +             'immediate action to bring critical services back on-line as '
          +             'quickly as possible. \r\n'
          +             '\r\n'
          +             '\r\n'
          +             '***Scheduled Date(s): Thursday, April 5th, 2018 \r\n'
          +             '***Scheduled Time(s): 06:00am EST to 19:00pm EST Please contact '
          +             'our support department should you have any questions or '
          +             'concerns.',
          +  'systemTicketId': 58076149},
          +

          Event Types

          + +

          Events can be PLANNED, UNPLANNED_INCIDENT, or ANNOUNCEMENT.

          + +

          PLANNED

          + +

          Planned events are usually announced a few weeks in advanced, and cover things like router upgrades, VSI reboots, and other work that needs to be done to improve our products.

          + +

          This will get all the PLANNED and ACTIVE events going on.

          +
          https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?
          +objectMask=mask[notificationOccurrenceEventType]&
          +objectFilter={
          +    "notificationOccurrenceEventType":{"keyName":{"operation":+"PLANNED"}},
          +    "statusCode":{"keyName":{"operation":"ACTIVE"}}}'
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5BnotificationOccurrenceEventType%5D&objectFilter=%7B%22notificationOccurrenceEventType%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22PLANNED%22%7D%7D%2C+%22statusCode%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22ACTIVE%22%7D%7D%7D'
          +

          Output:

          +
           {'endDate': '2017-08-19T19:00:00-06:00',
          +  'id': 81507,
          +  'lastImpactedUserCount': 284685,
          +  'modifyDate': '2017-08-19T13:25:50-06:00',
          +  'notificationOccurrenceEventType': {'keyName': 'PLANNED'},
          +  'recoveryTime': None,
          +  'startDate': '2017-08-19T13:00:00-06:00',
          +  'statusCode': {'keyName': 'ACTIVE', 'name': 'Active'},
          +  'subject': 'Emergency Planned IMS Maintenance',
          +  'summary': 'The IBM Cloud system engineers will be performing an emergency '
          +             'IMS application database system maintenance. During this '
          +             'maintenance we do not expect any IMS database or application '
          +             'system downtime. The purpose of the maintenance is to resolve '
          +             'IMS database system issues. When the maintenance tasks are '
          +             'completed, notifications will be sent out stating that IMS '
          +             'application database maintenance has been successfully '
          +             'completed.\r\n',
          +  'systemTicketId': 44279325}
          +

          UNPLANNED_INCIDENT

          + +

          Unplanned incidents are a whole variety of things that might impact services.

          + +

          This query will get all the UNPLANNED_INCIDENTS that were created AFTER 04/01/2018 01:00:00. https://softlayer.github.io/article/object-filters/ has more details on other date time operations you can use.

          +
          https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?
          +objectMask=mask[id,+startDate,+notificationOccurrenceEventType]&
          +objectFilter={
          +    "notificationOccurrenceEventType":
          +        {"keyName":{"operation":"UNPLANNED_INCIDENT"}
          +    }
          +    "startDate":
          +        {"operation":"greaterThanDate",
          +         "options":[{"name":"date","value":["04/01/2018 01:00:00"]}]
          +    }
          +}
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5Bid%2C+startDate%2C+notificationOccurrenceEventType%5D&objectFilter=%7B%22notificationOccurrenceEventType%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22UNPLANNED_INCIDENT%22%7D%7D%2C+%22startDate%22%3A+%7B%22operation%22%3A+%22greaterThanDate%22%2C+%22options%22%3A+%5B%7B%22name%22%3A+%22date%22%2C+%22value%22%3A+%5B%2204%2F01%2F2018+01%3A00%3A00%22%5D%7D%5D%7D%7D'
          +

          Output

          +
          {'endDate': '2018-04-02T23:41:00-06:00',
          +  'id': 116225,
          +  'lastImpactedUserCount': 7905,
          +  'modifyDate': '2018-04-03T11:04:32-06:00',
          +  'notificationOccurrenceEventType': {'keyName': 'UNPLANNED_INCIDENT'},
          +  'recoveryTime': None,
          +  'startDate': '2018-04-02T23:34:00-06:00',
          +  'statusCode': {'keyName': 'ACTIVE', 'name': 'Active'},
          +  'subject': 'Private network degradation in DCs in Dallas region',
          +  'summary': 'At 03-Apr-2018 5:03 UTC the Network Operation Center was alerted '
          +             'to communication failures for the backend private networks in '
          +             'the Dallas Region. Network Engineers are investigating at this '
          +             'time. We will provide more detail as it becomes available.',
          +  'systemTicketId': 58021829}
          +

          ANNOUNCEMENT

          + +

          Announcements are the ‘everything else’ category. Not usually disruptive, will usually be things like end of life announcements.

          + +

          This time I’ve changed the objectMask to include the lastUpdate and restrict other local fields to limit the amount of information we get back to fields I care about at the moment.

          +
          https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?
          +objectMask=mask[
          +    id, startDate, subject, lastUpdate ,notificationOccurrenceEventType
          +]&
          +objectFilter=
          +    {"notificationOccurrenceEventType":
          +        {"keyName":{"operation":"ANNOUNCEMENT"}}
          +    }'
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2ClastUpdate%2CnotificationOccurrenceEventType%5D&objectFilter=%7B%22notificationOccurrenceEventType%22%3A+%7B%22keyName%22%3A+%7B%22operation%22%3A+%22ANNOUNCEMENT%22%7D%7D%7D'
          +

          Output:

          +
            'id': 106105,
          +  'lastUpdate': {'contents': 'IBM Cloud engineers have received patches from '
          +                             'Red Hat that address the Meltdown and Spectre '
          +                             'security vulnerabilities.\r\n'
          +                             '\r\n'
          +                             'New image only available for Red Hat Enterprise '
          +                             'Linux 7.x at this time. \r\n'
          +                             '\r\n'
          +                             'As always - before applying new images, IBM '
          +                             'Cloud recommends testing to ensure a smooth '
          +                             'transition for your environment.\r\n'
          +                             '\r\n'
          +                             '\r\n'
          +                             'IBM Cloud',
          +                 'createDate': '2018-01-17T13:44:51-06:00',
          +                 'endDate': None,
          +                 'startDate': '2018-01-17T13:44:51-06:00'},
          +  'notificationOccurrenceEventType': {'keyName': 'ANNOUNCEMENT'},
          +  'startDate': None,
          +  'subject': 'New Red Hat Enterprise Linux 7 Images Available'
          +

          Event Specifics

          + +

          Now that we know how to deal with getting a list of all events, lets dive into a specific event.

          + +

          The most recent Active event I have is going to be this one.

          +
            'endDate': '2018-04-02T23:41:00-06:00',
          +  'id': 116225,
          +  'lastImpactedUserCount': 7905,
          +  'modifyDate': '2018-04-03T11:04:32-06:00',
          +  'notificationOccurrenceEventType': {'keyName': 'UNPLANNED_INCIDENT'},
          +  'recoveryTime': None,
          +  'startDate': '2018-04-02T23:34:00-06:00',
          +  'statusCode': {'keyName': 'ACTIVE', 'name': 'Active'},
          +  'subject': 'Private network degradation in DCs in Dallas region',
          +

          Effected Machines

          + +

          To see what machines on our account are effected by this event, we need to tap into the impactedResources relational property. There is also impactedAccounts and impactedUsers that work the same way.

          +
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CimpactedResources%5D'
          +

          Output:

          +
          {'id': 116225,
          + 'impactedResources': [{'active': 1,
          +                        'filterLabel': 'dal01',
          +                        'hostname': 'testvpn.test.com',
          +                        'notificationOccurrenceEventId': 116225,
          +                        'privateIp': '10.17.223.157',
          +                        'publicIp': '208.43.49.207',
          +                        'resourceAccountId': 307608,
          +                        'resourceName': 'testvpn.test.com',
          +                        'resourceTableId': 218467,
          +                        'resourceType': 'SERVER'},
          +                       {'active': 1,
          +                        'filterLabel': 'dal01',
          +                        'hostname': 'domain-master.lablayer.info',
          +                        'notificationOccurrenceEventId': 116225,
          +                        'privateIp': '10.37.82.159',
          +                        'publicIp': '173.193.23.40',
          +                        'resourceAccountId': 307608,
          +                        'resourceName': 'domain-master.lablayer.info',
          +                        'resourceTableId': 662657,
          +                        'resourceType': 'SERVER'}],
          + 'startDate': '2018-04-02T23:34:00-06:00',
          + 'subject': 'Private network degradation in DCs in Dallas region'}
          +

          If the resource is a storage volume, the output would look more like this

          +
          {'id': 115025,
          + 'impactedResources': [{'active': 1,
          +                        'filterLabel': 'Storage Type 02 File Cluster '
          +                                       'stff-syd0101',
          +                        'hostname': 'SL02SV307608_1',
          +                        'notificationOccurrenceEventId': 115025,
          +                        'privateIp': 'fsf-syd0101a-fz.service.softlayer.com',
          +                        'resourceAccountId': 307608,
          +                        'resourceName': 'SL02SV307608_1',
          +                        'resourceTableId': 39134586,
          +                        'resourceType': 'STORAGE_NAS'}],
          + 'startDate': '2018-04-02T05:20:00-06:00',
          + 'subject': 'PLANNED MAINTENANCE: Performance/Endurance File Storage Services '
          +            'in SYD01'}
          +

          Updates

          + +

          Over the course of an event, SoftLayer employees working to resolve the event will update it with progress if needed. To get that information, tap into the updates relational property

          +
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2Cupdates%5D'
          +

          Output:

          +
          {'id': 116225,
          + 'startDate': '2018-04-02T23:34:00-06:00',
          + 'subject': 'Private network degradation in DCs in Dallas region',
          + 'updates': [{'contents': 'At 06:48 UTC network engineers performed a '
          +                          'supervisor failover on mbr01.dal01 which restored '
          +                          'backend connectivity for affected hosts. A reboot '
          +                          'and disk check may be required for virtual hosts '
          +                          "which use SAN. If you're still experiencing issues "
          +                          'please contact support via phone, chat or ticket '
          +                          'and reference event ID #58021829.',
          +              'createDate': '2018-04-03T01:45:20-06:00',
          +              'endDate': None,
          +              'startDate': '2018-04-03T01:44:00-06:00'},
          +             {'contents': 'As of 03-April-2018 06:45 UTC network engineers are '
          +                          'still investigating and working to restore '
          +                          'connectivity as soon as possible.',
          +              'createDate': '2018-04-03T00:50:08-06:00',
          +              'endDate': None,
          +              'startDate': '2018-04-03T00:49:00-06:00'},
          +             {'contents': 'At 03-Apr-2018 5:03 UTC the Network Operation '
          +                          'Center was alerted to communication failures for '
          +                          'the backend private networks in the Dallas Region. '
          +                          'Network Engineers are investigating at this time. '
          +                          'We will provide more detail as it becomes '
          +                          'available.',
          +              'createDate': '2018-04-02T23:36:57-06:00',
          +              'endDate': None,
          +              'startDate': '2018-04-02T23:36:57-06:00'}]}
          +

          Ack Events

          + +

          To Acknowledge events (this just makes them not pop-up in the control portal) use the acknowledgeNotification method

          + +

          Use the acknowledgeFlag to determine if an incident is in an acknowledged state or not.

          + +

          List all unacknowledged events

          +
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CnotificationOccurrenceEventType%2CacknowledgedFlag%5D&objectFilter=%7B%22acknowledgedFlag%22%3A+%7B%22operation%22%3A+0%7D%7D'
          +

          Get the event, notice its unacknowledged

          +
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CnotificationOccurrenceEventType%2CacknowledgedFlag%5D'
          +

          Acknowledge an event

          +
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/acknowledgeNotification.json'
          +

          Get the event, notice its acknowledged

          +
          curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress"  'https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/116225/getObject.json?objectMask=mask%5Bid%2CstartDate%2Csubject%2CnotificationOccurrenceEventType%2CacknowledgedFlag%5D'
          +

          Output:

          +
          {'acknowledgedFlag': False,
          + 'id': 116225,
          + 'notificationOccurrenceEventType': {'keyName': 'UNPLANNED_INCIDENT'},
          + 'startDate': '2018-04-02T23:34:00-06:00',
          + 'subject': 'Private network degradation in DCs in Dallas region'}
          +True
          +{'acknowledgedFlag': True,
          + 'id': 116225,
          + 'notificationOccurrenceEventType': {'keyName': 'UNPLANNED_INCIDENT'},
          + 'startDate': '2018-04-02T23:34:00-06:00',
          + 'subject': 'Private network degradation in DCs in Dallas region'}
          +
          +
          + +
          +
          +
          + + +
          +
          + Feedback? +

          + We would love to hear it
          + Open an issue +

          +
          +
          + +
          +
          +
          +
          +
          +

          © SoftLayer 2015
          + Built with Hugo

          +
          +
          +
          +
          + + + + + + +/rest/events/ diff --git a/rest/index.html b/rest/index.html index e71535ec20a..59b80fcccc4 100644 --- a/rest/index.html +++ b/rest/index.html @@ -107,6 +107,16 @@

          + Events Apr 5, 2018
          + Going over Events with some examples of what each might look like +

          + View Example +
          +
          + +
          +
          +

          How to order Vlans Mar 2, 2018
          Shows how to properly place an order for a VLAN.

          diff --git a/rest/index.xml b/rest/index.xml index ce6b22ca1d7..09648cebc3a 100644 --- a/rest/index.xml +++ b/rest/index.xml @@ -6,11 +6,23 @@ Recent content in Rest on SoftLayer API Hugo -- gohugo.io en-us - Fri, 02 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Events + https://softlayer.github.io/rest/events/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/rest/events/ + Events SoftLayer_Notification_Occurrence_Events at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at https://control.softlayer.com/event/announcement +Get All Events SoftLayer_Notification_Occurrence_Event::getAllObjects() +curl -u $SL_USER:$SL_APIKEY &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event +[ { &#34;endDate&#34;: null, &#34;id&#34;: 2584, &#34;lastImpactedUserCount&#34;: 11232, &#34;modifyDate&#34;: &#34;2016-06-13T08:27:20-06:00&#34;, &#34;recoveryTime&#34;: null, &#34;startDate&#34;: &#34;2014-03-31T00:35:00-06:00&#34;, &#34;statusCode&#34;: { &#34;keyName&#34;: &#34;COMPLETED&#34;, &#34;name&#34;: &#34;Completed&#34; }, &#34;subject&#34;: &#34;IPv6 Sessions Down on FCR02. + + How to order Vlans https://softlayer.github.io/rest/orderVlan/ diff --git a/sitemap.xml b/sitemap.xml index 52dde71250b..559228f3905 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,6 +1,16 @@ + + https://softlayer.github.io/rest/events/ + 2018-04-05T00:00:00+00:00 + + + + https://softlayer.github.io/python/orderVyatta/ + 2018-04-05T00:00:00+00:00 + + https://softlayer.github.io/release_notes/2018/20180330/ 2018-03-30T00:00:00+00:00 @@ -4477,7 +4487,7 @@ https://softlayer.github.io/tags/event/ - 2018-02-12T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -5094,7 +5104,7 @@ https://softlayer.github.io/tags/objectfilter/ - 2017-10-09T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -5106,7 +5116,7 @@ https://softlayer.github.io/tags/objectmask/ - 2017-08-04T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -5124,7 +5134,7 @@ https://softlayer.github.io/tags/order/ - 2018-03-12T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -5196,7 +5206,7 @@ https://softlayer.github.io/tags/placeorder/ - 2018-03-02T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -5244,7 +5254,7 @@ https://softlayer.github.io/python/ - 2018-01-16T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -5322,13 +5332,13 @@ https://softlayer.github.io/rest/ - 2018-03-02T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 https://softlayer.github.io/tags/resultlimit/ - 2017-06-12T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -5418,7 +5428,7 @@ https://softlayer.github.io/ - 2018-03-30T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -13276,7 +13286,7 @@ https://softlayer.github.io/classes/softlayer_container_product_order_gateway_appliance_cluster/ - 0001-01-01T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -13300,7 +13310,7 @@ https://softlayer.github.io/classes/softlayer_container_product_order_hardware_server_gateway_appliance/ - 0001-01-01T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -16066,7 +16076,7 @@ https://softlayer.github.io/classes/softlayer_notification_occurrence_event/ - 2018-02-12T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -16252,7 +16262,7 @@ https://softlayer.github.io/classes/softlayer_product_item/ - 2018-01-15T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -16450,13 +16460,13 @@ https://softlayer.github.io/classes/softlayer_product_order/ - 2018-03-02T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 https://softlayer.github.io/classes/softlayer_product_package/ - 2018-02-12T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -18274,7 +18284,7 @@ https://softlayer.github.io/tags/vlans/ - 2018-03-02T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 @@ -18304,7 +18314,7 @@ https://softlayer.github.io/tags/vyatta/ - 2015-07-08T00:00:00+00:00 + 2018-04-05T00:00:00+00:00 0 diff --git a/tags/event/index.html b/tags/event/index.html index c1dee5ced6c..a6acf7cbfbd 100644 --- a/tags/event/index.html +++ b/tags/event/index.html @@ -146,6 +146,16 @@

          reference

        +

        rest

        +
          + +
        • + Events +
          Going over Events with some examples of what each might look like
          +
        • + +
        +
      diff --git a/tags/event/index.xml b/tags/event/index.xml index e6dc81b8d78..04822356634 100644 --- a/tags/event/index.xml +++ b/tags/event/index.xml @@ -6,11 +6,23 @@ Recent content in Event on SoftLayer API Hugo -- gohugo.io en-us - Mon, 12 Feb 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Events + https://softlayer.github.io/rest/events/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/rest/events/ + Events SoftLayer_Notification_Occurrence_Events at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at https://control.softlayer.com/event/announcement +Get All Events SoftLayer_Notification_Occurrence_Event::getAllObjects() +curl -u $SL_USER:$SL_APIKEY &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event +[ { &#34;endDate&#34;: null, &#34;id&#34;: 2584, &#34;lastImpactedUserCount&#34;: 11232, &#34;modifyDate&#34;: &#34;2016-06-13T08:27:20-06:00&#34;, &#34;recoveryTime&#34;: null, &#34;startDate&#34;: &#34;2014-03-31T00:35:00-06:00&#34;, &#34;statusCode&#34;: { &#34;keyName&#34;: &#34;COMPLETED&#34;, &#34;name&#34;: &#34;Completed&#34; }, &#34;subject&#34;: &#34;IPv6 Sessions Down on FCR02. + + SoftLayer_Event_Log https://softlayer.github.io/reference/services/SoftLayer_Event_Log/ diff --git a/tags/hardware/index.xml b/tags/hardware/index.xml index 6c2ff029e05..04dac6f8f50 100644 --- a/tags/hardware/index.xml +++ b/tags/hardware/index.xml @@ -11840,7 +11840,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware/getUserData/ SoftLayer_Hardware::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -11851,7 +11851,7 @@ Parameters Name Type Description Required Headers SoftLayer_HardwareIni https://softlayer.github.io/reference/services/SoftLayer_Hardware_Router/getUserData/ SoftLayer_Hardware_Router::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -11862,7 +11862,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Ro https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/ SoftLayer_Hardware_SecurityModule::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -11873,7 +11873,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/ SoftLayer_Hardware_SecurityModule750::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -11884,7 +11884,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_Server/getUserData/ SoftLayer_Hardware_Server::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] diff --git a/tags/index.xml b/tags/index.xml index d1a9e7604b2..d7b9c60fe84 100644 --- a/tags/index.xml +++ b/tags/index.xml @@ -491,7 +491,7 @@ Event https://softlayer.github.io/tags/event/ - Mon, 12 Feb 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/event/ @@ -968,7 +968,7 @@ Objectfilter https://softlayer.github.io/tags/objectfilter/ - Mon, 09 Oct 2017 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/objectfilter/ @@ -986,7 +986,7 @@ Objectmask https://softlayer.github.io/tags/objectmask/ - Fri, 04 Aug 2017 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/objectmask/ @@ -1013,7 +1013,7 @@ Order https://softlayer.github.io/tags/order/ - Mon, 12 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/order/ @@ -1103,7 +1103,7 @@ Placeorder https://softlayer.github.io/tags/placeorder/ - Fri, 02 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/placeorder/ @@ -1265,7 +1265,7 @@ Resultlimit https://softlayer.github.io/tags/resultlimit/ - Mon, 12 Jun 2017 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/resultlimit/ @@ -1661,7 +1661,7 @@ Vlans https://softlayer.github.io/tags/vlans/ - Fri, 02 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/vlans/ @@ -1706,7 +1706,7 @@ Vyatta https://softlayer.github.io/tags/vyatta/ - Wed, 08 Jul 2015 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 https://softlayer.github.io/tags/vyatta/ diff --git a/tags/method/index.html b/tags/method/index.html index d52a2b35445..928d68e2315 100644 --- a/tags/method/index.html +++ b/tags/method/index.html @@ -26928,14 +26928,12 @@

      reference

    • updateForumPassword -
      This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
      +
      This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
    • updateForumPassword -
      This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
      +
      This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
    • diff --git a/tags/method/index.xml b/tags/method/index.xml index a6945afdad7..261466af4f3 100644 --- a/tags/method/index.xml +++ b/tags/method/index.xml @@ -49467,7 +49467,7 @@ Parameters Name Type Description Required Headers SoftLayer_User_Custom https://softlayer.github.io/reference/services/SoftLayer_Hardware/getUserData/ SoftLayer_Hardware::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -49478,7 +49478,7 @@ Parameters Name Type Description Required Headers SoftLayer_HardwareIni https://softlayer.github.io/reference/services/SoftLayer_Hardware_Router/getUserData/ SoftLayer_Hardware_Router::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -49489,7 +49489,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Ro https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/ SoftLayer_Hardware_SecurityModule::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -49500,7 +49500,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/ SoftLayer_Hardware_SecurityModule750::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -49511,7 +49511,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_Server/getUserData/ SoftLayer_Hardware_Server::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -52412,9 +52412,9 @@ Parameters Name Type Description Required Headers authenticate SoftLaye https://softlayer.github.io/reference/services/SoftLayer_User_Customer/isValidForumPassword/ SoftLayer_User_Customer::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values void @@ -52424,9 +52424,9 @@ Parameters Name Type Description password string The password you wish to https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/ SoftLayer_User_Customer_OpenIdConnect::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values void @@ -56899,7 +56899,7 @@ Parameters Name Type Description enabled boolean Whether or not intra-VLA https://softlayer.github.io/reference/services/SoftLayer_User_Customer/updateForumPassword/ SoftLayer_User_Customer::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . @@ -56910,7 +56910,7 @@ Update a user&rsquo;s password on the SoftLayer community forums. As with po https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/ SoftLayer_User_Customer_OpenIdConnect::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . diff --git a/tags/objectfilter/index.html b/tags/objectfilter/index.html index 2ed1ef01c1a..13b6ff72cf1 100644 --- a/tags/objectfilter/index.html +++ b/tags/objectfilter/index.html @@ -204,6 +204,11 @@

      python

      rest

        +
      • + Events +
        Going over Events with some examples of what each might look like
        +
      • +
      • Spare Pool Servers
        How to interact with the Spare Pool
        diff --git a/tags/objectfilter/index.xml b/tags/objectfilter/index.xml index cace484632c..94c35d2201b 100644 --- a/tags/objectfilter/index.xml +++ b/tags/objectfilter/index.xml @@ -6,11 +6,23 @@ Recent content in Objectfilter on SoftLayer API Hugo -- gohugo.io en-us - Mon, 09 Oct 2017 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Events + https://softlayer.github.io/rest/events/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/rest/events/ + Events SoftLayer_Notification_Occurrence_Events at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at https://control.softlayer.com/event/announcement +Get All Events SoftLayer_Notification_Occurrence_Event::getAllObjects() +curl -u $SL_USER:$SL_APIKEY &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event +[ { &#34;endDate&#34;: null, &#34;id&#34;: 2584, &#34;lastImpactedUserCount&#34;: 11232, &#34;modifyDate&#34;: &#34;2016-06-13T08:27:20-06:00&#34;, &#34;recoveryTime&#34;: null, &#34;startDate&#34;: &#34;2014-03-31T00:35:00-06:00&#34;, &#34;statusCode&#34;: { &#34;keyName&#34;: &#34;COMPLETED&#34;, &#34;name&#34;: &#34;Completed&#34; }, &#34;subject&#34;: &#34;IPv6 Sessions Down on FCR02. + + Spare Pool Servers https://softlayer.github.io/rest/spare_pool/ diff --git a/tags/objectmask/index.html b/tags/objectmask/index.html index c5c6c0550b4..3a6e12b6058 100644 --- a/tags/objectmask/index.html +++ b/tags/objectmask/index.html @@ -249,6 +249,11 @@

        python

        rest

          +
        • + Events +
          Going over Events with some examples of what each might look like
          +
        • +
        • Get Virtual Console Virtual Guest
          Retrieve the IP, username, and password needed to access the KVM console for a Virtual Guest.
          diff --git a/tags/objectmask/index.xml b/tags/objectmask/index.xml index 0c403dceb62..d539de4d4af 100644 --- a/tags/objectmask/index.xml +++ b/tags/objectmask/index.xml @@ -6,11 +6,23 @@ Recent content in Objectmask on SoftLayer API Hugo -- gohugo.io en-us - Fri, 04 Aug 2017 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Events + https://softlayer.github.io/rest/events/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/rest/events/ + Events SoftLayer_Notification_Occurrence_Events at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at https://control.softlayer.com/event/announcement +Get All Events SoftLayer_Notification_Occurrence_Event::getAllObjects() +curl -u $SL_USER:$SL_APIKEY &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event +[ { &#34;endDate&#34;: null, &#34;id&#34;: 2584, &#34;lastImpactedUserCount&#34;: 11232, &#34;modifyDate&#34;: &#34;2016-06-13T08:27:20-06:00&#34;, &#34;recoveryTime&#34;: null, &#34;startDate&#34;: &#34;2014-03-31T00:35:00-06:00&#34;, &#34;statusCode&#34;: { &#34;keyName&#34;: &#34;COMPLETED&#34;, &#34;name&#34;: &#34;Completed&#34; }, &#34;subject&#34;: &#34;IPv6 Sessions Down on FCR02. + + Show user accounts with and without two-factor enabled https://softlayer.github.io/python/externalBindingUsers/ diff --git a/tags/order/index.html b/tags/order/index.html index ca38e348c62..059770ac612 100644 --- a/tags/order/index.html +++ b/tags/order/index.html @@ -124,6 +124,11 @@

          article

          python

            +
          • + Ordering Vyatta Network Gateways +
            Ordering Vyattas
            +
          • +
          • Ordering with KeyNames
            Examples on how to order anything in the catalog with the proper package and item names.
            diff --git a/tags/order/index.xml b/tags/order/index.xml index 28f1664d2ba..3a95a6efeeb 100644 --- a/tags/order/index.xml +++ b/tags/order/index.xml @@ -6,11 +6,21 @@ Recent content in Order on SoftLayer API Hugo -- gohugo.io en-us - Mon, 12 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug(&#34;Starting up&#34;) # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ &lt; &#39;v5.4.3&#39;: print(&#34;SoftLayer needs to be 5.4.3+, is currently %s&#34; % SoftLayer.__version__) self.client = SoftLayer. + + Understanding and building an order using the Softlayer order CLI https://softlayer.github.io/article/understanding-ordering/ diff --git a/tags/placeorder/index.html b/tags/placeorder/index.html index 7d90644be21..84d95eac905 100644 --- a/tags/placeorder/index.html +++ b/tags/placeorder/index.html @@ -129,6 +129,11 @@

            php

            python

              +
            • + Ordering Vyatta Network Gateways +
              Ordering Vyattas
              +
            • +
            • Migrating a VSI from SAN to Local Storage and vice-versa
              Example on how to call verifyOrder / placeOrder via REST to migrate a Virtual_Guest from SAN to Local storage and vice-versa.
              diff --git a/tags/placeorder/index.xml b/tags/placeorder/index.xml index b128f04b5bf..87b9271b836 100644 --- a/tags/placeorder/index.xml +++ b/tags/placeorder/index.xml @@ -6,11 +6,21 @@ Recent content in Placeorder on SoftLayer API Hugo -- gohugo.io en-us - Fri, 02 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug(&#34;Starting up&#34;) # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ &lt; &#39;v5.4.3&#39;: print(&#34;SoftLayer needs to be 5.4.3+, is currently %s&#34; % SoftLayer.__version__) self.client = SoftLayer. + + How to order Vlans https://softlayer.github.io/rest/orderVlan/ diff --git a/tags/resultlimit/index.html b/tags/resultlimit/index.html index ab453581c9f..5941b71d285 100644 --- a/tags/resultlimit/index.html +++ b/tags/resultlimit/index.html @@ -131,6 +131,16 @@

              python

            +

            rest

            +
              + +
            • + Events +
              Going over Events with some examples of what each might look like
              +
            • + +
            +
          diff --git a/tags/resultlimit/index.xml b/tags/resultlimit/index.xml index dac630cc8b0..bcba522efc3 100644 --- a/tags/resultlimit/index.xml +++ b/tags/resultlimit/index.xml @@ -6,11 +6,23 @@ Recent content in Resultlimit on SoftLayer API Hugo -- gohugo.io en-us - Mon, 12 Jun 2017 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Events + https://softlayer.github.io/rest/events/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/rest/events/ + Events SoftLayer_Notification_Occurrence_Events at SoftLayer are how we communicate maintenance, outages, and other disruptive events to customers. In the control portal, you can find these at https://control.softlayer.com/event/announcement +Get All Events SoftLayer_Notification_Occurrence_Event::getAllObjects() +curl -u $SL_USER:$SL_APIKEY &#39;https://api.softlayer.com/rest/v3.1/SoftLayer_Notification_Occurrence_Event/getAllObjects.json The output will look something like this, but will have every event that has ever been reported on your account. For brevity I have only included 1 Event +[ { &#34;endDate&#34;: null, &#34;id&#34;: 2584, &#34;lastImpactedUserCount&#34;: 11232, &#34;modifyDate&#34;: &#34;2016-06-13T08:27:20-06:00&#34;, &#34;recoveryTime&#34;: null, &#34;startDate&#34;: &#34;2014-03-31T00:35:00-06:00&#34;, &#34;statusCode&#34;: { &#34;keyName&#34;: &#34;COMPLETED&#34;, &#34;name&#34;: &#34;Completed&#34; }, &#34;subject&#34;: &#34;IPv6 Sessions Down on FCR02. + + Provision Times https://softlayer.github.io/python/provisionTimes/ diff --git a/tags/sldn/index.html b/tags/sldn/index.html index 77e1719958d..b9065923c25 100644 --- a/tags/sldn/index.html +++ b/tags/sldn/index.html @@ -34684,14 +34684,12 @@

          reference

        • updateForumPassword -
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
          +
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
        • updateForumPassword -
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
          +
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
        • diff --git a/tags/sldn/index.xml b/tags/sldn/index.xml index 8418b34e18f..803dd99aaf2 100644 --- a/tags/sldn/index.xml +++ b/tags/sldn/index.xml @@ -67293,7 +67293,7 @@ Parameters Name Type Description Required Headers SoftLayer_User_Custom https://softlayer.github.io/reference/services/SoftLayer_Hardware/getUserData/ SoftLayer_Hardware::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_HardwareInitParameters authenticate Optional Headers SoftLayer_HardwareObjectMask SoftLayer_HardwareObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -67304,7 +67304,7 @@ Parameters Name Type Description Required Headers SoftLayer_HardwareIni https://softlayer.github.io/reference/services/SoftLayer_Hardware_Router/getUserData/ SoftLayer_Hardware_Router::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_RouterInitParameters authenticate Optional Headers SoftLayer_Hardware_RouterObjectMask SoftLayer_Hardware_RouterObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -67315,7 +67315,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Ro https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule/getUserData/ SoftLayer_Hardware_SecurityModule::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModuleInitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModuleObjectMask SoftLayer_Hardware_SecurityModuleObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -67326,7 +67326,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_SecurityModule750/getUserData/ SoftLayer_Hardware_SecurityModule750::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_SecurityModule750InitParameters authenticate Optional Headers SoftLayer_Hardware_SecurityModule750ObjectMask SoftLayer_Hardware_SecurityModule750ObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -67337,7 +67337,7 @@ Parameters Name Type Description Required Headers SoftLayer_Hardware_Se https://softlayer.github.io/reference/services/SoftLayer_Hardware_Server/getUserData/ SoftLayer_Hardware_Server::getUserData Retrieve a string containing custom user data for a hardware order. Overview Retrieve a string containing custom user data for a hardware order. -Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute_UserData +Parameters Name Type Description Required Headers SoftLayer_Hardware_ServerInitParameters authenticate Optional Headers SoftLayer_Hardware_ServerObjectMask SoftLayer_Hardware_ServerObjectFilter resultLimit SoftLayer_ObjectMask Return Values SoftLayer_Hardware_Attribute[] @@ -70238,9 +70238,9 @@ Parameters Name Type Description Required Headers authenticate SoftLaye https://softlayer.github.io/reference/services/SoftLayer_User_Customer/isValidForumPassword/ SoftLayer_User_Customer::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values void @@ -70250,9 +70250,9 @@ Parameters Name Type Description password string The password you wish to https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/ SoftLayer_User_Customer_OpenIdConnect::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values void @@ -74725,7 +74725,7 @@ Parameters Name Type Description enabled boolean Whether or not intra-VLA https://softlayer.github.io/reference/services/SoftLayer_User_Customer/updateForumPassword/ SoftLayer_User_Customer::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . @@ -74736,7 +74736,7 @@ Update a user&rsquo;s password on the SoftLayer community forums. As with po https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/ SoftLayer_User_Customer_OpenIdConnect::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . diff --git a/tags/user/index.html b/tags/user/index.html index 49151820499..84e97da6a70 100644 --- a/tags/user/index.html +++ b/tags/user/index.html @@ -2463,14 +2463,12 @@

          reference

        • updateForumPassword -
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
          +
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
        • updateForumPassword -
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. -Updat...
          +
          This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the...
        • diff --git a/tags/user/index.xml b/tags/user/index.xml index 501a62a6550..8c9320a0011 100644 --- a/tags/user/index.xml +++ b/tags/user/index.xml @@ -4273,9 +4273,9 @@ Parameters Name Type Description Required Headers authenticate SoftLaye https://softlayer.github.io/reference/services/SoftLayer_User_Customer/isValidForumPassword/ SoftLayer_User_Customer::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_CustomerInitParameters Optional Headers Return Values void @@ -4285,9 +4285,9 @@ Parameters Name Type Description password string The password you wish to https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/isValidForumPassword/ SoftLayer_User_Customer_OpenIdConnect::isValidForumPassword Determine if a string is a user&rsquo;s forum password. -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, any password verified will return false. In the future, this method will be completely removed. Determine if a string is the given user&rsquo;s login password to the SoftLayer community forums. -Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values boolean +Parameters Name Type Description password string The password you wish to verify Required Headers authenticate SoftLayer_User_Customer_OpenIdConnectInitParameters Optional Headers Return Values void @@ -4958,7 +4958,7 @@ Parameters Name Type Description mode SoftLayer_Container_User_Customer_E https://softlayer.github.io/reference/services/SoftLayer_User_Customer/updateForumPassword/ SoftLayer_User_Customer::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . @@ -4969,7 +4969,7 @@ Update a user&rsquo;s password on the SoftLayer community forums. As with po https://softlayer.github.io/reference/services/SoftLayer_User_Customer_OpenIdConnect/updateForumPassword/ SoftLayer_User_Customer_OpenIdConnect::updateForumPassword Update a user&rsquo;s forum password -Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. +Overview This method is deprecated! SoftLayer Community Forums no longer exist, therefore, this method will return false. In the future, this method will be completely removed. Update a user&rsquo;s password on the SoftLayer community forums. As with portal passwords, user forum passwords must match the following restrictions. Forum passwords must&hellip; * &hellip;be over eight characters long. * &hellip;be under twenty characters long. * &hellip;contain at least one uppercase letter * &hellip;contain at least one lowercase letter * &hellip;contain at least one number * &hellip;contain one of the special characters _ - | @ . diff --git a/tags/vlans/index.html b/tags/vlans/index.html index 7101e3d0896..f745c38a63b 100644 --- a/tags/vlans/index.html +++ b/tags/vlans/index.html @@ -106,6 +106,16 @@ Items with tag vlans
            +

            python

            + +

            rest

              diff --git a/tags/vlans/index.xml b/tags/vlans/index.xml index 6539f42ef39..d7f7e0cf547 100644 --- a/tags/vlans/index.xml +++ b/tags/vlans/index.xml @@ -6,11 +6,21 @@ Recent content in Vlans on SoftLayer API Hugo -- gohugo.io en-us - Fri, 02 Mar 2018 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug(&#34;Starting up&#34;) # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ &lt; &#39;v5.4.3&#39;: print(&#34;SoftLayer needs to be 5.4.3+, is currently %s&#34; % SoftLayer.__version__) self.client = SoftLayer. + + How to order Vlans https://softlayer.github.io/rest/orderVlan/ diff --git a/tags/vyatta/index.html b/tags/vyatta/index.html index 15a28c3e178..72f74e1fd72 100644 --- a/tags/vyatta/index.html +++ b/tags/vyatta/index.html @@ -116,6 +116,16 @@

              php

            +

            python

            + +
          diff --git a/tags/vyatta/index.xml b/tags/vyatta/index.xml index 0c1642e5648..02a9596e03b 100644 --- a/tags/vyatta/index.xml +++ b/tags/vyatta/index.xml @@ -6,11 +6,21 @@ Recent content in Vyatta on SoftLayer API Hugo -- gohugo.io en-us - Wed, 08 Jul 2015 00:00:00 +0000 + Thu, 05 Apr 2018 00:00:00 +0000 + + Ordering Vyatta Network Gateways + https://softlayer.github.io/python/orderVyatta/ + Thu, 05 Apr 2018 00:00:00 +0000 + + https://softlayer.github.io/python/orderVyatta/ + This example goes over how to order a Single or HA vyatta with a bunch of optional settings. More context around ordering can be found in https://softlayer.github.io/python/orderBareMetal/ and https://softlayer.github.io/python/ordering_slcli/ +import SoftLayer from SoftLayer.managers import ordering import sys from pprint import pprint as pp import logging logging.debug(&#34;Starting up&#34;) # Requires softlayer-python 5.4.3+ class vyattaOrderer(): def __init__(self): if SoftLayer.__version__ &lt; &#39;v5.4.3&#39;: print(&#34;SoftLayer needs to be 5.4.3+, is currently %s&#34; % SoftLayer.__version__) self.client = SoftLayer. + + Order a vyatta server with placeOrder https://softlayer.github.io/php/order_vyatta/