Hi,

Please keep mailing list.


On 2016年02月12日 15:12, Anees Mohsin Hadi Al-Najjar wrote:
> Thanks Iwase for your reply.
> 
> I applied that, but it didn’t work. There an error says "AttributeError: 
> 'Y.py' object has no attribute 'y1'"
> 
> I put the Y.py in the first component like:
> 
> from ryu.app.Y import YY
> .
> .
> .
> .
> p=app_manager.lookup_service_brick('Y')
>       print dir(p)
>       print p.y1
> 
> I wonder if you could give me more suggestions to solve this problem

Please note that an instance which you can get through 
"app_manager.lookup_service_brick"
is "An instance of your RyuApp" which in your module like "Y.py" not a module 
instance.

Thanks,
Iwase

> 
> Thanks
> Anees
> 
> 
> -----Original Message-----
> From: Yusuke Iwase [mailto:[email protected]]
> Sent: Friday, 12 February 2016 12:14 PM
> To: Anees Mohsin Hadi Al-Najjar <[email protected]>
> Cc: [email protected]
> Subject: Re: [Ryu-devel] run multiple components with ryu
> 
> Hi,
> 
> 
> On 2016年02月11日 08:59, Anees Mohsin Hadi Al-Najjar wrote:
>>  
>>
>> Dear Friends,
>>
>>  
>>
>> I wonder if I could build two components and run both of them 
>> simultaneously. If I could, how the variables between them could be shared.
>>
>>  
>>
>> For example, to run the components like that if it is okay,
>>
>>  
>>
>> cd /home/ubuntu/ryu && ./bin/ryu-manager --verbose X.py Y.py
> 
> The following posts might be helpful for you.
>   https://sourceforge.net/p/ryu/mailman/message/34409185/
> 
> Thanks,
> Iwase
> 
>>
>>  
>>
>> Thanks a lot
>>
>>  
>>
>> Anees AL-Najjar
>>
>> RHD Student
>>
>> School of Information Technology and Electrical Engineering (ITEE)
>>
>> Office: 331, Building (78)
>>
>> University of Queensland
>>
>> Brisbane, QLD
>>
>> Australia
>>
>>  
>>
>> Emails: 1- [email protected]
>>
>>                [email protected]
>>
>> Mobile: +61420407168
>>
>>  
>>
>>
>>
>> ----------------------------------------------------------------------
>> --------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance 
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month 
>> Monitor end-to-end web transactions and take corrective actions now 
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>>
>>
>>
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to