Items with tag python

Threads for improved API performance Oct 16, 2023
Describes how to use Python's Thread library to improve how quickly API commands can be executed by doing them in parallel instead of in series.

View Example

Trunking VLANs Aug 4, 2022
Some examples of how to add VLAN Trunks. AKA VLAN Tagging

View Example

Working with Firewalls Jan 5, 2022
A few examples on interacting with Firewalls

View Example

Working with User Accounts Jan 3, 2022
A few examples on interacting with User Accounts

View Example

Pagination Examples Nov 12, 2021
A collection of examples on how to properly get large listings of objects from the SoftLayer API using Pagination, Python iterators, and objectFilters.

View Example

Hardware components and versions Apr 27, 2021
Example on how to get hardware components and versions

View Example

Working with Bandwidth Pools Mar 22, 2021
A few examples on interacting with Bandwidth Pools

View Example

Working with Quotes Feb 26, 2021
A few examples on interacting with Quotes

View Example

Compliance Report Request Jan 18, 2021
How to create a Compliance Report Request.

View Example

Order a Virtual and Bare Metal Server by frondend/backend vlan or router Nov 26, 2020
Examples to order a Virtual and Bare Metal Server by frondend/backend vlan or router"

View Example

More Virtual Guest Examples Jul 9, 2020
A few examples on interacting with Virtual Guest

View Example

Working with Tickets Jul 3, 2020
A few examples on interacting with Tickets

View Example

Working with Virtual Guests Jul 2, 2020
A variety of examples on getting information from Virtual Guest Objects

View Example

Managing Image Templates Jun 25, 2020
A variety of examples on how to work with Image Templates, aka SoftLayer_Virtual_Guest_Block_Device_Template_Group

View Example

Working with Tags Feb 19, 2020
A few examples on interacting with Tags

View Example

Working with Network_Pod Jan 22, 2020
A few examples on interacting with Network Pod

View Example

DNS management Jan 6, 2020
How to manage DNS zones and records on SoftLayer's DNS system.

View Example

Working with Metric_Tracking_Object Dec 20, 2019
A few examples on interacting with Metric tracking object

View Example

Image Template Costs Oct 25, 2019
A ROUGH estimate for how much all the image templates on your account will cost.

View Example

Autoscale Oct 3, 2019
Working with the SoftLayer_Scale_Group service.

View Example

Virtual_host.py Jul 27, 2019
Working with Virtual Hosts

View Example

Gets pending invoice with hardware tags Jun 14, 2019
An example that gets the pending invoice along with all the hardware tags.

View Example

Working with CDN Network.py Jun 11, 2019
A few examples on interacting with CDN Network

View Example

Cancel all object storage swift May 14, 2019
Cancel all object storage swift

View Example

Working with virtual guest passwords May 3, 2019
A few examples on interacting with virtual guest credentials.

View Example

Working with suspend virtual server Apr 11, 2019
A few examples on interacting with suspend virtual server.

View Example

CPU and Memory usage in Virtual servers Apr 10, 2019
How the portal page retrieves the memory and cpu usage

View Example

Role Examples Apr 9, 2019
Examples of how Roles works

View Example

Working with upgrade virtual guest dedicated and families Mar 29, 2019
A few examples on interacting with upgrade virtual guest dedicated and families.

View Example

Order a Netscaler Mar 28, 2019
Example of how to order a Citrix NetScaler.

View Example

Advanced Bare Metal Server Ordering Mar 20, 2019
Explains how to build a bare metal order, includes how to get packages, prices (including pcie and gpu items), raid setup and vlans

View Example

Verify items conflicts in ordering Mar 19, 2019
Items conflicts in ordering

View Example

Order Global IP Mar 18, 2019
Order a global IPv4 or IPv6

View Example

Order Static Subnet Mar 18, 2019
Order and attach the static subnet to an specific ip address in a Vlan

View Example

Order Portable Subnet Mar 15, 2019
Add portable private/public subnet to a Vlan

View Example

Various Place Order Examples Mar 14, 2019
place_order_cdn.py

View Example

Bandwidth Usage Reports Feb 13, 2019
Lists each server and virtual guest on an account, and their bandwidth usage throughout the given time period.

View Example

Working with user permissions Dec 12, 2018
A few examples on interacting with user permissions.

View Example

Working with Network Storage Nov 27, 2018
A few examples on interacting with network storage. Ordring volumes and setting notes from that orderId

