Forum Discussion
where do the licensing functions get invoked in bigip_license.py?
Hi Bret,
The entirety of the snippet that you posted exists between a matched set of triple-quotes.
"""
(a bunch of code)
"""
The contents of the set of triple-quotes is not assigned to a variable, so this should behave like a block comment. Nothing within them is being evaluated. That code appears to have been replaced by the try -> except block that follows the closing triple-quote. This try -> except block is used to make the code abstract and reusable.
The install_license() function in the class BigIpLicenseIControl calls get_license_activation_status() at line 212. That function is defined in the class BigIpLicenseCommon at line 144.
Is this the invocation that you are trying to locate? If not, reply to this thread and I'll bring it to the attention of the original code author.
Thanks!
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com