f5 package
- f5.bigip
- f5.bigip.cm
- f5.bigip.tm
- f5.bigip.shared
- f5.multi_device
- Module contents
- Submodules
- device_group
- exceptions
ClusterError
DeviceGroupError
TrustDomainError
AlreadyManagingCluster
ClusterNotSupported
ClusterOperationNotSupported
DeviceAlreadyInTrustDomain
MissingRequiredDeviceGroupParameter
NoClusterToManage
DeviceGroupNotSupported
DeviceGroupOperationNotSupported
DeviceNotTrusted
TrusteeNotInTrustDomain
UnexpectedDeviceGroupState
UnexpectedDeviceGroupDevices
UnexpectedDeviceGroupType
- trust_domain
- utils
f5.sdk_exception
A base exception for all exceptions in this library.
Base Exception
|
Import and subclass this exception in all exceptions in this library. |
- exception f5.sdk_exception.F5SDKError(*args, **kwargs)[source]
Import and subclass this exception in all exceptions in this library.
- exception f5.sdk_exception.AttemptedMutationOfReadOnly(*args, **kwargs)[source]
Read only parameters cannot be set.
- exception f5.sdk_exception.BooleansToReduceHaveSameValue(*args, **kwargs)[source]
Dict contains two keys with same boolean value.
- exception f5.sdk_exception.DeviceProvidesIncompatibleKey(*args, **kwargs)[source]
Raise this when server JSON keys are incompatible with Python.
- exception f5.sdk_exception.DisallowedCreationParameter(*args, **kwargs)[source]
Exception when partition is passed to create for guest resource.
- exception f5.sdk_exception.DisallowedReadParameter(*args, **kwargs)[source]
Exception when partition is passed to load for guest resource.
- exception f5.sdk_exception.EmptyContent(*args, **kwargs)[source]
Raise an error if the returned content size is 0.
- exception f5.sdk_exception.ExclusiveAttributesPresent(*args, **kwargs)[source]
Raises this when exclusive attributes are present.
- exception f5.sdk_exception.FileMustNotHaveDotISOExtension(filename)[source]
Raise this when file has ISO extension.
- exception f5.sdk_exception.GenerationMismatch(*args, **kwargs)[source]
The server reported BIG-IP® is not the expacted value.
- exception f5.sdk_exception.ImageFilesMustHaveDotISOExtension(filename)[source]
Raise this when Image files do not have ISO extensions.
- exception f5.sdk_exception.InvalidCommand(*args, **kwargs)[source]
Raise this if command argument supplied is invalid.
- exception f5.sdk_exception.InvalidName[source]
Raised during creation when a given resource name is invalid.
- exception f5.sdk_exception.InvalidResource(*args, **kwargs)[source]
Raise this when a caller tries to invoke an unsupported CRUDL op.
All resources support refresh and raw. Only Resource’s support load, create, update, and delete.
- exception f5.sdk_exception.KindTypeMismatch(*args, **kwargs)[source]
Raise this when server JSON keys are incorrect for the Resource type.
- exception f5.sdk_exception.LazyAttributesRequired(*args, **kwargs)[source]
Raised when a object accesses a lazy attribute that is not listed.
- exception f5.sdk_exception.MemberStateModifyUnsupported(*args, **kwargs)[source]
Modify of node with state=unchecked is unsupported.
- exception f5.sdk_exception.MissingHttpHeader(*args, **kwargs)[source]
We raise this when the expected http header in response is missing.
- exception f5.sdk_exception.MissingRequiredCreationParameter(*args, **kwargs)[source]
Various values MUST be provided to create different Resources.
- exception f5.sdk_exception.MissingRequiredCommandParameter(*args, **kwargs)[source]
Various values MUST be provided to execute a command.
- exception f5.sdk_exception.MissingRequiredReadParameter(*args, **kwargs)[source]
Various values MUST be provided to refresh some Resources.
- exception f5.sdk_exception.MissingRequiredRequestsParameter(*args, **kwargs)[source]
Raises this when a request parameter is required
- exception f5.sdk_exception.MissingUpdateParameter(*args, **kwargs)[source]
Raises this when update requires specific parameters together.
- exception f5.sdk_exception.NodeStateModifyUnsupported(*args, **kwargs)[source]
Modify of node with state=unchecked is unsupported.
- exception f5.sdk_exception.NonExtantApplication(*args, **kwargs)[source]
Raise if the dos profile application sub-collection
resource does not exist on the device.
- exception f5.sdk_exception.NonExtantPolicyRule(*args, **kwargs)[source]
Raise if a rule does not exist on the device.
- exception f5.sdk_exception.NonExtantFirewallRule(*args, **kwargs)[source]
Raise if the policy does not exist on the device.
- exception f5.sdk_exception.NonExtantVirtualPolicy(*args, **kwargs)[source]
Raise if the policy does not exist on the device.
- exception f5.sdk_exception.OperationNotSupportedOnPublishedPolicy(*args, **kwargs)[source]
Raise if update/modify attempted on published policy.
- exception f5.sdk_exception.RequestParamKwargCollision(*args, **kwargs)[source]
Raise where requests parameter collides
with a method parameter of the same name.
- exception f5.sdk_exception.TagModeDisallowedForTMOSVersion(*args, **kwargs)[source]
Raise if tagmode is not supported for given TMOS version.
- exception f5.sdk_exception.TransactionSubmitException(*args, **kwargs)[source]
Raise this when Transaction commit fails.
- exception f5.sdk_exception.URICreationCollision(*args, **kwargs)[source]
self._meta_data[‘uri’] can only be assigned once. In create or load.
- exception f5.sdk_exception.UnregisteredKind(*args, **kwargs)[source]
The returned server JSON kind key wasn’t expected by this Resource.
- exception f5.sdk_exception.UnsupportedMethod(*args, **kwargs)[source]
Raise this if a method supplied is unsupported.
- exception f5.sdk_exception.UnsupportedTmosVersion(*args, **kwargs)[source]
Raise the error if a class of an API is instantiated,
on a TMOS version where API was not yet implemented/supported.
- exception f5.sdk_exception.UnsupportedOperation(*args, **kwargs)[source]
Object does not support the method that was called.
- exception f5.sdk_exception.UtilError(*args, **kwargs)[source]
Raise this if command excecution returns an error.
- exception f5.sdk_exception.DraftPolicyNotSupportedInTMOSVersion(*args, **kwargs)[source]
Raise when using Drafts in a legacy TMOS version
Raise this if handling Draft work in a Policy class that is used by legacy, and current, versions of BIG-IP
- exception f5.sdk_exception.ConstraintError(*args, **kwargs)[source]
Raise when a supplied value is outside the limits for that attribute.