Changeset 20cda34 for fedd/abac_client.py
- Timestamp:
- Nov 6, 2009 3:34:49 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 2ed74c6
- Parents:
- 3eefc2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/abac_client.py
r3eefc2d r20cda34 185 185 type="string",default="https://localhost:23235", 186 186 help="URL to connect to (default %default)") 187 self.add_option("-n", "--ident", action="store", dest="id", 188 type="string",default="Alice", 189 help="URL to connect to (default %default)") 187 190 self.add_option("-F","--useFedid", action="store_true", 188 191 dest="use_fedid", default=False, … … 233 236 type="string", 234 237 help="Trust target goal for negotiation (required)") 238 self.add_option("--srcURL", action="store", dest="srcURL", 239 type="string",default="https://localhost:23235", 240 help="Originating URL address (Default: %default)") 241 self.add_option("--dstURL", action="store", dest="dstURL", 242 type="string",default="https://localhost:23235", 243 help="Peer URL address (Default: %default)") 244 self.add_option("--srcContext", action="store", dest="srcContext", 245 type="string",default="Alice", 246 help="Service negotiation context (Default: %default)") 247 self.add_option("--dstContext", action="store", dest="dstContext", 248 type="string",default="Bob", 249 help="Client call back negotiation context (Default: %default)") 250 235 251 if add_node_callback: 236 252 self.add_option("-n", "--node", action="callback", type="string", … … 664 680 msg = { 665 681 'context': { 'contextID': opts.id }, 666 'goal': opts.goal 667 } 682 'goal': opts.goal, 683 'peerURL': opts.dstURL, 684 'peerContext' : { 'contextID': opts.dstContext }, 685 'selfURL': opts.srcURL 686 } 668 687 669 688 if opts.debug > 1: print >>sys.stderr, msg
Note: See TracChangeset
for help on using the changeset viewer.