41 Commits

Author SHA1 Message Date
Jenkins
1612e2227c Merge "Removing test cases for already removed methods" 2016-09-09 17:47:58 +00:00
dharmendra
495ccbd2aa Add support for multi delete
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
2016-09-09 14:27:09 +09:00
gong yong sheng
3b60ab1aaa Allow auth url without port for vim registration
This patch allows vim-register command to register keystone
URL without port.

Change-Id: Ie04a0253aa3f42ef532ccf8a7bddbbd1f88e3e34
Closes-bug: 1618756
2016-08-31 17:14:27 +08:00
Jenkins
48d458d290 Merge "Modify MyURLComparator to handle deep match on URL" 2016-08-27 14:29:16 +00:00
vish
f1eef18974 Moving test files to vm directory
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
2016-08-27 03:40:54 +00:00
Sripriya
f6848f0f31 Modify MyURLComparator to handle deep match on URL
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
2016-08-26 16:03:27 -07:00
Sripriya
aa499bb5f3 Remove list_vnf_resource_pagination unit test
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
2016-08-26 12:54:41 -07:00
Jenkins
c047bf9db2 Merge "Add client support for VNFFG in NFVO" 2016-08-26 17:25:42 +00:00
dharmendra
7951ebb39e Removing test cases for already removed methods
tackerclient/common/utils.py doeas not contains these methods:
  to_primitive
  loads
  dumps.
Removing related test cases

Change-Id: I73035fcd120efc09cd19c94a8fa41671c2b3a7c3
Partial-Bug: 1617157
2016-08-27 01:09:24 +09:00
xu-haiwei
882f6b6c93 Add client support for VNFFG in NFVO
Co-Authored-By: Tim Rozet <trozet@redhat.com>

implements blueprint: tacker-vnffg
Change-Id: Ic5273319a01b8003e9497fbf7f984972602c7698
2016-08-26 09:23:35 -04:00
Tim Rozet
144408331e Adds client commands for listing a VNF resources
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>
2016-08-25 22:34:03 +00:00
Jenkins
7a0f627e2e Merge "Add "Description" parameter while creating VNF with CLI." 2016-08-24 21:03:57 +00:00
Jenkins
6b677a8f38 Merge "Remove '--config' option when create/update a vim" 2016-08-18 02:59:51 +00:00
vish
647baba801 Adds audit support in client
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
2016-08-16 22:35:03 +00:00
xu-haiwei
e5457e5062 Remove '--config' option when create/update a vim
When create/update a vim, only enable '--config-file' option, will
remove '--config' option.

Change-Id: I8a728134ce0229db98de10bff5f4f46e7f2a9f2c
Closes-bug: #1587216
2016-08-15 13:14:39 +00:00
Manikantha Srinivas Tadi
6fecf2adf7 Add "Description" parameter while creating VNF with CLI.
Partial-Bug: #1586300

Change-Id: Ifaea2344b7f00414de743be1c035bd750e0af87b
2016-08-11 04:17:44 -04:00
Jenkins
166368b8b0 Merge "Make VNFD/VNF/VIM Name Mandatory in Tacker CLI" 2016-08-11 02:23:41 +00:00
gong yong sheng
0aa7efd292 Add domain information into auth cred.
If we use v3 keystone, these information should be passed
into tacker server.

Change-Id: Ieb5612c966b2110930faac0401f5dabde064ffc1
Partial-Bug: #1603851
2016-07-28 14:06:48 +08:00
Manikantha Srinivas Tadi
f4daaa09ba Make VNFD/VNF/VIM Name Mandatory in Tacker CLI
Change-Id: I7e94cc43a61fbeb2b406d1e973ca422359e761a0
Partial-Bug: #1474966
2016-07-26 00:09:58 -04:00
Jenkins
e88619e985 Merge "Transition default VIM to API and DB operation" 2016-07-25 18:05:44 +00:00
Kawaguchi Kentaro
c9ac53a722 Remove the mask password logic in vim list and vim show
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
2016-07-22 14:03:33 +09:00
Saju Madhavan
00d87bde7e Transition default VIM to API and DB operation
Set the default-vim in the tacker-db and provide
API to manage it.

Change-Id: Ie447f13c1d30e3cf5c1756c424fe60882082c211
Partial-Bug: 1592957
2016-07-20 18:27:39 +05:30
xu-haiwei
67c034b8a1 Change bind_port to 9890
Since the bind_port of tacker server is changed to 9890, fix the
document and test case to meet this change.

Change-Id: I5baff302517c8bd8b7cc14b10e771beb9079762b
2016-06-10 17:02:53 +09:00
Hideki Saito
d47747260f Fix incompatible code with python3 for tox pep8 test
"tox -e pep8" fails when python3 is used.
This patch fixes it.

Closes-Bug: #1583984

Change-Id: Idff17f64d2d4789acee08bd98902ae50312ddc92
2016-05-25 10:23:23 +09:00
dharmendra
f7b11685c4 py3.x: Use six.iteritems for Iterable dict items.
py3.x: Use six.iteritems for Iterable dict items instead of dict.iteritems.

