The tacker.db.nfvo.ns_db Module

class tacker.db.nfvo.ns_db.NS(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, tacker.db.models_v1.HasId, tacker.db.models_v1.HasTenant, tacker.db.models_v1.Audit

Represents network services that deploys services.

created_at
deleted_at
description
error_reason
id
mgmt_urls
name
nsd
nsd_id
status
tenant_id
updated_at
vim_id
vnf_ids
class tacker.db.nfvo.ns_db.NSD(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, tacker.db.models_v1.HasId, tacker.db.models_v1.HasTenant, tacker.db.models_v1.Audit

Represents NSD to create NS.

attributes
created_at
deleted_at
description
id
name
tenant_id
updated_at
vnfds
class tacker.db.nfvo.ns_db.NSDAttribute(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, tacker.db.models_v1.HasId

Represents attributes necessary for creation of ns in (key, value) pair

id
key
nsd_id
value
class tacker.db.nfvo.ns_db.NSPluginDb

Bases: tacker.extensions.nfvo_plugins.network_service.NSPluginBase, tacker.db.db_base.CommonDbMixin

create_ns(context, ns)
create_ns_post(context, ns_id, mistral_obj, vnfd_dict, error_reason)
create_nsd(context, nsd)
delete_ns(context, ns_id)
delete_ns_post(context, ns_id, mistral_obj, error_reason, soft_delete=True)
delete_nsd(context, nsd_id, soft_delete=True)
get_ns(context, ns_id, fields=None)
get_nsd(context, nsd_id, fields=None)
get_nsds(context, filters, fields=None)
get_nss(context, filters=None, fields=None)