59 Commits

Author SHA1 Message Date
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
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
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
Bharath Thiruveedula
9a389194fb Limit description length in vnfd-list
Change-Id: I2d8ce85edeca1a76525e8bb2c9cb20f2ff913539
Closes-Bug: #1501482
2015-10-08 10:46:06 +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
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