tacker.db.nfvo.ns_db module

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

Bases: Base, HasId, HasTenant, Audit

Represents network services that deploys services.

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

Bases: Base, HasId, HasTenant, Audit

Represents NSD to create NS.

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

Bases: Base, 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: NSPluginBase, CommonDbMixin

create_ns(context, ns)
create_ns_post(context, ns_id, vnfd_dict, vnffgd_templates)
create_nsd(context, nsd)
delete_ns_post(context, ns_id, soft_delete=True, force_delete=False)
delete_ns_pre(context, ns_id, force_delete=False)
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)