tacker.db.db_sqlalchemy.models module

class tacker.db.db_sqlalchemy.models.PlacementConstraint(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin, HasId

Represents a Vnf Placement Constraint.

affinity_or_anti_affinity
created_at
deleted
deleted_at
id
resource
scope
server_group_name
updated_at
vnf_instance_id
class tacker.db.db_sqlalchemy.models.VnfArtifactMetadata(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin

Contains all info about vnf packages artifacts metadata.

artifact_uuid
created_at
deleted
deleted_at
id
key
updated_at
value
class tacker.db.db_sqlalchemy.models.VnfDeploymentFlavour(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin, HasId

Contains all info about vnf packages Deployment Flavours.

created_at
deleted
deleted_at
flavour_description
flavour_id
id
instantiation_levels
package_uuid
software_images
updated_at
class tacker.db.db_sqlalchemy.models.VnfInstance(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin, HasId

Represents a Vnf Instance.

created_at
deleted
deleted_at
id
instantiation_state
task_state
tenant_id
updated_at
vim_connection_info
vnf_instance_description
vnf_instance_name
vnf_metadata
vnf_pkg_id
vnf_product_name
vnf_provider
vnf_software_version
vnfd_id
vnfd_version
class tacker.db.db_sqlalchemy.models.VnfInstantiatedInfo(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin

Contain the details of VNF instance

additional_params
created_at
deleted
deleted_at
ext_cp_info
flavour_id
id
instance_id
instantiation_level_id
scale_status
updated_at
virtual_storage_resource_info
vnf_instance
vnf_instance_id
vnf_state
vnfc_info
vnfc_resource_info
class tacker.db.db_sqlalchemy.models.VnfLcmFilters(**kwargs)

Bases: Base

Contains all info about vnf LCM filters.

filter
id
notification_types
notification_types_len
operation_states
operation_states_len
operation_types
operation_types_len
subscription_uuid
vnf_instance_ids
vnf_instance_ids_len
vnf_instance_names
vnf_instance_names_len
vnf_product_name
vnf_products_from_providers
vnf_provider
vnf_software_version
vnfd_ids
vnfd_ids_len
vnfd_versions
vnfd_versions_len
class tacker.db.db_sqlalchemy.models.VnfLcmOpOccs(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin

VNF LCM OP OCCS Fields

changed_ext_connectivity
changed_info
created_at
deleted
deleted_at
error
error_point
grant_id
id
is_automatic_invocation
is_cancel_pending
operation
operation_params
operation_state
resource_changes
start_time
state_entered_time
tenant_id
updated_at
vnf_instance_id
class tacker.db.db_sqlalchemy.models.VnfLcmSubscriptions(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin

Contains all info about vnf LCM Subscriptions.

authentication
callback_uri
created_at
deleted
deleted_at
id
subscription_filter
tenant_id
updated_at
class tacker.db.db_sqlalchemy.models.VnfPackage(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin, HasTenant, HasId

Contains all info about vnf packages.

algorithm
created_at
deleted
deleted_at
downloading
hash
id
location_glance_store
property metadetails
onboarding_state
operational_state
size
tenant_id
updated_at
usage_state
vnf_artifacts
vnf_deployment_flavours
vnfd
class tacker.db.db_sqlalchemy.models.VnfPackageArtifactInfo(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin, HasId

Contains all info about vnf artifacts.

algorithm
artifact_path
created_at
deleted
deleted_at
hash
id
package_uuid
updated_at
class tacker.db.db_sqlalchemy.models.VnfPackageUserData(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin

Contains all info about vnf packages UserDefinedData.

created_at
deleted
deleted_at
id
key
package_uuid
updated_at
value
class tacker.db.db_sqlalchemy.models.VnfPackageVnfd(**kwargs)

Bases: Base, VnfPackageVnfdSoftDeleteMixin, TimestampMixin, HasId

Contains all info about vnf packages VNFD.

created_at
deleted
deleted_at
id
package_uuid
updated_at
vnf_product_name
vnf_provider
vnf_software_version
vnfd_id
vnfd_version
class tacker.db.db_sqlalchemy.models.VnfPackageVnfdSoftDeleteMixin

Bases: object

deleted = Column(None, String(length=36), table=None, default=ScalarElementColumnDefault('0'))
deleted_at = Column(None, DateTime(), table=None)
soft_delete(session)

Mark this object as deleted.

class tacker.db.db_sqlalchemy.models.VnfResource(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin, HasId

Resources belongs to the VNF

created_at
deleted
deleted_at
id
resource_identifier
resource_name
resource_status
resource_type
tenant_id
updated_at
vnf_instance_id
class tacker.db.db_sqlalchemy.models.VnfSoftwareImage(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin, HasId

Contains all info about vnf packages software images.

algorithm
container_format
created_at
deleted
deleted_at
disk_format
flavour_uuid
hash
id
image_path
property metadetails
min_disk
min_ram
name
provider
size
software_image_id
updated_at
version
class tacker.db.db_sqlalchemy.models.VnfSoftwareImageMetadata(**kwargs)

Bases: Base, SoftDeleteMixin, TimestampMixin

Contains all info about vnf packages software image metadata.

created_at
deleted
deleted_at
id
image_uuid
key
updated_at
value