Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

How can I list distributed applications using the Python SDK?

I am trying to get a list of distributed applications using the Python SDK. I can do this via REST/Postman by drilling down to /mgmt/tm/gtm/distributed-app.

However when I drill down to gtm using the Python SDK, there is no "distributed-app" class to call. I see the following...

{'_meta_data': {'container': <f5.bigip.BigIP object at 0x000000000D300EF0>, 'bigip': <f5.bigip.BigIP object at 0x000000000D300EF0>, 'icr_session': <icontrol.session.iControlRESTSession object at 0x000000000D300320>, 'icontrol_version': '', 'uri': 'https://beiglb1:443/mgmt/tm/gtm/', 'minimum_version': '11.5.0', 'allowed_commands': [], 'required_command_parameters': set(), 'exclusive_attributes': [], 'object_has_stats': True, 'minimum_additional_parameters': set(), 'allowed_lazy_attributes': [<class 'f5.bigip.tm.gtm.datacenter.Datacenters'>, <class 'f5.bigip.tm.gtm.global_settings.Global_Settings'>, <class 'f5.bigip.tm.gtm.listener.Listeners'>, <class 'f5.bigip.tm.gtm.monitor.Monitor'>, <class 'f5.bigip.tm.gtm.pool.Pools'>, <class 'f5.bigip.tm.gtm.region.Regions'>, <class 'f5.bigip.tm.gtm.rule.Rules'>, <class 'f5.bigip.tm.gtm.server.Servers'>, <class 'f5.bigip.tm.gtm.topology.Topology_s'>, <class 'f5.bigip.tm.gtm.wideip.Wideips'>]}}

As you can see I can access my wide ips/pools, servers, data_centers, etc... from here just fine, but I cannot see my distributed apps. Any ideas on how to access them via Python SDK, or do I have to use REST?

0
Rate this Question

Answers to this Question