Skip to content

sdk error in  #1600

@treygauche

Description

@treygauche

I am getting an error when trying to retrieve the web-acceleration collection, that i have not seen in previous calls:

Here is the code:

mgmt = ManagementRoot(ip, usr, pwd)
f5Data = mgmt.tm.ltm.profile.web_accelerations.get_collection()
for profile in f5Data:
      comps = profile.web_compressions.get_collection()
      for comp in comps:
         print (f"{comp.raw}")

And here is the error i'm getting:

Traceback (most recent call last):
File "/Users/ttait/Documents/Networks/f5scraper/mytest.py", line 14, in
f5Data = mgmt.tm.ltm.profile.web_accelerations.get_collection()
File "/usr/local/lib/python3.9/site-packages/f5/bigip/resource.py", line 818, in get_collection
raise UnregisteredKind(error_message)
f5.sdk_exception.UnregisteredKind: 'tm:ltm:profile:web-acceleration:web-accelerationstate' is not registered!

i have successfully done many other calls using the sdk, so i know it connects, and has the ability to work properly. but i am unable to get the web_accelerations due to this error.

thank you,
-timothy

this seems to be a similar issue to #1533

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions