87 Commits

Author SHA1 Message Date
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
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
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
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
cce904b24b Merge "Fix deprecation warning in tackerclient" 2016-05-02 22:04:38 +00:00
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
Jenkins
d9a58b3207 Merge "Do not display password in VIM command outputs" 2016-04-21 21:29:05 +00:00
Tin Lam
12e2230b3b Fix deprecation warning in tackerclient
Changed _extract_service_catalog to match neutronclient to remove
deprecation warnings when attr is provided without filter_value to
get_urls().

Change-Id: Ic58060bdf50ce1f3834324372f1a375fbd15beb6
Closes-Bug: #1570641
2016-04-20 20:53:48 -05:00
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
Jenkins
27e85a9ae3 Merge "Clean unused code." 2016-04-08 18:09:06 +00:00
dharmendra
6a2df0a918 Clean unused code.
Removing unused class.

Change-Id: Id134e24564cbd2f2e977cd823121e67d9183fc8e
2016-04-07 09:36:28 +00:00
Sridhar Ramaswamy
20d3658353 Cleanup copyright header
Remove personal references in copyright header.

Change-Id: I05a8939f55acdd108276a37131f8988485801fbe
2016-04-04 03:30:14 +00:00
Jenkins
854afc4392 Merge "Cleanup vim settings" 2016-04-01 19:09:51 +00:00
Jenkins
8dd822ae97 Merge "Help message correction" 2016-03-28 22:48:48 +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
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
Jenkins
639e095ce6 Merge "Clean device related unused path." 2016-03-11 16:27:26 +00:00
Jenkins
a0bf314c0e Merge "Code clean-up in client.py" 2016-03-11 16:25:56 +00:00
dharmendra
8ac96559e3 Clean device related unused path.
Clean device related unused path.

Change-Id: I5ef5be953cda86bdef4092e49026edd6315aa186
2016-03-10 14:40:47 +05:30
dharmendra kushwaha
9c5461b1dd Code clean-up in client.py
Removing duplicate code from client.py

Change-Id: I408915211e005488c8cb08acbd32fdd0501d8c7a
2016-03-07 15:46:58 +00: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
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
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
Jenkins
5f340b9944 Merge "use keystoneclient exceptions instead of oslo-incubator code" 2015-12-28 17:33:15 +00:00
Steve Martinelli
4e33e17e22 use keystoneclient exceptions instead of oslo-incubator code
depending on any oslo-incubator code from another project is
dangerous. keystoneclient makes its exceptions public and it's
not recommended to use any code from
keystoneclient.openstack.common.apiclient since it's maintained
by oslo-incubator.

Change-Id: Ic0c43319eca06ca9dc29c00c5462eebae50bb698
2015-12-27 01:46:54 -05: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
Jenkins
56b3e8aea0 Merge "Fix for vnfd-delete with vnfd-name as arg" 2015-10-22 00:20:35 +00:00
Bharath Thiruveedula
24c84e54d9 Fix for vnfd-delete with vnfd-name as arg
When deleting a vnfd using vnfd-name as argument it returns
'descripton' string, if db has multiple entries with same name.
This patch fix this problem by checking the existence of key
'description' in 'vnfd' dict.

Change-Id: I3c350ec1b563b1933df93106717f373afc368146
Closes-Bug: #1508174
2015-10-21 07:38:11 +05:30
Jenkins
dcb06e8632 Merge "Escape yaml string to configure VDU" 2015-10-20 15:48:22 +00:00