Justin Santa Barbara
bbcb2b70fd
Helper function that supports XPath style selectors to traverse an object tree e.g.
...
inst = {'fixed_ip': {'floating_ips': [{'address': '1.2.3.4'}], 'address': '192.168.0.3'}, 'hostname': ''}
private_ips = get_from_path(inst, 'fixed_ip/address')
public_ips = get_from_path(inst, 'fixed_ip/floating_ips/address')
Avoids messy [.get() / if / for]* nested code
2011-02-23 22:50:33 +00:00
Justin Santa Barbara
c30a317f52
Rename minixpath_select to get_from_path
2011-02-23 14:07:08 -08:00
Justin Santa Barbara
ffc8941955
Cope when we pass a non-list to xpath_select - wrap it in a list
2011-02-23 12:36:09 -08:00
Justin Santa Barbara
2a8b3a5d5c
Created mini XPath implementation, to simplify mapping logic
2011-02-23 12:05:49 -08:00
Soren Hansen
dbfd17c261
Merge trunk
2011-02-22 11:40:57 +01:00
Vishvananda Ishaya
79ced5857d
switch to explicit call to logging.setup()
2011-02-21 13:46:41 -08:00
Soren Hansen
24d9a9c766
PEP-8 fixes
2011-02-21 14:16:42 +01:00
Vishvananda Ishaya
81bbef6c2c
fixes for various logging errors and issues
2011-02-20 23:16:10 -08:00
Soren Hansen
706ba10488
Merge trunk
2011-02-19 00:37:15 +01:00
Soren Hansen
a844626c13
Introduce IptablesManager in linux_net. Port every use of iptables in linux_net to it.
2011-02-18 22:10:06 +01:00
Ed Leafe
afbda52356
Uncommitted changes using the wrong author, and re-committing under the correct author
2011-02-17 22:09:26 +00:00
Soren Hansen
5424568128
Use eventlet.green.subprocess instead of standard subprocess
...
Eventlet's monkey patching causes the os.wait call in the standard
subprocess module to be non-blocking. This means that if it happens
to call self.wait on a Popen object that hasn't completely terminated
it'll be left as a zombie and its fd's are also leaked.
2011-02-14 21:06:16 +01:00
SuperStack
81c824b003
Fix PEP8 violations
2011-02-09 11:18:48 -08:00
Justin Santa Barbara
1bae72c46d
Fixes for Vish & Devin's feedback
2011-02-04 13:07:17 -06:00
Ed Leafe
3e876a5431
Fixed formatting issues in current codebase.
2011-01-27 13:52:10 -06:00
Nachi Ueno
e10701cfbe
merged r621
2011-01-26 16:21:37 -05:00
Nachi Ueno
017d6efb2f
get_my_linklocal raises exception
2011-01-19 11:13:33 +09:00
Ed Leafe
1da0b67664
Completed first pass at converting all localized strings with multiple format substitutions.
2011-01-18 21:00:28 -05:00
Hisaharu Ishii
88af032244
Fixed error message in get_my_linklocal
2011-01-18 11:41:05 +09:00
Rick Harris
943e66f37a
Merging trunk
2011-01-17 11:16:36 -06:00
Andy Smith
f9ce7b9fdb
merge from upstream
2011-01-14 17:48:48 -08:00
Koji Iida
257c644649
Fixed missing _().
...
Fixed to follow logging to LOG changes.
Fixed merge miss (get_fixed_ip was moved away).
Update some missing comments.
2011-01-13 15:58:05 +09:00
termie
551d1bfe6d
merge from upstream and fix leaks in console tests
2011-01-12 20:19:28 -08:00
Rick Harris
fd4d2a59d9
Merging trunk
2011-01-12 13:47:40 -06:00
Nachi Ueno
d6dad4b8fd
Fixed syntax errors
2011-01-12 10:12:18 -05:00
Nachi Ueno
c321080b80
Merged with 549
2011-01-12 18:46:01 +09:00
Hisaharu Ishii
4a01d9be8e
Change command to get link local address
...
Remove superfluous code
2011-01-12 18:37:18 +09:00
Nachi Ueno
70ef356ae3
Merged with r548
2011-01-12 17:47:54 +09:00
Hisaharu Ishii
e5df72df5e
Fixed for pep8
...
Remove temporary debugging
2011-01-12 11:26:22 +09:00
Nachi Ueno
b82a60f6b1
changed exception class
2011-01-12 02:15:09 -05:00
Anthony Young
c3e3a48d39
merge trunk, fix conflict
2011-01-11 17:32:12 -08:00
Rick Harris
c8600cb17c
Merging trunk
2011-01-11 12:05:51 -06:00
Anthony Young
98839fc527
merge trunk
2011-01-10 13:06:36 -08:00
Vishvananda Ishaya
b9e667fcc8
Moved get_my_ip into flags because that is the only thing it is being used for and use it to set a new flag called my_ip
2011-01-09 18:08:54 -08:00
Andy Smith
f9f5b5b112
merged from upstream and made applicable changes
2011-01-07 16:03:53 -08:00
Rick Harris
43e98dbda7
Removing some FIXMEs
2011-01-06 23:38:01 -06:00
Rick Harris
4e2443abf2
Reserving image before uploading
2011-01-06 21:37:33 -06:00
Nachi Ueno
7e99b7df90
missing _()
2011-01-05 12:39:35 -05:00
Andy Smith
beb3fdaf65
merged from trunk
2011-01-04 12:57:18 -08:00
Nachi Ueno
f95b7218d2
Some Bug Fix
2011-01-04 07:40:29 -05:00
Nachi Ueno
f50ccdd180
Merged and fiexed conflicts with r515
2011-01-04 04:18:26 -05:00
Todd Willey
c9694eba49
Apply logging changes as a giant patch to work around the cloudpipe delete + add issue in the original patch.
2011-01-04 00:23:35 -05:00
Anthony Young
052eec8228
merge trunk
2010-12-28 18:11:02 -08:00
Andy Smith
60867709dc
Added stack command-line tool
2010-12-27 15:15:24 -08:00
Armando Migliaccio
523bea7ce9
logs inner exception in nova/utils.py->import_class
2010-12-26 14:08:38 +00:00
NTT PF Lab
44d812a345
Support IPv6
2010-12-24 20:38:49 +09:00
Anthony Young
caa38a0dc0
merge trunk
2010-12-23 00:38:11 -08:00
Andy Smith
729ff6242d
added tests to ensure the easy api works as a backend for Compute API
2010-12-22 17:53:42 -08:00
root
1c6e04e397
WSGI middleware for lockout after failed authentications of ec2 access key.
2010-12-22 20:19:20 +00:00
Vishvananda Ishaya
533898e77b
merged i8n and fixed conflicts
2010-12-22 17:31:26 +00:00