Changeset c65b7e4 for fedd/federation/deter_internal_access.py
- Timestamp:
- Dec 10, 2010 6:25:50 PM (13 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- 9973d57
- Parents:
- b16cfc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/deter_internal_access.py
rb16cfc0 rc65b7e4 166 166 self.state[aid]['owners'] = owners 167 167 self.state[aid]['vlan'] = None 168 self.state[aid]['auth'] = set() 169 self.append_allocation_authorization(aid, 170 ((fid, allocID),(allocID, allocID))) 168 171 self.write_state() 169 172 self.state_lock.release() 170 self.auth.set_attribute(fid, allocID)171 self.auth.set_attribute(allocID, allocID)172 self.auth.save()173 173 174 174 try: … … 209 209 if self.state.has_key(aid): 210 210 self.log.debug("Found allocation for %s" %aid) 211 self.clear_allocation_authorization(aid) 211 212 del self.state[aid] 212 213 self.write_state()
Note: See TracChangeset
for help on using the changeset viewer.