View Example

Order an endurance storage (block/file) Nov 23, 2018
Shows how to order endurance storage devices

View Example

Order a performance storage (block/file) Nov 22, 2018
Shows how to order performance storage devices

View Example

Manage Block/File storages with python-managers Nov 21, 2018
It shows how to authorize, deauthorize, order replicant volume, etc.

View Example

Order Block/File Storages with Managers Nov 20, 2018
Creates the new STaaS volumenes, they can be performance/endurance file or block devices

View Example

Order an external authentication Sep 26, 2018
It allows to order external authentication like 'Symantec Identity Protection' or 'Phone-based authentication'

View Example

User Access Details Sep 11, 2018
Prints out a list of users, and what devices they have access to view.

View Example

Add second disk on flavor vsi Aug 9, 2018
Upgrade a flavor vsi in order to add a second disk

View Example

Manage Users Aug 8, 2018
A script to create users and a script to disable users. Used mostly for setting up lab users and then cleaning up after.

View Example

Advanced Quote Ordering Aug 7, 2018
Place an order using a quote with SSH keys and post provisioning scripts. Along with a few examples of how to get the needed data.

View Example

LBaaS Examples Jul 25, 2018
A variety of examples on how to interact with the Load Balancer as a Service offering

View Example

Event Logs May 18, 2018
Some examples of Event Log, with pagination support

View Example

closeAlarm.py Apr 25, 2018
closeAlarm.py

View Example

get_snapshot_space_available.py Apr 25, 2018
get_snapshot_space_available.py

View Example

Ordering with KeyNames Jan 15, 2018
Examples on how to order anything in the catalog with the proper package and item names.

View Example

add_origin_mapping.py Nov 23, 2017
add_origin_mapping.py

View Example

add_portal_permission.py Nov 23, 2017
add_portal_permission.py

View Example

add_service_group.py Nov 23, 2017
add_service_group.py

View Example

add_service_to_service_group.py Nov 23, 2017
add_service_to_service_group.py

View Example

agent_status.py Nov 23, 2017
agent_status.py

View Example

allow_access_from_virtual_guest.py Nov 23, 2017
allow_access_from_virtual_guest.py

View Example

Anti-virus Nov 23, 2017
Some examples for working with the Anti-Virus software.

View Example

associate_vlan.py Nov 23, 2017
associate_vlan.py

View Example

backup_netscaler.py Nov 23, 2017
backup_netscaler.py

View Example

bypass_vlans.py Nov 23, 2017
bypass_vlans.py

View Example

CDN Bandwidth Data Nov 23, 2017
getBandwidthData

View Example

create_customer.py Nov 23, 2017
create_customer.py

View Example

create_dedicated_firewall.py Nov 23, 2017
create_dedicated_firewall.py

View Example

create_network_monitor.py Nov 23, 2017
create_network_monitor.py

View Example

create_notification_subscribers.py Nov 23, 2017
create_notification_subscribers.py

View Example

create_password.py Nov 23, 2017
create_password.py

View Example

create_standard_firewall.py Nov 23, 2017
create_standard_firewall.py

View Example

delet_origin_mapping.py Nov 23, 2017
delet_origin_mapping.py

View Example

delete_image_template.py Nov 23, 2017
delete_image_template.py

View Example

delete_network_notification.py Nov 23, 2017
delete_network_notification.py

View Example

delete_notification_subscriber.py Nov 23, 2017
delete_notification_subscriber.py

View Example

determine_required_items.py Nov 23, 2017
determine_required_items.py

View Example

disassociate_vlan.py Nov 23, 2017
disassociate_vlan.py

View Example

edit_monitoring_notification_ping.py Nov 23, 2017
edit_monitoring_notification_ping.py

View Example

edit_server.py Nov 23, 2017
edit_server.py

View Example

enable_snapshot_endurance.py Nov 23, 2017
enable_snapshot_endurance.py

View Example

get_accounts_brands.py Nov 23, 2017
get_accounts_brands.py

View Example

get_active_presets_prices.py Nov 23, 2017
get_active_presets_prices.py

View Example

get_active_presets.py Nov 23, 2017
get_active_presets.py

View Example

get_available_locations.py Nov 23, 2017
get_available_locations.py

View Example

get_device_configuration_upgrade.py Nov 23, 2017
get_device_configuration_upgrade.py

