Commit Graph

15 Commits

Author SHA1 Message Date
liu-sheng 74f953a1d7 Remove vi modelines
We don't need to have the vi modelines in each source file,
it can be set in a user's vimrc if required.

Also a check is added to hacking to detect if they are re-added.

Change-Id: I347307a5145b2760c69085b6ca850d6a9137ffc6
Closes-Bug: #1229324
2014-02-03 14:19:44 +00:00
Alex Gaynor cd9d8e45c6 Remove the monkey patching of _ into the builtins
Previous _ was monkey patched into builtins whenever
certain modules were imported. This removes that and
simply imports it when it is needed.

Change-Id: I0af2c6d8a230e94440d655d13cab9107ac20d13c
2013-07-26 07:31:17 -07:00
Kurt Taylor d17f9ab13d Update OpenStack LLC to Foundation
Update all references of "LLC" to "Foundation".

Change-Id: I009e86784ef4dcf38882d64b0eff484576e04efe
2013-02-26 19:15:29 -05:00
Sulochan Acharya 3a0102668c Fixes syntax error in nova.tools.esx.guest_tools.py
Fixes syntax error in nova.tools.esx.guest_tools.py.
Fixes bug1067840.

Change-Id: Ib08e03a2be05f02c30e9578fa8773f1171a8b330
2012-10-17 14:04:01 -05:00
Zhongyue Luo 61c5597a09 Backslash continuation removal (Nova folsom-2)
Fixes bug #938588

Backslash continuations removal for scripts in bin/, plugin/, and etc.

Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8d
2012-05-31 11:26:37 +08:00
Yuriy Taraday 4fe6f839bd Improved localization testing.
Moved localization tests to tools/hacking.py.

Change-Id: I903b90dfb09a46a72b1c64c30301f90661999f5b
2012-04-10 22:01:55 +04:00
Hengqing Hu 9a042d3c50 Remove trailing whitespaces in regular file
Fixes bug #945346

Change-Id: I07a303c2e503e50d7138585c683e0d1310339276
2012-03-07 13:43:37 +08:00
sateesh 6930c62a02 Multi-NIC support for vmwareapi virt driver in nova.
Does injection of Multi-NIC information to instances with Operating system flavors Ubuntu, Windows and RHEL.
vmwareapi virt driver now relies on calls to network manager instead of nova db calls for network configuration information of instance.
Ensure if port group is properly associated with vlan_interface specified in case of VLAN networking for instances.
Re-oranized VMWareVlanBridgeDriver and added session parmeter to methods to use existing session. Also removed session creation code as session comes as argument.
Added check for flat_inject flag before attempting an inject operation.
Removed stale code from vmwareapi stubs.
Also updated some comments to be more meaningful.
Did pep8 and pylint checks. Tried to improve pylint score for newly added lines of code.
2011-09-05 12:51:07 +05:30
Arvind Somy 43713a2e45 - Modified NOTE in vm_util.py
- Changed gettext line to nova default in guest_tool.py
2011-06-27 14:41:07 -04:00
Arvind Somya asomya@cisco.com 8ec448d2bc Fixed the default arguments to None instead of an empty list. 2011-06-24 12:22:14 -04:00
Arvind Somya asomya@cisco.com 03db1b862f Fixing PEP8 compliance issues. 2011-06-24 12:15:13 -04:00
Arvind Somy c3af5e6550 Fix for lp:796834
- Fixes and enhancements to the ESX(i) guest_tool.py script.
2011-06-17 15:12:01 -04:00
Jason Koelker f59f792c83 use 'is not None' instead of '!= None' 2011-04-18 15:53:09 -05:00
sateesh 45ca7b71a8 * Updated document vmware_readme.rst to mention VLAN networking
* Corrected docstrings as per pep0257 recommentations.
* Stream-lined the comments.
* Updated code with locals() where ever applicable.
* VIM : It stands for VMware Virtual Infrastructure Methodology. We have used the terminology from VMware.  we have added a question in FAQ inside vmware_readme.rst in doc/source
* New fake db: vmwareapi fake module uses a different set of fields and hence the structures required are different. Ex: bridge : 'xenbr0' does not hold good for VMware environment and bridge : 'vmnic0' is used instead. Also return values varies, hence went for implementing separate fake db.
* Now using eventlet library instead and removed io_utils.py from branch.
* Now using glance.client.Client instead of homegrown code to talk to Glance server to handle images.
* Corrected all mis-spelled function names and corresponding calls. Yeah, an auto-complete side-effect!
2011-03-16 21:54:02 +05:30
sateesh 344304d859 Moved guest_tool.py from etc/esx directory to tools/esx directory. 2011-03-08 15:41:36 +05:30