summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Switch to non-namespaced module imports0.11.1Davanum Srinivas2015-03-1210-12/+12
| | | | | | Looks like we missed a few Change-Id: I803c09170c9dbc9439d71259f6b632c4cbb6037f
* Imported Translations from TransifexOpenStack Proposal Bot2015-03-101-5/+5
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I65e1d013ed96f0b1ad5f860c38a1d398e4b6e86b
* Move missing tests to new oslo_vmware locationSabari Kumar Murugesan2015-03-0410-52/+52
| | | | | | | | | | | | commits a95c0ae05f91c81de061c6e1460189259f7717fe and 3356e2e147043a4e57117a5977932232d3412c52 added new tests meant for oslo_vmware to the old tests location. Going forward, the old tests location can be removed and we do not want to lose these new tests. This patch moves the missing tests to the new location. One should make sure tests for new code are added to oslo_vmware/tests location. Change-Id: I67b3954dd6cd8e64357ceb78a990a2690b8c9c8e
* Imported Translations from Transifex0.11.0OpenStack Proposal Bot2015-03-022-4/+14
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I373ccc30ec8024022768fbae991093b45652b768
* Add get_datastore_by_ref method to oslo.vmwareSabari Kumar Murugesan2015-02-264-0/+112
| | | | | | | | | | | | | | | Two methods are added as part of this patch:- 1. get_datastore_by_ref - returns a Datastore object given a datastore reference. 2. get_object_properties_dict - a vim utility method to retrieve properties of an object as a dictionary. Currently, Glance needs these methods to find datastore objects from datastore references. Change-Id: I516536ea4098357540531105b4f97e6668fb3f08
* Change use of random to random.SystemRandomEric Brown2015-02-231-1/+2
| | | | | | | | | | | There's no reason to use random directly unless the code really requires a pseudo-random number generator. This is for security hardening and identified by the security static analysis project called Bandit. SecImpact Change-Id: I6b5fdd8ab17ec6ed2cb8c195bee1fb5da0e90e9f
* Merge "Updated from global requirements"0.10.0Jenkins2015-02-232-2/+2
|\
| * Updated from global requirementsOpenStack Proposal Bot2015-02-202-2/+2
| | | | | | | | Change-Id: I19981b5ab37bd7c219eca05a4f663b3e09a8cbba
* | Imported Translations from TransifexOpenStack Proposal Bot2015-02-222-44/+44
|/ | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Id829e2bea22fb0d90c35af20ff601d26748c85a5
* Merge "Handle SPBM SecurityError"Jenkins2015-02-173-1/+37
|\
| * Handle SPBM SecurityErrorVipin Balachandran2015-02-133-1/+37
| | | | | | | | | | | | | | | | SPBM APIs throw SecurityError on session expiry. Currently it is unhandled which could result in session reconnection failure. This patch fixes it. Change-Id: Ibbd534464c73cc8afc30ba6ff29b46f9287a83c6
* | Merge "PBM utility method to retrieve profiles of a VM"Jenkins2015-02-172-0/+41
|\ \
| * | PBM utility method to retrieve profiles of a VMVipin Balachandran2015-02-132-0/+41
| |/ | | | | | | | | | | | | Add method 'get_profiles' in pbm module to retrieve SPBM storage profiles associated with a VM. Change-Id: I1c96fc87ae5a24c470a67786bac5197f23c0f288
* | Merge "Add missing links to README"Jenkins2015-02-161-9/+6
|\ \ | |/ |/|
| * Add missing links to READMEDoug Hellmann2015-01-281-9/+6
| | | | | | | | | | | | | | The release notes script expects to have the bug tracker link in the README. Add it and other missing links found in Oslo READMEs. Change-Id: I84d926b0bf51f83385e04bf9d5750f620c9be07f
* | Updated from global requirementsOpenStack Proposal Bot2015-02-031-1/+1
| | | | | | | | Change-Id: Ia48d525b28a1c0d60236c2e2c798f3360e10c779
* | Imported Translations from TransifexOpenStack Proposal Bot2015-02-024-12/+122
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I83ea3a6132f14787a2c4e52dd1e42c19a76e4954
* | VMWare NSXv: Common componentsKobi Samoray2015-01-2819-0/+2707
|/ | | | | | | | | | | | | For Kilo, it was decided to split vendor code into stackforge repos, while services (*aas) code is moved to neutron-*aas repos. Some components are common to VMWare NSXv neutron plugin and services plugins. As we do not want to add dependencies between the neutron-lbaas, neutron-fwaas repos and the stackforge/vmware-nsx repo, (nor duplicate the code), we move these common components to oslo.vmware under oslo.vmware.network Change-Id: If3c98bc9431253768914316db6b48d1777518353 Partially-Implements: blueprint vmware-nsx-v
* Merge "Imported Translations from Transifex"0.9.0Jenkins2015-01-271-9/+9
|\
| * Imported Translations from TransifexOpenStack Proposal Bot2015-01-271-9/+9
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I758d3cd6c4d449f28b912f2527cdecd9b6492288
* | Merge "Updated from global requirements"Jenkins2015-01-272-2/+2
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2015-01-272-2/+2
| |/ | | | | | | Change-Id: I2b10ef65cf9a5a1b2aa319c889560da1f0be5825
* | Merge "Fix line wrapping"Jenkins2015-01-271-1/+4
|\ \ | |/ |/|
| * Fix line wrappingTracy Jones2015-01-261-1/+4
| | | | | | | | Change-Id: I4fbf8242d992e9eea976dc1232aa70e7e3cdb87c
* | Correct usage to oslo_vmwareEric Brown2015-01-261-2/+2
| | | | | | | | | | | | | | | | | | The recently updated usage doc should reference oslo_vmware not oslo.vmware. bp/drop-namespace-packages Change-Id: Ib3be81df6de7d42067ec69a7a811f6fe5def9241
* | Merge "Fix missing project name in installation doc"Jenkins2015-01-241-3/+3
|\ \
| * | Fix missing project name in installation docRyan Hsu2015-01-231-3/+3
| |/ | | | | | | | | | | | | | | Currently, the installation doc is missing the project name for the pip install command. This commit adds the correct project name. Change-Id: I5c65d36344b52c74d8fb823c3bb2703ba097a743
* | Updated from global requirementsOpenStack Proposal Bot2015-01-242-3/+3
| | | | | | | | Change-Id: Id9f0e7ef7bdee30e992162176439bf20aee9e6ab
* | Correct the doc usage exampleEric Brown2015-01-231-2/+9
|/ | | | | | | | The docs contain an invalid import as an example of the usage of the oslo.vmware library. This patch corrects the import and puts a small, more meaningful example in its place. Change-Id: I8ae1d112d2d58115f13c3531b98c91f36f2e7d15
* Imported Translations from TransifexOpenStack Proposal Bot2015-01-224-62/+40
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Iac624170c07c2b7051763e40f41082cfd16768e6
* Merge "Updated from global requirements"Jenkins2015-01-222-2/+2
|\
| * Updated from global requirementsOpenStack Proposal Bot2015-01-152-2/+2
| | | | | | | | Change-Id: I7a062d9f158c2e36e3d9e330ad811a8025f540bc
* | Merge "Imported Translations from Transifex"Jenkins2015-01-222-115/+131
|\ \
| * | Imported Translations from TransifexOpenStack Proposal Bot2015-01-212-115/+131
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: If91990af9990056aed89d3e83e6a7df108b0d09e
* | | Fix race during session creationVipin Balachandran2015-01-204-26/+55
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Concurrent VIM API invocations after session expiration would result in concurrent login attempts. In such cases, if a login attempt is made after a successful one, it would result in InvalidLogin. This is because vCenter server won't allow login within an active session. On the other hand, if two or more login attempts reach vCenter at the same, it would result in session leak-- the last one returned overwrite any of the previous sessions. This patch prevents the race condition by making session creation synchronized and checking for an active session before login attempt. We can also remove the call to terminate previous session after login since a login is attempted only if there is no active session. Change-Id: Ib4ca3553ce14c80ab722092907d797767072741c Closes-Bug: #1409014
* | Make setup.cfg packages include oslo.vmwareDan Prince2015-01-161-0/+1
|/ | | | | | | | This properly deploys the oslo.vmware package may resolve sphinx build errors for projects which have not yet upgraded to oslo_vmware. Change-Id: I4db750fb2356ebf44a8fccf7c422b474fefec0ee
* Move files out of the namespace packageDoug Hellmann2015-01-1256-3435/+6538
| | | | | | | | | | Move the public API out of oslo.vmware to oslo_vmware. Retain the ability to import from the old namespace package for backwards compatibility for this release cycle. bp/drop-namespace-packages Change-Id: I11cf038c3832a7357ed53363d8ccf143daddd2a2
* Use ToggleLazy fixture from oslo.i18nDoug Hellmann2015-01-081-7/+2
| | | | | | | Use the ToggleLazy fixture from oslo.i18n instead of managing the internal flag ourselves. Change-Id: I5d4ec87e84c95050587e436a42727d428ab01408
* Merge "Use _is_valid_ipv6 from oslo.utils"Jenkins2014-12-301-10/+3
|\
| * Use _is_valid_ipv6 from oslo.utilsChangBo Guo(gcb)2014-12-231-10/+3
| | | | | | | | | | | | | | | | Remove _is_valid_ipv6 from oslo.vmware and replace it's usages by usages of _is_valid_ipv6 from netutils, because this methods implements the same functionality. Change-Id: I79f3528d940558a19c4cdea419915a7ce4f843e3
* | Allow checking api sessionSabari Kumar Murugesan2014-12-221-3/+3
|/ | | | | | | | | | | | session._is_current_session_active should be made available to consumers of the library as a supported api. It will be very helpful to know the state of the session. E.g glance vsphere store bug 1402354. I verified that the old private method is not in use by other openstack projects. Change-Id: I1c244c7b0edbb50e5a84e6e6f6081b20c70451fb
* Updated from global requirementsOpenStack Proposal Bot2014-12-112-2/+2
| | | | Change-Id: Iedcf94964907d2682df9f329b617b5d45e3f9667
* Updated from global requirementsOpenStack Proposal Bot2014-12-101-1/+1
| | | | Change-Id: Icce4f5f2c18590596157a9634bb51f43f225ac29
* Merge "Add pbr to installation requirements"Jenkins2014-12-101-0/+2
|\
| * Add pbr to installation requirementsDoug Hellmann2014-12-101-0/+2
| | | | | | | | | | | | | | | | | | Add pbr to the list of installation requirements so that it is installed via pip before this library is installed, instead of with easy_install. This avoids issues like Bug #1384919, and ensures that projects that use this library as a dependency are properly installed. Change-Id: I6c155370dbd01fe4748d5137bdf288e8d3e1a67e
* | Update urllib3 requirementsSabari Kumar Murugesan2014-12-081-1/+1
| | | | | | | | | | | | | | | | | | Recent commit 969bfba931f132199662851c6f309be67761c4f9 uses urllib3 connection api's that is available only from 1.8.3. Updating the requirements file. Change-Id: Ibcac6d02b704e41f64baf6d237049b263e5e036d
* | Workflow documentation is now in infra-manualJeremy Stanley2014-12-051-4/+3
| | | | | | | | | | | | | | Replace URLs for workflow documentation to appropriate parts of the OpenStack Project Infrastructure Manual. Change-Id: Ic52ae9d1d41964dd0e535aa0569df2a7c958f105
* | Merge "Imported Translations from Transifex"Jenkins2014-12-042-105/+103
|\ \
| * | Imported Translations from TransifexOpenStack Proposal Bot2014-12-042-105/+103
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I4425493d4cdac4968e97b5c39aea1be3cb6b001d
* | | Fix re-create session during transient failuresSabari Kumar Murugesan2014-12-042-8/+35
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When invoke_api fails due to VimConnectionException it does not always mean an expired vim session. It could be due to other transient failures where the socket gets closed by the server. To make it worse, vcenter doesn't support login call when a session is already active. As a result, the re-create session may instead fail. This fix checks to see if the session is active before re-creating the same. Closes-Bug: #1398502 Change-Id: Id28217f8fe63c23767c66221a68ec944c9b27807