View Example

get_email_delivery_accounts.py Nov 23, 2017
get_email_delivery_accounts.py

View Example

get_gateway_details.py Nov 23, 2017
get_gateway_details.py

View Example

get_graph_image_connections_for_a_service_group.py Nov 23, 2017
get_graph_image_connections_for_a_service_group.py

View Example

get_graph_image_connections_for_a_service.py Nov 23, 2017
get_graph_image_connections_for_a_service.py

View Example

get_graph_image_status_for_a_service.py Nov 23, 2017
get_graph_image_status_for_a_service.py

View Example

get_hostids_for_servers.py Nov 23, 2017
get_hostids_for_servers.py

View Example

get_hostids_for_vsis.py Nov 23, 2017
get_hostids_for_vsis.py

View Example

get_hostids_logs.py Nov 23, 2017
get_hostids_logs.py

View Example

get_invoice.py Nov 23, 2017
get_invoice.py

View Example

get_iops_standard_price.py Nov 23, 2017
get_iops_standard_price.py

View Example

get_item_price_information.py Nov 23, 2017
get_item_price_information.py

View Example

get_item_prices.py Nov 23, 2017
get_item_prices.py

View Example

get_load_balancer_by_order_id.py Nov 23, 2017
get_load_balancer_by_order_id.py

View Example

get_load_balancer_details.py Nov 23, 2017
get_load_balancer_details.py

View Example

get_location_groups.py Nov 23, 2017
get_location_groups.py

View Example

get_location_prices_for_dc.py Nov 23, 2017
get_location_prices_for_dc.py

View Example

get_locations_for_replica.py Nov 23, 2017
get_locations_for_replica.py

View Example

get_locations.py Nov 23, 2017
get_locations.py

View Example

get_metric.py Nov 23, 2017
get_metric.py

View Example

get_object.py Nov 23, 2017
get_object.py

View Example

get_partition_template.py Nov 23, 2017
get_partition_template.py

View Example

get_passwords_for_a_server.py Nov 23, 2017
get_passwords_for_a_server.py

View Example

get_passwrods_for_a_vsi.py Nov 23, 2017
get_passwrods_for_a_vsi.py

View Example

get_presets.py Nov 23, 2017
get_presets.py

View Example

get_prices_per_dc_from_presets.py Nov 23, 2017
get_prices_per_dc_from_presets.py

View Example

get_scan_details.py Nov 23, 2017
get_scan_details.py

View Example

get_scans.py Nov 23, 2017
get_scans.py

View Example

get_schedules.py Nov 23, 2017
get_schedules.py

View Example

get_server_cost.py Nov 23, 2017
get_server_cost.py

View Example

get_server_details.py Nov 23, 2017
get_server_details.py

View Example

get_specific_packages.py Nov 23, 2017
get_specific_packages.py

View Example

get_standard_prices.py Nov 23, 2017
get_standard_prices.py

View Example

get_standard_rules.py Nov 23, 2017
get_standard_rules.py

View Example

get_storage_space_prices_for_location.py Nov 23, 2017
get_storage_space_prices_for_location.py

View Example

get_storage_space_standard_prices.py Nov 23, 2017
get_storage_space_standard_prices.py

View Example

get_subnet_details.py Nov 23, 2017
get_subnet_details.py

View Example

get_subnets.py Nov 23, 2017
get_subnets.py

View Example

get_transcode_ftp_credencials.py Nov 23, 2017
get_transcode_ftp_credencials.py

View Example

get_transcode_jobs.py Nov 23, 2017
get_transcode_jobs.py

View Example

get_transcoding_account.py Nov 23, 2017
get_transcoding_account.py

View Example

get_unattached_portable_storages.py Nov 23, 2017
get_unattached_portable_storages.py

View Example

get_virtual_guest_billing_items.py Nov 23, 2017
get_virtual_guest_billing_items.py

View Example

get_vlan_for_account.py Nov 23, 2017
get_vlan_for_account.py

View Example

get_vlan_rules.py Nov 23, 2017
get_vlan_rules.py

View Example

get_vlan.py Nov 23, 2017
get_vlan.py

View Example

get_vlans_for_order.py Nov 23, 2017
get_vlans_for_order.py

View Example

getAvailableRouters.py Nov 23, 2017
getAvailableRouters.py

View Example

