diff --git a/.gitignore b/.gitignore index b7f631c190..7a5c1b5177 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,7 @@ $RECYCLE.BIN/ # OSX .DS_Store ._.DS_Store + +# Files NodeJs +node_modules +package-lock.json \ No newline at end of file diff --git a/content/go/Metric_Tracking_Object_services.go.md b/content/go/Metric_Tracking_Object_services.go.md index 5e03ebe9bf..2539dede34 100644 --- a/content/go/Metric_Tracking_Object_services.go.md +++ b/content/go/Metric_Tracking_Object_services.go.md @@ -6,7 +6,7 @@ classes: - "SoftLayer_Virtual_Guest" - "SoftLayer_Metric_Tracking_Object" tags: - - "Metric Tracking Object " + - "metric tracking object " --- # Setup diff --git a/content/go/account_disk_usage_metrics.md b/content/go/account_disk_usage_metrics.md index 054eca4e2c..06f4935aa4 100644 --- a/content/go/account_disk_usage_metrics.md +++ b/content/go/account_disk_usage_metrics.md @@ -4,9 +4,9 @@ description: "Get the disk usage metrics for the most recent 24 hours. Also demonstrates how to pass datetime values to the API" date: "2016-09-19" tags: - - "Account" - - "DateTime" - - "getDiskUsageMetricDataByDate" + - "account" + - "datetime" + - "getdiskusagemetricdatabydate" --- ```go diff --git a/content/go/createVsi.md b/content/go/createVsi.md index 3b75307706..42286d320f 100644 --- a/content/go/createVsi.md +++ b/content/go/createVsi.md @@ -4,8 +4,8 @@ description: "Creates a new virtual server (VSI) and demonstrates the many optio date: "2016-11-07" classes: ["SoftLayer_Virtual_Guest"] tags: - - "virtualGuests" - - "CreateObject" + - "virtualguests" + - "createobject" --- ```go diff --git a/content/go/errors.md b/content/go/errors.md index 4fcbe8d1f7..46ca168ed3 100644 --- a/content/go/errors.md +++ b/content/go/errors.md @@ -4,8 +4,8 @@ description: "This example shows how to handle specific errors (e.g., 404) by type-asserting the returned error and inspecting its fields." date: "2016-09-19" tags: - - "VirtualGuest" - - "Errors" + - "virtualguest" + - "errors" --- ```go diff --git a/content/go/execute_remote_script.md b/content/go/execute_remote_script.md index a70e2975d2..5bad741333 100644 --- a/content/go/execute_remote_script.md +++ b/content/go/execute_remote_script.md @@ -5,10 +5,10 @@ usage of Id() to specify the object to act on, as well as how to pass parameters (script URL) to a service method" date: "2016-09-19" tags: - - "VirtualGuest" + - "virtualguest" - "objectid" - "parameters" - - "executeRemoteScript" + - "executeremotescript" --- ```go diff --git a/content/go/listvsis.md b/content/go/listvsis.md index e536522097..9c977151e8 100644 --- a/content/go/listvsis.md +++ b/content/go/listvsis.md @@ -4,7 +4,7 @@ description: "A Go example to list Virtual Guests on an account." date: "2016-11-07" classes: ["SoftLayer_Account"] tags: - - "virtualGuests" + - "virtualguests" --- ```go diff --git a/content/go/notification_ocurrent_events.go.md b/content/go/notification_ocurrent_events.go.md index 2f8ea6f0c2..463b441f73 100644 --- a/content/go/notification_ocurrent_events.go.md +++ b/content/go/notification_ocurrent_events.go.md @@ -5,7 +5,7 @@ date: "2021-18-01" classes: - "SoftLayer_Notification_Occurrence_Event" tags: - - "Notification Ocurrence Event " + - "notification ocurrence event " --- # Setup diff --git a/content/go/os_reference_codes.md b/content/go/os_reference_codes.md index 28a1a1a1b1..ed5ccac8ff 100644 --- a/content/go/os_reference_codes.md +++ b/content/go/os_reference_codes.md @@ -3,9 +3,9 @@ title: "Get Operating System Reference Codes" description: "Retrieve Virtual Guest creation options, and print a list of available OS reference codes" date: "2016-09-19" tags: - - "VirtualGuest" - - "getCreateObjectOptions" - - "operatingSystemReferenceCode" + - "virtualguest" + - "getcreateobjectoptions" + - "operatingsystemreferencecode" --- ```go diff --git a/content/go/placement_group.go.md b/content/go/placement_group.go.md index 4f46a3c0c8..cdf794bffd 100644 --- a/content/go/placement_group.go.md +++ b/content/go/placement_group.go.md @@ -9,8 +9,8 @@ classes: - "SoftLayer_Account" tags: - "order" - - "Account" - - "Virtual" + - "account" + - "virtual" --- Create Placement Group diff --git a/content/go/sshkey_lookup.md b/content/go/sshkey_lookup.md index 90516bfb77..4632f31264 100644 --- a/content/go/sshkey_lookup.md +++ b/content/go/sshkey_lookup.md @@ -4,8 +4,8 @@ description: "Look up information about an SSH key by its label. Demonstrates how to use the SDK's filter utility to apply an objectFilter to limit a result set" date: "2016-09-19" tags: - - "Account" - - "SshKey" + - "account" + - "sshkey" - "filter" --- diff --git a/content/go/user_customer_manage.md b/content/go/user_customer_manage.md index 74b00b47f1..9b7221d7b7 100644 --- a/content/go/user_customer_manage.md +++ b/content/go/user_customer_manage.md @@ -3,8 +3,8 @@ title: "Manage (Create, Add Permissions, Delete) User" description: "Example application which 1) creates a user, 2) Adds some portal permissions, and 3) Deletes the user" date: "2016-09-19" tags: - - "UserCustomer" - - "addBulkPortalPermissions" + - "usercustomer" + - "addbulkportalpermissions" --- ```go diff --git a/content/go/vm_cancel.md b/content/go/vm_cancel.md index f56451d35c..731fe77e3b 100644 --- a/content/go/vm_cancel.md +++ b/content/go/vm_cancel.md @@ -3,7 +3,7 @@ title: "Cancel a virtual guest" description: "Example of how to cancel a virtual guest." date: "2016-09-19" tags: - - "VirtualGuest" + - "virtualguest" --- ```go diff --git a/content/go/vm_list.md b/content/go/vm_list.md index 8ddf3e3901..dda2c0fb22 100644 --- a/content/go/vm_list.md +++ b/content/go/vm_list.md @@ -3,8 +3,8 @@ title: "List Account VMs" description: "Basic example showing how to get a list of Virtual Guests under an account" date: "2016-09-19" tags: - - "VirtualGuest" - - "getVirtualGuests" + - "virtualguest" + - "getvirtualguests" --- ```go diff --git a/content/go/vm_provision.md b/content/go/vm_provision.md index 6b9b15b0ba..5175b87413 100644 --- a/content/go/vm_provision.md +++ b/content/go/vm_provision.md @@ -3,7 +3,7 @@ title: "Provision a virtual guest" description: "Example of provisioning a virtual guest from a template object." date: "2016-09-19" tags: - - "VirtualGuest" + - "virtualguest" --- ```go diff --git a/content/go/vm_upgrade.md b/content/go/vm_upgrade.md index f1d1980054..0c3f5dcf3d 100644 --- a/content/go/vm_upgrade.md +++ b/content/go/vm_upgrade.md @@ -4,8 +4,8 @@ description: "This example demonstrates the use of helper functions that simplify the process of placing a virtual guest upgrade order" date: "2016-09-19" tags: - - "VirtualGuest" - - "UpgradeVirtualGuest" + - "virtualguest" + - "upgradevirtualguest" --- ```go diff --git a/content/java/Virtual_Host_Services.java.md b/content/java/Virtual_Host_Services.java.md index 8fa290893c..d16dc478d1 100644 --- a/content/java/Virtual_Host_Services.java.md +++ b/content/java/Virtual_Host_Services.java.md @@ -6,7 +6,7 @@ classes: - "SoftLayer_Account" - "SoftLayer_Virtual_Host" tags: - - "Virtual_Host" + - "virtual_host" --- ```java diff --git a/content/java/lbaasLoadBalancer.java.md b/content/java/lbaasLoadBalancer.java.md index cf50f37ccd..3f1b582c29 100644 --- a/content/java/lbaasLoadBalancer.java.md +++ b/content/java/lbaasLoadBalancer.java.md @@ -7,7 +7,7 @@ date: "2020-07-08" classes: - "SoftLayer_Network_LBaaS_LoadBalancer" tags: - - "LBaaS_LoadBalancer" + - "lbaas_loadbalancer" --- [Lbaas_LoadBalancer](https://sldn.softlayer.com/reference/services/SoftLayer_Network_LBaaS_LoadBalancer/) diff --git a/content/java/network_pod.java.md b/content/java/network_pod.java.md index 78fb9abfc7..a354892fb1 100644 --- a/content/java/network_pod.java.md +++ b/content/java/network_pod.java.md @@ -7,7 +7,7 @@ date: "2020-06-09" classes: - "SoftLayer_Network_Pod" tags: - - "Network_Pod" + - "network_pod" --- [Network_Pod](https://https://sldn.softlayer.com/reference/services/SoftLayer_Network_Pod/) diff --git a/content/java/placementGroup.java.md b/content/java/placementGroup.java.md index 6d6bd2f4e3..11c60132f0 100644 --- a/content/java/placementGroup.java.md +++ b/content/java/placementGroup.java.md @@ -9,8 +9,8 @@ classes: - "SoftLayer_Account" tags: - "order" - - "Account" - - "Virtual" + - "account" + - "virtual" --- Create Placement Group diff --git a/content/java/productPackage.java.md b/content/java/productPackage.java.md index d787e13fc8..a24d75ff43 100644 --- a/content/java/productPackage.java.md +++ b/content/java/productPackage.java.md @@ -6,7 +6,7 @@ date: "2020-06-24" classes: - "SoftLayer_Product_Package" tags: - - "Product_Package" + - "product_package" --- [Product_Package](https://https://sldn.softlayer.com/reference/services/SoftLayer_Product_Package/) diff --git a/content/perl/cancelitem.md b/content/perl/cancelitem.md index 4001e88011..a8d1bd083b 100644 --- a/content/perl/cancelitem.md +++ b/content/perl/cancelitem.md @@ -4,7 +4,7 @@ description: "Invoke cancelService to cancel an item by Billing ID" date: "2016-01-06" classes: ["SoftLayer_Billing_Item"] tags: - - "cancelService" + - "cancelservice" - "billing" --- diff --git a/content/perl/getassociatedid.md b/content/perl/getassociatedid.md index 9d87805552..c9e1a40c0e 100644 --- a/content/perl/getassociatedid.md +++ b/content/perl/getassociatedid.md @@ -4,7 +4,7 @@ description: "You can use getAssociatedBillingItem or getAssociatedParent along date: "2016-01-06" classes: ["SoftLayer_Billing_Item"] tags: - - "getAssociatedBillingItem" + - "getassociatedbillingitem" - "billing" --- diff --git a/content/perl/monthtodatecost.md b/content/perl/monthtodatecost.md index 96b804eb85..7821c6ca72 100644 --- a/content/perl/monthtodatecost.md +++ b/content/perl/monthtodatecost.md @@ -4,9 +4,9 @@ description: "Returns the month to date cost of an hourly VSI using getBillingIt date: "2016-01-06" classes: ["SoftLayer_Virtual_Guest"] tags: - - "objectMask" + - "objectmask" - "billing" - - "getBillingItem" + - "getbillingitem" --- ```perl diff --git a/content/php/add_remove_from_pool.md b/content/php/add_remove_from_pool.md index de8d0bedc8..168851bfbd 100644 --- a/content/php/add_remove_from_pool.md +++ b/content/php/add_remove_from_pool.md @@ -4,7 +4,7 @@ description: "Adding and removing Virtual Guests and Bare Metal Servers in an ex date: "2016-04-28" classes: ["SoftLayer_Network_Bandwidth_Version1_Allotment"] tags: - - "BandwidthPool" + - "bandwidthpool" - "bandwidth" --- diff --git a/content/php/cancelservice.md b/content/php/cancelservice.md index bda1bbd839..2575f9b8e4 100644 --- a/content/php/cancelservice.md +++ b/content/php/cancelservice.md @@ -4,7 +4,7 @@ description: "Use cancelService to cancel am item or service." date: "2016-01-29" classes: ["SoftLayer_Billing_Item"] tags: - - "cancelService" + - "cancelservice" - "billing" --- diff --git a/content/php/createSnapshot.md b/content/php/createSnapshot.md index 8b813d3749..25a21c7d18 100644 --- a/content/php/createSnapshot.md +++ b/content/php/createSnapshot.md @@ -5,8 +5,8 @@ date: "2016-08-11" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - "iscsi" - - "blockStorage" - - "objectMask" + - "blockstorage" + - "objectmask" --- Trigger a manual snapshot creation of a Block storage volume. diff --git a/content/php/enableSnapshots.md b/content/php/enableSnapshots.md index bc3b8cfb52..28b86380bf 100644 --- a/content/php/enableSnapshots.md +++ b/content/php/enableSnapshots.md @@ -4,8 +4,8 @@ description: "Create a snapshot schedule for Endurance storage." date: "2016-08-23" classes: ["SoftLayer_Network_Storage"] tags: - - "enableSnapshots" - - "blockStorage" + - "enablesnapshots" + - "blockstorage" --- This method is not valid for Legacy iSCSI Storage Volumes. You need to have already purchased snapshot space for the script to work properly. diff --git a/content/php/get_invoice.md b/content/php/get_invoice.md index deb10fb205..f2e9d26b9b 100644 --- a/content/php/get_invoice.md +++ b/content/php/get_invoice.md @@ -6,8 +6,8 @@ classes: ["SoftLayer_Account"] tags: - "billing" - "invoice" - - "objectMask" - - "objectFilter" + - "objectmask" + - "objectfilter" --- diff --git a/content/php/get_invoice_top_level_items.md b/content/php/get_invoice_top_level_items.md index 455b7a18c7..bb4877524d 100644 --- a/content/php/get_invoice_top_level_items.md +++ b/content/php/get_invoice_top_level_items.md @@ -5,8 +5,8 @@ date: "2015-05-24" classes: ["SoftLayer_Brand", "SoftLayer_Account", "SoftLayer_Billing_Invoice"] tags: - "billing" - - "objectFilter" - - "objectMask" + - "objectfilter" + - "objectmask" - "invoice" - "brand" --- diff --git a/content/php/get_ipmi.md b/content/php/get_ipmi.md index 7918aeb44c..eb4c1ee9d3 100644 --- a/content/php/get_ipmi.md +++ b/content/php/get_ipmi.md @@ -5,7 +5,7 @@ date: "2016-08-22" classes: - "SoftLayer_Account" tags: - - "IPMI" + - "ipmi" - "dedicated" - "auth" --- diff --git a/content/php/orderFirewalls.md b/content/php/orderFirewalls.md index 1243653063..d0a6328c14 100644 --- a/content/php/orderFirewalls.md +++ b/content/php/orderFirewalls.md @@ -10,8 +10,8 @@ classes: tags: - "ordering" - "firewall" - - "placeOrder" - - "FortiGate" + - "placeorder" + - "fortigate" - "security" --- diff --git a/content/php/orderSSLCert.md b/content/php/orderSSLCert.md index 7e8b1eb1b6..926dd39d4e 100644 --- a/content/php/orderSSLCert.md +++ b/content/php/orderSSLCert.md @@ -10,7 +10,7 @@ classes: tags: - "ordering" - "ssl" - - "placeOrder" + - "placeorder" --- #### Generating a CSR diff --git a/content/php/order_vyatta.md b/content/php/order_vyatta.md index 816eaf8aa3..a2dcebec0a 100644 --- a/content/php/order_vyatta.md +++ b/content/php/order_vyatta.md @@ -6,7 +6,7 @@ classes: ["SoftLayer_Product_Order"] tags: - "ordering" - "vyatta" - - "placeOrder" + - "placeorder" - "deprecated" --- diff --git a/content/php/storage_credentials.md b/content/php/storage_credentials.md index fd704ac1a3..c02625ebcf 100644 --- a/content/php/storage_credentials.md +++ b/content/php/storage_credentials.md @@ -5,8 +5,8 @@ date: "2016-08-10" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - "iscsi" - - "blockStorage" - - "objectMask" + - "blockstorage" + - "objectmask" --- diff --git a/content/python/EnduranceReplication.md b/content/python/EnduranceReplication.md index 249271e724..2b6d68f713 100644 --- a/content/python/EnduranceReplication.md +++ b/content/python/EnduranceReplication.md @@ -9,9 +9,9 @@ tags: - "replication" - "snapshot" - "storage" - - "objectFilter" - - "objectMask" - - "enableSnapshots" + - "objectfilter" + - "objectmask" + - "enablesnapshots" --- Some good starting reading. diff --git a/content/python/attach_disk.md b/content/python/attach_disk.md index 8f5a12dc48..d3cfd77fed 100644 --- a/content/python/attach_disk.md +++ b/content/python/attach_disk.md @@ -4,10 +4,10 @@ description: "Attaching and detaching secondary block devices on Virtual Guests" date: "2016-03-03" classes: ["SoftLayer_Virtual_Guest"] tags: - - "attachDiskImage" - - "detachDiskImage" - - "getPortableStorageVolumes" - - "checkHostDiskAvailability" + - "attachdiskimage" + - "detachdiskimage" + - "getportablestoragevolumes" + - "checkhostdiskavailability" --- Attaching a currently detached portable block device to a given guest. The disk image will need to be migrated to the host the guest is on, so make sure to check if that host has enough disk space (with checkHostDiskAvailability) before attaching. This is only required for guests with local storage guests. SAN based guests don't need that step. diff --git a/content/python/bandwidthPoolsAndSubnets.md b/content/python/bandwidthPoolsAndSubnets.md index 401e5f76e4..ed2f0b9622 100644 --- a/content/python/bandwidthPoolsAndSubnets.md +++ b/content/python/bandwidthPoolsAndSubnets.md @@ -8,8 +8,8 @@ classes: - "SoftLayer_Network_Bandwidth_Version" - "SoftLayer_Network_Subnet" tags: - - "objectMask" - - "objectFilter" + - "objectmask" + - "objectfilter" - "subnet" - "bandwidthpools" --- diff --git a/content/python/cancel_service.md b/content/python/cancel_service.md index f91a62f6b0..46e9f45433 100644 --- a/content/python/cancel_service.md +++ b/content/python/cancel_service.md @@ -8,7 +8,7 @@ classes: - "SoftLayer_Billing_Item_Hardware" - "SoftLayer_Billing_Item_Cancellation_Request" tags: - - "objectMask" + - "objectmask" - "billing" --- diff --git a/content/python/cancel_swift_object_storage.py.md b/content/python/cancel_swift_object_storage.py.md index f0cfe4f89a..6cc07aed40 100644 --- a/content/python/cancel_swift_object_storage.py.md +++ b/content/python/cancel_swift_object_storage.py.md @@ -8,9 +8,9 @@ classes: - "SoftLayer_Network_Storage" tags: - "billing" - - "Account" - - "Objectstorage" - - "Swift" + - "account" + - "objectstorage" + - "swift" --- ### List, delete, deleteAll Object Storage Swift Volumes diff --git a/content/python/createLBpython.md b/content/python/createLBpython.md index 89695bc5b7..9446aaaafb 100644 --- a/content/python/createLBpython.md +++ b/content/python/createLBpython.md @@ -4,8 +4,8 @@ description: "Order a local load balancer using SoftLayer_Product_Item_Price obj date: "2016-04-29" classes: ["SoftLayer_Product_Order"] tags: - - "placeOrder" - - "verifyOrder" + - "placeorder" + - "verifyorder" --- diff --git a/content/python/createSnapshot.md b/content/python/createSnapshot.md index 77e4159d12..1842e03ca0 100644 --- a/content/python/createSnapshot.md +++ b/content/python/createSnapshot.md @@ -5,8 +5,8 @@ date: "2016-08-11" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - "iscsi" - - "blockStorage" - - "objectMask" + - "blockstorage" + - "objectmask" - "storage" --- diff --git a/content/python/enableSnapshots.md b/content/python/enableSnapshots.md index 27f3cef8ef..2607898bdf 100644 --- a/content/python/enableSnapshots.md +++ b/content/python/enableSnapshots.md @@ -4,8 +4,8 @@ description: "Create a snapshot schedule for Endurance storage." date: "2016-08-23" classes: ["SoftLayer_Network_Storage"] tags: - - "enableSnapshots" - - "blockStorage" + - "enablesnapshots" + - "blockstorage" - "storage" --- diff --git a/content/python/event_log.md b/content/python/event_log.md index a4dd645d56..969816875b 100644 --- a/content/python/event_log.md +++ b/content/python/event_log.md @@ -5,7 +5,7 @@ date: "2018-05-18" classes: - "SoftLayer_Event_Log" tags: - - "objectFilter" + - "objectfilter" - "resultlimit" --- diff --git a/content/python/getDediHostAllocation.md b/content/python/getDediHostAllocation.md index a4c4626a76..759de50eeb 100644 --- a/content/python/getDediHostAllocation.md +++ b/content/python/getDediHostAllocation.md @@ -5,7 +5,7 @@ date: "2017-08-04" classes: - "SoftLayer_Virtual_DedicatedHost" tags: - - "getAllocationStatus" + - "getallocationstatus" --- The first thing you need to get is a list of the Dedicated Hosts on your account. To list the Dedicated Hosts on your account you can use the following code: diff --git a/content/python/getVerboseBmDetails.md b/content/python/getVerboseBmDetails.md index 221624cf70..f26727b694 100644 --- a/content/python/getVerboseBmDetails.md +++ b/content/python/getVerboseBmDetails.md @@ -4,8 +4,8 @@ description: "Retrieve the packages, categories and items associated with a Bare date: "2016-12-29" classes: ["SoftLayer_Hardware"] tags: - - "objectMask" - - "getObject" + - "objectmask" + - "getobject" --- This script will get the Packages, Categories, and items associated with a Bare Metal Server. diff --git a/content/python/get_ipmi.md b/content/python/get_ipmi.md index 50f11a0f8a..f08083ed36 100644 --- a/content/python/get_ipmi.md +++ b/content/python/get_ipmi.md @@ -5,7 +5,7 @@ date: "2014-09-01" classes: - "SoftLayer_Account" tags: - - "IPMI" + - "ipmi" - "dedicated" - "auth" --- diff --git a/content/python/getstoragedetails.md b/content/python/getstoragedetails.md index 4a6052932e..468096a81c 100644 --- a/content/python/getstoragedetails.md +++ b/content/python/getstoragedetails.md @@ -4,8 +4,8 @@ description: "Retrieving the username and password for Performance/Endurance Blo date: "2016-04-28" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - - "Iscsi" - - "BlockStorage" + - "iscsi" + - "blockstorage" --- The following script allows you retrieve the username and password for Performance/Endurance Block storage if you have authorized hosts against the storage. diff --git a/content/python/hardware_components.py.md b/content/python/hardware_components.py.md index 81eb5de85c..e10eef60c4 100644 --- a/content/python/hardware_components.py.md +++ b/content/python/hardware_components.py.md @@ -8,7 +8,7 @@ classes: tags: - "hardware" - "server" - - "IPMI" + - "ipmi" - "raid" --- diff --git a/content/python/listByPod.md b/content/python/listByPod.md index cb1ec79cdb..565c069567 100644 --- a/content/python/listByPod.md +++ b/content/python/listByPod.md @@ -4,10 +4,10 @@ description: "List active Bare Metal and Virtual servers from each pod from a sp date: "2016-11-18" classes: ["SoftLayer_Account"] tags: - - "objectMask" - - "objectFilter" - - "getHardware" - - "getVirtualGuests" + - "objectmask" + - "objectfilter" + - "gethardware" + - "getvirtualguests" --- diff --git a/content/python/location_based_pricing.md b/content/python/location_based_pricing.md index 31e0956b8d..6b92831f3b 100644 --- a/content/python/location_based_pricing.md +++ b/content/python/location_based_pricing.md @@ -4,8 +4,8 @@ description: "Use an object filter and object mask to return the Location Based date: "2016-04-12" classes: ["SoftLayer_Product_Package"] tags: - - "objectFilter" - - "objectMask" + - "objectfilter" + - "objectmask" - "pricing" --- diff --git a/content/python/migratevsi.md b/content/python/migratevsi.md index d256e6ed99..6e8d3bbaef 100644 --- a/content/python/migratevsi.md +++ b/content/python/migratevsi.md @@ -4,8 +4,8 @@ description: "Example on how to call verifyOrder / placeOrder via REST to migrat date: "2016-11-07" classes: ["SoftLayer_Product_Order"] tags: - - "placeOrder" - - "verifyOrder" + - "placeorder" + - "verifyorder" - "upgrade" --- diff --git a/content/python/modify_bare_metal.md b/content/python/modify_bare_metal.md index 6c88573b2d..cbab5e1d84 100644 --- a/content/python/modify_bare_metal.md +++ b/content/python/modify_bare_metal.md @@ -4,8 +4,8 @@ description: "Shows how to edit the current configuration of a Bare Metal Server date: "2016-01-11" classes: ["SoftLayer_Product_Order"] tags: - - "Upgrade" - - "Bare Metal" + - "upgrade" + - "bare metal" --- ```python diff --git a/content/python/networkMapper.md b/content/python/networkMapper.md index 1cc5932305..b81e08999c 100644 --- a/content/python/networkMapper.md +++ b/content/python/networkMapper.md @@ -13,69 +13,69 @@ tags: --- -Prints out model numbers of networking equipment that is on route to your servers. Could be useful if merged with https://softlayer.github.io/python/networktopology/ +prints out model numbers of networking equipment that is on route to your servers. could be useful if merged with https://softlayer.github.io/python/networktopology/ ``` """ -@author Christopher Gallo -Finds the model number of all networking equipment that is on the way to servers on the account. +@author christopher gallo +finds the model number of all networking equipment that is on the way to servers on the account. """ -import SoftLayer +import softlayer from pprint import pprint as pp -class networkMap(): +class networkmap(): def __init__(self): - self.client = SoftLayer.Client() + self.client = softlayer.client() def main(self): """ - Goes through each server, and prints out what networking hardware is upstream + goes through each server, and prints out what networking hardware is upstream """ - mask = "mask[id, fullyQualifiedDomainName]" - servers = self.client['SoftLayer_Account'].getHardware(mask=mask) + mask = "mask[id, fullyqualifieddomainname]" + servers = self.client['softlayer_account'].gethardware(mask=mask) for server in servers: - print("%s" % (server['fullyQualifiedDomainName'])) - server_mask = "mask[backendNetworkComponents[networkHardware[hardwareChassis]]]" - this_server = self.client['SoftLayer_Hardware_Server'].getObject(id=server['id'],mask=server_mask) - for component in this_server['backendNetworkComponents']: + print("%s" % (server['fullyqualifieddomainname'])) + server_mask = "mask[backendnetworkcomponents[networkhardware[hardwarechassis]]]" + this_server = self.client['softlayer_hardware_server'].getobject(id=server['id'],mask=server_mask) + for component in this_server['backendnetworkcomponents']: print("\t%s%s (%smbps) " % (component['name'], component['port'], component['speed'])) - for uplink in component['networkHardware']: - print("\t\t%s - %s - %s" % (uplink['fullyQualifiedDomainName'], uplink['hardwareChassis']['name'], uplink['hardwareChassis']['hardwareFunction']['description'])) + for uplink in component['networkhardware']: + print("\t\t%s - %s - %s" % (uplink['fullyqualifieddomainname'], uplink['hardwarechassis']['name'], uplink['hardwarechassis']['hardwarefunction']['description'])) - def fromTheTop(self): + def fromthetop(self): """ - Goes through each DC, and prints out the hierarchy of networking gear + goes through each dc, and prints out the hierarchy of networking gear """ - dc_mask="mask[backendHardwareRouters]" - dcs = self.client['SoftLayer_Location_Datacenter'].getDatacenters() + dc_mask="mask[backendhardwarerouters]" + dcs = self.client['softlayer_location_datacenter'].getdatacenters() for dc in dcs: print("%s" % (dc['name'])) - router_mask = "mask[hardwareChassis,downlinkHardware[hardwareChassis,downlinkHardware[hardwareChassis,downstreamServers[id,fullyQualifiedDomainName],id,fullyQualifiedDomainName]]]" - backend = self.client['SoftLayer_Location_Datacenter'].getBackendHardwareRouters(id=dc['id'],mask=router_mask) + router_mask = "mask[hardwarechassis,downlinkhardware[hardwarechassis,downlinkhardware[hardwarechassis,downstreamservers[id,fullyqualifieddomainname],id,fullyqualifieddomainname]]]" + backend = self.client['softlayer_location_datacenter'].getbackendhardwarerouters(id=dc['id'],mask=router_mask) for router in backend: - print("\t%s - %s - %s " % (router['hardwareFunction']['description'], router['fullyQualifiedDomainName'], router['hardwareChassis']['name'])) - # Can be used to print out info on the linecards of the BCR/FCR + print("\t%s - %s - %s " % (router['hardwarefunction']['description'], router['fullyqualifieddomainname'], router['hardwarechassis']['name'])) + # can be used to print out info on the linecards of the bcr/fcr # for component in router['components']: - # print("\t\t%s" % (component['hardwareComponentModel']['longDescription'])) + # print("\t\t%s" % (component['hardwarecomponentmodel']['longdescription'])) try: - for down in router['downlinkHardware']: - print("\t\t%s - %s " % (down['fullyQualifiedDomainName'],down['hardwareChassis']['name'])) - for down_1 in down['downlinkHardware']: - print("\t\t\t%s - %s " % (down_1['fullyQualifiedDomainName'],down_1['hardwareChassis']['name'])) - for server in down_1['downstreamServers']: - print("\t\t\t\t%s" % server['fullyQualifiedDomainName']) - except KeyError: - print("Skipping....") + for down in router['downlinkhardware']: + print("\t\t%s - %s " % (down['fullyqualifieddomainname'],down['hardwarechassis']['name'])) + for down_1 in down['downlinkhardware']: + print("\t\t\t%s - %s " % (down_1['fullyqualifieddomainname'],down_1['hardwarechassis']['name'])) + for server in down_1['downstreamservers']: + print("\t\t\t\t%s" % server['fullyqualifieddomainname']) + except keyerror: + print("skipping....") if __name__ == "__main__": - main = networkMap() + main = networkmap() # main.main() - main.fromTheTop() + main.fromthetop() ``` diff --git a/content/python/network_pod.py.md b/content/python/network_pod.py.md index 3e47d2d445..aad48c52fc 100644 --- a/content/python/network_pod.py.md +++ b/content/python/network_pod.py.md @@ -6,7 +6,7 @@ date: "2020-01-22" classes: - "SoftLayer_Network_Pod" tags: - - "Network" + - "network" --- [Network_Pod](https://https://sldn.softlayer.com/reference/services/SoftLayer_Network_Pod/) diff --git a/content/python/notifications.md b/content/python/notifications.md index 2d2f2ed292..156e64f5dc 100644 --- a/content/python/notifications.md +++ b/content/python/notifications.md @@ -5,7 +5,7 @@ date: "2016-02-26" classes: ["SoftLayer_Notification_Occurrence_Event"] tags: - "notification" - - "objectFilter" + - "objectfilter" --- Retrieves all notifications that were created on January 1, 2016. diff --git a/content/python/orderSSLCert.md b/content/python/orderSSLCert.md index 9364e973c5..a5958ab298 100644 --- a/content/python/orderSSLCert.md +++ b/content/python/orderSSLCert.md @@ -10,7 +10,7 @@ classes: tags: - "ordering" - "ssl" - - "placeOrder" + - "placeorder" - "debugging" --- diff --git a/content/python/order_quote_advanced.mdown b/content/python/order_quote_advanced.mdown index 4d9f6bb580..14d47b18b5 100644 --- a/content/python/order_quote_advanced.mdown +++ b/content/python/order_quote_advanced.mdown @@ -11,7 +11,7 @@ tags: - "order" - "quote" - "sshkeys" - - "provisionScripts" + - "provisionscripts" --- ## Quotes diff --git a/content/python/provisionTimes.md b/content/python/provisionTimes.md index 43023ef767..d8e65108e1 100644 --- a/content/python/provisionTimes.md +++ b/content/python/provisionTimes.md @@ -10,10 +10,10 @@ classes: - "SoftLayer_Provisioning_Version1_Transaction" tags: - - "provisionTransaction" - - "resultLimit" - - "objectFilter" - - "objectMask" + - "provisiontransaction" + - "resultlimit" + - "objectfilter" + - "objectmask" --- diff --git a/content/python/suspend_virtual_server.py.md b/content/python/suspend_virtual_server.py.md index e0376126b7..a1c3fbb8a3 100644 --- a/content/python/suspend_virtual_server.py.md +++ b/content/python/suspend_virtual_server.py.md @@ -8,8 +8,8 @@ classes: - "SoftLayer_Virtual_Guest" - "SoftLayer_Location" tags: - - "Virtualserver" - - "Placeorder" + - "virtualserver" + - "placeorder" --- ###Create Suspend Virtual Server diff --git a/content/python/tags.py.md b/content/python/tags.py.md index 3b40344516..eaefa95ba1 100644 --- a/content/python/tags.py.md +++ b/content/python/tags.py.md @@ -6,7 +6,7 @@ date: "2020-02-19" classes: - "SoftLayer_Tags" tags: - - "Tags" + - "tags" --- [Tags](https://https://sldn.softlayer.com/reference/services/SoftLayer_Tags/) diff --git a/content/python/ticket_filter.md b/content/python/ticket_filter.md index 188bb14c42..a6a0a9f95f 100644 --- a/content/python/ticket_filter.md +++ b/content/python/ticket_filter.md @@ -5,8 +5,8 @@ date: "2016-02-26" classes: ["SoftLayer_Account"] tags: - "tickets" - - "objectFilter" - - "objectMask" + - "objectfilter" + - "objectmask" --- diff --git a/content/python/upgrade_examples.md b/content/python/upgrade_examples.md index 532a57d1ae..89cff55ff3 100644 --- a/content/python/upgrade_examples.md +++ b/content/python/upgrade_examples.md @@ -9,10 +9,10 @@ classes: - "SoftLayer_Container_Product_Order_Virtual_Guest_Upgrade" - "SoftLayer_Product_Order" tags: - - "placeOrder" - - "verifyOrder" + - "placeorder" + - "verifyorder" - "upgrade" - - "MAINTENANCE_WINDOW" + - "maintenance_window" --- ``` diff --git a/content/python/virtual_guest.py.md b/content/python/virtual_guest.py.md index 9c7bb1b8ec..429c77d279 100644 --- a/content/python/virtual_guest.py.md +++ b/content/python/virtual_guest.py.md @@ -7,7 +7,7 @@ classes: - "SoftLayer_Account" tags: - "vsi" - - "VirtualGuest" + - "virtualguest" --- ### Create Virtual Server diff --git a/content/python/virtual_host.py.md b/content/python/virtual_host.py.md index 87cd02fda1..74dd15184f 100644 --- a/content/python/virtual_host.py.md +++ b/content/python/virtual_host.py.md @@ -8,7 +8,7 @@ classes: - "SoftLayer_Virtual_Host" - "SoftLayer_Product_Order" tags: - - "Virtual_host" + - "virtual_host" --- ### getAccount diff --git a/content/python/working_with_user_accounts.md b/content/python/working_with_user_accounts.md index fa808b9632..39da520cb3 100644 --- a/content/python/working_with_user_accounts.md +++ b/content/python/working_with_user_accounts.md @@ -5,9 +5,9 @@ date: "2022-01-03" classes: - "SoftLayer_Account" tags: - - "User" - - "Account" - - "User_Account" + - "user" + - "account" + - "user_account" --- ### Setup diff --git a/content/rest/IBMidtoSLKey.md b/content/rest/IBMidtoSLKey.md index a783aeb8fd..dd5cb7d853 100644 --- a/content/rest/IBMidtoSLKey.md +++ b/content/rest/IBMidtoSLKey.md @@ -5,9 +5,9 @@ description: "For accounts that use IBMid, this script can be used to pull down date: "2017-03-02" classes: ["SoftLayer_User_Customer"] tags: - - "getObject" - - "IBMid" - - "objectMask" + - "getobject" + - "ibmid" + - "objectmask" --- diff --git a/content/rest/addGetEditRemoveSecurityGroupRules.md b/content/rest/addGetEditRemoveSecurityGroupRules.md index 38a6452abc..d59d69e9ab 100644 --- a/content/rest/addGetEditRemoveSecurityGroupRules.md +++ b/content/rest/addGetEditRemoveSecurityGroupRules.md @@ -5,9 +5,9 @@ date: "2017-10-02" classes: ["SoftLayer_Network_SecurityGroup"] tags: - "securitygroups" - - "addRules" - - "editRules" - - "removeRules" + - "addrules" + - "editrules" + - "removerules" --- ### Add rules diff --git a/content/rest/cancel_service.md b/content/rest/cancel_service.md index 26ba9dd74a..5b01376945 100644 --- a/content/rest/cancel_service.md +++ b/content/rest/cancel_service.md @@ -6,7 +6,7 @@ date: "2015-12-30" classes: ["SoftLayer_Billing_Item"] tags: - "billing" - - "cancelService" + - "cancelservice" --- Operation: `GET` diff --git a/content/rest/createBWpool.md b/content/rest/createBWpool.md index cc7f1759c2..742ba98201 100644 --- a/content/rest/createBWpool.md +++ b/content/rest/createBWpool.md @@ -4,8 +4,8 @@ description: "Creating a new Bandwidth pool. This allows you to optimize your ba date: "2016-05-02" classes: ["SoftLayer_Network_Bandwidth_Version1_Allotment"] tags: - - "createObject" - - "bandwidthPool" + - "createobject" + - "bandwidthpool" --- Operation: `POST` diff --git a/content/rest/createSnapshot.md b/content/rest/createSnapshot.md index d9edb4aad0..c8a3b26cfb 100644 --- a/content/rest/createSnapshot.md +++ b/content/rest/createSnapshot.md @@ -5,8 +5,8 @@ date: "2016-08-11" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - "iscsi" - - "blockStorage" - - "objectMask" + - "blockstorage" + - "objectmask" --- Operation: `POST` diff --git a/content/rest/create_virtual_server.md b/content/rest/create_virtual_server.md index a082ba4790..7393174915 100644 --- a/content/rest/create_virtual_server.md +++ b/content/rest/create_virtual_server.md @@ -6,7 +6,7 @@ classes: ["SoftLayer_Virtual_Guest"] tags: - "vsi" - "create" - - "objectMask" + - "objectmask" --- Operation: `POST` diff --git a/content/rest/find_product_from_billing.md b/content/rest/find_product_from_billing.md index 9b572319e2..3442508d14 100644 --- a/content/rest/find_product_from_billing.md +++ b/content/rest/find_product_from_billing.md @@ -6,7 +6,7 @@ date: "2015-12-30" classes: ["SoftLayer_Billing_Item"] tags: - "billing" - - "getAssociatedParent" + - "getassociatedparent" --- Operation: `GET` diff --git a/content/rest/getAttachDetachNetworkComponent.md b/content/rest/getAttachDetachNetworkComponent.md index 5b092637d0..da834fefcc 100644 --- a/content/rest/getAttachDetachNetworkComponent.md +++ b/content/rest/getAttachDetachNetworkComponent.md @@ -5,8 +5,8 @@ date: "2017-10-02" classes: ["SoftLayer_Network_SecurityGroup"] tags: - "securitygroups" - - "attachNetworkComponents" - - "detachNetworkComponents" + - "attachnetworkcomponents" + - "detachnetworkcomponents" --- ### Get the network component IDs for a VSI diff --git a/content/rest/getKvmDetails.md b/content/rest/getKvmDetails.md index 58eccf13f8..4c0a78b490 100644 --- a/content/rest/getKvmDetails.md +++ b/content/rest/getKvmDetails.md @@ -4,8 +4,8 @@ description: "Retrieve the IP, username, and password needed to access the KVM c date: "2017-05-04" classes: ["SoftLayer_Virtual_Guest"] tags: - - "objectMask" - - "getObject" + - "objectmask" + - "getobject" --- Operation: `GET` diff --git a/content/rest/getVerboseBmDetails.md b/content/rest/getVerboseBmDetails.md index 50628dcfa4..789b2b70d7 100644 --- a/content/rest/getVerboseBmDetails.md +++ b/content/rest/getVerboseBmDetails.md @@ -5,8 +5,8 @@ description: "Retrieve the packages, categories and items associated with a Bare date: "2016-12-29" classes: ["SoftLayer_Hardware"] tags: - - "objectMask" - - "getObject" + - "objectmask" + - "getobject" --- Operation: `GET` diff --git a/content/rest/getVerboseVsiDetails.md b/content/rest/getVerboseVsiDetails.md index eef85fd2b3..67e1223b4e 100644 --- a/content/rest/getVerboseVsiDetails.md +++ b/content/rest/getVerboseVsiDetails.md @@ -5,8 +5,8 @@ description: "Retrieve the packages, categories and items associated with a Virt date: "2016-12-29" classes: ["SoftLayer_Virtual_Guest"] tags: - - "objectMask" - - "getObject" + - "objectmask" + - "getobject" --- Operation: `GET` diff --git a/content/rest/get_billing_id.md b/content/rest/get_billing_id.md index 156b97826d..c16bc4fe28 100644 --- a/content/rest/get_billing_id.md +++ b/content/rest/get_billing_id.md @@ -6,7 +6,7 @@ date: "2015-12-30" classes: ["SoftLayer_Network_Storage"] tags: - "billing" - - "getBillingItem" + - "getbillingitem" --- Operation: `GET` diff --git a/content/rest/get_hardware_components.md b/content/rest/get_hardware_components.md index cf90d9a903..a2c6d52264 100644 --- a/content/rest/get_hardware_components.md +++ b/content/rest/get_hardware_components.md @@ -5,7 +5,7 @@ date: "2015-09-30" classes: - "SoftLayer_Account" tags: - - "objectMask" + - "objectmask" - "hardware" --- diff --git a/content/rest/get_hardware_hostname.md b/content/rest/get_hardware_hostname.md index f7c2997dd9..298f006ed5 100644 --- a/content/rest/get_hardware_hostname.md +++ b/content/rest/get_hardware_hostname.md @@ -5,7 +5,7 @@ date: "2015-09-30" classes: - "SoftLayer_Account" tags: - - "objectMask" + - "objectmask" --- Operation: `GET` diff --git a/content/rest/get_hostnames.md b/content/rest/get_hostnames.md index 48761a282d..a1efc133d8 100644 --- a/content/rest/get_hostnames.md +++ b/content/rest/get_hostnames.md @@ -5,7 +5,7 @@ date: "2015-09-30" classes: - "SoftLayer_Account" tags: - - "objectMask" + - "objectmask" --- Operation: `GET` diff --git a/content/rest/get_virtual_server_details.md b/content/rest/get_virtual_server_details.md index e1cd179d4c..23ee099afd 100644 --- a/content/rest/get_virtual_server_details.md +++ b/content/rest/get_virtual_server_details.md @@ -5,7 +5,7 @@ date: "2015-02-15" classes: ["SoftLayer_Virtual_Guest"] tags: - "vsi" - - "objectMask" + - "objectmask" --- Operation: `GET` diff --git a/content/rest/hourlycost_date.md b/content/rest/hourlycost_date.md index 96ea189076..0ca2ca0f43 100644 --- a/content/rest/hourlycost_date.md +++ b/content/rest/hourlycost_date.md @@ -5,9 +5,9 @@ description: "Determine the month-to-date cost of an hourly Virtual_Guest using date: "2015-12-30" classes: ["SoftLayer_Virtual_Guest"] tags: - - "getBillingItem" + - "getbillingitem" - "billing" - - "objectMask" + - "objectmask" --- Operation: `GET` diff --git a/content/rest/migrateVsiDisk.md b/content/rest/migrateVsiDisk.md index ebd04eaa60..03083334ab 100644 --- a/content/rest/migrateVsiDisk.md +++ b/content/rest/migrateVsiDisk.md @@ -7,8 +7,8 @@ date: "2016-11-04" classes: ["SoftLayer_Product_Order"] tags: - "upgrade" - - "placeOrder" - - "verifyOrder" + - "placeorder" + - "verifyorder" --- Operation: `POST` diff --git a/content/rest/next_bill.md b/content/rest/next_bill.md index e30066a0be..13981861d3 100644 --- a/content/rest/next_bill.md +++ b/content/rest/next_bill.md @@ -5,7 +5,7 @@ date: "2015-12-30" classes: ["SoftLayer_Account"] tags: - "billing" - - "getNextInvoiceTotalAmount" + - "getnextinvoicetotalamount" --- Operation: `GET` diff --git a/content/rest/orderLB.md b/content/rest/orderLB.md index 052dc897e6..be3ab0cf5e 100644 --- a/content/rest/orderLB.md +++ b/content/rest/orderLB.md @@ -5,8 +5,8 @@ description: "Use verifyOrder and placeOrder to order a new Local Load Balancer" date: "2016-05-05" classes: ["SoftLayer_Product_Order"] tags: - - "verifyOrder" - - "placeOrder" + - "verifyorder" + - "placeorder" --- Operation: `POST` diff --git a/content/rest/place_order.md b/content/rest/place_order.md index b673f211c7..bc7eb34613 100644 --- a/content/rest/place_order.md +++ b/content/rest/place_order.md @@ -7,8 +7,8 @@ date: "2015-09-30" classes: ["SoftLayer_Product_Order"] tags: - "ordering" - - "placeOrder" - - "objectMask" + - "placeorder" + - "objectmask" - "deprecated" --- diff --git a/content/rest/spare_pool.md b/content/rest/spare_pool.md index 2b28e41d3b..98a29d9c9b 100644 --- a/content/rest/spare_pool.md +++ b/content/rest/spare_pool.md @@ -9,7 +9,7 @@ classes: tags: - "spare pool" - "server" - - "objectFilter" + - "objectfilter" --- Operation: `GET` diff --git a/content/rest/storage_credentials.md b/content/rest/storage_credentials.md index 974fd2c0d3..8c804e42a4 100644 --- a/content/rest/storage_credentials.md +++ b/content/rest/storage_credentials.md @@ -5,9 +5,9 @@ description: "Retrieving the username and password for Performance/Endurance Blo date: "2016-08-08" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - - "Iscsi" - - "BlockStorage" - - "getObject" + - "iscsi" + - "blockstorage" + - "getobject" --- Operation: `GET` diff --git a/content/ruby/addRemoveSecurityGroupRules.md b/content/ruby/addRemoveSecurityGroupRules.md index 211d146405..a3ec3ab41a 100644 --- a/content/ruby/addRemoveSecurityGroupRules.md +++ b/content/ruby/addRemoveSecurityGroupRules.md @@ -6,9 +6,9 @@ classes: - "SoftLayer_Network_SecurityGroup" tags: - "securitygroups" - - "objectTemplate" - - "addRules" - - "removeRules" + - "objecttemplate" + - "addrules" + - "removerules" --- ### Adding Rules diff --git a/content/ruby/adjustpool.md b/content/ruby/adjustpool.md index be07029223..ee5327194f 100644 --- a/content/ruby/adjustpool.md +++ b/content/ruby/adjustpool.md @@ -4,7 +4,7 @@ description: "Adding and removing Virtual Guests and Bare Metal Servers in an ex date: "2016-08-22" classes: ["SoftLayer_Network_Bandwidth_Version1_Allotment"] tags: - - "BandwidthPool" + - "bandwidthpool" --- The following script allows you to add and remove servers in an existing bandwidth pool. The script requires empty arrays when not specifying a Bare Metal or Virtual Guest Id. diff --git a/content/ruby/attach_detach.md b/content/ruby/attach_detach.md index 8673a1b3a8..323bde670d 100644 --- a/content/ruby/attach_detach.md +++ b/content/ruby/attach_detach.md @@ -4,10 +4,10 @@ description: "Attaching and detaching secondary block devices on Virtual Guests" date: "2016-08-22" classes: ["SoftLayer_Virtual_Guest"] tags: - - "attachDiskImage" - - "detachDiskImage" - - "getPortableStorageVolumes" - - "checkHostDiskAvailability" + - "attachdiskimage" + - "detachdiskimage" + - "getportablestoragevolumes" + - "checkhostdiskavailability" --- Attaching a currently detached portable block device to a given guest. The disk image will need to be migrated to the host the guest is on, so make sure to check if that host has enough disk space (with checkHostDiskAvailability) before attaching. This is only required for guests with local storage guests. SAN based guests don't need that step. diff --git a/content/ruby/billingfromproduct.md b/content/ruby/billingfromproduct.md index 3b7edb97d7..4e21efa38e 100644 --- a/content/ruby/billingfromproduct.md +++ b/content/ruby/billingfromproduct.md @@ -4,8 +4,8 @@ description: "Determine the billing item of a provisioned product using getBilli date: "2016-01-29" classes: ["SoftLayer_Network_Storage"] tags: - - "getBillingItem" - - "objectMask" + - "getbillingitem" + - "objectmask" --- In the following example we are looking for the Billing Item of an Endurance Storage volume with an ID of 1234567. diff --git a/content/ruby/cancelservice.md b/content/ruby/cancelservice.md index 396b023a0c..b861020350 100644 --- a/content/ruby/cancelservice.md +++ b/content/ruby/cancelservice.md @@ -5,7 +5,7 @@ date: "2016-01-29" classes: ["SoftLayer_Billing_Item"] tags: - "billing" - - "cancelService" + - "cancelservice" --- ```ruby diff --git a/content/ruby/createBwPool.md b/content/ruby/createBwPool.md index 233ddff58c..a99c88345e 100644 --- a/content/ruby/createBwPool.md +++ b/content/ruby/createBwPool.md @@ -4,8 +4,8 @@ description: "This allows you to optimize your bandwidth usage by _pooling_ all date: "2016-08-15" classes: ["SoftLayer_Network_Bandwidth_Version1_Allotment"] tags: - - "orderTemplate" - - "createObject" + - "ordertemplate" + - "createobject" --- ```ruby diff --git a/content/ruby/createSecurityGroup.md b/content/ruby/createSecurityGroup.md index df9049080d..61df4f7389 100644 --- a/content/ruby/createSecurityGroup.md +++ b/content/ruby/createSecurityGroup.md @@ -6,7 +6,7 @@ classes: - "SoftLayer_Network_SecurityGroup" tags: - "securitygroups" - - "objectTemplate" + - "objecttemplate" --- ```ruby diff --git a/content/ruby/createSnapshot.md b/content/ruby/createSnapshot.md index f104507aa2..18995f7b18 100644 --- a/content/ruby/createSnapshot.md +++ b/content/ruby/createSnapshot.md @@ -5,8 +5,8 @@ date: "2016-08-11" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - "iscsi" - - "blockStorage" - - "objectMask" + - "blockstorage" + - "objectmask" --- Trigger a manual snapshot creation of a Block storage volume. diff --git a/content/ruby/determining_device_owners.md b/content/ruby/determining_device_owners.md index 1c3fea8719..226b8c3604 100644 --- a/content/ruby/determining_device_owners.md +++ b/content/ruby/determining_device_owners.md @@ -5,8 +5,8 @@ date: "2015-10-09" classes: ["SoftLayer_Account"] tags: - "customer" - - "objectMask" - - "objectFilter" + - "objectmask" + - "objectfilter" --- ```ruby diff --git a/content/ruby/enableSnapshots.md b/content/ruby/enableSnapshots.md index bc9581d461..7c5551dcba 100644 --- a/content/ruby/enableSnapshots.md +++ b/content/ruby/enableSnapshots.md @@ -4,8 +4,8 @@ description: "Create a snapshot schedule for Endurance storage." date: "2016-08-23" classes: ["SoftLayer_Network_Storage"] tags: - - "enableSnapshots" - - "blockStorage" + - "enablesnapshots" + - "blockstorage" --- This method is not valid for Legacy iSCSI Storage Volumes. You need to have already purchased snapshot space for the script to work properly. diff --git a/content/ruby/externalBindingUsers.md b/content/ruby/externalBindingUsers.md index c4ecc68b14..a287b25eb3 100644 --- a/content/ruby/externalBindingUsers.md +++ b/content/ruby/externalBindingUsers.md @@ -4,8 +4,8 @@ date: "2017-08-09" classes: - "SoftLayer_Account" tags: - - "objectFilter" - - "objectMask" + - "objectfilter" + - "objectmask" --- diff --git a/content/ruby/getDedicatedHostAllocation.md b/content/ruby/getDedicatedHostAllocation.md index 1e2efdb824..b446e873b1 100644 --- a/content/ruby/getDedicatedHostAllocation.md +++ b/content/ruby/getDedicatedHostAllocation.md @@ -6,8 +6,8 @@ classes: - "SoftLayer_Virtual_DedicatedHost" - "SoftLayer_Account" tags: - - "getAllocationStatus" - - "getDedicatedHosts" + - "getallocationstatus" + - "getdedicatedhosts" --- The first thing you need to get is a list of the Dedicated Hosts on your account. To list the Dedicated Hosts on your account you can use the following code: diff --git a/content/ruby/getDedicatedHostGuests.md b/content/ruby/getDedicatedHostGuests.md index 3795865dd8..11a2a3f6f4 100644 --- a/content/ruby/getDedicatedHostGuests.md +++ b/content/ruby/getDedicatedHostGuests.md @@ -6,8 +6,8 @@ classes: - "SoftLayer_Virtual_DedicatedHost" - "SoftLayer_Account" tags: - - "getDedicatedHosts" - - "getGuests" + - "getdedicatedhosts" + - "getguests" --- The first thing you need to get is a list of the Dedicated Hosts on your account. To list the Dedicated Hosts on your account you can use the following code: diff --git a/content/ruby/getKvmDetails.md b/content/ruby/getKvmDetails.md index c22bd0587b..f04ee5ea57 100644 --- a/content/ruby/getKvmDetails.md +++ b/content/ruby/getKvmDetails.md @@ -4,8 +4,8 @@ description: "Retrieve the IP, username, and password needed to access the KVM c date: "2017-05-04" classes: ["SoftLayer_Virtual_Guest"] tags: - - "objectMask" - - "getObject" + - "objectmask" + - "getobject" --- diff --git a/content/ruby/getLocationPricing.md b/content/ruby/getLocationPricing.md index a67a6a592b..f716466718 100644 --- a/content/ruby/getLocationPricing.md +++ b/content/ruby/getLocationPricing.md @@ -5,8 +5,8 @@ description: "Use an object filter to return the Location Based pricing informat date: "2016-09-01" classes: ["SoftLayer_Product_Package"] tags: - - "objectFilter" - - "objectMask" + - "objectfilter" + - "objectmask" - "pricing" --- diff --git a/content/ruby/getNotifications.md b/content/ruby/getNotifications.md index ae5fae61e7..9e5a555e0e 100644 --- a/content/ruby/getNotifications.md +++ b/content/ruby/getNotifications.md @@ -5,7 +5,7 @@ date: "2017-04-02" classes: ["SoftLayer_Notification_Occurrence_Event"] tags: - "notification" - - "objectFilter" + - "objectfilter" --- Retrieves all notifications that were created on January 1, 2016. diff --git a/content/ruby/getSecurityGroupDetails.md b/content/ruby/getSecurityGroupDetails.md index 4d606586bf..b3fd30b0f5 100644 --- a/content/ruby/getSecurityGroupDetails.md +++ b/content/ruby/getSecurityGroupDetails.md @@ -5,7 +5,7 @@ date: "2017-08-09" classes: - "SoftLayer_Network_SecurityGroup" tags: - - "getAllObjects" + - "getallobjects" --- ```ruby diff --git a/content/ruby/getVerboseBmDetails.md b/content/ruby/getVerboseBmDetails.md index 8c4bcaa9df..f16c727fee 100644 --- a/content/ruby/getVerboseBmDetails.md +++ b/content/ruby/getVerboseBmDetails.md @@ -4,8 +4,8 @@ description: "Retrieve the packages, categories and items associated with a Bare date: "2016-12-29" classes: ["SoftLayer_Hardware"] tags: - - "objectMask" - - "getObject" + - "objectmask" + - "getobject" --- This script will get the Packages, Categories, and items associated with a Bare Metal Server. diff --git a/content/ruby/getVerboseVsiDetails.md b/content/ruby/getVerboseVsiDetails.md index 9f4a522341..7ae4e0d9b6 100644 --- a/content/ruby/getVerboseVsiDetails.md +++ b/content/ruby/getVerboseVsiDetails.md @@ -4,8 +4,8 @@ description: "Retrieve the packages, categories and items associated with a Virt date: "2016-12-29" classes: ["SoftLayer_Virtual_Guest"] tags: - - "objectMask" - - "getObject" + - "objectmask" + - "getobject" --- This script will get the Packages, Categories, and items associated with a Virtual Guest. diff --git a/content/ruby/get_ipmi.md b/content/ruby/get_ipmi.md index 2e24ec01d9..5896525995 100644 --- a/content/ruby/get_ipmi.md +++ b/content/ruby/get_ipmi.md @@ -5,7 +5,7 @@ date: "2016-08-22" classes: - "SoftLayer_Account" tags: - - "IPMI" + - "ipmi" - "dedicated" - "auth" --- diff --git a/content/ruby/lbaasLoadBalancer.rb.md b/content/ruby/lbaasLoadBalancer.rb.md index 6eb05c6c8f..850d474432 100644 --- a/content/ruby/lbaasLoadBalancer.rb.md +++ b/content/ruby/lbaasLoadBalancer.rb.md @@ -7,7 +7,7 @@ date: "2020-07-08" classes: - "SoftLayer_Network_LBaaS_LoadBalancer" tags: - - "LBaaS_LoadBalancer" + - "lbaas_loadbalancer" --- [Lbaas_LoadBalancer](https://sldn.softlayer.com/reference/services/SoftLayer_Network_LBaaS_LoadBalancer/) diff --git a/content/ruby/listVsiBlockDeviceSizes.md b/content/ruby/listVsiBlockDeviceSizes.md index fb6a4ef200..75c1936e06 100644 --- a/content/ruby/listVsiBlockDeviceSizes.md +++ b/content/ruby/listVsiBlockDeviceSizes.md @@ -4,8 +4,8 @@ description: "Show all block devices connected to your Virtual Guests as well as date: "2017-04-03" classes: ["SoftLayer_Account"] tags: - - "objectMask" - - "blockDevices" + - "objectmask" + - "blockdevices" --- diff --git a/content/ruby/list_instances.md b/content/ruby/list_instances.md index c4aa71bb46..bf1f3b0492 100644 --- a/content/ruby/list_instances.md +++ b/content/ruby/list_instances.md @@ -3,7 +3,7 @@ title: "List Instances" description: "Shows how to use the ruby client's VirtualServer class" date: "2015-10-06" tags: - - "VirtualServer" + - "virtualserver" --- ```ruby diff --git a/content/ruby/migrateDedicatedInstance.md b/content/ruby/migrateDedicatedInstance.md index 8d74248406..85de927853 100644 --- a/content/ruby/migrateDedicatedInstance.md +++ b/content/ruby/migrateDedicatedInstance.md @@ -6,8 +6,8 @@ classes: - "SoftLayer_Virtual_Guest" - "SoftLayer_Account" tags: - - "migrateDedicatedHost" - - "getDedicatedHosts" + - "migratededicatedhost" + - "getdedicatedhosts" --- The first thing you need to get is a list of the Dedicated Hosts on your account. To list the Dedicated Hosts on your account you can use the following code: diff --git a/content/ruby/migrateVsi.md b/content/ruby/migrateVsi.md index d9e143fe21..eba069c801 100644 --- a/content/ruby/migrateVsi.md +++ b/content/ruby/migrateVsi.md @@ -4,8 +4,8 @@ description: "Example on how to call verifyOrder / placeOrder via REST to migrat date: "2016-11-07" classes: ["SoftLayer_Product_Order"] tags: - - "placeOrder" - - "verifyOrder" + - "placeorder" + - "verifyorder" - "upgrade" --- diff --git a/content/ruby/monthtodate.md b/content/ruby/monthtodate.md index 7f53493e92..5eae6fd8c1 100644 --- a/content/ruby/monthtodate.md +++ b/content/ruby/monthtodate.md @@ -5,7 +5,7 @@ date: "2016-01-29" classes: ["Virtual_Guest"] tags: - "billing" - - "objectMask" + - "objectmask" --- ```ruby diff --git a/content/ruby/orderLB.md b/content/ruby/orderLB.md index e47493d4c2..9ec4bfac0c 100644 --- a/content/ruby/orderLB.md +++ b/content/ruby/orderLB.md @@ -4,8 +4,8 @@ description: "Order a local load balancer using SoftLayer_Product_Item_Price obj date: "2016-05-18" classes: ["SoftLayer_Product_Order"] tags: - - "placeOrder" - - "verifyOrder" + - "placeorder" + - "verifyorder" --- ```ruby diff --git a/content/ruby/product_package.rb.md b/content/ruby/product_package.rb.md index 8e9efb527c..46ba0015d2 100644 --- a/content/ruby/product_package.rb.md +++ b/content/ruby/product_package.rb.md @@ -6,7 +6,7 @@ date: "2020-07-01" classes: - "SoftLayer_Product_Package" tags: - - "Product_Package" + - "product_package" --- [Product_Package](https://https://sldn.softlayer.com/reference/services/SoftLayer_Product_Package/) diff --git a/content/ruby/reloadCustomPartition.md b/content/ruby/reloadCustomPartition.md index 56f1d4120b..377d5d7372 100644 --- a/content/ruby/reloadCustomPartition.md +++ b/content/ruby/reloadCustomPartition.md @@ -4,7 +4,7 @@ description: "The script will issue an OS reload on your Bare Metal server with date: "2017-03-31" classes: ["Hardware_Server"] tags: - - "reloadOperatingSystem" + - "reloadoperatingsystem" --- The following code allows you to reload a Bare Metal server with a custom partitioning scheme. You simply need to change the serverId and the partitions to suit your needs. Note that one partition must be marked as the 'grow' partition. diff --git a/content/ruby/reloadWithSshhardware.md b/content/ruby/reloadWithSshhardware.md index a83c004b50..848226eb3c 100644 --- a/content/ruby/reloadWithSshhardware.md +++ b/content/ruby/reloadWithSshhardware.md @@ -4,7 +4,7 @@ description: "Reloads a server with an image template and some ssh keys" date: "2017-04-02" classes: ["SoftLayer_Hardware_Server"] tags: - - "reloadOperatingSystem" + - "reloadoperatingsystem" - "reload" - "server" --- diff --git a/content/ruby/server_locate.md b/content/ruby/server_locate.md index 7153986732..f492d33af5 100644 --- a/content/ruby/server_locate.md +++ b/content/ruby/server_locate.md @@ -6,8 +6,8 @@ classes: ["SoftLayer_Account"] tags: - "virtual" - "datacenter" - - "objectMask" - - "objectFilter" + - "objectmask" + - "objectfilter" --- diff --git a/content/ruby/storage_creds.md b/content/ruby/storage_creds.md index fcf61253e3..99e6762a53 100644 --- a/content/ruby/storage_creds.md +++ b/content/ruby/storage_creds.md @@ -5,9 +5,9 @@ description: "Retrieving the username and password for Performance/Endurance Blo date: "2016-08-08" classes: ["SoftLayer_Network_Storage_Iscsi"] tags: - - "objectMask" - - "blockStorage" - - "getObject" + - "objectmask" + - "blockstorage" + - "getobject" --- The following script allows you retrieve the username and password for Performance/Endurance Block storage if you have authorized hosts against the storage. diff --git a/layouts/partials/title.html b/layouts/partials/title.html index 40ab17d4d2..5e36a97399 100755 --- a/layouts/partials/title.html +++ b/layouts/partials/title.html @@ -15,7 +15,7 @@

