git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
865a8a2
)
fix type attribute of ip element
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 30 Aug 2012 16:14:39 +0000
(12:14 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 30 Aug 2012 16:28:03 +0000
(12:28 -0400)
sfa/openstack/osaggregate.py
patch
|
blob
|
history
diff --git
a/sfa/openstack/osaggregate.py
b/sfa/openstack/osaggregate.py
index
bb8b09c
..
c35a7f5
100644
(file)
--- a/
sfa/openstack/osaggregate.py
+++ b/
sfa/openstack/osaggregate.py
@@
-141,7
+141,7
@@
class OSAggregate:
interface = Interface({'component_id': if_xrn.urn})
interface['ips'] = [{'address': private_ip['addr'],
#'netmask': private_ip['network'],
- 'type':
private_ip['version']
}]
+ 'type':
'ipv%s' % str(private_ip['version'])
}]
rspec_node['interfaces'].append(interface)
# slivers always provide the ssh service