Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#154 fixed when Interface() data is loaded directly from gmoc, Interface._resource is not set somebody chaos@bbn.com
Description

When a resource with interfaces is loaded from gmoc using e.g.:

obj = client.load(gmoc.Resource(resourceinfo['urn']))

each interface of that resource correctly has Interface._resource set to the value of the resource.

However, when an interface is loaded directly from gmoc using e.g.:

obj = client.load(gmoc.Interface(interfaceinfo['urn']))

that object has Interface._resource = None.

#153 fixed when two slices have the same UUID, a sliver may be mapped to the wrong one somebody chaos@bbn.com
Description

UUIDs are only unique per UUID-generating entity, not globally. Therefore, two different slice authorities can validly create distinct slices with the same UUID. That has happened in my test data, where we have slices:

URN UUID
urn:publicid:IDN+rothe005sa.gpolab.bbn.com+slice+chaos-montreve-macaddr ff6d2b12-f10e-11e0-bf86-000c29f89f7b
urn:publicid:IDN+rothe009sa.gpolab.bbn.com+slice+chaos-montreve-macaddr ff6d2b12-f10e-11e0-bf86-000c29f89f7b

(This is a test artifact, but should be legal.)

When i submit this data (http://codepad.org/nlP8JjoI) the sliver

urn:publicid:IDN+rothe009sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82

becomes associated to the incorrect slice:

urn:publicid:IDN+rothe005sa.gpolab.bbn.com+slice+chaos-montreve-macaddr

The mapping is taking only slice UUID into account, and not slice URN. Instead, the algorithm should be:

  • If a sliver provides both slice UUID and slice URN, xchange2db3 should look for a slice which matches both URN and UUID (not just UUID)
  • If a sliver provides only slice URN, xchange2db3 should pick the most recent slice which matches that URN
#152 fixed when a Sliver object is downloaded, that sliver appears twice in sliver.aggregate.slivers somebody chaos@bbn.com
Description

This code:

    aggregate = self.client_obj.load(gmoc.Aggregate('rothe008am.gpolab.bbn.com:3626'))
    print "When downloading aggregate directly:"
    print "  aggregate=" + aggregate.id
    for sliver in aggregate.slivers:
      print "    sliver: " + sliver.id

    sliver_urn = 'urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82'
    sliver = self.client_obj.load(gmoc.Sliver(sliver_urn))
    print "\nWhen downloading sliver %s" % sliver_urn
    print "  sliver.aggregate=" + sliver.aggregate.id
    for sliver in sliver.aggregate.slivers:
      print "    sliver: " + sliver.id

    sliver_urn = 'urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-poblano1101-datapath:9c3476a5-dfe9-4d8c-9d2d-3b20d846f36a'
    sliver = self.client_obj.load(gmoc.Sliver(sliver_urn))
    print "\nWhen downloading sliver %s" % sliver_urn
    print "  sliver.aggregate=" + sliver.aggregate.id
    for sliver in sliver.aggregate.slivers:
      print "    sliver: " + sliver.id

yields:

When downloading aggregate directly:
  aggregate=rothe008am.gpolab.bbn.com:3626
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-poblano1101-datapath:9c3476a5-dfe9-4d8c-9d2d-3b20d846f36a

When downloading sliver urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82
  sliver.aggregate=rothe008am.gpolab.bbn.com:3626
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-poblano1101-datapath:9c3476a5-dfe9-4d8c-9d2d-3b20d846f36a
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82

When downloading sliver urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-poblano1101-datapath:9c3476a5-dfe9-4d8c-9d2d-3b20d846f36a
  sliver.aggregate=rothe008am.gpolab.bbn.com:3626
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-poblano1101-datapath:9c3476a5-dfe9-4d8c-9d2d-3b20d846f36a
    sliver: urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-poblano1101-datapath:9c3476a5-dfe9-4d8c-9d2d-3b20d846f36a
1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.