{{ .Title }}


Tags {{ range .Params.tags }} - {{ . }} + {{ . | lower }} {{ end }} \ No newline at end of file diff --git a/scriptsTools/convertAllTagsToLowercase.js b/scriptsTools/convertAllTagsToLowercase.js new file mode 100644 index 0000000000..4526c76267 --- /dev/null +++ b/scriptsTools/convertAllTagsToLowercase.js @@ -0,0 +1,91 @@ +let shell = require('shelljs') +const fs = require('fs') + +const ROUTE_FILES = 'C:/Users/LVV941629/Forks/Edson/githubio_source/content' +const FIND_STRING_TAG = 'tags:' +const CONDITION_STR_TO_FINISH_THE_CHANGE = ['---', 'aliases:', 'author: "sldn"', 'classes:'] +const IGNORE_DIRECTORIES = ['reference/', 'release_notes/'] +// Codes ASCII +const CODE_LINE_BREAK = 10 + +let listFiles = shell.exec( + `cd ${ROUTE_FILES} & find . -type f` +) + +let arrayFilesAddress = separateByLineBreak(listFiles.stdout) +arrayFilesAddress = ignoreDirectories(IGNORE_DIRECTORIES, arrayFilesAddress) +reviewFiles(arrayFilesAddress) + +function reviewFiles(arrayFilesAddress) { + for (let index = 0; index < arrayFilesAddress.length; index++) { + let file = fs.readFileSync(ROUTE_FILES + arrayFilesAddress[index], "utf8") + fs.writeFileSync(ROUTE_FILES + arrayFilesAddress[index], cleanTags(file)) + console.log("File changed:", ROUTE_FILES + arrayFilesAddress[index]) + } +} + +function cleanTags(file) { + let finalString = '' + let newOneLineString = '' + let sw = 0 + for (let index = 0; index < file.length; index++) { + if (file.charCodeAt(index) != CODE_LINE_BREAK) { + newOneLineString += file.charAt(index) + } else { + if (newOneLineString.substring(0, newOneLineString.length - 1) == FIND_STRING_TAG) { + sw = 1 + } + if (verifyConditionForFinishTags(CONDITION_STR_TO_FINISH_THE_CHANGE, newOneLineString.substring(0, newOneLineString.length - 1)) && sw == 1) { + sw = 0 + } + if (sw == 1) { + newOneLineString = newOneLineString.toLowerCase() + } + newOneLineString += file.charAt(index) + finalString += newOneLineString + newOneLineString = '' + } + } + finalString += newOneLineString + return finalString +} + +function verifyConditionForFinishTags(conditionStrToFinishChange, stringToVerify) { + for (let index = 0; index < conditionStrToFinishChange.length; index++) { + if (conditionStrToFinishChange[index] == stringToVerify) { + return true + } + } + return false +} + +function separateByLineBreak(bigString) { + let oneLineString = "" + let arrayString = [] + for (let index = 0; index < bigString.length; index++) { + if (bigString.charCodeAt(index) != CODE_LINE_BREAK) { + oneLineString += bigString.charAt(index) + } else { + arrayString.push(oneLineString.substring(1, oneLineString.length)) + oneLineString = "" + } + } + return arrayString +} + +function ignoreDirectories(arrayIgnoreDirectories, arrayFilesAddress) { + let arrayDirectoriesCleaned = [] + let sw = 0 + for (let indexI = 0; indexI < arrayFilesAddress.length; indexI++) { + for (let indexJ = 0; indexJ < arrayIgnoreDirectories.length; indexJ++) { + if (arrayFilesAddress[indexI].indexOf(arrayIgnoreDirectories[indexJ]) >= 0) { + sw = 1 + } + } + if (sw == 0) { + arrayDirectoriesCleaned.push(arrayFilesAddress[indexI]) + } + sw = 0 + } + return arrayDirectoriesCleaned +} diff --git a/scriptsTools/package.json b/scriptsTools/package.json new file mode 100644 index 0000000000..cf4a086496 --- /dev/null +++ b/scriptsTools/package.json @@ -0,0 +1,15 @@ +{ + "name": "scriptstools", + "version": "1.0.0", + "description": "Tools for repository", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Edson.Rios@ibm.com", + "license": "MIT", + "dependencies": { + "fs": "^0.0.1-security", + "shelljs": "^0.8.5" + } +}