for aggregate in aggregates:
try:
# get the rspec from the aggregate
- agg_rspec = aggregates[aggregate].resources(credential)
+ agg_rspec = aggregates[aggregate].get_resources(credential)
# extract the netspec from each aggregates rspec
rspec.parseString(agg_rspec)
networks.extend([{'NetSpec': rspec.getDictsByTagName('NetSpec')}])
credential = self.api.getCredential()
for aggregate in aggregates:
try:
- slices = aggregates[aggregate].slices(credential)
+ slices = aggregates[aggregate].get_slices(credential)
slice_hrns.extend(slices)
except:
print >> log, "Error calling slices at aggregate %(aggregate)s" % locals()