4.5.4. Traffic Director

The services module contains interfaces to all of the various service management features offered by the dyn.tm REST API

4.5.4.1. List Functions

The following function is primarily a helper function which performs an API “Get All” call. This function returns a single list of TrafficDirector service objects.

dyn.tm.services.dsf.get_all_dsf_services()[source]
Returns:A list of TrafficDirector Services
dyn.tm.services.dsf.get_all_dsf_monitors()[source]
Returns:A list of DSFMonitor Services
dyn.tm.services.dsf.get_all_notifiers()[source]
Returns:A list of DSFNotifier Services
dyn.tm.services.dsf.get_all_records(service)[source]
Parameters:service – a dsf_id string, or TrafficDirector
Returns:A list of DSFRecord`s from the passed in `service

Warning! This query may take a long time to run with services with many records!

dyn.tm.services.dsf.get_all_record_sets(service)[source]
Parameters:service – a dsf_id string, or TrafficDirector
Returns:A list of DSFRecordSets from the passed in service
dyn.tm.services.dsf.get_all_failover_chains(service)[source]
Parameters:service – a dsf_id string, or TrafficDirector
Returns:A list of DSFFailoverChains from the passed in

service

dyn.tm.services.dsf.get_all_response_pools(service)[source]
Parameters:service – a dsf_id string, or TrafficDirector
Returns:A list of DSFResponsePools from the passed in

service

dyn.tm.services.dsf.get_all_rulesets(service)[source]
Parameters:service – a dsf_id string, or TrafficDirector
Returns:A list of DSFRulesets from the passed in service

4.5.4.2. Classes