Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Owner Reporter Resolution Summary
#46 somebody chaos@bbn.com fixed Aggregate.slices still iterates over Sliver.slices instead of using new non-list Sliver.slice
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'
#47 somebody chaos@bbn.com fixed typo in Slice __init__ method prevents uuid from being set
Description

The code:

  gmoc.Slice(
    'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+chaos-montreve-macaddr',
    uuid = 'ff6d2b12-f10e-11e0-bf86-000c29f89f7b',
    created = datetime.datetime.fromtimestamp(1318028753),
    expires = datetime.datetime.fromtimestamp(1348981200),
  )

yields

Traceback (most recent call last):
  File "./report_foam_relations", line 227, in <module>
    expires = datetime.datetime.fromtimestamp(1348981200),
TypeError: __init__() got an unexpected keyword argument 'uuid'

This is because of a typo in the Slice.__init__() function:

    def __init__(self, id, uuid_ = None, created = None, expires = None, creator = None, operator = None, sa = None)

(uuid_ instead of uuid).

#48 somebody chaos@bbn.com fixed don't autogenerate a URN for resources which don't provide one
Description

The code:

for datapath in info['datapaths']:
  print "datapath=%s" % datapath
  resource[datapath] = gmoc.Resource(
                         datapath,
                         type = 'datapath',
                         pop = pop,
                         operator = organization,
                       )
  print "resource.id=%s" % resource[datapath].id

yields:

datapath=04:4d:00:12:e2:b8:a5:d0
resource.id=urn:publicid:IDN+gmoc.geni.net+node+04:4d:00:12:e2:b8:a5:d0
datapath=04:4d:00:26:f1:3f:3b:00
resource.id=urn:publicid:IDN+gmoc.geni.net+node+04:4d:00:26:f1:3f:3b:00

Resources should be defined in the namespace of the aggregate/campus which owns them, and i think it is a rare case that we will want to put a resource in the gmoc.geni.net namespace. The default should be to throw an error if the caller doesn't provide a URN, not to invent one in the gmoc.geni.net namespace.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.