Opened 12 years ago

Closed 12 years ago

#66 closed (fixed)

the identifier for POP objects should be a URN

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

Description

When a POP object is instantiated with a bare name as its identifier, the client should convert that to a gmoc.geni.net URN, the same way it does for Organization and Location.

Change History (2)

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

Keywords: v0.5.0 added; v0.4.0 removed

This is unchanged in v0.5.0.

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

Resolution: fixed
Status: newclosed

The code:

pop = gmoc.POP(
        config['POPNAME'],
        location = location,
        operator = organization,
      )
print pop.id

now yields:

urn:publicid:IDN+gmoc.geni.net+pop+gpolab
Note: See TracTickets for help on using tickets.