73 Commits

Author SHA1 Message Date
Jenkins
166368b8b0 Merge "Make VNFD/VNF/VIM Name Mandatory in Tacker CLI" 2016-08-11 02:23:41 +00:00
Jenkins
4b7fce5642 Merge "Unified formats of log_xxx function" 2016-08-04 18:40:45 +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
Lu lei
31626a41c4 Unified formats of log_xxx function
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
2016-07-28 13:35:32 +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
Jenkins
602c06373d Merge "Remove the mask password logic in vim list and vim show" 2016-07-23 02:31: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
9910cbc746 Remove unused import library
TrivialFix

Change-Id: I3f75282a0b9b0493f8d0ead8092cee76824290a8
2016-07-20 01:11:11 +00:00
Jenkins
3c6f82dfaf Merge "Display Health status of VIM" 2016-07-11 19:30:22 +00:00
xu-haiwei
a5ad0bc3d3 Fix ext-show command error
Currently ext-show command can not be ran correctly, because
there are duplicated arguments added to command options.

Change-Id: I36fdb3608f9976c633902bba04d61c3cd63b1b39
Closes-bug: #1595036
2016-07-08 01:14:20 +00:00
Kawaguchi Kentaro
805ca417b8 Change the initial letter to capitals in Tacker CLI help texts
Change-Id: I24f87e65d963b5e425e4b49337d05830bcccc130
Closes-bug: #1593661
2016-06-22 12:55:32 +09:00
Jenkins
8605e2d254 Merge "Add client side support for error_reason" 2016-06-18 13:39:28 +00:00
Bharath Thiruveedula
fc363ee49a Add client side support for error_reason
Change-Id: I9bb58c5648f62a4b8eacc2d5b48ff95869cc8ae8
Partial-Bug: #1524214
Depends-On: I4897e7e4ebdb8c887fb9882e693e5b3d3f4664e5
2016-06-17 14:36:35 +05:30
Jenkins
d5ee6c3b50 Merge "Fix incompatible code with python3 for tox pep8 test" 2016-06-08 20:06:40 +00: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
Luka Krajger
05ac550251 Capitalize help descriptions
Change-Id: Ie93af370e455990ee2e4fcbb11a9f1dbfeb51aab
2016-05-19 18:03:14 +02:00
Bharath Thiruveedula
c32028201f Display Health status of VIM
Change-Id: I59993e2b2187588cc216cba3d05e3da1b4f1cc2c
Closes-Bug: #1554280
Depends-On: I25beaa5e1fd2fca87503c45d720f89d6f8156622
2016-05-12 16:39:52 +05:30
Jenkins
bc4b14ad45 Merge "Clean device from help message" 2016-05-02 20:22:25 +00: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
dharmendra
83cfe9306b Clean device from help message
Use VNF instead of device in help message

Change-Id: Ic5ae7bfff836a74d497d9ae997c1bb99c56eac4d
2016-04-13 18:50:26 +05:30
Sridhar Ramaswamy
20d3658353 Cleanup copyright header
Remove personal references in copyright header.

Change-Id: I05a8939f55acdd108276a37131f8988485801fbe
2016-04-04 03:30:14 +00:00
Jenkins
8dd822ae97 Merge "Help message correction" 2016-03-28 22:48:48 +00: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
Jenkins
28853ac0aa Merge "Cleanup Oslo Incubator code" 2016-03-22 05:27:20 +00: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
Ronald Bradford
231478cb3a Cleanup Oslo Incubator code
Graduated to oslo.i18n.
Remove unused libraries.

Implements: blueprint graduate-oslo-i18n [1]
https://blueprints.launchpad.net/oslo-incubator/+spec/graduate-oslo-i18n

Change-Id: I753cf17f5a798afbb868ae400e91f4ccd00879ef
2016-03-18 13:44:00 -04:00
dharmendra
23dc390b4f Help message correction
Help message correction

Change-Id: Iaf29d6c24968c28b1d7271d6363272565efbddb5
2016-03-16 13:31:24 +05:30
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
dharmendra
3b96c5f534 Code correction while calling base class method
Correcting the way, while calling base class method
in tackerclient/tacker/v1_0/extension.py

Change-Id: I3d6cb9bade0557e2c157b85b3682bf74b5d617e3
2016-01-22 11:03:19 +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
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
Jenkins
5de35c1cf2 Merge "delete interface attach/detach commands" 2015-11-29 07:25:30 +00:00
KLuka
83db572f62 Added command to display VNFD's template
Change-Id: I1e1a1674680e9f7c03e519b85930b8e51478b011
2015-11-12 18:16:39 +01:00
gong yong sheng
f0aa619ffe delete interface attach/detach commands
These two commands are not valid since the API are removed
on server side.

Change-Id: I17beed8fd7bd275dd187918a0a8f5b4a32aab902
Closes-bug: 1515526
2015-11-12 17:19:01 +08:00
Bharath Thiruveedula
f7d900083e Escape yaml string to configure VDU
Use 'unicode_escape' to escape YAML while configuring
VDU at the time of vnf-create or vnf-update using --config
flag

Change-Id: Ia4543b9437f28b4e6312bbd2fab9a7c47dd9f610
Partial-Bug: #1501079
2015-10-20 07:05:48 +05:30
Sripriya
6252d7fc03 Implement Tacker MANO API client changes
python-tackerclient has been modified to invoke Tacker MANO API
directly for VNF and VNFD resource requests. The current wrapper
implementation of invoking servicevm REST APIs has been removed.

Change-Id: I447fd971d97987911d5e85abafc94a24599ac209
Implements: blueprint tacker-api-mano
Depends-On: I9dffd4bee25b1f49aea7478f2bd779cf0f6dfb49
2015-09-22 12:29:52 -07:00
Jenkins
0d21069505 Merge "Parameterization support added for VNFD templates" 2015-09-05 00:32:06 +00:00
Jenkins
0bae3aa4ff Merge "Support Tacker client in master branch" 2015-09-01 16:34:32 +00:00
Shrinath Suresh
a3f34f83c6 Added validation for vnfd-create
Modified vnfd.py

Change-Id: I9cf523beecc9ede93168bb370b48936cf2adca40
Closes-Bug: 1481446
2015-08-26 19:50:02 +00:00
Vishwanath Jayaraman
782a34246d Parameterization support added for VNFD templates
This commit adds code to  support onboarding a VNFD template that
supports parameterized input.At VNF deploy time, this feature
allows to specify a yaml file with values to be substituted for
the parameters specified in the VNFD template.

Change-Id: If55229fde092d1d760870d0280aec0bcd5cb9c6f
Closes-bug: #1484227
Depends-On: I72b6e8da8826a3c80c1a73aa37f912fc9ec3e291
2015-08-12 19:08:53 -05:00
Sridhar Ramaswamy
3c77bac0a2 Support Tacker client in master branch
Change oslo.xyz references to oslo_xyz

Depends-On: I281ada8dd859a221994ba99c3bbd1bfe3d186451
Change-Id: I15506b6d0f872e04b765ea55398b8f35b750a061
Closes-Bug: 1480570
2015-08-12 16:20:27 -07:00
Jenkins
2fd66f81f5 Merge "The vnf-create and vnfd-create output is hard to read" 2015-07-22 13:39:51 +00:00
Jenkins
64f34d3528 Merge "Add --vnfd-name option to vnf-create command" 2015-07-19 08:02:34 +00:00