f5 package¶
f5.sdk_exception¶
A base exception for all exceptions in this library.
Base Exception¶
F5SDKError(*args, **kwargs) |
Import and subclass this exception in all exceptions in this library. |
-
exception
f5.sdk_exception.F5SDKError(*args, **kwargs)[source]¶ Bases:
exceptions.ExceptionImport and subclass this exception in all exceptions in this library.
-
exception
f5.sdk_exception.AttemptedMutationOfReadOnly(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRead only parameters cannot be set.
-
exception
f5.sdk_exception.BooleansToReduceHaveSameValue(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorDict contains two keys with same boolean value.
-
exception
f5.sdk_exception.DeviceProvidesIncompatibleKey(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this when server JSON keys are incompatible with Python.
-
exception
f5.sdk_exception.DisallowedCreationParameter(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorException when partition is passed to create for guest resource.
-
exception
f5.sdk_exception.DisallowedReadParameter(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorException when partition is passed to load for guest resource.
-
exception
f5.sdk_exception.EmptyContent(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise an error if the returned content size is 0.
-
exception
f5.sdk_exception.ExclusiveAttributesPresent(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaises this when exclusive attributes are present.
-
exception
f5.sdk_exception.FileMustNotHaveDotISOExtension(filename)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this when file has ISO extension.
-
exception
f5.sdk_exception.GenerationMismatch(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorThe server reported BIG-IP® is not the expacted value.
-
exception
f5.sdk_exception.ImageFilesMustHaveDotISOExtension(filename)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this when Image files do not have ISO extensions.
-
exception
f5.sdk_exception.InvalidCommand(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this if command argument supplied is invalid.
-
exception
f5.sdk_exception.InvalidForceType[source]¶ Bases:
exceptions.ValueErrorMust be of type bool.
-
exception
f5.sdk_exception.InvalidName[source]¶ Bases:
exceptions.ValueErrorRaised during creation when a given resource name is invalid.
-
exception
f5.sdk_exception.InvalidResource(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise 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]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this when server JSON keys are incorrect for the Resource type.
-
exception
f5.sdk_exception.LazyAttributesRequired(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaised when a object accesses a lazy attribute that is not listed.
-
exception
f5.sdk_exception.MemberStateModifyUnsupported(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorModify of node with state=unchecked is unsupported.
-
exception
f5.sdk_exception.MissingHttpHeader(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorWe raise this when the expected http header in response is missing.
-
exception
f5.sdk_exception.MissingRequiredCreationParameter(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorVarious values MUST be provided to create different Resources.
-
exception
f5.sdk_exception.MissingRequiredCommandParameter(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorVarious values MUST be provided to execute a command.
-
exception
f5.sdk_exception.MissingRequiredReadParameter(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorVarious values MUST be provided to refresh some Resources.
-
exception
f5.sdk_exception.MissingUpdateParameter(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaises this when update requires specific parameters together.
-
exception
f5.sdk_exception.NodeStateModifyUnsupported(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorModify of node with state=unchecked is unsupported.
-
exception
f5.sdk_exception.NonExtantApplication(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise if the dos profile application sub-collection
resource does not exist on the device.
-
exception
f5.sdk_exception.NonExtantPolicyRule(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise if a rule does not exist on the device.
-
exception
f5.sdk_exception.NonExtantFirewallRule(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise if the policy does not exist on the device.
-
exception
f5.sdk_exception.NonExtantVirtualPolicy(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise if the policy does not exist on the device.
-
exception
f5.sdk_exception.OperationNotSupportedOnPublishedPolicy(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise if update/modify attempted on published policy.
-
exception
f5.sdk_exception.RequestParamKwargCollision(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise where requests parameter collides
with a method parameter of the same name.
-
exception
f5.sdk_exception.TagModeDisallowedForTMOSVersion(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise if tagmode is not supported for given TMOS version.
-
exception
f5.sdk_exception.TransactionSubmitException(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this when Transaction commit fails.
-
exception
f5.sdk_exception.URICreationCollision(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorself._meta_data[‘uri’] can only be assigned once. In create or load.
-
exception
f5.sdk_exception.UnregisteredKind(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorThe returned server JSON kind key wasn’t expected by this Resource.
-
exception
f5.sdk_exception.UnsupportedMethod(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this if a method supplied is unsupported.
-
exception
f5.sdk_exception.UnsupportedTmosVersion(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise 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]¶ Bases:
f5.sdk_exception.F5SDKErrorObject does not support the method that was called.
-
exception
f5.sdk_exception.UtilError(*args, **kwargs)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this if command excecution returns an error.
-
exception
f5.sdk_exception.RequiredOneOf(required_one_of)[source]¶ Bases:
f5.sdk_exception.F5SDKErrorRaise this if more than one of required argument sets is provided.