getDedicatedHostToMigrate.py Nov 23, 2017
getDedicatedHostToMigrate.py

View Example

List items for a Server Order Nov 23, 2017
The script displays the available data centers and items for a package.

View Example

List Planned Events Nov 23, 2017
The script retrieves all the planned events that impact your account

View Example

list_passwords.py Nov 23, 2017
list_passwords.py

View Example

load_balancer_edit.py Nov 23, 2017
load_balancer_edit.py

View Example

migrateDedicatedHost.py Nov 23, 2017
migrateDedicatedHost.py

View Example

modify_device_configuration.py Nov 23, 2017
modify_device_configuration.py

View Example

Monitoring Agent Management Nov 23, 2017
A collection of examples on how to interact with the Monitoring Agent

View Example

order_dedicated_firewall.py Nov 23, 2017
order_dedicated_firewall.py

View Example

order_email_delivery_account.py Nov 23, 2017
order_email_delivery_account.py

View Example

order_evault.py Nov 23, 2017
order_evault.py

View Example

order_load_balancer.py Nov 23, 2017
order_load_balancer.py

View Example

order_preset_server.py Nov 23, 2017
order_preset_server.py

View Example

order_vsi_friendly.py Nov 23, 2017
order_vsi_friendly.py

View Example

order_vyatta.py Nov 23, 2017
order_vyatta.py

View Example

orderDedicatedHost.py Nov 23, 2017
orderDedicatedHost.py

View Example

orderVSIOnDedicatedHost.py Nov 23, 2017
orderVSIOnDedicatedHost.py

View Example

os_reload_configuration_page.py Nov 23, 2017
os_reload_configuration_page.py

View Example

planned_events.py Nov 23, 2017
planned_events.py

View Example

purcharse_hostids.py Nov 23, 2017
purcharse_hostids.py

View Example

purchase_anti_virus.py Nov 23, 2017
purchase_anti_virus.py

View Example

purchase_spyware.py Nov 23, 2017
purchase_spyware.py

View Example

remove_access_from_virtual_guest.py Nov 23, 2017
remove_access_from_virtual_guest.py

View Example

remove_service_group.py Nov 23, 2017
remove_service_group.py

View Example

remove_service.py Nov 23, 2017
remove_service.py

View Example

reset_connections_service_group.py Nov 23, 2017
reset_connections_service_group.py

View Example

route_global_ip.py Nov 23, 2017
route_global_ip.py

View Example

route_vlans.py Nov 23, 2017
route_vlans.py

View Example

set_user_data_bare_metal.py Nov 23, 2017
set_user_data_bare_metal.py

View Example

set_user_metadata.py Nov 23, 2017
set_user_metadata.py

View Example

share_image_template.py Nov 23, 2017
share_image_template.py

View Example

status_local.py Nov 23, 2017
status_local.py

View Example

switch_port_stats.py Nov 23, 2017
switch_port_stats.py

View Example

unplanned_events.py Nov 23, 2017
unplanned_events.py

View Example

unroute_global_ip.py Nov 23, 2017
unroute_global_ip.py

View Example

Update Firmware Nov 23, 2017
An explanation of how to update the firmware on a bare metal server using the Python SDK.

View Example

update_anitvirus_spyware_policy.py Nov 23, 2017
update_anitvirus_spyware_policy.py

View Example

update_hostids.py Nov 23, 2017
update_hostids.py

View Example

Upgrade Local Load Balancer Nov 23, 2017
It upgrades the connection speed limit

View Example

upgrade_bare_metal_server.py Nov 23, 2017
upgrade_bare_metal_server.py

View Example

Add, list, and remove security group rules Oct 18, 2017
Examples for adding, listing, and removing rules from security groups

View Example

Create, list, get, and delete security groups Oct 18, 2017
Examples for creating, listing, getting, and deleting security groups

View Example

VSIs and security groups Oct 18, 2017
Examples for associating and disassociating VSIs with security groups

View Example

Object Storage Uploader Sep 13, 2017
Import customer-supplied Virtual Hard Disks (VHDs) to our object storage offering.

View Example

Get Dedicated Host Allocation Aug 4, 2017
Retrieve the CPU, Ram, Storage allocations on a dedicated host.

View Example

Get Dedicated Host Guests Aug 4, 2017
Get a list of VSIs that have been deployed to a Dedicated Host.

View Example

