263 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
d621916252 Updated from global requirements
Change-Id: I46902630fac296d8af30cfbfbcbbf89c9b080aa5
2015-12-15 18:17:28 +00:00
Jenkins
b8dff342e0 Merge "Remove service instance related stuff and fix unittests" 2015-12-15 17:30:53 +00:00
shu-mutou
b3e5932385 Drop py33 support
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: Ie7cd91f72b6bc80723286187ebe5d0bcb769d7d2
Closes-Bug: #1526170
2015-12-15 18:20:27 +09: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
Ondřej Nový
48f1111f8f Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: Ifd9b14f00995371ab3bcce1c8e0efcafe56fe862
2015-12-11 21:26:52 +01:00
OpenStack Proposal Bot
9cc1ebe824 Updated from global requirements
Change-Id: Ic74e675073c69e036dce8d1b9bcf926261de3801
2015-12-08 06:52:18 +00:00
ricolin
ad5381a91d Remove py26 support
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Closes-Bug: 1519510

Change-Id: Ie8dc40df5fddce298f31f7a3d5436493b9b090bb
2015-12-03 00:04:31 +08:00
Jenkins
5de35c1cf2 Merge "delete interface attach/detach commands" 2015-11-29 07:25:30 +00:00
Jenkins
42a1a923b9 Merge "Update requirements according to global requirements" 2015-11-26 07:31:47 +00:00
yong sheng gong
6242db9fb1 Update requirements according to global requirements
This is important because if we install tacker along with
other openstack components, this inconsistency will break
system.

Due to the upgrade of hacking, current codes violate many
new rules. These violations will be fixed in follow up
patches.

Author:    yong sheng gong <gong.yongsheng@99cloud.net>
Change-Id: Ib30d31ca804aebf43c02eb8247c718ab00629f6f
Closes-bug: 1516045
2015-11-16 17:02:47 +08: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" 0.2.0 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
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
Jeremy Stanley
fed4a776dd Update .gitreview for new namespace
Change-Id: I82f0337d7e9680cd2ea98e18709c194286d4b22a
2015-10-17 22:38:05 +00:00
Bharath Thiruveedula
9a389194fb Limit description length in vnfd-list
Change-Id: I2d8ce85edeca1a76525e8bb2c9cb20f2ff913539
Closes-Bug: #1501482
2015-10-08 10:46:06 +05:30
Jenkins
27c0176640 Merge "Implement Tacker MANO API client changes" 2015-09-28 17:34:22 +00:00
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
Monty Taylor
8459dd4a47 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: I89b572937fabdbb462edfe6db6c2d45128a3172d
2015-09-21 15:27:14 +00:00
Vishwanath Jayaraman
54c71bb9e3 Fix drop of config values supplied by end user
This commit adds code to ensure that the values supplied by end
user for 'config' argument is not dropped in the create_vnf()
method. This scenario occurs in the case where end user supplies
values for both the 'config' and 'param-file' arguments.

Change-Id: Ied565217c2571283330f8f8cf62f76e2942826ba
Closes-Bug: #1493671
2015-09-09 01:10:08 -05: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
Bob HADDLETON
ab13fa3c69 The vnf-create and vnfd-create output is hard to read
* The vnf and vnfd create output text contains the "attributes"
    field which is so large that it makes it impossible to format
    the output text so it is readable.

  * Modified the CreateCommand class to provide the ability to
    remove specified fields from the output of the create command

  * Modified the CreateVNF and CreateVNFD classes to specify that
    the "attributes" field should be removed from the output of
    the create command.

Change-Id: I7563175a2cec3e3e9528b66153354aec982a14b4
Closes-Bug: 1474975
2015-07-18 16:10:52 -05:00
changzhi
0c3c5750c8 Add instructions to tackerclient
Add attach/detach interface instructions to tackerclient.

Change-Id: I00235e2150fd1d44111ceb2a4a9a7bba2b5d82ac
2015-07-17 11:38:10 +08:00
Bob HADDLETON
16b9bc91ef Add --vnfd-name option to vnf-create command
* Added support for vnfd-name in place of the vnfd-id when
    creating a VNF.  The vnfd-id and vnfd-name are now mutually
    exclusive parameters but one of them is required to be
    specified.  An appropriate error will print if neither is
    provided.

  * If the vnfd-name is specified the code will retrieve the
    associated vnfd-id and pass it to the create method as if it
    had been specified on the command line.

