Currently, Tacker can not communicate with VIM endpoints that
use SSL. This patch will add cert_verify parameter, user can
set "cert_verify" to False (default value is True) to disable
verifying SSL.
Change-Id: I0af2a0f91ecda2a63cf6233d780e1dd7c064513c
This patch will add "--vnffgd-template" to vnffg-update command to support
update VNFFG from file. User can run:
tacker vnffg-update --vnffgd-template <vnffgd-file-name> vnffg_name
to update the existing VNFFG.
Partially Implements: blueprint update-vnffg
Change-Id: Ief0469d870530693798f798ecd2f52782318795b
This patch enables tackerclient OSC plugin support.
Co-Authored-By: yong sheng gong <gong.yongsheng@99cloud.net>
Co-Authored-By: Trinath Somanchi <trinath.somanchi@nxp.com>
This adds the first list VIM command.
Change-Id: I75d430b00861ee9020d346cfb8ac8b736d36f47d
Implements: blueprint tacker-support-python-openstackclient
This patch will add changes to support Kubernetes as VIM feature
in python-tackerclient.
After this change, user have to provide VIM type in VIM config file
when creating or updating VIM. The default VIM type is openstack.
Partially Implements: blueprint kubernetes-as-vim
Change-Id: I1b1610cb89a78a2a8fe134265b83dd469d72fdcd
Missed this with create fix:
Ide2aeab73b1dd88beb6e491e6b07cdee9fb7e48a
Change-Id: Ia983150de322d1ffbd7eeedc2048c19c095afefb
Signed-off-by: Tim Rozet <trozet@redhat.com>
Bug where 'True'/'False' strings were being passed in REST to Tacker
service which would end up throwing an exception because the DB type for
symmetrical is boolean/small int. This converts it to boolean in the
client.
Closes-Bug: 1711550
Change-Id: Ide2aeab73b1dd88beb6e491e6b07cdee9fb7e48a
Signed-off-by: Tim Rozet <trozet@redhat.com>
Currently, Tacker only support creating VNFFG and NS from VNFFG descriptor
and NS descriptor. This patch will support creating directy VNFFG and NS
from template file without initiating VNFFG and NS descriptors before.
Change-Id: If7554287bbe1184d9b84609f81e53f17d7b5fdfe
Closes-bug: #1681032
1.As mentioned in [1], we should avoid usingg
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: I988ff08fe1d6bc52c4a601641c564db7881accf4
Make auth_creds display the user specified credentials
which are project_name and username. Normally
vim configuration yaml file has no project_id and user_id
Change-Id: I987ad7bda04b0a161c56284f77964063490a18e0
Closes-Bug: #1629169
use mock instead of mox
Co-Authored-By: Trinath Somanchi <trinanth.somachi@nxp.com>
Change-Id: I9e5327a4e4e6cba220670b096f718e7343fd43dc
Closes-Bug: #1572706
it caused No handlers could be found for logger "tackerclient.shell"
This reverts commit af2f0f031f12ebdbfe17f2abddc1794d1396fb8c.
Change-Id: I8556dbf7ea45a268daa900e00c5334f11cd106d0
tackerclient is currently using python logging module to
implement logging functionality.
This patch made a switch to oslo.log(logging for openstack projects)
Reference:-
http://docs.openstack.org/developer/oslo.log
Change-Id: Iecab180e605c788bb820c7a628781abf9a4918ea
Closes-Bug: #1656167
When a single vnfd is deleted, the following success message is delivered.
$> tacker vnfd-delete cirros-vnfd-multi-vdu
All vnfd(s) deleted successfully
The above success message has to modified to
" All specified %(resource)s(s) %(msg)s successfully? "
Change-Id: I48443622b718a1d6a1476f53c6378b67ce0d82e4
Closes-Bug: #1672302
Starting from Ocata tacker payloads will only accept
YAML dict for config and param payload values. Hence
remove the warning when something other than YAML dict
is received by the client. Such a CLI input is no longer
make sense. So, starting Ocata deprecate all direct
YAML input and remove it in Pike.
Change-Id: I03f3ac405e92d7e9fa69fd2b2761c243456fd7e8
Partial-Bug: 1656416
Allows creating VNF from the VNFD template directly without the need of
VNFD being stored in Tacker VNFD catalog.
Change-Id: I719237dd04dd7fe13fb7e7964402d7074679b2d6
Implements: blueprint vnf-inline-template
From Mitaka version, Tacker supports TOSCA based VNFD templates.
Legacy templates were deprecated in newton. Server side already
commited in https://review.openstack.org/#/c/382786/.
Removing related checks in client side now.
Implements: blueprint deprecate-legacy-template-dsl
Change-Id: I60b683c6d63b6976d438ff6130d16ddbf0656940
events-list command's help text for some options does not follow common
format. Also, *-events-list commands have similar issues. This patch
fixes help texts for these commands to make them clearer for users.
Change-Id: Icd85d13fee437bf0f83979eb6625377b38ce39ad
Closes-bug: #1628769
Unit tests are not testing the behavior of command-line client
code properly since mox was replaced with mock in [1].
[1] https://review.openstack.org/#/c/313165/
assert_called_once_with() should be called after the target
call of the patched method.
Change-Id: I99873e9cb1d75d1fa2e41c02b9f87dfa4f9ef1f7
Partial-Bug: #1572706
For logging the exception message: e.message has been
deprecated. The preferred way is to call str(e).
more details:
https://www.python.org/dev/peps/pep-0352/
Change-Id: Ic22fbd37376843f714d2c1669d2cdc25a3569225
This patch removes passing infra and mgmt driver as part of VNFD body from
client and API.
Change-Id: I4684e69b8993e6c35503317503dd73e2c13f44dd
Partial-Bug: #1630936
Help msg in tacker project should support oslo.i18n. But
tests directory faces developer, So it needn't support oslo.i18n.
Co-Authored-By: ShuYingya<yingya.shu@easystack.cn>
Change-Id: I60106b106cfd77b46663ff35a2735cfa5ea158f0
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result, but in Python 2 they urge you to define __ne__ when you define
__eq__ for it to work properly [1]. There are no implied relationships
among the comparison operators. The truth of x==y does not imply that
x!=y is false. Accordingly, when defining __eq__(), one should also
define __ne__() so that the operators will behave as expected.
[1]https://docs.python.org/2/reference/datamodel.html#object.__ne__
Change-Id: I6adceadb6e3749e34cf847654f28a3b6eea832fd