Opened 12 years ago

Closed 12 years ago

#46 closed (fixed)

Aggregate.slices still iterates over Sliver.slices instead of using new non-list Sliver.slice

Reported by: chaos@bbn.com Owned by: somebody
Priority: major Milestone: 2012-09-04 client release
Component: Clients Version:
Keywords: v0.2.1 Cc:
Dependencies:

Description

Invoking:

print aggregate.slices

on an aggregate with slivers defined yields:

Traceback (most recent call last):
  File "./report_foam_relations", line 280, in <module>
    print aggregate.slices
  File "/home/chaos/gmoc.py", line 601, in slices
    for slice in sliver.slices:
AttributeError: 'Sliver' object has no attribute 'slices'

Change History (1)

comment:1 Changed 12 years ago by chaos@bbn.com

Resolution: fixed
Status: newclosed

This looks good in v.0.4.0. This code:

print '\n'.join([s.id for s in aggregate.slices])

yields:

urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+chaos-poblano1101-datapath
urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+chaos-montreve-macaddr
Note: See TracTickets for help on using tickets.