14 Commits

Author SHA1 Message Date
Adit Sarfaty
ff9d30f938 Fix OSC client extension initialization
Commit I57c49e67f9cb285a5f5bc19ec53a42d10de9f0da changed the openstack
client extensions initializion code, making the netwrok service init
breaking out pep8. As it was redundent, this patch removes it.

Change-Id: Ic3c496c85600a39aebcbffac8e0ff1bbf2f349f8
2018-11-04 09:59:10 +02:00
Adit Sarfaty
4759889b5f Upgrade OSC security groups code
The openstack client new version added functionality that the
vmware_nsx code should also add.

Change-Id: Iac22f2204c5215f5d20dc9accdae2a5e75779de5
2018-07-29 10:25:50 +03:00
Adit Sarfaty
64e4050ed1 TVD: fix project plugin OSC to display errors
The project plugin mapping used by the TVD plugin uses the openstack
client for configration by the admin user.
This patch catches the plugin exceptions to make sure the user sees
the error.

Change-Id: I8dce5e1daf2d0c4796c53e831b81462b27e8bc9c
2018-04-15 08:55:53 +03:00
Adit Sarfaty
9743a4d0e4 Fix pep8 new warnings
A recent change in pep/pycodingchecks introduced new warnings as part of
the pep8 target that causes pep8 to fail now.

This patch fixes code that issued warnings W503,E731,E266,E402

Change-Id: I57c035440bd847193ea5f8a8078016fb9baa3c31
2018-04-11 09:00:58 +03:00
Gary Kotton
d13ac26f07 resource2 is depracted, use resource
Change-Id: I6870d129e4241377ab28d9fb9c4963e87845f5a5
2018-02-13 06:23:50 -08:00
Gary Kotton
792a6a0103 NSX TVD: V, T and simple DVS Coexist in the same plugin
Introduce a plugin that can work with all of the VC and NSX
offerings under the same umbrella of a single plugin.

Co-Authored-By: Adit Sarfaty <asarfaty@vmware.com>

Change-Id: I0449d64e3cf79b7a3a846dacba95e8854d53bdf8
2017-12-17 01:31:43 -08:00
Adit Sarfaty
b7b7f9f685 Fix OSC plugin global declaration
TrivialFix

Change-Id: I63f9eb8ab72799613387656d1edef50c14d579fd
2017-03-10 08:47:30 +00:00
Rajiv Kumar
80fcf24d02 Switch to oslo_log
vmware-nsx is currently using python logging module to
implement logging functionality.

This patch made a switch to oslo.log(logging for openstack projects)

Reference:-
http://docs.openstack.org/developer/oslo.log

Change-Id: Ibdb4f6ea0abc56cb98bdc57547bc3b4370f9875b
2017-02-23 10:34:53 +02:00
Jenkins
a739454893 Merge "Add security group policy extension to OSC" 2016-11-10 16:15:07 +00:00
Jenkins
d39ff327c1 Merge "Add security group extensions to OSC" 2016-11-10 16:11:03 +00:00
Adit Sarfaty
7a74b75a72 Add security group policy extension to OSC
Change-Id: I87fdcc937da36adbf4b9f620c205ee1dcdf6fcd2
2016-11-10 15:50:39 +02:00
Adit Sarfaty
e30d060cb2 Add security group extensions to OSC
Change-Id: Ic626c3efed3dfd90ae5045591f6949b2b81915b1
2016-11-10 15:50:22 +02:00
Adit Sarfaty
d0878e3f48 OSC integration - port extensions
Add port mac-learning & fix port provider-security-group to the
openstack client.

Change-Id: Ie3cefd1286d0f9dcfac2fe623ddb17b90e3f58bf
2016-11-10 14:02:34 +02:00
Adit Sarfaty
62e5881010 OCS plugin + initial extensions support
Create an openstack client plugin for vmware nsx, and add the some of
the extensions suport: router-type, router-size, subnet dhcp-mtu and
dns-search-domain and port provider security groups and vnic index

Work for future patches:
- More unit tests (provider-security-groups)
- Add the rest of the extensions

Change-Id: I5b335de000b310cbcbb9a2f81483fd28f8d9afea
2016-10-30 12:33:03 +02:00