[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a
Garrett Holmstrom
gholms at fedoraproject.org
Sun Jun 16 02:29:46 UTC 2013
The following commit has been merged in the master branch:
commit a1d639116812ffc380d4f0684f95432ef8252ece
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Sun Apr 22 15:59:38 2012 -0700
Minor cleanup
diff --git a/euca2ools/commands/euca/describeaddresses.py b/euca2ools/commands/euca/describeaddresses.py
index 8b01c57..24223c1 100644
--- a/euca2ools/commands/euca/describeaddresses.py
+++ b/euca2ools/commands/euca/describeaddresses.py
@@ -37,13 +37,13 @@ class DescribeAddresses(EucalyptusRequest):
Args = [Arg('address', nargs='*', route_to=None,
help='''limit results to one or more elastic IP addresses or
allocation IDs''')]
- Filters = [Filter('domain', choices=['standard', 'vpc'],
+ Filters = [Filter('allocation-id', help='allocation ID (VPC only)'),
+ Filter('association-id', help='association ID (VPC only)'),
+ Filter('domain', choices=['standard', 'vpc'],
help='whether the address is a standard or VPC address'),
Filter('instance-id',
help='instance the address is associated with'),
- Filter('public-ip', help='the elastic IP address'),
- Filter('allocation-id', help='allocation ID (VPC only)'),
- Filter('association-id', help='association ID (VPC only)')]
+ Filter('public-ip', help='the elastic IP address')]
ListMarkers = ['addressesSet']
ItemMarkers = ['item']
@@ -59,7 +59,6 @@ class DescribeAddresses(EucalyptusRequest):
return self.send()
def print_result(self, result):
- print result
for addr in result.get('addressesSet', []):
print self.tabify(['ADDRESS', addr.get('publicIp'),
addr.get('instanceId'),
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list