Change-Id: Ia62a33ee821e0fc89a167755aa55beac94d36c57
Closes-Bug: 1474983
2015-07-15 15:23:35 -05:00
Jenkins
cc5e786f08 Merge "Clean up list output for device, vnf and vnfd" 2015-07-07 21:15:03 +00:00
Bob HADDLETON
5cd50a83f1 Clean up list output for device, vnf and vnfd
* Added list_columns to the List classes for Device, VNF and VNFD

Change-Id: Ib3af30f01a522c6dfbfaa3412f1e1097976e7818
2015-07-07 15:58:05 -05:00
huxining
8c4636c763 call _super method for _XtachInterface parent class
Change-Id: I7a7dc28bf91cdcd8fd5dd22c9a7e399b27c1908c
2015-07-03 18:10:53 +08:00
Isaku Yamahata
85598f7855 update_vnf: support config as yaml file
Change-Id: I8f594a35f0e9b6478f0b0292196bd99f3c6dacfa
2015-05-15 18:57:07 -07:00
Isaku Yamahata
584bb05ae9 vnfd: name and description was not supported
make it pass to tacker server

Change-Id: I1b8ec2b45568a870782ca38e8930b2def38d163b
2015-05-11 15:45:34 -07:00
Isaku Yamahata
273e022e41 device, vnf: name column support
Change-Id: Idfe5dc951b0cac24e5c5a8997d5c0bf2b2b976e4
2015-05-02 15:38:57 -07:00
Isaku Yamahata
10ade2160f vnf-create: key error by tenant_id
Change-Id: I16acad999fd8abd6f2673295c548cd92f1a96e21
2015-05-01 16:16:01 -07:00
Isaku Yamahata
34c5f67338 tackerclient: api for vnfd, vnd
Change-Id: I5c8c1f768471ead9c09c0cac8e90241a702c63b4
2015-05-01 15:41:02 -07:00
Isaku Yamahata
480a86f605 vnfd, vnf: command options
Change-Id: I34cc7ab9b77facddb9c26f93a003f273b709e7f0
2015-05-01 07:26:04 -07:00
Isaku Yamahata
03242bdff9 teach vnf-create config
Change-Id: I496c923eb09550b241ab6f4aed0e29388f87de5f
2015-05-01 06:22:16 -07:00
Isaku Yamahata
fc27717eb1 add vnf related command
Change-Id: I781814432e4fc5fd57e54c75310cf6522a1c647d
2015-05-01 04:04:34 -07:00
Isaku Yamahata
71556e2c3e add vnfd commends
Change-Id: I76c152e3dec0ef8cfd14b596732b4840162e2f0a
2015-05-01 03:52:18 -07:00
Isaku Yamahata
36ae4a0368 remove commands for service
For PoC, service APIs aren't necessary.
Remove them for simplicity.

Change-Id: I5d6cd291366ec0a1ee55d22c8a0a1548a4683df3
2015-04-28 14:37:34 -07:00
Isaku Yamahata
5709e82d8e command: device-template and device
Change-Id: I8142d7a9fb4bf04e0148d5c44afb890c4db8ec62
2015-04-13 23:49:10 -07:00
Isaku Yamahata
c5367c889c Revert "service instance: drop command related to service instance"
This reverts commit bd5bbfbe92ab275275ac6b4458054de6ecc88da1.

Conflicts:
	tackerclient/v1_0/client.py

Change-Id: I4e7f0cc62c0940c8ed21cbab193b95b2afb97327
2015-04-10 14:48:43 -07:00
Isaku Yamahata
dc2a2b78a8 XML_NS_V20 -> XML_NS_V10
Change-Id: I4df07e9c2bad16f21c7838fa2268dc21ac7e3d22
2015-04-10 11:16:36 -07:00
Isaku Yamahata
e843dbd1b6 catch up neutronclient change
Change-Id: I1354fe5378566dec66e7cac311a394cb5498c734
2015-04-10 11:16:28 -07:00
Isaku Yamahata
4291ce92df use servicevm as service type for openstack client
Change-Id: I88138064b08a858a6fcdc715bc055e5ad031bcb9
2015-04-09 19:17:40 -07:00