- Timestamp:
- Apr 28, 2010 10:09:36 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 8e54792
- Parents:
- 12658df
- Location:
- fedd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_client.py
r12658df r7e67ab9 1496 1496 'name': 'project_export', 1497 1497 'export': [opts.master], 1498 'importall': True, 1498 1499 'fedAttr': [ 1499 1500 { 'attribute': 'project', 'value': opts.project }, -
fedd/federation/experiment_control.py
r12658df r7e67ab9 1690 1690 masters = { } # testbeds exporting services 1691 1691 for s in tb_services: 1692 # If this is a project_export request with the imports field 1693 # blank, fill it in. 1694 if s.get('name', '') == 'project_export': 1695 if 'import' not in s or len(s['import']) == 0: 1696 s['import'] = [ tb for tb in testbeds \ 1697 if tb not in s.get('export',[])] 1692 # If this is a project_export request with the importall field 1693 # set, fill it out. 1694 1695 if s.get('importall', False): 1696 s['import'] = [ tb for tb in testbeds \ 1697 if tb not in s.get('export',[])] 1698 del s['importall'] 1699 1698 1700 # Add the service to masters 1699 1701 for tb in s.get('export', []):
Note: See TracChangeset
for help on using the changeset viewer.