Currently Tacker client support single resource(i.e VNFD, VNF or
VIM) deletion per call. With this fix, multiple VNFs, VNFDs or
VIMs can be deleted in a single client call.
Change-Id: I0819d94e14637d8e9d8a7b2afb5f948587e00ce0
There is not necessary for "else" branch, so it remove.
Co-Authored-By: dharmendra kushwaha <dharmendra.kushwaha@nectechnologies.in>
Change-Id: Ic4313175518513e583795b84c2725b770eb2888f
This commit moves the test files from events and nfvo directory
to the vm directory. Currently tests are executed if they are in
the vm directory.
Change-Id: I7ac08fb5686597926ec3b3c62d8221abf2b0f066
Implements: blueprint: audit-support
MyURLComparator equals method is enhanced to perfom url comparison
based on url parts such as scheme, netloc, path and query instead
of raw string comparison.
pagination methods are modified to wrap the url requests with pagination
params within MyURLComparator objects.
Change-Id: I69b835dce64d662d1af6a14556fb8281e3b04d63
Closes-Bug: #1617480
infra_driver will be automatically figured out
in the VNF instantiation based on target VIM type
mgmt_driver is specified in the TOSCA template
per-VDU and the value the client API is ignored
Both these attributes will be removed in Ocata.
Change-Id: Ic59d7f8af6e4b1a27f4125f57d8165dc1011ce9e
Closes-bug: #1524243
This patch removes the list_vnf_resource_pagination unit test
which tested the pagination support of list_vnf_resources.
Pagination support is not enabled for vnf resources and hence
removed the test case.
Change-Id: I98843a63f6566595ceeb4758926a441fff2ee0ff
tackerclient/common/utils.py doeas not contains these methods:
to_primitive
loads
dumps.
Removing related test cases
Change-Id: I73035fcd120efc09cd19c94a8fa41671c2b3a7c3
Partial-Bug: 1617157
vnfd templates, parameter and config files are sent as yaml
strings in requests body to tacker server.
Change the attributes to dictionary objects. New behavior
is applicable to tosca templates only. Also, this change may mangle
the order of nodes in tosca templates. In order to address this
concern and preserve the network interfaces order in these nodes,
there will be follow on patch (on server) to addres this.
Change-Id: I05a1d60dc643dca864aff559f37491914b1fcfc3
Partial-Bug: #1591361
Support now for being able list sub resources of a vnf. REST path is
/vnf/<vnf_id>/resources/. Resources will contain 'name', 'id', and
'type'.
APIImpact
Partial-Bug: 1602112
Change-Id: Ib9f0163c0c86df2a4d17630a5e6f7ca2d2fb22de
Signed-off-by: Tim Rozet <trozet@redhat.com>
This reverts commit 5a1f2f5717bc55e196e9006d6891ad077e0e4211.
Reverting in account of a new patch [1].
[1]. https://review.openstack.org/#/c/360197/
Change-Id: Iaf5f65bd20bb098120378f9b63c86b97a86df35d
Created details API to fetch VNF details. This is optional
based on the --show-details flag enabled.
APIImpact
Partial-Bug: #1602112
Change-Id: I63bcf3f9ad23fbbcfdec6f72e45540ce55e6bd7c
This commit enables support in the client for the resource event
logging
Implements: blueprint: audit-support
Co-Authored-By: Kanagaraj Manickam <mkr1481@gmail.com>
Change-Id: Ia54aed6720043840b00dd2eb00ca03a2ed92da5e
Depends-On: Change-Id: Ib82be521c5aa8b627e3f34a3696b10508371d3a0
When create/update a vim, only enable '--config-file' option, will
remove '--config' option.
Change-Id: I8a728134ce0229db98de10bff5f4f46e7f2a9f2c
Closes-bug: #1587216
Throws VNFD legacy template deprecation warning in favor of using
TOSCA templates. This is client-side patch.
Partial-Bug: #1582928
Change-Id: Ia8bed682c1724a7d0e4e6330fc99c6ff49f71388
If we use v3 keystone, these information should be passed
into tacker server.
Change-Id: Ieb5612c966b2110930faac0401f5dabde064ffc1
Partial-Bug: #1603851
This patch is used to unified formats of
log_xxx function.I have founded all log_xxx
funtions of project files.Only this one is still
not the same as others. I think change this formats
may make codes more readable and uniform.
OpenStack supports translating some log levels
using separate message catalogs, when we add
Variables to Log Messages, We do not do this:
LOG.info(_LI('some message: variable=%s') % variable)
actually, we use this style insteaded:
LOG.info(_LI('some message: variable=%s'), variable)
Change-Id: I3fd924516969853b2b9dced7659d33cdadd8d4ad
In vim list and vim show command,
since hashed password masking on server-side,
the "mask_dict_password" modules are removed on client-side.
Change-Id: I463cb04696dc09157fbbc4b0bd64e66850feac84
Depends-On: Ice5c51b6a66cd27f21c144d3a672cf790e4cec41
Closes-bug: #1594495