[AG-DEV] Creating a new venue with static addressing via commandline

lester leong ihpcrcw at gmail.com
Thu Apr 24 07:24:00 CDT 2008


Hi Thomas,

Thanks for that. I managed to get it to work.

Have another question: I am trying to do a delete venue now and when I use
the following code snippet:

venueServer = VenueServerIW( "https://localhost:8000/VenueServer" )
result = venueServer.RemoveVenue( uri )

I will get the following error:
File "/usr/lib/python2.4/site-packages/ZSI/client.py", line 377, in
ReceiveRaw
raise RuntimeError, 'HTTP Digest Authorization Failed'
RuntimeError: HTTP Digest Authorization Failed

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

Please advise

Thanks
Cheers
lest



On Thu, Apr 24, 2008 at 11:33 AM, Thomas D. Uram <turam at mcs.anl.gov> wrote:

> Lester:
>
> You have two options:
>
> - When creating the Venue, you can include stream descriptions for your
> streams, setting the 'static' attribute.
>
> - 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).
>
> 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.
>
>
>
> Tom
>
>
>
> On 4/23/08 6:46 AM, lester leong wrote:
>
>> Hi,
>>
>> Does anyone know how I can create a new venue with static addressing using
>> python commandline?
>>
>> Basically what I wish to achieve is smiliar to the following actions on
>> the Venue Server GUI:
>> 1) "Add" a new Venue
>> 2) "Generate New Addresses" and static addressing
>>
>> Currently I have a python code that has the following codes to create a
>> new venue:
>>
>> newRoomDescription = VenueDescription( roomName, roomDescription, (
>> encryptMedia, encryptKey) )
>> venueServer = VenueServerIW( serverURL )
>> newVenue = venueServer.AddVenue( newRoomDescription )
>>
>> The above works just fine. But I am unsure on how I can create with static
>> addressing and generating the new addresses.
>>
>> Any advise?
>>
>> Thanks :-)
>>
>> Cheers
>> lest
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/ag-dev/attachments/20080424/7f1279ef/attachment.htm>


More information about the ag-dev mailing list