This patch will do 2 things:
1. Add 'vnf_ids' and 'vnffg_ids' fields as outputs from network
service list command. Users can know which VNFs or VNFFG, that
belongs to specific NS.
2. Add 'ns_id' fields to VNFFG list command, that shows which
network service the current VNFFG belongs to it.
Partially-implements: blueprint vnffg-ns
Change-Id: If6c5550f94e676fb2062e32ddc069acd5dfb6490
While onboarding a vnfd with infected vnfd file, yaml.load() raised exception.
Due to which instead of giving meaningful error message, tackerclient raised
traces with TypeError.
Fixing this issue with proper error handling.
Change-Id: I7a4150a898fcf99d8ffbc97e16da6a219cade93d
Closes-Bug: #1780214
Probably the most common format for documenting arguments is reST field
lists [1]. This change updates some docstrings to comply with the field
lists syntax.
[1] http://sphinx-doc.org/domains.html#info-field-lists
Change-Id: Ic87b30963f99552e57d10e8429a06511744b2489
Since openstack tacker plugins are almost done, it is time
to deprecate the tacker command lines.
test paste log http://paste.openstack.org/show/699593/
Closes-bug: #1755443
Change-Id: I0c233f5f3003a50a6b76d6729c4d228cbba182a7
Current tacker client requires us to mention ssl_ca_cert
and set it to None if we don't want to use ssl cert. This
patch along with another patch on the tacker server side
will make ssl_ca_cert a truly optional config. And, only
the correct ssl_ca_cert will be able to authenticate.
Tacker Server changes: https://review.openstack.org/#/c/546580/
Change-Id: Ic87fe3382e100183c685c3b34768a5a5de889982
Compare to tacker commands, the vim and vnfd in osc commands
do not have --tenant-id (or project id) argument when registering
or creating the vim or vnfd.
Change-Id: I53022ca915d5119668777fcebf2af25199b5c326
Implements: blueprint tacker-support-python-openstackclient
In continuation of this patch [0] we are adding the functionality
of showing the names of the existing classifiers when the classifier-list
command is getting executed.
[0]: https://review.openstack.org/#/c/532203/
Depends-On: Ia586061c578a99662d49ad284d1ff313c350e1f3
Change-Id: If6d76a66ab0d37662d1b28fe1786b6e0ffc8171d
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
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