Opened 12 years ago

Closed 12 years ago

#42 closed (fixed)

`SliceAuthority` class is missing an operator attribute

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

Description

See 25 for the question of what this attribute should be named, but all classes should have a pop and an organization one way or another, and the SliceAuthority class does not.

Change History (2)

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

Summary: `SliceAuthority` class is missing an organization (or operator) attribute`SliceAuthority` class is missing an operator attribute

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

Resolution: fixed
Status: newclosed

This code:

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

yields:

urn:publicid:IDN+gmoc.geni.net+organization+BBN

So this is fixed in v0.2.1.

Note: See TracTickets for help on using tickets.