Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#151 fixed when a Sliver object is downloaded, the associated slice is not populated somebody chaos@bbn.com
Description

This sliver download code:

print self.slivertype
self.obj = self.unit.client_obj.load(gmoc.Sliver(self.slivertype))
print self.obj.slice

yields:

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

The sliver in question was submitted as:

<sliver approved="true" created="1342549645" creator="urn:publicid:IDN+gmoc.geni.net+contact+gpo-infra-rothe008_geni.net" expires="1362114000" local_name="urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr:b72b0a06-beb9-4be2-94ba-cfbd8654ad82" slice_urn="urn:publicid:IDN+rothe008sa.gpolab.bbn.com+slice+chaos-montreve-macaddr" slice_uuid="ff6d2b12-f10e-11e0-bf86-000c29f89f7b" state="Up" uuid="b72b0a06-beb9-4be2-94ba-cfbd8654ad82">
...

so it should have a mapping to slice:

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

and that mapping should be downloaded.

#150 fixed Interface() string representation fails when a NetAddress() is defined with an IPv4 address but no network somebody chaos@bbn.com
Description

When i create a new NetAddress and give it only an IPv4 address and no network, the __init__() reports success, but NetAddress.__str__() fails with an exception something like:

  File "/home/chaos/gmoc_client/gmoc.py", line 413, in __str__
    recurse(self, 0, strings, seen)
  File "/home/chaos/gmoc_client/gmoc.py", line 397, in recurse
    recurse(element.__dict__, level + 4, strings, seen)
  File "/home/chaos/gmoc_client/gmoc.py", line 402, in recurse
    recurse(value, level + 4, strings, seen)
  File "/home/chaos/gmoc_client/gmoc.py", line 406, in recurse
    recurse(subelement, level + 4, strings, seen)
  File "/home/chaos/gmoc_client/gmoc.py", line 409, in recurse
    strings.append((" " * level) + "%s" % element)
  File "/home/chaos/gmoc_client/gmoc.py", line 1988, in __str__
    addr = self.addr.network
AttributeError: 'str' object has no attribute 'network'
#148 fixed xchange2db silently truncates Interface URNs at 64 characters somebody chaos@bbn.com
Description

I submitted XML (full submission at http://codepad.org/6LU040KO) containing these interfaces:

                <interface name="urn:publicid:IDN+rothe002am.gpolab.bbn.com+interface+navis.gpolab.bbn.com:eth0" state="Unknown">
                        <address type="IPv4">
                                192.1.249.166
                        </address>
                        <address type="MAC">
                                fa:ca:de:5a:e6:a8
                        </address>
                </interface>
                <interface name="urn:publicid:IDN+rothe002am.gpolab.bbn.com+interface+navis.gpolab.bbn.com:eth1.1750:42143" state="Unknown">
                        <address type="IPv4">
                                10.42.143.55
                        </address>
                </interface>

Both interface names show up in the database as:

urn:publicid:IDN+rothe002am.gpolab.bbn.com+interface+navis.gpola
  • The interface name field should probably allow a length limit of 128 characters to support URNs better
  • If a submission has a too-long interface name, xchange2db should reject it rather than truncating it
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Note: See TracQuery for help on using queries.