f5sdk.bigip.extension.service package¶
Module for BIG-IP extension component service configuration
Example - Basic:
from f5sdk.bigip import ManagementClient
from f5sdk.bigip.extension import AS3Client
mgmt_client = ManagementClient('192.0.2.10', user='admin', password='admin')
extension_client = AS3Client(mgmt_client)
# configure AS3
extension_client.service.create(config_file='./decl.json')
Example - Show:
extension_client.service.show()
Example - Delete:
extension_client.service.delete()
Example - Is Available:
extension_client.service.is_available()
Example - Show Info:
extension_client.service.show_info()
Example - Show Inspect (DO):
extension_client = DOClient(device)
extension_client.service.show_inspect()
-
class
f5sdk.bigip.extension.service.
OperationClient
(client, component, version, metadata_client, **kwargs)¶ A class used as a extension service operation client for BIG-IP
-
component
¶ the extension component
- Type
str
-
version
¶ the extension component version
- Type
str
-
is_available
()¶ Refer to method documentation
-
show_info
()¶ Refer to method documentation
-
create
()¶ Refer to method documentation
-
show
()¶ Refer to method documentation
-
create
(**kwargs) Creates (or updates) extension component service
- Parameters
**kwargs – optional keyword arguments
- Keyword Arguments
config (dict) – a dictionary containing configuration
config_file (str) – a local file containing configuration to load
- Returns
the response to a service create
- Return type
dict
-
is_available
() Checks extension component service is available
Notes
Retries up to 60 seconds
- Parameters
None –
- Returns
a boolean based on service availability
- Return type
bool
-
show
() Gets (shows) the extension component service
- Parameters
None –
- Returns
the response to a service get
- Return type
dict
-
show_info
() Show component extension info
- Parameters
None –
- Returns
the API response to a service info get
- Return type
dict
-