Change-Id: Ibc4dbee779c1da52eba5b9ed34b982103c404e7f
Related-Bug: #1547712
2016-04-22 11:07:39 +05:30
Sripriya
07444203ec Do not display password in VIM command outputs
This fix masks the password attr in vim response for vim-list,
vim-show and vim-create commands.

Change-Id: I9b38b45f292a11f4615f3dc8eff672a4206c4a4a
Closes-Bug: #1567585
2016-04-18 17:08:23 -07:00
Sridhar Ramaswamy
20d3658353 Cleanup copyright header
Remove personal references in copyright header.

Change-Id: I05a8939f55acdd108276a37131f8988485801fbe
2016-04-04 03:30:14 +00:00
Martin Oemke
00d3c9771c Cleanup vim settings
This patch cleans up vim settings in .py files.
Settings should be handled in local settings.

Change-Id: Ib7a8c9751d18356070a39798ceedd1e400d979dd
2016-03-28 12:24:24 +02:00
Sripriya
de4aeb2736 Fix attr for vim update
Vim resource attr 'type' does not allow a PUT operation. Updated
the vim args to refelct typeattr for POST operation only. Also
fixed the vim name arg for vnf create command

Change-Id: I3c08945f24343288c2c5614ab4b472d68a1e1d47
2016-03-22 16:26:31 -07:00
Sripriya
5340d09287 Implement client support for multisite VIM
Client side changes for multisite VIM feature including new shell
commands.

Change-Id: Idae463b0cec40bea2edfde5723f7de5077600040
Implements: blueprint multi-site-vim
2016-03-18 20:38:48 -07:00
dharmendra
863084fd99 Removing "device" CLI from master branch.
Removing "device" CLI from master branch.
Related-Bug: #1543393
Change-Id: Ib93df154138b68a7dd0b2c1f79e6e76e05470ad3
2016-03-03 16:28:30 +05:30
Jenkins
d9695ad31f Merge "Renamed 'servicevm' in python-tackerclient" 2016-01-21 22:44:45 +00:00
an.abdulrehman
5903bc9338 Renamed 'servicevm' in python-tackerclient
After renaming the service 'servicevm' and 'advsvc' in install file,
functional tests were failing. Now renamed to 'tacker' in all files of
python-tackerclient repo so that functional test wouldn't fail.

Change-Id: I919d77276af72586a20f50239166325adbf9fb11
Partial-Bug: #1524224
2016-01-07 12:09:02 +00:00
Martin Oemke
ba46bbf7ac Fix H238 errors in tackerclient code
This Patch fixes all H238 errors and enables this test.

[H238]  Old style class declaration,
        use new style (inherit from `object`)

Change-Id: I184538cf6dcb97a178dcf017a21d878712063f91
Related-Bug: 1516045
2015-12-30 11:55:31 +00:00
Martin Oemke
0820bb1a10 Fix H405 errors in tackerclient code
This Patch fixes all H405 errors and enables this test.
[H405] Multi line docstring summary not separated with an empty line

Change-Id: I93a9f477f27c259bbfed20ff93105e63d5f6f82c
Related-Bug: 1516045
2015-12-26 01:23:16 +01:00
Martin Oemke
ca1ad7c930 Fix H105 errors in tackerclient code
This Patch fixes all H105 errors and enables this test.

[H105] Don’t use author tags. We use version control instead.

Change-Id: I60e9e844b420b31b8caa86d5338cf04322386506
Related-Bug: 1516045
2015-12-22 00:31:13 +01:00
Martin Oemke
196ba01bac Fix E265, E129, E113 errors in tackerclient code
This Patch fixes all E265, E129, E113 errors and enables this test for all new patches to tacker.
[E265] block comment should start with '# '
[E129] visually indented line with same indent as next logical line
[E113] unexpected indentation

Change-Id: I708dd9e0c4f3edb0b52a865578aceace726d1c2e
Related-Bug: 1516045
2015-12-18 15:51:26 +01:00
gong yong sheng
f342ea9c7a Remove service instance related stuff and fix unittests
Change-Id: I8052d9d683a1a2e80d8c160c70d2ea8f8b7240cd
Closes-bug: 1519968
2015-12-15 16:59:36 +08:00
Isaku Yamahata
4291ce92df use servicevm as service type for openstack client
Change-Id: I88138064b08a858a6fcdc715bc055e5ad031bcb9
2015-04-09 19:17:40 -07:00
Isaku Yamahata
87a2257477 implement servicevm related command
Change-Id: Ib606eb3e4721ec9a255092bf4581f3b576c3714a
2014-07-04 19:10:57 +09:00
Isaku Yamahata
14eeda8a0b rename neutron to tacker
Change-Id: I1d7c0729d387827e8d4355db9f4dccb265c2ec32
2014-07-04 19:10:43 +09:00