Directive "from __future__ import print_function" is not an actual
import, but it enables print statement in py2 to behave like a real
function in py3.
This allows us to use print() function in py2/py3 compatible way.
This reverts commit 9910cbc746380dba2c8dc5f89120f0f48a74ced7.
Change-Id: Ibdef82f0da42e815fd6c9ec632d0fd36c272b094
remove _get_attr_metadata monkey_patch since it is for XML test.
remove iterkeys() call which is not py3.x compatible.
Change-Id: I46df0a3748f470521553793111a21eea72bd7663
Closes-bug: 1632714
Refactoring unit tests to use mock instead of mox
other mox usages by not run test cases will be dealt with
later.
Co-Authored-By: gong yong sheng <gong.yongsheng@99cloud.net>
Co-Authored-By: Trevor McCasland <TM2086@att.com>
Change-Id: I7e42494b96f1e54f5f04534d3b453422ea1bf4ef
Partial-Bug: #1572706
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.
Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.
Change-Id: Iec2b37e4cb673485b8d6c399ddb51d33b828f069
Here cString dose not exist in py3.x. This patch is used to
fix py34 gate errors.
Partial-Bug: #1612071
Change-Id: I0a36777cba8c4602c16be771956d4cd26f7e979f
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