Migrate a VSI between dedicated hosts Aug 4, 2017
Migrate a Dedicated Host instance to another Dedicated Host. You can migrate your dedicated host instances from one host to another within the same POD.

View Example

Router Model Map Jun 23, 2017
Finds the model number of all networking equipment that is on the way to servers on the account.

View Example

Provision Times Jun 12, 2017
Generates a report of how long servers took to provision

View Example

Get bills by user Jun 9, 2017
Goes through the upcoming invoice, collects billing items by their user, and prints out the results along with a sum of costs

View Example

Network Topology Mar 17, 2017
Prints out a rough topology of your network. DC -> Router -> Vlan -> Server, and includes gateways if applicable

View Example

Endurance Storage Replication Feb 21, 2017
Examples on ordering, snapshots, and replication for endurance storage.

View Example

Bandwidth Pools Feb 16, 2017
An example of getting information on portable subnets and servers in a bandwidth pool.

View Example

Get verbose details about a Bare Metal Server Dec 29, 2016
Retrieve the packages, categories and items associated with a Bare Metal Server.

View Example

Get a list of Virtual Guests and Bare Metal servers per Pod in a Datacenter Nov 18, 2016
List active Bare Metal and Virtual servers from each pod from a specific datacenter.

View Example

Migrating a VSI from SAN to Local Storage and vice-versa Nov 7, 2016
Example on how to call verifyOrder / placeOrder via REST to migrate a Virtual_Guest from SAN to Local storage and vice-versa.

View Example

Create a snapshot schedule Aug 23, 2016
Create a snapshot schedule for Endurance storage.

View Example

Create Storage Snapshot Aug 11, 2016
Initiate a manual snapshot of an Endurance or Performance Block storage volume.

View Example

Order a Local Load Balancer Apr 29, 2016
Order a local load balancer using SoftLayer_Product_Item_Price objects

View Example

Get storage credentials for Block Storage Apr 28, 2016
Retrieving the username and password for Performance/Endurance Block storage

View Example

Find Location specific pricing for a package Apr 12, 2016
Use an object filter and object mask to return the Location Based pricing information for a SoftLayer package.

View Example

Upgrade Hardware and Virtual Servers Mar 22, 2016
A few examples on how to find upgrade prices, actually do the upgrade with a maintenance window, and verify everything.

View Example

Attach and Detach a Block Device to a Virtual_Guest Mar 3, 2016
Attaching and detaching secondary block devices on Virtual Guests

View Example

Get Notifications Feb 26, 2016
Gets a list of upcoming maintenance events

View Example

Get tickets using an objectFilter Feb 26, 2016
Pulls down all the cancellation tickets created after a set date, along with any updates

View Example

Cancel an item or service Feb 8, 2016
Use cancelService to cancel an item or service

View Example

Determining your next bill Feb 8, 2016
Example on how to use getNextInvoiceTotalAmount to retrieve the pre-tax total amount of an account's next invoice measured in US Dollars ($USD)

View Example

Find a billing item from a provisioned product Feb 8, 2016
Determine the billing item of a provisioned product using getBillingItem

View Example

Reload Server Examples Jan 28, 2016
A variety of ways to perform an OS reload on bare metal servers

View Example

Modify the configuration for a Bare Metal Server. Jan 11, 2016
Shows how to edit the current configuration of a Bare Metal Server.

View Example

Edit IP address note Dec 11, 2015
Shows how to get and set the notes for individual IP addresses.

View Example

Order an SSL Certificate Nov 11, 2015
Explains how to get the information requried to order an SSL Certificate

View Example

List Packages Aug 28, 2015
A handy script with a few examples on how to interact with packages

View Example

Create a new virtual server with all options Aug 1, 2015
Creates a new virtual server (VSI) and demonstrates the many options that can be used to customize the creation. The code includes a commented out section that will create a price quote for the order instead of actually placing the virtual server order.

View Example

Find active VMs by creator Jun 23, 2015
Retrieves the list of virtual instances (VSIs) by the person who created them. If no parameter is provided the code uses the ID you are logged into the SL CLI with.

View Example

Get IPMI info for BMS Sep 1, 2014
Retrieve IPMI address, username, and password for all hardware on the account

View Example

Required price IDs for package Sep 1, 2014
For any package retrieve a list of options organized by required category

View Example

Place quote order Feb 12, 2014
Retrieve an order object from a quote and place an order based on it

View Example