Opened 12 years ago

Closed 12 years ago

#53 closed (fixed)

the SliceAuthority.pop setter is a noop

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

Description

The code:

print type(sa)
print type(pop)
print "before: %s" % sa.pop
sa.pop = pop
print "after:  %s" % sa.pop

yields:

<class 'gmoc.SliceAuthority'>
<class 'gmoc.POP'>
before: None
after:  None

Change History (1)

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

Resolution: fixed
Status: newclosed

This is fixed. Now:

sa = gmoc.SliceAuthority(
       'urn:publicid:IDN+pgeni.gpolab.bbn.com+authority+sa',
       type = 'protogeni',
       version = '16c3451f2d049fa0f679f77d218f23e282d9026a',
       operator = organization,
     )
print sa.pop
sa.pop = pop
print sa.pop

yields:

None
<gmoc.POP object at 0x9ce76ec>
Note: See TracTickets for help on using tickets.