411 | | # List of dictionaries of name/value pairs for each returned AM |
412 | | def lookup_aggregates(options) |
413 | | }}} |
414 | | |
415 | | {{{ |
416 | | #!python |
417 | | # |
418 | | # Return information about all MA’s associated with the Federation# |
419 | | # |
420 | | # Arguments: |
421 | | # options: 'match' and 'filter' options as described in standard lookup methods |
422 | | # |
423 | | #Return: |
424 | | # List of dictionaries of name/value pairs for each returned MA |
425 | | def lookup_member_authorities(options) |
426 | | }}} |
427 | | |
428 | | {{{ |
429 | | #!python |
430 | | # Return information about all SA’s associated with the Federation |
431 | | # |
432 | | # Arguments: |
433 | | # options: 'match' and 'filter' options as described in standard lookup methods |
434 | | # |
435 | | # Return: |
436 | | # List of dictionaries of name/value pairs for each returned SA |
437 | | def lookup_slice_authorities(options) |
| 411 | # dictionary indexed by service URN of name/value pairs for each returned service |
| 412 | def lookup(options) |
| 988 | |
| 989 | == Appendix B: API Data Types == |
| 990 | |
| 991 | Fedeeration API V2 makes significant changes to the previous (V1) Federation API. Specifically, it generalizes many of the API calls thy introducing a 'type' argument. This table summarizes the changes to V1 calls and their equivalent in V2. |
| 992 | |
| 993 | || ''' Authority ''' || ''' V1 method ''' || ''' V2 alternative '' || |
| 994 | || Registry || || || |
| 995 | || || lookup_aggregates || lookup(type="AGGREGATE_MANAGER") || |
| 996 | || || lookup_slice_authorities || lookup(type="SLICE_AUTHORITY") || |
| 997 | || || lookup_member_authorities || lookup(type="MEMBER_AUTHORITY") || |
| 998 | || Slice Authority || || || |
| 999 | || Member Authority || || || |