<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Lester:<br>
<br>
We've been working on developer documentation, and you should find the
answer to this question here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.accessgrid.org/node/1147">http://www.accessgrid.org/node/1147</a><br>
<br>
If this leaves you with any questions, let me know so we can improve
the example.<br>
<br>
Tom<br>
<br>
<br>
On 4/24/08 7:24 AM, lester leong wrote:
<blockquote
cite="mid:814344c50804240524i59812768h5c9035f6aa3a3cb3@mail.gmail.com"
type="cite">Hi Thomas,<br>
<br>
Thanks for that. I managed to get it to work.<br>
<br>
Have another question: I am trying to do a delete venue now and when I
use the following code snippet:<br>
<br>
venueServer = VenueServerIW( "<a moz-do-not-send="true"
href="https://localhost:8000/VenueServer">https://localhost:8000/VenueServer</a>"
)<br>
result = venueServer.RemoveVenue( uri )<br>
<br>
I will get the following error:<br>
File "/usr/lib/python2.4/site-packages/ZSI/client.py", line 377, in
ReceiveRaw <br>
raise RuntimeError, 'HTTP Digest Authorization Failed'<br>
RuntimeError: HTTP Digest Authorization Failed<br>
<br>
I notice for ModifyVenue and DeleteVenue, some form of authorization is
required. How can I actually specify the required authorization? Also,
I do not recall having any password, etc<br>
<br>
Please advise<br>
<br>
Thanks<br>
Cheers<br>
lest<br>
<br>
<br>
<br>
<div class="gmail_quote">On Thu, Apr 24, 2008 at 11:33 AM, Thomas D.
Uram <<a moz-do-not-send="true" href="mailto:turam@mcs.anl.gov">turam@mcs.anl.gov</a>>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Lester:<br>
<br>
You have two options:<br>
<br>
- When creating the Venue, you can include stream descriptions for your
streams, setting the 'static' attribute.<br>
<br>
- After creating the Venue, you can call
VenueIW(venueUrl).AddStream(streamDescription) for each stream you want
to add. In this case, too, you'll want to set the static attribute in
the stream description(s).<br>
<br>
If you want the VenueServer/Venue to allocate the stream addresses,
then you can call VenueIW(venueUrl).AllocateMulticastLocation. Note
that this only allocates the address, it does not add it to the Venue
streams.<br>
<br>
<br>
<br>
Tom
<div>
<div class="Wj3C7c"><br>
<br>
<br>
On 4/23/08 6:46 AM, lester leong wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Does anyone know how I can create a new venue with static addressing
using python commandline?<br>
<br>
Basically what I wish to achieve is smiliar to the following actions on
the Venue Server GUI:<br>
1) "Add" a new Venue<br>
2) "Generate New Addresses" and static addressing<br>
<br>
Currently I have a python code that has the following codes to create a
new venue:<br>
<br>
newRoomDescription = VenueDescription( roomName, roomDescription, (
encryptMedia, encryptKey) )<br>
venueServer = VenueServerIW( serverURL )<br>
newVenue = venueServer.AddVenue( newRoomDescription )<br>
<br>
The above works just fine. But I am unsure on how I can create with
static addressing and generating the new addresses.<br>
<br>
Any advise?<br>
<br>
Thanks :-)<br>
<br>
Cheers<br>
lest<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>