Changes between Version 22 and Version 23 of UniformClearinghouseAPIV2


Ignore:
Timestamp:
11/13/13 10:55:53 (6 years ago)
Author:
mbrinn@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UniformClearinghouseAPIV2

    v22 v23  
    601601# ABAC credentials indicating the role of the member with respect to the slice.
    602602#
    603 # Note: When creating an SFA-style Slice Credential, the following roles typically
    604 # allow users to operate at known GENI-compatible aggregates: "*" (asterisk)
    605 # or the list of "refresh", "embed", "bind", "control" "info".
     603# Note: When creating an SFA-style Slice Credential, the following roles
     604# typically allow users to operate at known GENI-compatible
     605# aggregates: "*" (asterisk)  or the list of "refresh", "embed",
     606#    "bind", "control" "info".
    606607#
    607608# Arguments:
    608609#   slice_urn: URN of slice for which to get member’s credentials
    609610#   options: Potentially contains ‘speaking-for’ key indicating a speaks-for
    610 # invocation (with certificate of the accountable member in the credentials argument)
     611#      invocation (with certificate of the accountable member
     612#      in the credentials argument)
     613
    611614# Return:
    612615#   List of credential in “CREDENTIALS” format, i.e. a list of credentials with
     
    629632#
    630633# Arguments:
    631 #   type: type of object for whom to lookup membership (in the case of
    632 #       Slice Member Service, "SLICE", in the case of Project Member Service, "PROJECT")
     634#   type: type of object for whom to lookup membership (
     635#       in the case of Slice Member Service, "SLICE",
     636#       in the case of Project Member Service, "PROJECT")
    633637#   urn: URN of slice/project for which to modify membership
    634638#   Options:
    635639#       members_to_add: List of member_urn/role tuples for members to add to
    636 #              slice/project of form {‘SLICE_MEMBER’ : member_urn, ‘SLICE_ROLE’ : role}
    637 #                    (or 'PROJECT_MEMBER/PROJECT_ROLE for Project Member Service)
    638 #       members_to_remove: List of member_urn of members to remove from slice/project
    639 #       members_to_change: List of member_urn/role tuples for members whose role
     640#              slice/project of form
     641#                 {‘SLICE_MEMBER’ : member_urn, ‘SLICE_ROLE’ : role}
     642#                    (or 'PROJECT_MEMBER/PROJECT_ROLE
     643#                    for Project Member Service)
     644#       members_to_remove: List of member_urn of members to
     645#                remove from slice/project
     646#       members_to_change: List of member_urn/role tuples for
     647#                 members whose role
    640648#                should change as specified for given slice/project of form
    641649#                {‘SLICE_MEMBER’ : member_urn, ‘SLICE_ROLE’ : role}
     
    659667# Return:
    660668#    List of dictionaries of member_urn/role pairs
    661 #       [{‘SLICE_MEMBER’: member_urn, ‘SLICE_ROLE’: role }...]
    662 #         (or PROJECT_MEMBER/PROJECT_ROLE for Project Member Service)
     669#       [{‘SLICE_MEMBER’: member_urn,
     670#        ‘SLICE_ROLE’: role }...]
     671#         (or PROJECT_MEMBER/PROJECT_ROLE
     672#          for Project Member Service)
    663673#          where ‘role’ is a string of the role name.
    664674def lookup_members(type, urn, credentials, options)