Re: [nox-dev] dropping packets

2010-07-12 Thread kk yap
Hi Ricardo and ikf,

Thanks for the refresh.  I think ikf was trying to install the flow
entry and it is not matching for some reason.  But the refresh is
definitely useful.

Btw, I am replying just to correct a typo.  You should return STOP to
drop the packets, not CONTINUE.  And do check nox.xml or nox.json in
src/etc to ensure the order of the component being called by
Packet_in_event.

It is always cool to see the community chipping in.  Allow me to say
thanks to everyone that have done so, and hope others will help out
too.  THANKS.

Regards
KK

On 12 July 2010 08:37, Ricardo Bennesby  wrote:
> Hello ikf. Some months ago I was with a similar issue. I was trying to do a
> test droping packets. I modified the component called pyswitch.py. This is
> my post:
>
> Thanks Martin. I was looking the code of pyswitch.py and I found this:
>
> # don't forward lldp packets
>     if packet.type == ethernet.LLDP_TYPE:
>     return CONTINUE
>
> So, if I want to drop any kind of packet is just to specify its type? Like
> use "packet.type == ethernet.TCP_TYPE" to drop packet of tcp protocol? Thank
> you again for help me.
>
> And he answered:
>
> If you want to drop packets at the controller, then yes, you can simply
> "return CONTINUE" in a packet handler after checking the type.
>
> If you'd like packets to be dropped at the switch, you should install a flow
> entry with no actions which matches on the packets you'd like dropped.  This
> is preferable since you don't exhaust bandwidth to the controller for
> packets which will ultimately be dropped
>
> I don't know if this will help you, but maybe you can try it. Anyway, good
> luck.
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] dropping packets

2010-07-12 Thread kk yap
Hi Iain,

Would you might looking at the control traffic dump to let us know if
you keeping receiving more packet-in after inserting the flow rule?

Also, is there any reason not to set the vlan_pcp?

Regards
KK

On 12 July 2010 07:20,   wrote:
> Hi guys,
>
> I don't think I made it clear in the previous post. The code in the previous
> post only gets called when the flow is identified as HTTP. Then I am trying
> to block that particular flow. I know it would make more sense to write
> general rule and send the command from the install method. I am just doing
> this initially to see if I can get any packets dropped.
>
> Thanks Again
> Iain
>
> On Jul 12 2010, i...@cs.nott.ac.uk wrote:
>
>> Hi Everyone,
>>
>> I am running NOX and openflow on the same machine. I am coding the NOX
>> controller in C++. I am trying to write code to selectively drop packets.
>> For a quick test I tried to write code that would drop HTTP (i.e. tcp dst
>> port 80) packets.
>>
>> The code correctly identifies the HTTP packet and it calls the
>> send_openflow_command with no action. However the packets are not getting
>> dropped. Below is initialisation of the openflow mod structure. Which is
>> sent in the command.
>>
>>        // setup the header
>>        ofm.header.version = OFP_VERSION;
>>        ofm.header.type = OFPT_FLOW_MOD;
>>        ofm.header.length = htons(sizeof ofm);  // no extended action data
>>
>>        // match the flow - therefore no wild-cards!
>>        ofm.match.wildcards = htonl(0);
>>        ofm.match.in_port = htons(flow.in_port);
>>        ofm.match.dl_vlan = flow.dl_vlan;
>>        memcpy(ofm.match.dl_src,flow.dl_src.octet,sizeof ofm.match.dl_src);
>>        memcpy(ofm.match.dl_dst,flow.dl_dst.octet,sizeof ofm.match.dl_dst);
>>        ofm.match.dl_type = flow.dl_type;
>>        ofm.match.nw_src = flow.nw_src;
>>        ofm.match.nw_dst = flow.nw_dst;
>>        ofm.match.nw_proto = flow.nw_proto;
>>        ofm.match.tp_src = flow.tp_src;
>>        ofm.match.tp_dst = flow.tp_dst;
>>
>>         // add an entry - initalise entry housekeeping variables (see page
>> 28 of OF spec)
>>        ofm.command = htons(OFPFC_ADD);
>>        ofm.buffer_id = htonl(packetid);
>>        ofm.idle_timeout = htons(OFP_FLOW_PERMANENT);
>>        ofm.hard_timeout = htons(OFP_FLOW_PERMANENT);
>>
>>        ofm.priority = htons(OFP_DEFAULT_PRIORITY);
>>        ofm.flags = OFPFF_CHECK_OVERLAP;
>>
>> When I run dpctl dump-flows on the switch I get
>>  cookie=14431522174269325312, duration_sec=15s, duration_nsec=83200s,
>> table_id=0, priority=65535, n_packets=3, n_bytes=222,
>> idle_timeout=0,hard_timeout=0,tcp,in_port=1,dl_vlan=0x,dl_vlan_pcp=0x00,dl_src=00:07:e9:ae:04:c7,dl_dst=00:13:d3:c0:46:f2,nw_src=192.168.1.1,nw_dst=91.189.88.31,nw_tos=0x00,tp_src=58891,tp_dst=80,actions=
>>
>>
>> Any ideas on what I am doing wrong?
>>
>> thanks in advance
>> Iain
>>
>>
>>
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] [installation-problem] undefined refrence

2010-07-12 Thread kk yap
Hi,

Check if you have xerces installed correctly.

Regards
KK

On 12 July 2010 07:49, Waqas Daar  wrote:
> Hello all
> I am trying to install NOX 0.6. But when I tried to make it it gives me this
> error.
>
> mv -f .deps/nox_main.Tpo .deps/nox_main.Po
> /bin/sh ../libtool --tag=CXX   --mode=link g++ -fno-omit-frame-pointer -Wall
> -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2
> -R/usr/local/bin -export-dynamic -L/usr/lib
> -lboost_unit_test_framework-gcc42-1_35 -lboost_filesystem-gcc42-1_35 -lssl
> -L/usr/local/lib  -Wl,-E   -o nox_core components.xsd.o nox.xsd.o nox_main.o
> ./builtin/.libs/libbuiltin.la ./lib/libnoxcore.la
> g++ -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self
> -Wformat-nonliteral -Wformat-security -g -O2 -Wl,-E -o .libs/nox_core
> components.xsd.o nox.xsd.o nox_main.o -Wl,--export-dynamic  -L/usr/lib
> -lboost_unit_test_framework-gcc42-1_35 -lboost_filesystem-gcc42-1_35 -lssl
> -L/usr/local/lib ./builtin/.libs/libbuiltin.so ./lib/.libs/libnoxcore.so
>  -Wl,--rpath -Wl,/usr/local/bin/builtin -Wl,--rpath -Wl,/usr/local/bin
> components.xsd.o: In function `~XMLAttDefList':
> /usr/local/include/xercesc/framework/XMLAttDefList.hpp:158: undefined
> reference to `xercesc_3_1::XMemory::operator delete(void*)'
> components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for
> xercesc_3_1::XMLAttDefList]+0x10): undefined reference to
> `xercesc_3_1::XMLAttDefList::isSerializable() const'
> components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for
> xercesc_3_1::XMLAttDefList]+0x14): undefined reference to
> `xercesc_3_1::XMLAttDefList::serialize(xercesc_3_1::XSerializeEngine&)'
> components.xsd.o:(.rodata._ZTVN11xercesc_3_113XMLAttDefListE[vtable for
> xercesc_3_1::XMLAttDefList]+0x18): undefined reference to
> `xercesc_3_1::XMLAttDefList::getProtoType() const'
> ./builtin/.libs/libbuiltin.so: undefined reference to
> `xercesc_3_1::XMLPlatformUtils::fgMemoryManager'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgDOMElementContentWhitespace'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLString::transcode(char const*, unsigned short*, unsigned
> int, xercesc_3_1::MemoryManager*)'
> ./lib/.libs/libnoxcore.so: undefined reference to `typeinfo for
> xercesc_3_1::DOMException'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgXercesSchemaFullChecking'
> ./builtin/.libs/libbuiltin.so: undefined reference to
> `xercesc_3_1::XMLString::transcode(char const*,
> xercesc_3_1::MemoryManager*)'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgXercescDefaultLocale'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgXercesUseCachedGrammarInParse'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgDOMErrorHandler'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::Wrapper4InputSource::Wrapper4InputSource(xercesc_3_1::InputSource*,
> bool, xercesc_3_1::MemoryManager*)'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::MemBufInputSource::MemBufInputSource(unsigned char const*,
> unsigned int, char const*, bool, xercesc_3_1::MemoryManager*)'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgXercesUserAdoptsDOMDocument'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgDOMNamespaces'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLString::release(char**, xercesc_3_1::MemoryManager*)'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::Wrapper4InputSource::~Wrapper4InputSource()'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLPlatformUtils::Initialize(char const*, char const*,
> xercesc_3_1::PanicHandler*, xercesc_3_1::MemoryManager*)'
> ./lib/.libs/libnoxcore.so: undefined reference to `typeinfo for
> xercesc_3_1::XMLException'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::DOMImplementationRegistry::getDOMImplementation(unsigned short
> const*)'
> ./builtin/.libs/libbuiltin.so: undefined reference to
> `xercesc_3_1::XMLString::transcode(unsigned short const*,
> xercesc_3_1::MemoryManager*)'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgDOMValidate'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::MemBufInputSource::~MemBufInputSource()'
> ./lib/.libs/libnoxcore.so: undefined reference to
> `xercesc_3_1::XMLUni::fgXercesSchema'
> collect2: ld returned 1 exit status
> make[4]: ***

Re: [nox-dev] NOX compilation error

2010-07-12 Thread kk yap
Hi Nikhil,

More specifically, you can try libbooost-dev, libboost-filesystem-dev
and libboost-test-dev.

Regards
KK

On 12 July 2010 03:55, James "Murphy" McCauley  wrote:
> I am guessing this is a bug in the autoconf boost detection code.  I'd
> try the following:
> First, apt-get install libboost-all-dev
> If that doesn't work, try manually setting the boost paths with the
> appropriate configure options (--with-boost= and friends).
> If that still doesn't work, could you post your config.log (or the tail
> end of it anyway)?
>
> -- Murphy
>
> On Mon, 2010-07-12 at 01:50 -0700, Nikhil Handigol wrote:
>> I recently tried a fresh NOX installation from the noxrepo git repo on
>> Ubuntu 10.04.
>>
>>
>> "./configure --with-python=yes" fails with an error:
>>
>>
>> "configure: error: Could not link against  !"
>>
>>
>> The last few lines of the output are:
>> checking for g++ option to produce PIC... -fPIC -DPIC
>> checking if g++ PIC flag -fPIC -DPIC works... yes
>> checking if g++ static flag -static works... yes
>> checking if g++ supports -c -o file.o... yes
>> checking if g++ supports -c -o file.o... (cached) yes
>> checking whether the g++ linker (/usr/bin/ld) supports shared
>> libraries... yes
>> checking dynamic linker characteristics... GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking for fdatasync... yes
>> checking for ppoll... yes
>> checking for boostlib >= 1.34.1... yes
>> checking whether the Boost::Filesystem library is available... yes
>> configure: error: Could not link against  !
>>
>>
>>
>>
>> This is most likely not a NOX problem, as I have compiled the source
>> multiple times in the past, but on Debian machines. If anyone has
>> encountered a similar problem on Ubuntu and managed to fix it, please
>> let me know.
>>
>>
>> Thanks,
>> Nikhil
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[jira] Updated: (AXIS2-4769) Enum definition in wsdl automatically generated is not defined.

2010-07-11 Thread kk (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

kk updated AXIS2-4769:
--

Attachment: SimpleService-src.zip
SimpleService ON AXIS2Server.wsdl
SimpleService ON Tomcat .wsdl

The SimpleService-src.zip contains SimpleService.java VehicleType.java files 
and 



> Enum definition in wsdl automatically generated is not defined.
> ---
>
> Key: AXIS2-4769
> URL: https://issues.apache.org/jira/browse/AXIS2-4769
> Project: Axis2
>  Issue Type: Bug
>  Components: wsdl
>Affects Versions: 1.5.1
> Environment: Java version 1.6.0
> Apache Tomcat 6.0.18 Server
> Axis2 1.5.1
>Reporter: kk
> Attachments: SimpleService ON AXIS2Server.wsdl, SimpleService ON 
> Tomcat .wsdl, SimpleService-src.zip
>
>
> Hi,
> If this a repost or it is already resolved problem, I am sorry and please 
> direct me to old post or the solution.Thanks
> I have created a Simple Service as shown below.
> package com.tt.ss;
> public class SimpleService 
> {
>   public float CalculateInsurance(VehicleType vehicleType,String regId)
>   {
>   switch(vehicleType)
>   {
>   case TWO_WHEELER:
>   return (float) 100.00;
>   case FOUR_WHEELER:
>   return (float) 200.00;
>   default:
>   return (float) 0.0;
>   }   
>   }
> }
> Enum class definition is shown below
> package com.tt.ss;
> public enum VehicleType 
> {
>   TWO_WHEELER,
>   FOUR_WHEELER;
> }
> This is the wsdl which is generated when deployed on Tomcat server
> 
> http://schemas.xmlsoap.org/wsdl/"; 
> xmlns:ax233="http://ss.tt.com/xsd"; xmlns:ns1="http://org.apache.axis2/xsd"; 
> xmlns:ns="http://ss.tt.com"; 
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
> xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
> targetNamespace="http://ss.tt.com";>
> SimpleService
> 
> http://ss.tt.com/xsd"; 
> attributeFormDefault="qualified" elementFormDefault="qualified" 
> targetNamespace="http://ss.tt.com";>
> http://ss.tt.com/xsd"/>
> 
> 
> 
>  nillable="true" type="ax234:VehicleType"/>
>  nillable="true" type="xs:string"/>
> 
> 
> 
> 
> 
> 
>  type="xs:float"/>
> 
> 
> 
> 
>  elementFormDefault="qualified" targetNamespace="http://ss.tt.com/xsd";>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  wsaw:Action="urn:CalculateInsurance"/>
>  wsaw:Action="urn:CalculateInsuranceResponse"/>
> 
> 
>  type="ns:SimpleServicePortType">
> http://schemas.xmlsoap.org/soap/http"; 
> style="document"/>
> 
>  style="document"/>
> 
> 
> 
> 
> 
> 
> 
> 
>  type="ns:SimpleServicePortType">
> http://schemas.xmlsoap.org/soap/http"; 
> style="document"/>
> 
>  style="document"/>
> 
> 
> 
> 
> 
> 
> 
> 
>  type="ns:SimpleServicePortType">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  binding="ns:SimpleServiceSoap11Bi

[jira] Created: (AXIS2-4769) Enum definition in wsdl automatically generated is not defined.

2010-07-11 Thread kk (JIRA)
Enum definition in wsdl automatically generated is not defined.
---

 Key: AXIS2-4769
 URL: https://issues.apache.org/jira/browse/AXIS2-4769
 Project: Axis2
  Issue Type: Bug
  Components: wsdl
Affects Versions: 1.5.1
 Environment: Java version 1.6.0
Apache Tomcat 6.0.18 Server
Axis2 1.5.1
Reporter: kk


Hi,

If this a repost or it is already resolved problem, I am sorry and please 
direct me to old post or the solution.Thanks


I have created a Simple Service as shown below.

package com.tt.ss;

public class SimpleService 
{
public float CalculateInsurance(VehicleType vehicleType,String regId)
{
switch(vehicleType)
{
case TWO_WHEELER:
return (float) 100.00;
case FOUR_WHEELER:
return (float) 200.00;
default:
return (float) 0.0;
}   
}
}

Enum class definition is shown below

package com.tt.ss;


public enum VehicleType 
{
TWO_WHEELER,
FOUR_WHEELER;

}

This is the wsdl which is generated when deployed on Tomcat server



http://schemas.xmlsoap.org/wsdl/"; 
xmlns:ax233="http://ss.tt.com/xsd"; xmlns:ns1="http://org.apache.axis2/xsd"; 
xmlns:ns="http://ss.tt.com"; 
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
targetNamespace="http://ss.tt.com";>
SimpleService

http://ss.tt.com/xsd"; 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://ss.tt.com";>
http://ss.tt.com/xsd"/>
















http://ss.tt.com/xsd";>






















http://schemas.xmlsoap.org/soap/http"; 
style="document"/>











http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
























http://199.63.247.120:8080/axis2/services/SimpleService.SimpleServiceHttpSoap11Endpoint/"/>


http://199.63.247.120:8080/axis2/services/SimpleService.SimpleServiceHttpSoap12Endpoint/"/>


http://199.63.247.120:8080/axis2/services/SimpleService.SimpleServiceHttpEndpoint/"/>






This is wsdl generated when the deployed on axis2-src/repository/services 
folder 


http://schemas.xmlsoap.org/wsdl/"; 
xmlns:ns1="http://ss.tt.com/xsd"; 
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:ns0="http://ss.tt.com"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
targetNamespace="http://ss.tt.com";>
SimpleService

http://ss.tt.com"; attributeFormDefault="qualified" 
elementFormDefault="qualified" targetNamespace="http://ss.tt.com";>
















http://ss.tt.com/xsd"; 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://ss.tt.com/xsd

Re: [Ubuntu-zh] [OT] Flashget 发布Linux版

2010-07-07 Thread =KK=
预测一下,像QQ LINUX版本那样,马上就停止开发了.
因为不开源,所以...



在 2010年7月8日 上午11:29,Tusooa Zhu 写道:

> 闭源的?
> 不用,不用。
>
>
> On Wed, Jul 07, 2010 at 04:47:58PM +0800, wenya li wrote:
> > http://linux.solidot.org/article.pl?sid=10/07/07/0739209
> >
> > Linuxtoy报道,Windows下的知名下载软件Flashget发布了首个Linux版本:Flashget for Linux
> > 1.0版。下载功能与windows版基本一样,包括支持多线程、支持快车专用链、支持FireFox浏览器,暂时不支持BT协议。Flashget
> for
> > Linux是由管理员发布到论坛上,用户需通过论坛附件下载,官方的下载页面依旧只有windows版。
> >
> > 论坛中发布地址:
> > http://bbs.flashget.com/viewthread.php?tid=18519
> >
> > Thanks Muchly
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL:
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100707/6eb78d9d/attachment.htm
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100708/f90cc2f4/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] samba能不能配置某个文 件夹只能上传不能删除,可以查 看

2010-07-04 Thread =KK=
linux之间可以用scp.
linux和win之间可以用winscp 或 装个开源的网页管理工具,找找.


在 2010年7月2日 上午11:40,koko 写道:

> 这个比较难吧,
> 用户都有上传权限,就有写的权限,按常理应该有删除的权限。
> 比如用户上传一个同名的空文件覆盖原文件,也算是删除了.
> -- 下一部分 --
> 一个HTML附件被移除...
> URL:
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100702/7168e43d/attachment.htm
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100705/616c029a/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [nox-dev] problem in installation snac contoller

2010-07-04 Thread kk yap
Hi Srini,

Is the libboost-filesystem-1.34 dependency artificial or really
something the code needs?  It would be good to check that.  Just
because autoconf wants it does not mean it is needed.

Regards
KK

On 4 July 2010 09:05, Srini Seetharaman  wrote:
>> ar...@parham-lab1:~$ sudo aptitude install libboost-filesystem1.34.1
>> [sudo] password for parham:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Reading extended state information
>> Initialising package states... Done
>> Writing extended state information... Done
>> No candidate version found for libboost-filesystem1.34.1
>> No candidate version found for libboost-filesystem1.34.1
>
> Unfortunately, SNAC has a hard dependency on
> libboost-filesystem1.34.1. Thus, we encourage users to run SNAC on
> Debian systems with this package or Ubuntu 9.10. It does not support
> Ubuntu 10+ at this point. We will let you know once we figure out any
> another workaround.
>
>> Setting up openflow-pki (0.8.9-rev4) ...
>> /usr/local/bin/ofp-pki: /usr/local/share/openflow/pki already exists and 
>> --force not specified
>> dpkg: error processing openflow-pki (--configure):
>>  subprocess installed post-installation script returned error exit status 1
>> Errors were encountered while processing:
>>  openflow-pki
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> A package failed to install.  Trying to recover:
>> Setting up openflow-pki (0.8.9-rev4) ...
>> /usr/local/bin/ofp-pki: /usr/local/share/openflow/pki already exists and 
>> --force not specified
>
> The openflow-pki is already installed at the location mentioned. What
> James suggest should help get over this issue.
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [Ubuntu-zh] help on textdraw

2010-06-29 Thread =KK=
用这个来发广告,很难被检测到.
技术本身是好的,用在发广告就不好了呵呵.


在 2010年6月30日 上午12:33,listofx 写道:

> On 三, 2010-06-30 at 00:16 +0800, Zhang Chi wrote:
> > 不明白为啥要这么费劲。
> > gimp应该可以导出为ASCII Art。
> >
>
> 我需要的是插图效果,清晰简明。gimp我搞不懂,简单试了试,另存的结果一团
> 糟,完全不能用。
>
>
>
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100630/17e66433/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Ubuntu 桌面培训 PDF 版发 布

2010-06-28 Thread =KK=
docs.google.com 分流:
http://docs.google.com/fileview?id=0BxF0hpgoIcL0MmI4NWQ4NDQtNjgzYy00MDU2LTgwZGQtYTg0NmVkZmIwMWFj&hl=zh_CN
-- 下一部分 --
一个HTML附件被移除...
URL: 
https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20100629/fddfc592/attachment.htm
 
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [nox-dev] Issues with multiple OF instances on HP switch

2010-06-28 Thread kk yap
Hi Jean,

It is pre-pre-alpha.  That's an unfortunate no.  Anyway, the official
branch for GEC is NOX 0.4, which will not have any of these fixes.

Regards
KK

On 28 June 2010 12:13, Jean Tourrilhes  wrote:
> On Mon, Jun 28, 2010 at 11:42:44AM -0700, kk yap wrote:
>> Hi Tim,
>>
>> Depending on which version of NOX you are using, the easiest solution
>> differs.  There is the HP firmware Rob mentioned, or I think I might
>> have a patch for NOX-destiny branch (which is pre-pre-alpha) to
>> support 64-bit datapath id.  Unfortunately, the patch will not work in
>> earlier versions of NOX.
>>
>> Regards
>> KK
>
>        What is the state of the NOX-destiny branch ? Is this
> something that I could recommend to my users ?
>        Regards,
>
>        Jean
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Issues with multiple OF instances on HP switch

2010-06-28 Thread kk yap
Hi Tim,

Depending on which version of NOX you are using, the easiest solution
differs.  There is the HP firmware Rob mentioned, or I think I might
have a patch for NOX-destiny branch (which is pre-pre-alpha) to
support 64-bit datapath id.  Unfortunately, the patch will not work in
earlier versions of NOX.

Regards
KK

On 28 June 2010 08:34, Rob Sherwood  wrote:
> [I was thinking someone closer to the deployments would answer this,
> but this question has been outstanding for a few days, so let me give
> it a try]
> \
> Hi Tim,
>
> There was a previous bad interaction between the HP firmware and Nox.
> The crux of the problem was that HP firmware uses all 8 bytes of the
> datapath id and nox only considers 6 bytes, so Nox believed that two
> switches with the same DPID were connecting to it (because the DPIDs
> only differ in the two bytes that nox does not consider).  The short
> story was there was a verison of the HP firmware that worked around
> this problem, but I can't seem to pull up that version information
> right now.  Hopefully someone else on the list can provide this.
>
> - Rob
> .
>
>
> On Fri, Jun 25, 2010 at 10:48 AM,   wrote:
>> Hi all,
>>
>> I am not sure if this is an issue with my configuration, HP, or nox, but 
>> here is the issue... when I run multiple openflow instances in an HP switch, 
>> the two instances seem to fight over the same dpid in nox.
>>
>> First, enable only one instance...
>>
>> 00033|openflow|DBG:Passive tcp interface bound to port 6633
>> 00034|nox|INFO:nox bootstrap complete
>> 00035|openflow|DBG:Passive tcp interface received connection
>> 00036|openflow|DBG:stream: negotiated OpenFlow version 0x97 (we support 
>> versions 0x97 to 0x97 inclusive, peer no later than version 0x97)
>> 00037|nox|DBG:Success sending in 'sending switch config'
>> 00038|nox|DBG:Success sending in 'receiving features reply'
>> 00039|nox|DBG:Success receiving in 'receiving features reply'
>> 00040|nox|DBG:Success sending in 'receiving ofmp capability reply'
>> 00041|nox|DBG:Success receiving in 'receiving ofmp capability reply'
>> 00042|nox|DBG:Datapath f500019bbb30d00 sent error in response to capability 
>> reply, assuming no management support
>> 00043|nox|DBG:No switch auth module registered, auto-approving switch
>> 00044|nox|DBG:Registering switch with DPID = 19bbb30d00
>> 00045|openflow-event|DBG:received packet-in event from 0019bbb30d00 (len:64)
>> 00046|switch|DBG:learned that 00:0a:41:ad:c1:81 is on datapath 0019bbb30d00 
>> port 18
>> 00047|openflow-event|DBG:received packet-in event from 0019bbb30d00 (len:64)
>> 00048|openflow-event|DBG:received packet-in event from 0019bbb30d00 (len:64)
>> 00049|openflow-event|DBG:received packet-in event from 0019bbb30d00 (len:64)
>> 00050|openflow-event|DBG:received packet-in event from 0019bbb30d00 (len:64)
>> 00051|openflow-event|DBG:received packet-in event from 0019bbb30d00 (len:64)
>>
>>
>> Enable the second instance on the HP switch
>>
>>
>> 00052|openflow|DBG:Passive tcp interface received connection
>> 00053|openflow|DBG:stream: negotiated OpenFlow version 0x97 (we support 
>> versions 0x97 to 0x97 inclusive, peer no later than version 0x97)
>> 00054|nox|DBG:Success sending in 'sending switch config'
>> 00055|nox|DBG:Success sending in 'receiving features reply'
>> 00056|nox|DBG:Success receiving in 'receiving features reply'
>> 00057|nox|DBG:Success sending in 'receiving ofmp capability reply'
>> 00058|nox|DBG:Success receiving in 'receiving ofmp capability reply'
>> 00059|nox|DBG:Datapath f510019bbb30d00 sent error in response to capability 
>> reply, assuming no management support
>> 00060|nox|DBG:No switch auth module registered, auto-approving switch
>> 00061|nox|DBG:Registering switch with DPID = 19bbb30d00
>> 00062|openflow-event|DBG:received packet-in event from 0019bbb30d00 (len:64)
>> 00063|openflow|DBG:Passive tcp interface received connection
>> 00064|openflow|DBG:stream: negotiated OpenFlow version 0x97 (we support 
>> versions 0x97 to 0x97 inclusive, peer no later than version 0x97)
>> 00065|nox|DBG:Success sending in 'sending switch config'
>> 00066|nox|DBG:Success sending in 'receiving features reply'
>> 00067|nox|DBG:Success receiving in 'receiving features reply'
>> 00068|nox|DBG:Success sending in 'receiving ofmp capability reply'
>> 00069|nox|DBG:Success receiving in 'receiving ofmp capability reply'
>> 00070|nox|DBG:Datapath f500019bbb30d00 sent error

[Bug 597994] Re: software centre shows the error "I wasn't able to locate a file for the kde-icons-oxygen package"

2010-06-24 Thread Hariprasad kk

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/50837622/Dependencies.txt

** Attachment added: "XsessionErrors.txt"
   http://launchpadlibrarian.net/50837623/XsessionErrors.txt

-- 
software centre shows the error "I wasn't able to locate a file for the 
kde-icons-oxygen package"
https://bugs.launchpad.net/bugs/597994
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 597994] [NEW] software centre shows the error "I wasn't able to locate a file for the kde-icons-oxygen package"

2010-06-24 Thread Hariprasad kk
Public bug reported:

Binary package hint: software-center

software center shows this error whenever I try to install a package.
Download starts and at 3% completion it shows "Applying changes" and
consequently shows this error.

ProblemType: Bug
Architecture: i386
Date: Thu Jun 24 13:05:59 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: software-center 1.0.2
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: software-center
Uname: Linux 2.6.31-14-generic i686

** Affects: software-center (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
software centre shows the error "I wasn't able to locate a file for the 
kde-icons-oxygen package"
https://bugs.launchpad.net/bugs/597994
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [QUAD-L] pain Doctor a gem

2010-06-23 Thread KK
I am so happy for you.  Did he tell you about any different side effects to 
watch for?

KK

 

Re: [QUAD-L] Arm Rest Pouch?

2010-06-23 Thread KK
Darrell, that is the one I use also.  Had to put something over the top strap 
because it started rubbing.  Holds up pretty good.  i have even washed mine.

KK

--- On Wed, 6/23/10, Darrell Huff  wrote:

From: Darrell Huff 
Subject: Re: [QUAD-L] Arm Rest Pouch?
To: wheelch...@aol.com, g...@eskimo.com, quad-list@eskimo.com
Date: Wednesday, June 23, 2010, 2:47 PM



 
 

Greg,
 
Is one of these what you have in mind?
 
http://www.amazon.com/Scooter-Arm-Tote-Small-8-1/dp/B0009RH84U/ref=pd_sbs_hpc_2
 
http://www.amazon.com/Logic-Flip-Over-Armrest-Scooters-Chairs/dp/B000J0YBY2/ref=sr_1_10?ie=UTF8&s=hpc&qid=1277322122&sr=8-10
 
 
Darrell

  - Original Message - 
  From: 
  wheelch...@aol.com 
  To: g...@eskimo.com ; quad-list@eskimo.com 
  Sent: Wednesday, June 23, 2010 2:46 
  PM
  Subject: Re: [QUAD-L] Arm Rest 
  Pouch?
  

  Invacare has some vinyl pockets for the sidebars of their 
  wheelchairs.  As soon as you add netting to a side arm... you are looking 
  for trouble as it will snag on almost anything... in its path.
  Best Wishes
   
  
  In a message dated 6/23/2010 1:15:46 P.M. Central Daylight Time, 
g...@eskimo.com writes:
  
I'm trying to find 
an armrest pouch for my Invacare TDX5.
One that will hang 
under my right armrest. Velcro or zipper shut as long as I can put a ring 
or 
loop on it to help open/close it. Not so wide it will hit things like 
doorways. I want it for a phone, dog treats, etc. I usually keep my phone 
in 
my backpack and use a Bluetooth, but I want to be able to access it for 
texts and voice mail, etc. I have a great small one for my wallet, but it 
wont hold the extra stuff. I saw one the perfect size, but it was just one 
big open space. I'd like a few pockets I think. With maybe netting on the 
outside to stuff thing in.
Thanks, 
Greg
 
 

Re: [nox-dev] lavi integration with NOX

2010-06-23 Thread kk yap
Hi Wenjie,

I assume you are talking about the binary formatted LAVI in the
openroads branch.  Here's a quick run-through of what I see need to be
done (probably not at the level of a tutorial):
* The LAVI components depends on some changes in the libraries in NOX,
e.g. direct OpenFlow messages in a custom event.  This should be in
the latest version of NOX, but there will be a few more of these.
* We will need some custom stuff like flowdb to show flows.  Topology
is hacked to expose a list of switches too.
* Else, the rest should be copying over the files in the LAVI
component and compiling.
For the rest, the LAVI files are commented using doxygen style
comments.  You can just run doxygen over the tree and read those.

The Makefile has not changed very much in my impression.  Maybe you
want to clarify what you mean by they look different.

Hope this at least clarifies something for you.

Regards
KK

PS>> The destiny branch of NOX now hosts a JSON-based LAVI, which
exposes topology.  I am considering if we want to support flows out of
the repo.

On 23 June 2010 11:46, Wenjie Zeng  wrote:
> Hi all,
>
> I am trying to integrate Lavi the latest NOX-0.8 release. Is there an easy
> way of doing this? I took a quick look at the makefiles of the two different
> versions of NOX and they seem quite different. Also, could someone please
> provide a tutorial for configuring, deploying, and using Lavi to pull data
> from NOX? Thank you.
> --
> Best regards,
>
> Wenjie Zeng
> Raytheon BBN Technologies
> 10 Moulton Street
> Cambridge, MA 02138
> (617) 873-3205
> wz...@bbn.com
> www.geni.net
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [QUAD-L] Pain management & pain in the a** psychologist

2010-06-22 Thread KK
YEAH

There is a lot to be said for standing up for yourself.

Good luck tomorrow.

KK


Re: [nox-dev] git nox error

2010-06-22 Thread kk yap
Hi,

Hmm. you are right.  That is strange.  I will get someone with the
permission to take a look.  Thanks.

Regards
KK


2010/6/22 冯涛 :
> the command is "git clone git://noxrepo.org/nox"
>
> 2010/6/22 kk yap 
>>
>> What is your command used?
>>
>> Regards
>> KK
>>
>> On 21 June 2010 23:55, 冯涛  wrote:
>> > Hi,
>> > I installed nox by git, but the result was
>> > "Initialized empty Git repository in /home/op/nox/.git/
>> > fatal: read error: Connection reset by peer"
>> > and then how can I get nox 6.0?
>> > thanks
>> > Tao
>> > ___
>> > nox-dev mailing list
>> > nox-dev@noxrepo.org
>> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >
>> >
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] git nox error

2010-06-22 Thread kk yap
What is your command used?

Regards
KK

On 21 June 2010 23:55, 冯涛  wrote:
> Hi,
> I installed nox by git, but the result was
> "Initialized empty Git repository in /home/op/nox/.git/
> fatal: read error: Connection reset by peer"
> and then how can I get nox 6.0?
> thanks
> Tao
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [ovs-discuss] Compiled but invalid module format error

2010-06-21 Thread kk yap
Hi Jesse,

Thanks.  It is the duplicate bridge.  Might be good to put this in the
installation instructions as a cautionary note.

Regards
KK

On 21 June 2010 19:47, Jesse Gross  wrote:
> On Mon, Jun 21, 2010 at 6:54 PM, kk yap  wrote:
>>
>> Hi,
>>
>> I am trying to use Open vSwitch with Linux kernel 2.6.27-14-generic.
>> The autoconf and compilation went fine, but insmod results in an
>> invalid module format error.  Attached is the config.log.  Any advice
>> on how to get this done would be useful.
>
> It usually means that the kernel, compiler, or kernel config is different.
>  You could try running modinfo on both openvswitch_mod.ko and one of the
> modules that does load on your kernel and see if there are differences in
> vermagic.
> You can also get that message if there are duplicate symbols so you should
> check the output of dmesg to see if there is more information.
>

___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org


Re: [nox-dev] I met a basic problem when testing virtual environment

2010-06-21 Thread kk yap
Hi Guanyao,

cc-ed openflow-discuss and I would suggest dropping nox-dev which
OpenFlowVMS is not maintained, though experts on it see this list.

Give the VM more memory.  The switch are not reacting fast enough it
seem.  That might help.

Regards
KK

On 21 June 2010 15:28, Guanyao Huang  wrote:
> Hello
> Sorry to bother others.
> I am testing my software openflow according to
> http://www.openflowswitch.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/Virtual
> I also run ./nox_core -i ptcp:6633 routing
> After run vms-start.py -u 2hosts-2ofsw.vms.xml, 4 windows pop up for 2
> hosts and 2 switches. Everything seems OK.
> However, on the controller window, it keeps saying:
> |nox|WARN:stream: closing connection due to timeout after 5 seconds in
> receiving features reply state
>
> The virtual hosts fail to ping each other.
>
> Do you have any idea what does that message mean? Thanks.
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Event handler ordering not quite working

2010-06-19 Thread kk yap
Hi Saurav,

Put in discovery too.  And let us know if that works.

Regards
KK

On 19 June 2010 19:23, Saurav Das  wrote:
>
>    
>      circsw
>      marie
>      eventlogger
>      dhcp
>      authenticator
>    
>
> On Jun 19, 2010, at 7:16 PM, kk yap wrote:
>
>> What is your order on nox.xml?
>>
>> Regards
>> KK
>>
>> On 19 June 2010 18:59, Saurav Das  wrote:
>>>
>>> Hello,
>>>
>>> I am trying to order the execution of event handlers by changing nox.xml.
>>> Specifically I made the top-most filter for datapath_join_event to be my
>>> component circsw.
>>> The discovery module isn't even on that list, so at least it should  get
>>> it
>>> after I do.
>>> The idea is that for some datapath_joins, my component will STOP the
>>> propagation, so discovery should never see it.
>>> I have logs in both modules, just to see if they receive it or not.
>>>
>>> Here is the funny thing:
>>>
>>> If i launch from command line ./nox_core -v -i ptcp:6655 discovery
>>> circsw,
>>> then I see both logs
>>> or if I add discovery as a dependency to circsw/meta.xml, and launch just
>>> circsw from the command line, I still see both log messages/
>>>
>>> But but if I reverse the order of the two components in the command
>>> line(and
>>> remove the dependency of circsw on discovery),
>>> then I don't get the discovery log message, which is the correct
>>> behavior.
>>>
>>> I don't think we should depend on command line ordering to get correct
>>> behavior.
>>>
>>> What am I doing wrong?
>>>
>>> Thanks
>>> Saurav
>>>
>>> ___
>>> nox-dev mailing list
>>> nox-dev@noxrepo.org
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>
> Saurav Das
> PhD Candidate
> Electrical Engineering
> Stanford University
> (W) 650 724 3409
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Event handler ordering not quite working

2010-06-19 Thread kk yap
What is your order on nox.xml?

Regards
KK

On 19 June 2010 18:59, Saurav Das  wrote:
> Hello,
>
> I am trying to order the execution of event handlers by changing nox.xml.
> Specifically I made the top-most filter for datapath_join_event to be my
> component circsw.
> The discovery module isn't even on that list, so at least it should  get it
> after I do.
> The idea is that for some datapath_joins, my component will STOP the
> propagation, so discovery should never see it.
> I have logs in both modules, just to see if they receive it or not.
>
> Here is the funny thing:
>
> If i launch from command line ./nox_core -v -i ptcp:6655 discovery circsw,
> then I see both logs
> or if I add discovery as a dependency to circsw/meta.xml, and launch just
> circsw from the command line, I still see both log messages/
>
> But but if I reverse the order of the two components in the command line(and
> remove the dependency of circsw on discovery),
> then I don't get the discovery log message, which is the correct behavior.
>
> I don't think we should depend on command line ordering to get correct
> behavior.
>
> What am I doing wrong?
>
> Thanks
> Saurav
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Nox controller to control mutliple Vlans

2010-06-18 Thread kk yap
Hi Srini,

I thought your patch resolved this?  Is this the discovery patch that
I am sitting on?

Regards
KK

On 18 June 2010 08:38, Srini Seetharaman  wrote:
> This is a problem caused because NOX uses only the 48 least
> significant bits of the datapathid, and in HP switches the datapathid
> of each VLAN differs only in the most significant bit. Jean (HP) might
> be able to provide a firmware to bypass this issue.
>
> On Fri, Jun 18, 2010 at 8:23 AM, Niky Riga  wrote:
>> Hi,
>>
>> I am trying to setup a test but I am not sure the setup is valid.
>> What I want to do, is have multiple Vlans being controlled by the same
>> controller, so that we can switch packets between different Vlans.
>>
>> We have an HP switch. After creating the Vlans, we pointed each vlan
>> to the same controller. What I see in the controller is that the switch
>> registers for a specific Vlan,  and when it tries to register again for a
>> different Vlan it uses the same dpid and thus unregister and registers for
>> the other Vlan(i.e. for a separate set of ports). Each switch, at any point
>> in time is registered for only one Vlan.
>>
>> Is this the intended behavior, or there is misconfiguration somewhere?
>>
>> It seems that it should be possible that the same controller, can control
>> different Vlans, somehow 
>>
>> Thanks,
>> Niky Riga
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [QUAD-L] Chair Repair Again

2010-06-12 Thread KK
Have you seen the ads for the repair shops send out pictures daily of what is 
being done to the car.  Maybe we need that in our chair shops also. 

KK




Re: [fsug-tvm] Octave / Matlab

2010-06-09 Thread Jemshid KK
The copy I have has a 'readme' on how to install and license management.
You need to crack license lock, it is a pirated copy.
Jemshid KK
ph: 9349101566,


On 9 June 2010 07:57, kunal gupta  wrote:

> I was a MATLAB user but after searching for Open Source alternative of it I
> found octave. now I am working on octave. It replaced MATLAB in my laptop.
> Though its not that powerful than MATLAB, I want linux version of MATLAB, i
> downloaded one from torrent but i failed to installed it. suggest me correct
> way to install it.
>
> On Tue, Jun 8, 2010 at 10:36 PM, Jemshid KK  wrote:
>
>> On 8 June 2010 11:03:37 UTC+5:30, Asha G  wrote:
>>
>>>  3) If there is anyone on this gp who is Octave/ MATLAB savvy, do let me
>>> know.
>>>
>> I am a regular Matlab user and I have a Linux version of Matlab.
>> Jemshid
>>
>>  --
>> "Freedom is the only law".
>> "Freedom Unplugged"
>> http://www.ilug-tvm.org
>>
>> You received this message because you are subscribed to the Google
>> Groups "ilug-tvm" group.
>> To control your subscription visit
>> http://groups.google.co.in/group/ilug-tvm/subscribe
>> To post to this group, send email to ilug-tvm@googlegroups.com
>> To unsubscribe from this group, send email to
>> ilug-tvm-unsubscr...@googlegroups.com
>>
>>
>>
>> For details visit the google group page:
>> http://groups.google.com/group/ilug-tvm?hl=en
>>
>
>
>
> --
> "dirtydevil"
> www.dirtydebiandevil.wordpress.com
> Kunal Gupta,
> 3rd year, ECE, Engineering college bikaner.
>
>  --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To control your subscription visit
> http://groups.google.co.in/group/ilug-tvm/subscribe
> To post to this group, send email to ilug-tvm@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-unsubscr...@googlegroups.com
>
>
>
> For details visit the google group page:
> http://groups.google.com/group/ilug-tvm?hl=en
>

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [nox-dev] Cant run virtual machine for the simple example in the tutorial

2010-06-08 Thread kk yap
As mentioned, the list is ordered.  So, I swapped ip and xterm in the
host definition, and it works now.  Attached is the updated file.

Regards
KK

On 8 June 2010 13:02, Guanyao Huang  wrote:
> Here is my script. Thank you.
>
> On Tue, Jun 8, 2010 at 12:32 PM, kk yap  wrote:
>> Hi,
>>
>> The actual declaration is ordered in xml.  xterm should work.  Do send
>> me your " 2hosts-2ofsw.vms.xml".
>>
>> Regards
>> KK
>>
>> On 8 June 2010 12:10, Guanyao Huang  wrote:
>>> Hi, this is the error:
>>>
>>> gyhu...@leo:~/OpenFlowExample$ xmlstarlet val -e -s
>>> ../openflowvms/xsd/vms.xsd 2hosts-2ofsw.vms.xml
>>> 2hosts-2ofsw.vms.xml:14: element xterm: Schemas validity error :
>>> Element 'xterm': This element is not expected. Expected is ( screenrc
>>> ).
>>> 2hosts-2ofsw.vms.xml:18: element xterm: Schemas validity error :
>>> Element 'xterm': This element is not expected. Expected is ( screenrc
>>> ).
>>> 2hosts-2ofsw.vms.xml - invalid
>>>
>>> So, I changed to screenrc. Sorry I am not familiar with this.
>>>
>>> On Tue, Jun 8, 2010 at 12:00 PM, Kyriakos Zarifis  
>>> wrote:
>>>> Hi,
>>>>
>>>>>
>>>>> My script for the 2-host-2-switch case is the same as in the link
>>>>> above, but I changed the  tag to  tag as suggested by
>>>>> the xmlstarlet command.
>>>>
>>>> I'm not sure about this, maybe it's a recent change, but last time I tried
>>>> it  worked for me. Did you try that?
>>>
>>> ___
>>> nox-dev mailing list
>>> nox-dev@noxrepo.org
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>>
>

  48

  
   
  true 
  

  
  true 
  

  
true
192.168.100.1
  
  
true
192.168.100.2
  

  
   
  

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Cant run virtual machine for the simple example in the tutorial

2010-06-08 Thread kk yap
Hi,

The actual declaration is ordered in xml.  xterm should work.  Do send
me your " 2hosts-2ofsw.vms.xml".

Regards
KK

On 8 June 2010 12:10, Guanyao Huang  wrote:
> Hi, this is the error:
>
> gyhu...@leo:~/OpenFlowExample$ xmlstarlet val -e -s
> ../openflowvms/xsd/vms.xsd 2hosts-2ofsw.vms.xml
> 2hosts-2ofsw.vms.xml:14: element xterm: Schemas validity error :
> Element 'xterm': This element is not expected. Expected is ( screenrc
> ).
> 2hosts-2ofsw.vms.xml:18: element xterm: Schemas validity error :
> Element 'xterm': This element is not expected. Expected is ( screenrc
> ).
> 2hosts-2ofsw.vms.xml - invalid
>
> So, I changed to screenrc. Sorry I am not familiar with this.
>
> On Tue, Jun 8, 2010 at 12:00 PM, Kyriakos Zarifis  
> wrote:
>> Hi,
>>
>>>
>>> My script for the 2-host-2-switch case is the same as in the link
>>> above, but I changed the  tag to  tag as suggested by
>>> the xmlstarlet command.
>>
>> I'm not sure about this, maybe it's a recent change, but last time I tried
>> it  worked for me. Did you try that?
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[fsug-tvm] Octave / Matlab

2010-06-08 Thread Jemshid KK
On 8 June 2010 11:03:37 UTC+5:30, Asha G  wrote:

> 3) If there is anyone on this gp who is Octave/ MATLAB savvy, do let me
> know.
>
I am a regular Matlab user and I have a Linux version of Matlab.
Jemshid

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


[QUAD-L] FDA announces new formulation for Oxycontin

2010-06-07 Thread KK


New Formulation for OxyContin
FDA Patient Safety News: Show #99, June 2010

FDA has approved a new formulation of the controlled-release drug 
OxyContin that is designed to be more difficult to manipulate by someone
 trying to misuse or abuse the medication.  OxyContin tablets contain 
the opioid analgesic oxycodone, which is released gradually after the 
tablet is swallowed.  People intent on abusing the drug have been able 
to release more of the medication all at once by crushing or chewing the
 tablets, or by dissolving them and injecting the liquid.  

The 
new formulation makes it more difficult for people to defeat the 
controlled-release properties of the drug by cutting or crushing the 
tablets. And if someone tries to dissolve the tablets, the result will 
be a gummy substance that would be difficult to inject through a 
syringe.  Although the new formulation may not prevent all abuse of 
OxyContin, it is a step in the right direction.  The manufacturer will 
conduct a study to evaluate how well the new formulation reduces abuse 
and misuse of the drug.  





  Additional Information:
  



FDA Press Release.  FDA Approves New Formulation for OxyContin.  
April 5, 2010.
http://www.fda.gov/NewsEvents/Newsroom/PressAnnouncements/ucm207480.htm



  


FDA Patient Safety News is available at www.fda.gov/psn


[Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled

2010-05-31 Thread KK
I have exactly the same experience (going back to the 2.6.31 kernel
makes everything better)... so I agree that it is definitely a kernel
issue.

-- 
Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 
Duo even with only 1 core enabled
https://bugs.launchpad.net/bugs/524281
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Registry] [Bug 524281] Re: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled

2010-05-31 Thread KK
I have exactly the same experience (going back to the 2.6.31 kernel
makes everything better)... so I agree that it is definitely a kernel
issue.

-- 
Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 
Duo even with only 1 core enabled
https://bugs.launchpad.net/bugs/524281
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.

___
Mailing list: https://launchpad.net/~registry
Post to : registry@lists.launchpad.net
Unsubscribe : https://launchpad.net/~registry
More help   : https://help.launchpad.net/ListHelp


[android-developers] Re: GLSurfaceView onPause blocked in Froyo

2010-05-27 Thread KK
I am calling it because the documentation tells so.

public void onPause ()

Since: API Level 3
Inform the view that the activity is paused. The owner of this view
must call this method when the activity is paused. Calling this method
will pause the rendering thread. Must not be called before a renderer
has been set.


If i don't call this the OpenGL rendering thread will keep on giving
the onDrawFrame calls.

regards
KK

On May 26, 11:06 pm, Indicator Veritatis  wrote:
> The first thing that pops out as odd, possibly related to your
> problem, is that as you describe it, you are callingonPause() and
> onResume() yourself. These are meant to be called by the system, not
> the API user (you). Are you really calling these yourself? If so, why?
>
> On May 26, 6:25 am, KK  wrote:
>
>
>
> > I am using OpenGL to do some rendering and whenever my rendering gets
> > paused I callonPauseofGLSurfaceViewand later when I resume
> > onResume ofGLSurfaceView. This was working fine till I upgraded my
> > Nexus One to Froyo today. After that the thread callingonPauseseems
> > to be blocked in that API. Anyone has any idea why this is happening?
> > Is there anything I need to change for this to work on Froyo?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] GLSurfaceView onPause blocked in Froyo

2010-05-26 Thread KK
I am using OpenGL to do some rendering and whenever my rendering gets
paused I call onPause of GLSurfaceView and later when I resume
onResume of GLSurfaceView. This was working fine till I upgraded my
Nexus One to Froyo today. After that the thread calling onPause seems
to be blocked in that API. Anyone has any idea why this is happening?
Is there anything I need to change for this to work on Froyo?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[fsug-tvm] [OT] Webcam without AGC

2010-05-25 Thread Jemshid KK
I am looking for a webcam for which the AGC(Automatic Gain Control) can be
disabled.
If you know any model which has this facility, kindly inform me.

Jemshid KK
ph: 9349101566,

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [nox-dev] Nox: Adding multiple action to a flow using c++

2010-05-23 Thread kk yap
Hi Hardeep,

this looks correct.  Have you looked at the packet sent using
wireshark?  I would recommend that.

Regards
KK

On 23 May 2010 20:51, Hardeep Uppal  wrote:
> Hi,
> I am writing a Nox module that adds flow into the openflow switch. I have
> the module working correctly which adds one action ofp_action_output with
> the flow.
> I am not sure how to add multiple flows. I want to add the action
> ofp_action_tp_port defined in openflow.h. The struct for ofp_flow_mod has
> the array struct ofp_action_header actions[0]. I am not sure what the
> correct pointer arithmetic is to add the length of ofp_action_nw_addr and
> ofp_action_output. This is what I have
> ofp_action_nw_addr& action1 = *((ofp_action_nw_addr*)ofm->actions);
>           memset(&action1, 0, sizeof(ofp_action_nw_addr));
>           action1.type = htons(OFPAT_SET_NW_DST);
>           action1.len = htons(sizeof(ofp_action_nw_addr));
>           action1.nw_addr = l3_[2].addr;
> ofp_action_output& action2 = *((ofp_action_output*)(((char*)ofm->actions) +
> sizeof(ofp_action_nw_addr)));
>           memset(&action2, 0, sizeof(ofp_action_output));
>           action2.type = htons(OFPAT_OUTPUT);
>           action2.len = htons(sizeof(ofp_action_output));
>           action2.max_len = htons(0);
>           action2.port = htons(out_port);
> Can someone tell me what am I doing wrong?
> Thanks,
> Hardeep
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [fsug-tvm] Re: Nautilus SVN-Taking Time to load

2010-05-22 Thread Jemshid KK
Managed to isntall. Thank you.
Jemshid KK


On 22 May 2010 14:50:28 UTC+5:30, Vishnu Jyothi  wrote:

> First Uninstall the The previous one, ie rabbitvcs.It may be cause of
> conflict issue
>
>
> On Sat, May 22, 2010 at 2:49 PM, Jemshid KK  wrote:
>
>> Error: Breaks exisiting package 'rabbitvcs-core' conflict: nautilussvn ( )
>>
>> erro message when attempted to install from the file you have sent.
>>
>> Jemshid KK
>>
>>
>>  --
>> "Freedom is the only law".
>> "Freedom Unplugged"
>> http://www.ilug-tvm.org
>>
>> You received this message because you are subscribed to the Google
>> Groups "ilug-tvm" group.
>> To control your subscription visit
>> http://groups.google.co.in/group/ilug-tvm/subscribe
>> To post to this group, send email to ilug-tvm@googlegroups.com
>> To unsubscribe from this group, send email to
>> ilug-tvm-unsubscr...@googlegroups.com
>>
>>
>>
>> For details visit the google group page:
>> http://groups.google.com/group/ilug-tvm?hl=en
>>
>
>
>
> --
> Regards
>
> Vishnu Jyothi
>
>
>  --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To control your subscription visit
> http://groups.google.co.in/group/ilug-tvm/subscribe
> To post to this group, send email to ilug-tvm@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-unsubscr...@googlegroups.com
>
>
>
> For details visit the google group page:
> http://groups.google.com/group/ilug-tvm?hl=en
>

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] Re: Nautilus SVN-Taking Time to load

2010-05-22 Thread Jemshid KK
Error: Breaks exisiting package 'rabbitvcs-core' conflict: nautilussvn ( )

erro message when attempted to install from the file you have sent.
Jemshid KK

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] Re: Nautilus SVN-Taking Time to load

2010-05-22 Thread Jemshid KK
I am using ubuntu 9.04

Here is the output of my attempt to install nautilussvn.

sudo apt-get install nautilussvn
[sudo] password for kake:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nautilussvn is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  rabbitvcs-core
E: Package nautilussvn has no installation candidate

I have rabbitvcs installed. But it is buggy / hanging in my system.


Jemshid KK

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] GMail like email client

2010-05-21 Thread Jemshid KK
A suggestion is to use Gmail offline feature.
Jemshid KK
ph: 9349101566,


On 21 May 2010 20:17:50 UTC+5:30, Adhin D  wrote:

> Is there any email client that looks like Gmail? I mean, mails with same
> title are grouped together...
>
> --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To control your subscription visit
> http://groups.google.co.in/group/ilug-tvm/subscribe
> To post to this group, send email to ilug-tvm@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-unsubscr...@googlegroups.com
>
>
>
> For details visit the google group page:
> http://groups.google.com/group/ilug-tvm?hl=en
>

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] Nautilus SVN-Taking Time to load

2010-05-21 Thread Jemshid KK
@ Vishnu Jyothi
Hi
I am looking for an SVN tool with GUI and Nautilus integration.
I have installed Rabbit SVN but is buggy / hanging.
Can you tell me the exact package you have installed?

Thank you

Jemshid KK
ph: 9349101566,


On 21 May 2010 13:43:18 UTC+5:30, Vishnu Jyothi  wrote:

> Hello all
>
> I installed Nautilus Svn , its works perfect and all my needs are
> satisfied..but when i try to access any folder which got svn files ie
> nautilusSvn,it take some to load .Once i closed this folder it will
> again happens again when ever i access these folders...
>

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


[android-developers] Emulator Proxy Settings via APN not working

2010-05-20 Thread kk
Hi All,

Can't get Froyo (Android SDK 2.2 release) APN emulator proxy settings
working.

Via eclair proxy settings work enable via APN configuration (adding
proxy server and proxy server port).

Now in FroYo release this manner of configuration is not working, any
workarounds?


Rgds,

KK

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to set and get thread priority from Java and native layers

2010-05-14 Thread KK
Ok, finally I seem to have found out some more of what is happening. I
am able to set any priority > 0. But if I try priorities <= 0 it
throws an exception. For all my practical purposes, positive
priorities are enough. But anyone has any idea what application is not
allowed to use any priorities <= 0?

Thanks
KK

On May 11, 9:16 pm, Streets Of Boston  wrote:
> It could be that thethread'sThreadGroup has a maximumpriorityof 5.
> Athread'sprioritycannot be higher than it'sthread-group max-priority.
>
> It could be that some code you didn't code, but call instead, that
> sets thethreadpriorityto 5.
>
> On May 10, 11:37 pm, Krishnakumar Ramachandran
>
>
>
>
>
>  wrote:
> > I tried that too. But still when I try to query my audiothread'spriority,
> > it still shows itspriorityas 5.
>
> > On Tue, May 11, 2010 at 8:25 AM, Streets Of Boston
> > wrote:
>
> > > What aboutThread.setPriority(...) ?
>
> > > That seems to be working for me.
> > > When, using the above method, isetthepriorityof a background-
> > >threadtoo high it has an impact on the GUI (it gets sluggish). It
> > > must be doing something...
>
> > > On May 10, 9:20 pm, Krishnakumar Ramachandran
> > >  wrote:
> > > > Hi has anyone got any idea on this?
>
> > > > On Mon, May 10, 2010 at 12:56 PM, KK <
> > > krishnakumar.ramachand...@gmail.com>wrote:
>
> > > > > I have a multithreaded streaming app which has mainly the following 5
> > > > > threads
>
> > > > > 1 Main App(UI)Thread
> > > > > 1 controllerthread(in native)
> > > > > 1 audio decoderthread(in native)
> > > > > 1 video decoderthread(in native)
> > > > > 1threadto query the head position of audio (inJava)
> > > > >  Apart from this I have video rendering with OpenGL.
>
> > > > > My problem is, if I query thethreadpriorityusing the
> > > > >Thread.getPriority method (my native threads make callbacks toJava
> > > > > and I am making the query at that point of time), I am getting the
> > > > >priorityof each of them as 5. For my audio querythread(the last one
> > > > > in the list) I am explicitly setting thepriorityusing
> > > > > Process.setThreadPriority(Process.THREAD_PRIORITY_URGENT_AUDIO);
>
> > > > > Also for my decoder threads, I am giving higherprioritythan my
> > > > > controllerthread(using pthread APIs in native). But still finally all
> > > > > of them seem to have samepriority.
>
> > > > > Can anyone please tell me what is wrong here. Also what should I be
> > > > > doing to increase thepriorityof my threads(both fromJavaand
> > > > > native).
>
> > > > > Thanks
> > > > > KK
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "Android Developers" group.
> > > > > To post to this group, send email to
> > > android-developers@googlegroups.com
> > > > > To unsubscribe from this group, send email to
> > > > > android-developers+unsubscr...@googlegroups.com > > > >  ­cr...@googlegroups.com>
> > > 
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Developers" group.
> > > > To post to this group, send email to android-developers@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > android-developers+unsubscr...@googlegroups.com > > >  ­cr...@googlegroups.com>
> > > > For more options, visit this group athttp://
> > > groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> > > > - Show quoted text -
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com > >  ­cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > --
> > You recei

Re: [nox-dev] using nox as a python api to linux networking stack

2010-05-14 Thread kk yap
Hi Richard,

There is a lot of part to your email.  I will comment on parts that I
have answers to inline.

Regards
KK

On 14 May 2010 12:23, Richard Mortier  wrote:
> hi; this might not be an expected use but i thought i'd ask about it
> anyway...  :)  apologies for the length of the mail.
>
> i'm trying to use nox/openflow simply as an python API to control the
> networking stack on a linux box.  (this may be overkill - alternate
> suggestions welcome!)  i believe i've got everything running
> (nox_core, ofprotocol, ofdatapath), using the latest repo versions of
> each (NOX 0.8.0~full~beta, ofprotocol/ofdatapath 1.0.0).  i've also
> got a basic python script plugged into NOX that is handling packet_in
> events, installing flows on that basis, and successfully receiving and
> printing flow_mod and flow_remove events.  the ofdatapath component is
> running against eth0,eth1,wlan0 although only eth0 is actually
> connected to anything else.
>
> so far so good.  what i'd like to do now is to cause the linux box to
> start dropping packets selectively.  from past messages i understand i
> should be able to do this by
> - returning STOP from the packet_in handler; or
> - installing a flow in the datapath with a blank action (action=[]).

The latter is preferred since you might have multiple packets in a
flow and so having a flow entry prevent you from receiving every
single packet in NOX again.

>
> (please correct me if i'm wrong!)
>
> however, in neither case are packets dropped - if i test by pinging
> one of the interfaces against which ofdatapath is running then tcpdump
> still shows me the ECHO request and reply; similarly if i try
> connecting to a simple client/server TCP app, the handshake and data
> transfer still occurs.  ie., it looks like traffic still flows
> unimpeded in and out of eth0.

This is strange.  Either method should work.  For the first method,
you need to make sure nox.xml is correctly configured.   For the
second method, check that you have a flow entry by using dpctl
dump-flows.

>
> if i send an OFPP_FLOOD in response from the controller (as well as
> setting up a suitable flow), the incoming packet is observed on the
> tap0 interface as well as eth0.
>
> so, to my (possibly naive) questions:
>
> (1) is what i'm trying to do possible?  (and if not, can someone explain why?)

Definitely this can be done.

>
> (2) in the python script i believe i'm handling datapath_join and
> datapath_leave events; when i "ifconfig down" one of the interfaces
> managed by ofdatapath, i see ofdatapath report to the console that the
> interface went down, but i don't see any event delivered to the
> controller; when i "ifconfig up" the interface, i see nothing reported
> anywhere.  should i expect to see anything either on the console, or
> at the controller?  if not, is there any way that i can cause an event
> to be generated at the controller when an interface goes down or up?
>
> (3) as i understand it, the openflow kernel module is not currently
> supported in NOX 0.8/Openflow 1.0; are there plans to bring this back,
> and if so, what's the timeline?

use OpenvSwitch?

>
> happy to provide more info/context on request.
>
> cheers,
> --
> Richard Mortier
> m...@cantab.net
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [fsug-tvm] Linux haters blog

2010-05-13 Thread Jemshid KK
Hi Nishanth,
There are certain mails and comments in this mailing list which doesn't
deserve an answer.
I think it is high time we need to ignore unnecessary subjective emails.
There a few mails in the list, which doesn't deserve a reply at all.

Lets ignore those mails and just think of meeting our objectives. We want to
make linux user friendly.
And there are few developers and techies around who have offered support and
could understand the need (Lets call them angels). We need to tap this
opportunity. Let's focus on angels and let's offer the best of our
contributions as users, towards meeting the objectives of making the Free OS
better.

Jemshid KK


On 13 May 2010 13:02:46 UTC+5:30, nishandh M  wrote:

>
>
> On Thu, May 13, 2010 at 7:08 AM, Subin Sebastian  > wrote:
>
>> @Nishandh
>>
>> i still have the feeling that linux is not going to be user friendly for
>>> another forth coming decade.
>>>
>>
>> "Linux is not user-friendly?. It _is_ user-friendly!
>> It is not ignorant-friendly and idiot-friendly..."
>>
>
> @Sebin, thanks for supporting the view.
>
> Thats a very welcoming statement for a USER!. (the above statement defines
> the 'user' as techie, and everybody non techie as idiots / ignorant. That is
> an attitude. A destructive attitude)
> *Being ignorant friendly and idiot friendly is the best selling point*.
>  If the interface and stability is as easy and solid as an ATM system,
> everybody uses it,then every Hardware/Software manufacturer start providing
> drivers/compatible code.
>
>
> I wont ask my grandmother to learn code,may be not even to stare onto
> monitor for more than 10min. If the interface can be extended to the way
> familiar to her,it will work. That would be an achievement. And that wont
> make her Idiot. Think of the whole population.Hope nobody answer with an
> exception again:an ATM security breach. I refer only of the priorities they
> gave while designing the ATM system.
>
>
> Everything which has been made complex**  are not idot-friendly: whether it
> be Kathakali, abstract art.. .. ..and everything idiot friendly ---like
> mainstream films--- has won in reach.
> **[for valid reasons or just personal perceptions of how things should be]
>
>
>
>
> Just a quote in the last decade on the web from an unknown source... ;-
>>
>
>>
>
>>
>> 
>> Freedom Is The Only Law...
>> 
>> Subin Sebastian
>> College of Engineering
>> Munnar - 685612
>> +91-944-6475826
>>
>> --
>> "Freedom is the only law".
>> "Freedom Unplugged"
>> http://www.ilug-tvm.org
>>
>> You received this message because you are subscribed to the Google
>> Groups "ilug-tvm" group.
>> To control your subscription visit
>> http://groups.google.co.in/group/ilug-tvm/subscribe
>> To post to this group, send email to ilug-tvm@googlegroups.com
>> To unsubscribe from this group, send email to
>> ilug-tvm-unsubscr...@googlegroups.com
>>
>>
>>
>> For details visit the google group page:
>> http://groups.google.com/group/ilug-tvm?hl=en
>>
>
>
>
> --
>
>
> #//#
>   "Simplicity is the ultimate sophistication"
> Leonardo da Vinci
>
> #//#
>
>  --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To control your subscription visit
> http://groups.google.co.in/group/ilug-tvm/subscribe
> To post to this group, send email to ilug-tvm@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-unsubscr...@googlegroups.com
>
>
>
> For details visit the google group page:
> http://groups.google.com/group/ilug-tvm?hl=en
>

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] Linux haters blog

2010-05-11 Thread Jemshid KK
This mail may not have nothing much to deal with the subject of this
discussion.
But I know Nishanth and what his intentions are.
Hence a few comments in the mailing list deserve a reply.

On 11 May 2010 11:56:52 UTC+5:30, Rajeev J Sebastian <
rajeev.sebast...@gmail.com> wrote:

>
> WTF does that mean?

Seems Rajeev needs to give a thought before writing such a sentence in this
mailing list. There are certain common etiquette we practice in Kerala, and
we have been practicing in this mailing list.


> If you cannot write English that anyone can
> understand, please refrain from writing at all!
>
@ Rajeev
Dont think that you are the only listener and developer in this mailing
list.
If you can't understand, it could be a problem with your intellect. Stay
away Rajeev. You may feel good.


> You don't make a whole lot of sense in this thread and your HTML
> emails are very irritating and annoying.
>

Rpeating @ Rajeev. Stay away you idiot.


> I request the admin to ban this idiot from the mailing list.
>
Joke of the year !

@Rajeev
Hope you won't take things in the wrong sense.

Coming to the point.
Nishanth is the only person in the mailing list, who doesn't belong to the
techie group and at the same time actively participating in the discussions.
There is a point he is trying to convey to the developers. Those developers
in the list who want to contribute some thing useful to an average user may
listen to what he speak.

Regards
Jemshid

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


[android-developers] How to set and get thread priority from Java and native layers

2010-05-10 Thread KK
I have a multithreaded streaming app which has mainly the following 5
threads

1 Main App(UI) Thread
1 controller thread (in native)
1 audio decoder thread (in native)
1 video decoder thread(in native)
1 thread to query the head position of audio (in Java)
 Apart from this I have video rendering with OpenGL.

My problem is, if I query the thread priority using the
Thread.getPriority method (my native threads make callbacks to Java
and I am making the query at that point of time), I am getting the
priority of each of them as 5. For my audio query thread (the last one
in the list) I am explicitly setting the priority using
Process.setThreadPriority(Process.THREAD_PRIORITY_URGENT_AUDIO);

Also for my decoder threads, I am giving higher priority than my
controller thread(using pthread APIs in native). But still finally all
of them seem to have same priority.

Can anyone please tell me what is wrong here. Also what should I be
doing to increase the priority of my threads(both from Java and
native).

Thanks
KK

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [nox-dev] [openflow-dev] ENVI test

2010-05-07 Thread kk yap
Hi all,

Let me clarify this a little (I hope).  A few things to note:
** Yuba has two type of git access, SSH and gitosis.  Think of them as
private and public access respectively.  And I apologize for the loose
instructions on the website.  For all public repository, check out

http://yuba.stanford.edu/git/gitweb.cgi

PS for this point>> For the uninitiated, you access git via SSH using
commands like
   git clone yuba:
and via gitosis using
   git clone git://yuba/
Yes, I am simplifying but this will be the case for most.

** There are different versions of NOX out there.  On top of it, the
respective demonstration have their own NOX repositories.  There are
using corresponding ENVI repositories, since ENVI is customized for
each demo.  So, we have a lot of repositories.  Do not expect the
aggregation gui to work with openpipes' NOX repository.

** There is a master ENVI branch at openflowswitch.org and a master
NOX repository at http://noxrepo.org/nox.  I would recommend everyone
starts there unless you are trying to use an existing demo.  Caveat:
the NOX master branch does not support LAVI now, so it will *not*
communicate with ENVI.

Hope I have helped to clarify things up a little.

Regards
KK


On 7 May 2010 00:09, 曾毓元  wrote:
> Hello everyone,
> Recently, I try to research the openflow gui, so I visit the
> http://www.openflowswitch.org/
> find this http://www.openflowswitch.org/wk/index.php/Aggregation
>
> I want to know that is real to catch the openflow parameter?
> So I try to download the "envi-aggregation", it worked!
> But the controller can't.
>
> On the internet, I see a lot of people want to test the source code
> But we can't, " git clone yuba.stanford.edu:/usr/local/git/nox ", need
> the password?!
>
> If you could inform this information to me, I would really appreciate it.
>
> Thanks and Regards
> Ian
> ___
> openflow-dev mailing list
> openflow-...@lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/openflow-dev
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[android-developers] Wifi drop Issues on Motorola Droid

2010-05-06 Thread KK
I am trying to develop a streaming application and I am testing it on
multiple devices. But I am seeing some problems on Motorola Droid with
regards to wifi connection. The wifi connection drops occasionally and
comes back in 30 seconds to 1 minute on the Droid. Sometimes while in
the middle of streaming I get network connection errors even though I
am standing very next to the wifi router. I am not finding this
problem with any other devices. Has anyone found any similar issues
with the Droid? Any idea what can be done in my program to fix this?

Thanks
KK

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[ts] Re: Filtering Search Results Further

2010-05-03 Thread kk
Woops I may have just replied to author. I am putting this response
here so if anybody else comes across this issue, they can remedy it.

<%= link_to_unless_current "Recent", params.merge(:filter =>
'latest_first') %> |
  <%= link_to_unless_current "Lowest Price", 
params.merge(:filter =>
'lowest_price') %> |
  <%= link_to_unless_current "Highest Price", 
params.merge(:filter
=> 'highest_price') %>

these are the links I used to have it work. Thanks you James!

On May 3, 10:50 pm, James Healy  wrote:
> kk wrote:
> > I know that it works if the filter param is added onto the search
> > query. I just can't figure out how to put it there without typing it
> > manually. If I click any of those links the url goes to
>
> >http://localhost:3000/junks?filter=lowest_price
>
> > which brings up non-searched results.
>
> > Is there an easier way to accomplish what I am trying to do? (I am
> > still a bit green and learning all that I can.)
>
> Are you using the link_to helper? Try:
>
>   link_to "sort by price", junks_path, params.merge(:filter => "lowest_price")
>
> -- James Healy   Tue, 04 May 2010 15:49:52 +1000
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to thinking-sph...@googlegroups.com.
> To unsubscribe from this group, send email to 
> thinking-sphinx+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/thinking-sphinx?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to thinking-sph...@googlegroups.com.
To unsubscribe from this group, send email to 
thinking-sphinx+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.



[ts] Filtering Search Results Further

2010-05-03 Thread kk
Hello Everyone,

This should be a very simple question. Right now, when somebody
submits a search, this url is created and the searching works properly

http://localhost:3000/junks?search=handbag&condition=&category=&main_submit=Go!

Now that's good but I would like to also sort the results by price.

Currently in my view, I have

 

  Filter by:
  <%= link_to_unless_current "Recent", :filter => 'recent' %> |
  <%= link_to_unless_current "Lowest Price", :filter =>
'lowest_price' %> |
  <%= link_to_unless_current "Highest Price", :filter =>
'highest_price' %>



The goal was for these links to attach a filter param to the end of
the search string so that it looks like

http://localhost:3000/junks?search=handbag&condition=&category=&main_submit=Go!&filter=lowest_price

>From there my controller reads in the filter and uses the proper
named_scope and returns a new @junks variable that is sorted by
price.

I know that it works if the filter param is added onto the search
query. I just can't figure out how to put it there without typing it
manually. If I click any of those links the url goes to

http://localhost:3000/junks?filter=lowest_price

which brings up non-searched results.

Is there an easier way to accomplish what I am trying to do? (I am
still a bit green and learning all that I can.)

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to thinking-sph...@googlegroups.com.
To unsubscribe from this group, send email to 
thinking-sphinx+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.



Re: [nox-dev] Duplicating Work?

2010-05-03 Thread kk yap
Hi Dan,

We are working on a NOX console that uses JSON for something like what
you mentioned.  A prototype of this is available on the OpenFlow v1.0
branch in noxrepo.org.  Look at jsonmessenger.  Not sure if it fits
your needs though.

Regards
KK

On 3 May 2010 06:38, Moore, Daniel H  wrote:
> All,
> I'm interested in creating a dynamically programmable interface for nox in
> the form of an application. That is to abstract the manually entered
> static flow entries to become messages sent to the controller from a 3rd
> party in the form of a TCP message.
>
> I have done plenty of searching these past few months and have found some
> similar abstractions but no projects which focus on this goal alone.
> Before I start tackling this issue I'd like to make sure I'm not blindly
> missing something which does just this.
>
> If you know of anything similar to this please let me know.
>
> Thank you,
>
> Daniel Moore
> Computer Science Undergraduate
> Georgia Institute of Technology
> dan.mo...@gatech.edu
>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Overriding OpenFlow default settings.

2010-04-29 Thread kk yap
HI DK,

If you would send the patch, I would push it.

Regards
KK

On 29 April 2010 19:23, DK Moon  wrote:
> Hi there,
> openflow-default.hh hardcoded SEND_FLOW_REMOVED and DEFAULT_FLOW_TIMEOUT.
> Can you please change them so we can override through a compiler option?
> Best,
> DK
>
> diff --git a/src/include/openflow-default.hh b/src/include/openflow-default.
> index 877fcb7..4e98dfe 100644
> --- a/src/include/openflow-default.hh
> +++ b/src/include/openflow-default.hh
> @@ -21,11 +21,15 @@
>
>  /** Send flow removed messages
>   */
> -#define SEND_FLOW_REMOVED true
> +#ifndef SEND_FLOW_REMOVED
> +  #define SEND_FLOW_REMOVED true
> +#endif
>
>  /** Default idle timeout for flows
>   */
> -#define DEFAULT_FLOW_TIMEOUT 5
> +#ifndef DEFAULT_FLOW_TIMEOUT
> +  #define DEFAULT_FLOW_TIMEOUT 5
> +#endif
>
>  /** Provide default flags for flow_mod
>   */
>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


How to do faceting on data indexed by Nutch

2010-04-25 Thread KK
Hi All,
I might be repeating this question asked by someone else but googling didn't
help tracking any such mail responses.
I'm pretty much aware of Solr/Lucene and its basic architecture. I've done
hit highlighting in Lucene, has idea on faceting support by Solr but never
tried it actually. I wanted to implement faceting on Nutch's indexed data. I
already have some MBs of data already indexed by Nutch. I just want to
implement faceting on those . Can someone give me pointers on how to proceed
further in this regard. Or is it the case that I've to query using Solr
interface and redirect all the queries to the index already created by
Nutch. What is the best possible way, simplest way for achieving the same.
Please help in this regard.


Thanks,
KK.


Re: Transferring an image over an PRC call

2010-04-23 Thread KK
So far.. I have a servlet that can gets image from database  and
another server that can store image in the database. I am familiar
with RPC calls. However, I dont know how to make this two servlet work
in my gwt project.

I am guessing there is stuff need to be change in xml file. Is can
anyone guide me further please!

On Apr 23, 10:48 am, KK  wrote:
> Hello,
> Thank you for your response.  I am a step closer.
>
> Since I am using two servlets (foruploadand download) of theimage.
> do I need to make any changes in .gwt.xml  or web.xml  file?
>
> thanks
>
> On Apr 21, 6:34 am, ahmet terzioglu  wrote:
>
>
>
> > Hi,
>
> > First of all, I don't save my images in the database, they are saved on the
> > web server. Basically you need two http servlets, one for download and one
> > forupload. (Maybe you can do it with only one by just using GET and POST
> > but anyway...)
>
> > For uploading I use a fileUploader widget inside a form. A submit button
> > triggers uploadForm.submit() and the file sent to the httpServlet.
>
> >         uploadForm.setEncoding(FormPanel.Encoding.MULTIPART);
> >         uploadForm.setMethod(FormPanel.Method.POST);
> >         uploadForm.setAction(GWT.getModuleBaseURL() +"ServletUpload");
> >         ...
>
> > The http servlet request is parsed to get the file and write it to the
> > webserver. I save my files in directories inside the WEB-INF folder because
> > it is private.
> >         FileItemFactory factory = new DiskFileItemFactory();
> >         ServletFileUploadupload= new ServletFileUpload(factory);
> >         List items =upload.parseRequest(req);
> >         ...
>
> > For downloading all you need is an html img tag calling your downloadServlet
>
> >        String serviceCall = GWT.getModuleBaseURL()
> > +"ServletDownload?url="+Constants.DOWNLOADPATH+fileName;
> >        html.setHTML("");
>
> > In your httpServlet for download, you take the url paramater from the
> > response, find the resource and then stream back to the browser as a
> > response using the ServletOutputStream:
>
> >         String urlString = request.getParameter("url");
> >         response.setContentType("image/jpg");
> >         ServletOutputStream out = resp.getOutputStream();
> >         URL url = getServletContext().getResource(urlString);
> >         ...
>
> > By using this approach you can stream animagein a private folder by using
> > the servlet call in the html tag to serve theimage.
> > Hope this helps...
> > For more info you can investigate the concepts mentioned Trevis's and
> > Subhro's posts.
>
> > Ahmet
>
> > On Wed, Apr 21, 2010 at 7:55 AM, KK  wrote:
> > > Can you please show an example code .. how you made this work?
>
> > > Thanks!
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Transferring an image over an PRC call

2010-04-23 Thread KK
Hello,
Thank you for your response.  I am a step closer.

Since I am using two servlets (for upload and download) of the image.
do I need to make any changes in .gwt.xml  or web.xml  file?

thanks



On Apr 21, 6:34 am, ahmet terzioglu  wrote:
> Hi,
>
> First of all, I don't save my images in the database, they are saved on the
> web server. Basically you need two http servlets, one for download and one
> for upload. (Maybe you can do it with only one by just using GET and POST
> but anyway...)
>
> For uploading I use a fileUploader widget inside a form. A submit button
> triggers uploadForm.submit() and the file sent to the httpServlet.
>
>         uploadForm.setEncoding(FormPanel.Encoding.MULTIPART);
>         uploadForm.setMethod(FormPanel.Method.POST);
>         uploadForm.setAction(GWT.getModuleBaseURL() +"ServletUpload");
>         ...
>
> The http servlet request is parsed to get the file and write it to the
> webserver. I save my files in directories inside the WEB-INF folder because
> it is private.
>         FileItemFactory factory = new DiskFileItemFactory();
>         ServletFileUpload upload = new ServletFileUpload(factory);
>         List items = upload.parseRequest(req);
>         ...
>
> For downloading all you need is an html img tag calling your downloadServlet
>
>        String serviceCall = GWT.getModuleBaseURL()
> +"ServletDownload?url="+Constants.DOWNLOADPATH+fileName;
>        html.setHTML("");
>
> In your httpServlet for download, you take the url paramater from the
> response, find the resource and then stream back to the browser as a
> response using the ServletOutputStream:
>
>         String urlString = request.getParameter("url");
>         response.setContentType("image/jpg");
>         ServletOutputStream out = resp.getOutputStream();
>         URL url = getServletContext().getResource(urlString);
>         ...
>
> By using this approach you can stream an image in a private folder by using
> the servlet call in the html tag to serve the image.
> Hope this helps...
> For more info you can investigate the concepts mentioned Trevis's and
> Subhro's posts.
>
> Ahmet
>
>
>
> On Wed, Apr 21, 2010 at 7:55 AM, KK  wrote:
> > Can you please show an example code .. how you made this work?
>
> > Thanks!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Transferring an image over an PRC call

2010-04-21 Thread KK
Can you please show an example code .. how you made this work?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Image upload / store database

2010-04-21 Thread KK
Hi,

Currently I cannot get the FileUpload widget to work correctly.

I am trying to send and receive an image file from the server to the
client side.
In order to store an image uploaded by a user in my database.

I can do this very easy with Java, but when using GWT it doesn't work
the same.

I'm just not sure how to get this to work, just tried passing the
filename using RPC calls but this didn't work.

Any suggestions/example will be very very helpful?



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Transferring an image over an PRC call

2010-04-21 Thread KK
Hi, Can you please show a sample code how you guys solved this?
please!

On Apr 19, 5:53 am, ahmet terzioglu  wrote:
> Yes, that is exactly what I did and it works now, thank you.
>
>
>
> On Sun, Apr 18, 2010 at 10:51 PM, Trevis  wrote:
> > Is your goal to show the image in an img tag in the web browser?  I
> > have user uploadable images on my gwt website and to present the
> > images to users i use an http servlet.  I have an img tag rendered in
> > the client that references the image from the servlet.  Since my
> > images are saved in the DB, the image servlet processes the users
> > request, finds the image that they are requesting and renders the file
> > to the output stream.  Pretty much all you need to do is configure the
> > content type on the response.
>
> > On Apr 15, 9:48 am, Ahmet  wrote:
> > > Hi everyone,
>
> > > My application has an upload file feature and allow users to upload
> > > image files to the server using an httpServlet. That part works fine,
> > > the file gets uploaded and placed in the WEB-INF folder (I don't want
> > > public access), required url and other info is filled into the
> > > database using Hibernate.
>
> > > The problem is when I want to retrieve the image on the client side.
> > > My user pojo knows the url of its image, but I can't instantiate an
> > > Image object and send it over an RPC call since it is not
> > > serializable. I decided to transform the image file, a jpg, into a
> > > byte[] on the server side and then transfer the byte[] over the RPC
> > > call, however, I it doesn't work.
>
> > > I get no errors on the server side, the RPC call returns, but my
> > > client reports a failure:
>
> > > SEVERE: Exception while dispatching incoming RPC call
> > > java.lang.RuntimeException: java.lang.ClassCastException: [B cannot be
> > > cast to [Ljava.lang.Object;
>
> > > My service code:
> > > public byte[] getImageByUrl(String url) {
>
> > >                 ByteArrayOutputStream baos = new ByteArrayOutputStream();
> > >                 try{
> > >                         File file = new File(url);
> > >                         ObjectOutputStream oos = new
> > ObjectOutputStream(baos);
> > >                         oos.writeObject(file);
> > >                 }catch(Exception ioe){
> > >                         ioe.getMessage();
> > >                 }
> > >                 return baos.toByteArray();
>
> > > }
>
> > > My client code:
> > > service.getImageByUrl(url, new AsyncCallback() {
> > >                                         @Override
> > >                                         public void onFailure(Throwable
> > arg0) {
> > >                                                 log("getImageByUrl
> > failed");
> > >                                                 log(arg0.getMessage());
> > >                                         }
> > >                                         @Override
> > >                                         public void onSuccess(byte[]
> > arg0) {
> > >                                                 //reconstruct file
> > >                                         }
>
> > > }
>
> > > I send a byte[] and recieve a byte[], I checked the contents of the
> > > array from the server side, it is not null and gets returned, however
> > > the client side can not accept it... Why can this be ?
>
> > > I have done some research and it seems like using an httpServlet is
> > > better than using an RPC call when making a binary data transfer,
> > > therefore I am inclined to using the httpServlet for downloading the
> > > image, however what I ultimately achive is not having to save the file
> > > on my client side to access its content. Is it possible to transfer
> > > the Image object over the httpServlet to dynamically use it as it is
> > > recieved on the client side ?
>
> > > I am not sure about using data://url s as they are not supported by
> > > all browsers, but seems as the simplest solution.
>
> > > Thank you for your opinions..
>
> > > Regards,
> > > Ahmet
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-toolkit@googlegroups.com
> > .
> > > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to goo

[java ee programming] hi

2010-04-20 Thread KK

I am developing any small school application, where it requires lots of reports 
to generate
I am coding using Editplus
 
Anybody guide me to create reports is java,
 
I have downloaded NetBeans 6.8 but I could not able to find report creator.
 
Please guide me to use Crytal reports using Java / any other reports

 
Sridhar Kokkukla
 


  

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[fsug-tvm] GNU Radio

2010-04-16 Thread Jemshid KK
Is there any one in this group who has worked with "gnuradio"?
Jemshid KK
ph: 9349101566,

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [nox-dev] A question about the discovery

2010-04-14 Thread kk yap
Hi ian,

If you follow the thread, this proposal was bumped.  So, no... the
controller sends the LLDP.

Regards
KK

On 14 April 2010 21:41, 曾毓元  wrote:
> Thanks Martin,
>
> So it just to do this work ? and other question,
> (Q1) What information will be get? Such as, this switch IP, the
> neighbor node IP, or something.
> (Q2) This LLDP packet sends by who? Is controller or switch.
> (Q3) If it is switch to do this work, then it is every switch to do
> it? or just one ...
>
> Because I have ever see this in the openflow switch website.
> http://www.openflowswitch.org/wk/index.php/OpenFlow_v1.0#Neighbor_Discovery
>
> Sorry, I really want to know.
>
> Thank you so much.
>
>
>
> Regards
> Ian
>
>
>
> 2010/4/15 Martin Casado :
>> That pretty much describes it.  Nox uses a very simplistic discovery method
>> of sending out a unique LLDP packet per connected switch port.  On receipt
>> of an LLDP packet it can then determine the link-state based on the incoming
>> port and switch that the packet was received on.
>>
>> .martin
>>
>>> Dear all:
>>> Sorry to bother to everyone.
>>> But I am very interested about the NOX Controller can use discovery to
>>> find the complete topology.
>>> But the related sites are not very detailed description of its
>>> process. Anyone can tell me in detail how it is done?
>>>
>>> research
>>> http://noxrepo.org/manual/app-index.html#discovery
>>>
>>> it only say:
>>> Discovery sends LLDP packets out of every switch interface. It uses
>>> received LLDP packets to detect switch links, at which time it
>>> generates Link_events.
>>>
>>>
>>> Regards
>>> Ian
>>>
>>> ___
>>> nox-dev mailing list
>>> nox-dev@noxrepo.org
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>>
>>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] New "destiny" branch -- Do not try it now

2010-04-09 Thread kk yap
Hi,

I have just pushed a new branch named "destiny" in
git://noxrepo.org/nox.  Please do not try to use this because we are
making major changes to NOX for the future in this branch.
Nonetheless, feel free to track our progress (or sometimes lack of).

Regards
KK

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Need to the error type of send_openflow_command()

2010-04-05 Thread kk yap
Hi Guanyao,,

Did you check for datapath_leave_event and make sure that you do not
send commands to invalid datapathid?  Seems like that is the problem.

Regards
KK

On 4 April 2010 21:41, Guanyao Huang  wrote:
> Hi
> Sorry to bother others. My program breaks with datapath leaves the
> network (HP switch). There are some errors returned by the
> send_openflow_command, which I dont understand. Is there any document
> on the meaning of the error?
>
>
> 00079|openflow|WARN:stream: send error: Broken pipe
> 00080|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid
> f7cae464 : error 32
> 00081|openflow|WARN:stream: send error: Bad file descriptor
> 00082|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid
> f7cae464 : error 9
> 00083|openflow|WARN:stream: send error: Bad file descriptor
> not successfully opf command: routingMR::send_stats_request()
> 00084|openflow|WARN:stream: send error: Bad file descriptor
> not successfully opf command: routingMR::send_stats_request()
> 00085|openflow|WARN:stream: send error: Bad file descriptor
> 00086|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid
> f7cae464 : error 9
> 00087|openflow|WARN:stream: send error: Bad file descriptor
> 00088|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid
> f7cae464 : error 9
> 00089|openflow|WARN:stream: send error: Bad file descriptor
> 00090|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid
> f7cae464 : error 9
> 00091|openflow|WARN:stream: receive error: Bad file descriptor
> 00092|nox|WARN:stream: disconnected (Bad file descriptor)
> Datapath leave, f7:ca:e4:00:00:64
>
>
> In the output above, what are the meaning of error 9 and 32. The
> source code is simply as:
>
> int ofc_ret = send_openflow_command(curr_dpid, &ofm->header, true);
>        if(ofc_ret) {
>            VLOG_ERR(lg, "OpenFlowMR::install_flow: flow-mod command to dpid
> %s : error %d", curr_dpid.string().c_str(), ofc_ret);
>        }
>
> Many thanks.
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[android-developers] Getting the amount of Audio data buffered in the device

2010-04-05 Thread KK
I am trying to write a streaming application. I have my own decoder
and I am playing PCM audio using AudioTrack. At any point in time I
want to know how much data is buffered with the device. I want to use
this so that if the data with the device go below a level, I want to
go into a buffering mode where I will buffer 2-3 seconds of data
before continuing playback again. Can someone please tell me how to do
this?

Thanks in advance
KK

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.


Re: [nox-dev] Component external communication

2010-03-31 Thread kk yap
Hi,

You can cherry-pick that.  I have some internal version which I have
created by cherry-picking commits.  It should be relatively ok.
Expect conflicts nonetheless.

Regards
KK

On 31 March 2010 10:47, Paulo César  wrote:
> Hi,
>
> Is there some version of messenger in a version of NOX that is compatible
> with earlier versions of OpenFlow?
>
> The problem with the current OpenFlow release is the lack of functionality
> that build the kernel module.
>
>
> Best regards
>
>
> 2010/3/5 kk yap 
>>
>> Hi Alexandre,
>>
>> I will not speak for Nikhil about Plug-n-Serv.  Messenger supports SSL
>> connection if you are running in a non-secure environment.
>>
>> Regards
>> KK
>>
>> On 5 March 2010 19:17, Alexandre Passito 
>> wrote:
>> >
>> >
>> > 2010/3/5 kk yap 
>> >>
>> >> Hi,
>> >>
>> >> Messenger does exactly that (caveat: I wrote it).  The component is
>> >> available on NOX 0.6 openflow-1.0 branch.
>> >>
>> > Good. We will try it.
>> >
>> >>
>> >> Would you care to explain your concept of the controller?  My idea of
>> >> controller is very simple, i.e., it controls the network.
>> >
>> > We share the same idea. Our main doubt is how NOX application access
>> > important information for management decisions, such as CPU feedback
>> > from
>> > servers in the Plug-n-Serve load-balancer (implemented by Stanford).
>> > Does it
>> > create individual connections with each server? Do connections need to
>> > use
>> > the secure channel?
>> >
>> > Best regards,
>> >
>> > Alex
>> >
>> >
>> >>
>> >> Regards
>> >> KK
>> >>
>> >> On 5 March 2010 18:25, Alexandre Passito 
>> >> wrote:
>> >> > Hi all,
>> >> >
>> >> > We are trying to build a NOX application that uses the API to access
>> >> > the
>> >> > switch datapath. This application should also establish a TCP
>> >> > connection
>> >> > with a host located in the network attached to the switch. Does this
>> >> > type of
>> >> > communication between a NOX application and an "outside" host break
>> >> > the
>> >> > concept of the controller? Did someone already try this approach? I
>> >> > think it
>> >> > looks like NOX accessing SNMP information from wireless devices
>> >> > attached
>> >> > to
>> >> > the switches.
>> >> >
>> >> > Looking for insights,
>> >> >
>> >> > Alex
>> >> >
>> >> >
>> >> > --
>> >> > Alexandre Passito de Queiroz -
>> >> > Doutorando do Programa de Pós-Graduação em Informática -
>> >> > LabCIA - Laboratório de Computação Inteligente e Autonômica -
>> >> > Universidade Federal do Amazonas (Brazil)
>> >> > E-mail institucional: passito at ufam.edu.br
>> >> >
>> >> >
>> >> > ___
>> >> > nox-dev mailing list
>> >> > nox-dev@noxrepo.org
>> >> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >> >
>> >> >
>> >
>> >
>> >
>> > --
>> > Alexandre Passito de Queiroz -
>> > Doutorando do Programa de Pós-Graduação em Informática -
>> > LabCIA - Laboratório de Computação Inteligente e Autonômica -
>> > Universidade Federal do Amazonas (Brazil)
>> > E-mail institucional: passito at ufam.edu.br
>> >
>> >
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
>
> --
> Graduando em Ciência da Computação
> Universidade Federal do Amazonas - UFAM
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [Dokter Umum] Ingin Anak Laki2

2010-03-15 Thread kk oeniq
Banayakin aja makan daging dan sejenis kalo ingin anak perempuan perbanyak 
makan saur2an.

--- Pada Ming, 21/2/10, Yusuf  menulis:

Dari: Yusuf 
Judul: Re: [Dokter Umum] Ingin Anak Laki2
Kepada: dokter_umum@yahoogroups.com
Tanggal: Minggu, 21 Februari, 2010, 2:30 AM

Gampang banget kok oom, anda harus egois dlm berhubungan, jangan biarkan sampai 
istri siap tempur. Lha nanti kalau udah positif hamil barulah seperti biasa
Aku udah share keteman-2 Alhamdulillah berhasil, kalau kita berusaha dan 
berdoa, Allah akan selalu mengabulkan

Send from My Baceman Teklek, Powered by Mercon Bantingan®

-Original Message-
From: Erianto Simalango 
Date: Sat, 20 Feb 2010 08:50:31
To: 
Subject: [Dokter Umum] Ingin Anak Laki2

Haloo semua...

Saat ini saya sedang program kehamilan bersama istri setelah 2,5th KB karena
anak pertama dulu caesar. Pengennya sih anak kedua laki2. Tapi segalanya
yang Maha Esa lah yang menentukan. tetapi paling tidak kita berusaha, barang
kali rekan-rekan punya tips.

kami sih sebelumnya sudah mencoba untuk konsultasi dengan dokter, tetapi
herannya masa disuruh untuk berhubungan tiap hari, perasaan saya aneh deh.
siapa tahan...?

mohon masukan


--
---


[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]





[ Forum Kesehatan : http://www.medisiana.com ]Yahoo! Groups Links




Re: [nox-dev] A question regarding Authenticator module

2010-03-12 Thread kk yap
Hi,

I would suggest using doxygen, since we already have some effort going
forward there already.  I would be happy to push any documentation
patches for doxygen.

regards
KK

On 12 March 2010 14:49, Kyriakos Zarifis  wrote:
>
>
> On Fri, Mar 12, 2010 at 2:38 PM, Natasha Gude  wrote:
>>
>> Comments inline:
>> On Fri, Mar 12, 2010 at 1:56 PM, Guanyao Huang 
>> wrote:
>>>
>>> I think some document of authenticator module is very necessary.
>>> The newest version of authenticator module seems changed a lot, but
>>> the code for routing module remains the same.
>>> For example, why there are many events defined in host_event.hh,
>>
>> host_event.hh has comments describing the meanings of the different
>> events.
>>
>
> I've started putting together documentation from different sources here.
> it's still missing important bits, anyone who feels like adding something
> please do so.
> Nice explanations like the one Natasha just gave could be added directly
> there
>
> http://74.207.253.160/noxwiki/index.php/Authenticator
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] A question regarding Authenticator module

2010-03-12 Thread kk yap
I would like to put forth a "concise rant" here.  The short story is
that *no one should use flow-in event* and we should deprecate it.

I have several reasons for saying so.
1) The flow-in semantics is hard to reason about.  We generate a
flow-in using packet-in.  And if a route cannot be found, the flow-in
is flooded?  The flooding is actually done to a packet and not a flow.
2) You do not have control over the packet in thereafter.  Some two
components can be handling the packet-in and flow-in, which refers to
the same packets actually.
3) Flow-in really does not give you much anyway.  If you want the
header fields in flow-in, just use flow.hh.  It parses those.
So, ends my quibble about flow-in.

Regards
KK


On 12 March 2010 13:56, Guanyao Huang  wrote:
> I think some document of authenticator module is very necessary.
> The newest version of authenticator module seems changed a lot, but
> the code for routing module remains the same.
> For example, why there are many events defined in host_event.hh, why
> there are many entries, bindings defined in authenticator.hh.
> Normally, given a mac address, or, IP address, what is the API used to
> get its datapath?
> Without such things, I feel easily get lost in the code.
> I guess many people are developing their own module based on flow_in
> event. It would be nice if they know how this flow_in event was
> generated.
>
> On Fri, Mar 12, 2010 at 1:40 PM, Srini Seetharaman
>  wrote:
>> Just to add to Guanyao's observations: I wanted to mention that the
>> host having two bindings is something we run across often in our
>> Stanford setup. However, we notice it only when the topology is
>> changed during runtime.
>>
>> Srini.
>>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Building nox with older versions of openflow

2010-03-12 Thread kk yap
Hi Tim,

In git://noxrepo.org/nox, there is a openflow-0.9 branch.  It works
with OpenFlow v0.9.  I believe routing will not work though, since the
flow_mod is not updated.  My apologies, I should have backported these
from the openflow-1.0 branch.

FYI.

Regards
KK


On 12 March 2010 07:53,   wrote:
> Good morning all,
>
> I am trying to set up a nox controller with a switch that is currently 
> implementing the 0.9.0 OpenFlow spec.  Is there a version of nox I can build 
> with OF 0.9.0 floating around?
>
> Thanks,
> --
> Tim Upthegrove
> Georgia Institute of Technology
> College of Computing
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] What will nox do with [Malformed packet]

2010-03-11 Thread kk yap
Hi,

What switch are you using?  And have you looked at the tcpdump of the
control channel for packets-in?

Regards
KK

On 11 March 2010 12:23, Guanyao Huang  wrote:
> Hi
> Sorry to bother others.
> My program needs to tcpreplay some packets between switches. Since the
> trace is from raw IP, I converted them to ethernet packets. However,
> some of the original packets are truncated, and I found these packets
> are forwarded but missed.
> If I tcpreplay them and tcpdump the interface, I saw these packets
> become [Malformed packet]. My module even didnt capture a flow_in
> event for these packets.
> So, I am wondering, where are these packets actually dropped? Are they
> dropped by IP stack or are they dropped by authenticator module? Our
> control in nox is above or below IP stack??
> Thanks.
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Questions about NOX event delivery details

2010-03-09 Thread kk yap
Hi,

I am taking the rest of this discussion off the list.  Drinks with
everyone on nox-dev is not very scalable, and I would like to keep
this option open. :P

Regards
KK

On 9 March 2010 09:43, Ben Pfaff  wrote:
> On Tue, Mar 09, 2010 at 09:38:47AM -0800, kk yap wrote:
>> > I'm not aware of wording that says a switch may simply ignore a
>> > command.  The transport is TCP (or SSL on TCP), so nothing is going to
>> > get accidentally lost.
>>
>> We are saying the same thing.  I said "there is nothing in OpenFlow
>> that dictates reliable execution of commands received" and you are
>> saying "there is nothing in OpenFlow that dictates unreliable
>> execution".  In that case, guess what is the minimum acceptable
>> behavior?  :)
>
> I guess you read between the lines in a funny way.  If I write a
> specification that says "command A does B and returns C" and I don't
> also write in that specification "command A always does B and returns
> C", then I guess you would assume that it is OK for command A to do D
> and return E or to not do anything at all?
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Questions about NOX event delivery details

2010-03-09 Thread kk yap
Hi Ben,

> I'm not aware of wording that says a switch may simply ignore a
> command.  The transport is TCP (or SSL on TCP), so nothing is going to
> get accidentally lost.

We are saying the same thing.  I said "there is nothing in OpenFlow
that dictates reliable execution of commands received" and you are
saying "there is nothing in OpenFlow that dictates unreliable
execution".  In that case, guess what is the minimum acceptable
behavior?  :)

> I'm not sure what you mean by "too busy".  I would assume that, if a
> switch is busy, it would just take longer to execute commands.  If it
> can't execute any commands at the moment, then it should stop reading
> commands from the OpenFlow connection.

And switches these days do not have a lot of buffer or CPU capability
(no, we are not always talking about software switches).  So, later
might not always an option, esp. if the net request rate is greater
than the net processing capability.  Dropping reduce the net request
rate and not delaying.  If you like a demonstration of killing a
hardware switch with flow stats, grab oflops and run a test.

Hope I am being clearer now.

Regards
KK

On 9 March 2010 09:31, Ben Pfaff  wrote:
> On Mon, Mar 08, 2010 at 09:32:32PM -0800, kk yap wrote:
>> I might be wrong, but from my understanding there is nothing in
>> OpenFlow that dictates reliable execution of commands received.
>
> I'm not aware of wording that says a switch may simply ignore a
> command.  The transport is TCP (or SSL on TCP), so nothing is going to
> get accidentally lost.
>
>> I would also prefer an error, but which one would your switch send for
>> being too busy?  This is the 6 I know of.
>
> I'm not sure what you mean by "too busy".  I would assume that, if a
> switch is busy, it would just take longer to execute commands.  If it
> can't execute any commands at the moment, then it should stop reading
> commands from the OpenFlow connection.
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Questions about NOX event delivery details

2010-03-08 Thread kk yap
I might be wrong, but from my understanding there is nothing in
OpenFlow that dictates reliable execution of commands received.

I would also prefer an error, but which one would your switch send for
being too busy?  This is the 6 I know of.

OFPET_HELLO_FAILED, /* Hello protocol failed. */
OFPET_BAD_REQUEST,  /* Request was not understood. */
OFPET_BAD_ACTION,   /* Error in action description. */
OFPET_FLOW_MOD_FAILED,  /* Problem modifying flow entry. */
OFPET_PORT_MOD_FAILED,  /* Port mod request failed. */
OFPET_QUEUE_OP_FAILED   /* Queue operation failed. */

and bad request has the following subtype

OFPBRC_BAD_VERSION, /* ofp_header.version not supported. */
OFPBRC_BAD_TYPE,/* ofp_header.type not supported. */
OFPBRC_BAD_STAT,/* ofp_stats_request.type not supported. */
OFPBRC_BAD_VENDOR,  /* Vendor not supported (in
ofp_vendor_header
 * or ofp_stats_request or ofp_stats_reply). */
OFPBRC_BAD_SUBTYPE, /* Vendor subtype not supported. */
OFPBRC_EPERM,   /* Permissions error. */
OFPBRC_BAD_LEN, /* Wrong request length for type. */
OFPBRC_BUFFER_EMPTY,/* Specified buffer has already been used. */
OFPBRC_BUFFER_UNKNOWN   /* Specified buffer does not exist. */

Regards
KK

On 8 March 2010 21:27, Ben Pfaff  wrote:
> On Mon, Mar 08, 2010 at 09:23:19PM -0800, kk yap wrote:
>> > 4) Do stats request messages time out? If so is there a way to be
>> > notified of the time out?
>>
>> Not that I know of.  In OpenFlow, it is perfectly valid for a switch
>> to decide that it cannot handle the stat request and discard it.
>
> Is that so?  I would expect a switch implementation to at least send
> back an error response, if it cannot handle a statistics request.
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Questions about NOX event delivery details

2010-03-08 Thread kk yap
Hi Rean,

Some comment inline.  Hope they are useful.

> 2) When NOX delivers an event to a component, is there a way to
> access/check the xid associated with the event message or is this
> information stripped off by the controller before passing the event onto
> the component?
>
> Looking at the guts of a port stats reply event it looks like the low
> level details like xid either a) were not set automatically b) have been
> stripped off before handing the event to the component or c) may be
> hidden behind the opaque pyevent*:
>
> {'this': , 'datapath_id':
> 150874213227L, 'ports': [{'rx_over_err': 0L, 'tx_dropped': 0L,
> 'rx_packets': 0L, 'rx_frame_err': 0L, 'rx_bytes': 0L, 'tx_errors': 0L,
> 'rx_crc_err': 0L, 'collisions': 0L, 'rx_errors': 0L, 'tx_bytes': 1380L,
> 'rx_dropped': 0L, 'tx_packets': 69L, 'port_no': 0}, {'rx_over_err': 0L,
> 'tx_dropped': 0L, 'rx_packets': 0L, 'rx_frame_err': 0L, 'rx_bytes': 0L,
> 'tx_errors': 0L, 'rx_crc_err': 0L, 'collisions': 0L, 'rx_errors': 0L,
> 'tx_bytes': 1360L, 'rx_dropped': 0L, 'tx_packets': 68L, 'port_no': 1}]}

The C/C++ components see the xid since Ofp_msg_event has buf object
that contains all the bytes of the packet.  Feel free to parse xid and
export this to Python via swig.  Patches are gladly accepted.

> 3) If a stats request message goes unanswered does a subsequent stats
> request message to the same switch supersede it. In the toy example does
> stats_req2(sw2) cause any late replies to stats_req1(sw2) to be
> ignored/dropped?

Each stats request should be treated independently.  As it stands,
OpenFlow does not ensure order of execution, i.e., req2 can be
processed after req1.  If you want to ensure order, use the barrier
request.  Not sure what switches you are using, but do check that
barrier is supported.

> 4) Do stats request messages time out? If so is there a way to be
> notified of the time out?

Not that I know of.  In OpenFlow, it is perfectly valid for a switch
to decide that it cannot handle the stat request and discard it.  You
can't really know without sending a barrier request again.  Finger
crossed on it being supported in your platform, again.

Regards
KK

On 8 March 2010 21:05, Rean Griffith  wrote:
> Hello all,
>
> I am currently building a monitoring component on top of NOX.
>
> As part of monitoring I am trying to make use of the transaction id
> field (xid) in open flow messages to detect whether stats replies from
> switches are being lost, delayed or re-ordered.
>
> The simplified scenario we have in mind is shown below where stats
> replies from a switch are delayed or reordered:
>
> collection
> window
> (time t):  |      t=1          |       t=2
> switch 1:  | stats_req1(sw1)   |   stats_req2(sw1)
>           | stats_reply1(sw1) |  stats_reply2(sw1)
>           ---
> switch 2:  | stats_req1(sw2)   | stats_req2(sw2)
>           | [reply delayed]   | stats_reply1(sw2), stats_reply2(sw2) OR
>           |                   | stats_reply2(sw2), stats_reply1
>
>
> I have 4 questions about event delivery in NOX:
>
> 1) When stats request messages are issued from a python component is a
> transaction id (xid) set in the openflow message header automatically by
> the underlying controller/C++ plumbing? Are there any examples in python
> of setting the xid on an outgoing stats request message (or other type
> of openflow message)? The ripcord flowinstaller is close just wondering
> if a better example existed?
>
> 2) When NOX delivers an event to a component, is there a way to
> access/check the xid associated with the event message or is this
> information stripped off by the controller before passing the event onto
> the component?
>
> Looking at the guts of a port stats reply event it looks like the low
> level details like xid either a) were not set automatically b) have been
> stripped off before handing the event to the component or c) may be
> hidden behind the opaque pyevent*:
>
> {'this': , 'datapath_id':
> 150874213227L, 'ports': [{'rx_over_err': 0L, 'tx_dropped': 0L,
> 'rx_packets': 0L, 'rx_frame_err': 0L, 'rx_bytes': 0L, 'tx_errors': 0L,
> 'rx_crc_err': 0L, 'collisions': 0L, 'rx_errors': 0L, 'tx_bytes': 1380L,
> 'rx_dropped': 0L, 'tx_packets': 69L, 'port_no': 0}, {

Re: [nox-dev] Component external communication

2010-03-05 Thread kk yap
Hi Alexandre,

I will not speak for Nikhil about Plug-n-Serv.  Messenger supports SSL
connection if you are running in a non-secure environment.

Regards
KK

On 5 March 2010 19:17, Alexandre Passito  wrote:
>
>
> 2010/3/5 kk yap 
>>
>> Hi,
>>
>> Messenger does exactly that (caveat: I wrote it).  The component is
>> available on NOX 0.6 openflow-1.0 branch.
>>
> Good. We will try it.
>
>>
>> Would you care to explain your concept of the controller?  My idea of
>> controller is very simple, i.e., it controls the network.
>
> We share the same idea. Our main doubt is how NOX application access
> important information for management decisions, such as CPU feedback from
> servers in the Plug-n-Serve load-balancer (implemented by Stanford). Does it
> create individual connections with each server? Do connections need to use
> the secure channel?
>
> Best regards,
>
> Alex
>
>
>>
>> Regards
>> KK
>>
>> On 5 March 2010 18:25, Alexandre Passito 
>> wrote:
>> > Hi all,
>> >
>> > We are trying to build a NOX application that uses the API to access the
>> > switch datapath. This application should also establish a TCP connection
>> > with a host located in the network attached to the switch. Does this
>> > type of
>> > communication between a NOX application and an "outside" host break the
>> > concept of the controller? Did someone already try this approach? I
>> > think it
>> > looks like NOX accessing SNMP information from wireless devices attached
>> > to
>> > the switches.
>> >
>> > Looking for insights,
>> >
>> > Alex
>> >
>> >
>> > --
>> > Alexandre Passito de Queiroz -
>> > Doutorando do Programa de Pós-Graduação em Informática -
>> > LabCIA - Laboratório de Computação Inteligente e Autonômica -
>> > Universidade Federal do Amazonas (Brazil)
>> > E-mail institucional: passito at ufam.edu.br
>> >
>> >
>> > ___
>> > nox-dev mailing list
>> > nox-dev@noxrepo.org
>> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >
>> >
>
>
>
> --
> Alexandre Passito de Queiroz -
> Doutorando do Programa de Pós-Graduação em Informática -
> LabCIA - Laboratório de Computação Inteligente e Autonômica -
> Universidade Federal do Amazonas (Brazil)
> E-mail institucional: passito at ufam.edu.br
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Component external communication

2010-03-05 Thread kk yap
Hi,

Messenger does exactly that (caveat: I wrote it).  The component is
available on NOX 0.6 openflow-1.0 branch.

Would you care to explain your concept of the controller?  My idea of
controller is very simple, i.e., it controls the network.

Regards
KK

On 5 March 2010 18:25, Alexandre Passito  wrote:
> Hi all,
>
> We are trying to build a NOX application that uses the API to access the
> switch datapath. This application should also establish a TCP connection
> with a host located in the network attached to the switch. Does this type of
> communication between a NOX application and an "outside" host break the
> concept of the controller? Did someone already try this approach? I think it
> looks like NOX accessing SNMP information from wireless devices attached to
> the switches.
>
> Looking for insights,
>
> Alex
>
>
> --
> Alexandre Passito de Queiroz -
> Doutorando do Programa de Pós-Graduação em Informática -
> LabCIA - Laboratório de Computação Inteligente e Autonômica -
> Universidade Federal do Amazonas (Brazil)
> E-mail institucional: passito at ufam.edu.br
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


role based login

2010-03-02 Thread kk
Hi friends,
Basically I wanna show customized UI according to the user role after
user has logged in ie: if user is Admin he has some special previlege
also the logic for customization should be at server side.
What I have done is after logging i have written a rpc call and after
returning to the client side i'm changing the UI. Is there any way to
do these UI customization at server side.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
This really depends on where the packet is lost in the switch.  Might
just be a bug if the CPU is at 30+%.   Without more information, there
is very little to comment about here.

Regards
KK

On 1 March 2010 22:39, Martin Casado  wrote:
> OOB control doesn't help unfortunately (I forget that HP doesn't support
> inband control).  We need to be able to slice the control channel so that
> control packets are prioritized I think.
>
>> btw this is starting to look like a common issue as it's been reported a
>> few times in the past. I guess out-of-band control or control packet
>> priority would alleviate this
>>
>> On Mon, Mar 1, 2010 at 10:20 PM, Guanyao Huang > <mailto:gyhu...@ucdavis.edu>> wrote:
>>
>>    I now use smaller traces and no such problem again. I think it is
>>    because of heavy load. ...
>>    Thanks.
>>
>>    On Mon, Mar 1, 2010 at 10:12 PM, Martin Casado >    <mailto:cas...@nicira.com>> wrote:
>>    > Actually nevermind, I don't think the HP switch support inband
>>    control so
>>    > you must be using out of band.
>>    >
>>    > Another option is to turn off the echo timer in Nox ...
>>    >
>>    >
>>    >> Sorry, my English is poor, what do you mean by "out of band
>>    control"? :)
>>    >>
>>    >> On Mon, Mar 1, 2010 at 10:07 PM, Martin Casado
>>    mailto:cas...@nicira.com>> wrote:
>>    >>
>>    >>>
>>    >>> I wonder if this is a problem with lost echo requests under
>>    load ...
>>    >>>
>>    >>> Can you set up your environment to use out of band control?
>>    >>>
>>    >>>
>>    >>>>
>>    >>>> My program runs about 15 mins, it processes some traces. Datapath
>>    >>>> leaves at around 12 mins.
>>    >>>> Current CPU load is around 30%, and hit 35% occasionally.
>>    >>>>
>>    >>>> On Mon, Mar 1, 2010 at 9:59 PM, kk yap >    <mailto:yap...@stanford.edu>> wrote:
>>    >>>>
>>    >>>>
>>    >>>>>
>>    >>>>> Just to be blunt.  What is the CPU load of your HP?
>>    >>>>>
>>    >>>>> Regards
>>    >>>>> KK
>>    >>>>>
>>    >>>>> On 1 March 2010 21:42, Guanyao Huang >    <mailto:gyhu...@ucdavis.edu>> wrote:
>>    >>>>>
>>    >>>>>
>>    >>>>>>
>>    >>>>>> Which part defines the time interval for this echo request?
>>    I guess
>>    >>>>>> enlarger it will temporarily handle my problem.
>>    >>>>>>
>>    >>>>>> On Mon, Mar 1, 2010 at 9:38 PM, kk yap >    <mailto:yap...@stanford.edu>> wrote:
>>    >>>>>>
>>    >>>>>>
>>    >>>>>>>
>>    >>>>>>> Hi Guanyao,
>>    >>>>>>>
>>    >>>>>>> NOX periodic checks if the switch is still alive by
>>    sending an echo
>>    >>>>>>> request.  Basically, your switch did not reply.  You
>>    should look at
>>    >>>>>>> the tcpdump to see if you can find the echo reply.  If
>>    yes, bug
>>    >>>>>>> people
>>    >>>>>>> in this list.  If no, debug your switch.
>>    >>>>>>>
>>    >>>>>>> Regards
>>    >>>>>>> KK
>>    >>>>>>>
>>    >>>>>>> On 1 March 2010 21:34, Guanyao Huang >    <mailto:gyhu...@ucdavis.edu>> wrote:
>>    >>>>>>>
>>    >>>>>>>
>>    >>>>>>>>
>>    >>>>>>>> Hi
>>    >>>>>>>> Sorry to bother others.
>>    >>>>>>>> In my program the datapath leaves network again. This
>>    time it seems
>>    >>>>>>>> a
>>    >>>>>>>> little different:
>>    >>>>>>>>
>>    >>>>>>>> 00341|openflow|WARN:stream: no response to inactivity
>>    probe after 15
>>    >>>>>>>> seconds, disconnecting
>>    >>>>>>&g

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
Just to be blunt.  What is the CPU load of your HP?

Regards
KK

On 1 March 2010 21:42, Guanyao Huang  wrote:
> Which part defines the time interval for this echo request? I guess
> enlarger it will temporarily handle my problem.
>
> On Mon, Mar 1, 2010 at 9:38 PM, kk yap  wrote:
>> Hi Guanyao,
>>
>> NOX periodic checks if the switch is still alive by sending an echo
>> request.  Basically, your switch did not reply.  You should look at
>> the tcpdump to see if you can find the echo reply.  If yes, bug people
>> in this list.  If no, debug your switch.
>>
>> Regards
>> KK
>>
>> On 1 March 2010 21:34, Guanyao Huang  wrote:
>>> Hi
>>> Sorry to bother others.
>>> In my program the datapath leaves network again. This time it seems a
>>> little different:
>>>
>>> 00341|openflow|WARN:stream: no response to inactivity probe after 15
>>> seconds, disconnecting
>>> 00342|nox|WARN:stream: disconnected (Protocol error)
>>> Datapath leave, f7:ca:e4:00:01:90
>>> 00343|bindings_storage|ERR:NDB error on get_locnames_cb (ok if
>>> transient): Can't find specified row
>>> 00344|openflow|WARN:stream: no response to inactivity probe after 15
>>> seconds, disconnecting
>>> 00345|nox|WARN:stream: disconnected (Protocol error)
>>> Datapath leave, f7:ca:e4:00:01:2c
>>> 00346|openflow|WARN:stream: no response to inactivity probe after 15
>>> seconds, disconnecting
>>> 00347|nox|WARN:stream: disconnected (Protocol error)
>>> Datapath leave, f7:ca:e4:00:00:c8
>>>
>>>
>>> I am wondering what is this 15 second probe.
>>>
>>> Thanks.
>>>
>>> ___
>>> nox-dev mailing list
>>> nox-dev@noxrepo.org
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
Hi Guanyao,

NOX periodic checks if the switch is still alive by sending an echo
request.  Basically, your switch did not reply.  You should look at
the tcpdump to see if you can find the echo reply.  If yes, bug people
in this list.  If no, debug your switch.

Regards
KK

On 1 March 2010 21:34, Guanyao Huang  wrote:
> Hi
> Sorry to bother others.
> In my program the datapath leaves network again. This time it seems a
> little different:
>
> 00341|openflow|WARN:stream: no response to inactivity probe after 15
> seconds, disconnecting
> 00342|nox|WARN:stream: disconnected (Protocol error)
> Datapath leave, f7:ca:e4:00:01:90
> 00343|bindings_storage|ERR:NDB error on get_locnames_cb (ok if
> transient): Can't find specified row
> 00344|openflow|WARN:stream: no response to inactivity probe after 15
> seconds, disconnecting
> 00345|nox|WARN:stream: disconnected (Protocol error)
> Datapath leave, f7:ca:e4:00:01:2c
> 00346|openflow|WARN:stream: no response to inactivity probe after 15
> seconds, disconnecting
> 00347|nox|WARN:stream: disconnected (Protocol error)
> Datapath leave, f7:ca:e4:00:00:c8
>
>
> I am wondering what is this 15 second probe.
>
> Thanks.
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] openflow switch VM running sluggishly

2010-02-28 Thread kk yap
Just try giving the switch's VM more memory? -m48 or -m56 should wrok.

Regards
KK

On 28 February 2010 12:10, Muhammad Immad Uddin  wrote:
> Hi:
>
> I am currently running the nox and openflow testbed in the following
> configuration:
>
> Debian Lenny running as a VM with 1GB of RAM and 40GB of hard disk space
> running on macbook OSX.  However, when I run my testbed that consists of one
> openflow VM and 3 hosts, the openflow VM's behaviourr is sluggish. The
> controller constantly  times out due to lack of connectivty. Is there some
> issue with openflow configuration or do I need better HW resources.
> Previously, this setup was working fine.
>
> -Immad
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [fsug-tvm] Discussion regrading Lucid(Ubuntu 10.04) Release Party

2010-02-28 Thread Jemshid KK
Hi
I have my office cum residence at Padinjattumukku, Kaniyapuram.
The first floor of the house is free for some time as my family is away.

Jemshid KK
ph: 9349101566,


2010/2/28 Mahesh Mohan 

> On Sun, Feb 28, 2010 at 12:26 AM, Anish A  wrote:
>
>> How are we planning money? Sponsorship, donation or ..
>
>
> I will talk with Vimal Joseph of SPACE or Anoop John of Zyxware
> Technologies to host some space in their office.
>
> http://twitter.com/MaheshMohanMU
> http://www.google.com/profiles/maheshmohan.mu
> -മഹേഷ് മോഹന്‍ എം.യു
>
> --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To post to this group, send email to ilug-tvm@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-unsubscr...@googlegroups.com
>
> For details visit the website: www.ilug-tvm.org or the google group page:
> http://groups.google.com/group/ilug-tvm?hl=en
>

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [nox-dev] A quick question about topology module

2010-02-26 Thread kk yap
Hi Guanyao,

Can you elaborate?  struct DpInfo is paired with a datapathid using a
hash_map and contained the destination datapathid using another
hash_map.  Finally that points to LinkSet that is a lis to src and dst
ports.  That information is preserved from what I can see.

Regards
KK


On 26 February 2010 12:13, Guanyao Huang  wrote:
> Hi
> I find that the topology module doesnt support the case where there
> are two links between two switches. But Discovery module support this
> situation. Is there a particular reason for this?
> Thanks.
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[Bug 528324] Re: eclipse crashed with signal 5 in _XError()

2010-02-26 Thread kk
Hi

After a system update today, eclipse crash when you try to select from a
list of functions of class method or variable in the java editor.
Pressing the escape or enter eclipse crash every time with this message:
Trace / breakpoint trap (core dumped).

The error does not occur after disabling the automatic activation of
hints after pressing dot (Window -> Prefrerences -> Java -> Editor ->
Content Assist -> uncheck the Enable auto activation

I think this error is common...

-- 
eclipse crashed with signal 5 in _XError()
https://bugs.launchpad.net/bugs/528324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [nox-dev] Routing with NOX0.6

2010-02-24 Thread kk yap
Hi Martin,

I am probably not fully appreciating the problem at hand too.  My
personal experience is that installing flow entries in the reverse
direction (destination to source) and checking if a port is internal
before updating host location goes a long time against such race
conditions.  To some extent, hop-by-hop routing simply slows down the
entire process to remove the race conditions.

I do not have a good feel of how often this is the case of other
deployments, but hop-by-hop routing does not seems like a good default
for NOX to be in unless majority of the users needs it that way, which
I would contend not.

Regards
KK

On 24 February 2010 14:12, Martin Casado  wrote:
> Again, I may not be remembering correctly, but things are complex if you
> have multiple OF switches connected to a single non-OF switch.   You can get
> timeouts which create wierdnesses such as hosts attached to internal ports
> (causing a software flood since the location is unknown).   Hop-by-hop
> simplifies the forwarding logic so you're reasonably assured that packet
> processing will be done on the fast path.
>>
>> Hi Martin,
>>
>> I do not understand.  This should not make a difference, since routing
>> still have calculate a route, for which some OpenFlow switches might
>> be connected directly.  Doing it hop-by-hop does not make a
>> difference.  What am I missing here?
>>
>> Regards
>> KK
>>
>> On 24 February 2010 13:58, Martin Casado  wrote:
>>
>>>
>>> I believe it is simpler integration with a legacy network in which all
>>> switches are not running OF.
>>>
>>>
>>>>
>>>> Hi,
>>>>
>>>> What is the motivation for hop-by-hop routing?  Does seems novel in
>>>> some aspects.
>>>>
>>>> Regards
>>>> KK
>>>>
>>>> On 24 February 2010 13:52, Martin Casado  wrote:
>>>>
>>>>
>>>>>
>>>>> From Natasha:
>>>>>
>>>>> "I'm wondering if maybe the server is showing up on hpsw3, and so the
>>>>> packet
>>>>> is first getting routed there, and then re-routed again when it reaches
>>>>> hpsw1. This is probably a result of all the authenticator code
>>>>> commented
>>>>> out
>>>>> that was making it depend on routing.  It's in a couple places
>>>>> (wherever
>>>>> the
>>>>> word "routing" is used)."
>>>>>
>>>>> This is likely the culprit.  Currently Nox 0.6 is doing hop-by-hop
>>>>> routing
>>>>> rather then setting up the full path.  Can you search for routing_mode
>>>>> in
>>>>> authenticator.hh, authenticator_modify.cc and authenticator_util.cc,
>>>>> uncomment the code and see if this fixes the problem?
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> I notice that the routing module is behaving differently with NOX0.6
>>>>>> causing each switch en route to generate independent packet_ins, while
>>>>>> NOX0.4 generates only 1 packet_in. This behavior incurs higher flow
>>>>>> setup time.
>>>>>>
>>>>>> I have a topology of client <-> hpsw3 <-> hpsw1 <-> server . I
>>>>>> performed a wget operation from client to server. Following is the
>>>>>> control traffic sent/received by the controller (Timestamp was what my
>>>>>> tcpdump captured):
>>>>>>
>>>>>>  1266984715.446715   PACKET_IN   hpsw3
>>>>>>  1266984715.446895   FLOW_MOD    hpsw3
>>>>>>  1266984715.446936   PACKET_OUT  hpsw3
>>>>>>
>>>>>>  1266984715.452756   PACKET_IN   hpsw1
>>>>>>  1266984715.452913   FLOW_MOD    hpsw1
>>>>>>  1266984715.452937   PACKET_OUT  hpsw1
>>>>>>
>>>>>> Ideally, I would've expected to see the controller to push out the
>>>>>> second FLOW_MOD soon enough (and not 6 ms after the PACKET_OUT).
>>>>>>
>>>>>> When I use NOX0.4, the action sequence is:
>>>>>>  1266987591.116579    PACKET_IN    hpsw3
>>>>>>  1266987591.116725    FLOW_MOD     hpsw3
>>>>>>  1266987591.116755    FLOW_MOD     hpsw1
>>>>>>  1266987591.116787    PACKET_OUT   hpsw3
>>>>>>
>>>>>> Any idea if there is a code change?
>>>>>>
>>>>>> Thanks
>>>>>> Srini.
>>>>>>
>>>>>> ___
>>>>>> nox-dev mailing list
>>>>>> nox-dev@noxrepo.org
>>>>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> nox-dev mailing list
>>>>> nox-dev@noxrepo.org
>>>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>>>
>>>>>
>>>>>
>>>
>>>
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Routing with NOX0.6

2010-02-24 Thread kk yap
Hi Martin,

I do not understand.  This should not make a difference, since routing
still have calculate a route, for which some OpenFlow switches might
be connected directly.  Doing it hop-by-hop does not make a
difference.  What am I missing here?

Regards
KK

On 24 February 2010 13:58, Martin Casado  wrote:
> I believe it is simpler integration with a legacy network in which all
> switches are not running OF.
>
>> Hi,
>>
>> What is the motivation for hop-by-hop routing?  Does seems novel in
>> some aspects.
>>
>> Regards
>> KK
>>
>> On 24 February 2010 13:52, Martin Casado  wrote:
>>
>>>
>>> From Natasha:
>>>
>>> "I'm wondering if maybe the server is showing up on hpsw3, and so the
>>> packet
>>> is first getting routed there, and then re-routed again when it reaches
>>> hpsw1. This is probably a result of all the authenticator code commented
>>> out
>>> that was making it depend on routing.  It's in a couple places (wherever
>>> the
>>> word "routing" is used)."
>>>
>>> This is likely the culprit.  Currently Nox 0.6 is doing hop-by-hop
>>> routing
>>> rather then setting up the full path.  Can you search for routing_mode in
>>> authenticator.hh, authenticator_modify.cc and authenticator_util.cc,
>>> uncomment the code and see if this fixes the problem?
>>>
>>>
>>>>
>>>> I notice that the routing module is behaving differently with NOX0.6
>>>> causing each switch en route to generate independent packet_ins, while
>>>> NOX0.4 generates only 1 packet_in. This behavior incurs higher flow
>>>> setup time.
>>>>
>>>> I have a topology of client <-> hpsw3 <-> hpsw1 <-> server . I
>>>> performed a wget operation from client to server. Following is the
>>>> control traffic sent/received by the controller (Timestamp was what my
>>>> tcpdump captured):
>>>>
>>>>   1266984715.446715   PACKET_IN   hpsw3
>>>>   1266984715.446895   FLOW_MOD    hpsw3
>>>>   1266984715.446936   PACKET_OUT  hpsw3
>>>>
>>>>   1266984715.452756   PACKET_IN   hpsw1
>>>>   1266984715.452913   FLOW_MOD    hpsw1
>>>>   1266984715.452937   PACKET_OUT  hpsw1
>>>>
>>>> Ideally, I would've expected to see the controller to push out the
>>>> second FLOW_MOD soon enough (and not 6 ms after the PACKET_OUT).
>>>>
>>>> When I use NOX0.4, the action sequence is:
>>>>   1266987591.116579    PACKET_IN    hpsw3
>>>>   1266987591.116725    FLOW_MOD     hpsw3
>>>>   1266987591.116755    FLOW_MOD     hpsw1
>>>>   1266987591.116787    PACKET_OUT   hpsw3
>>>>
>>>> Any idea if there is a code change?
>>>>
>>>> Thanks
>>>> Srini.
>>>>
>>>> ___
>>>> nox-dev mailing list
>>>> nox-dev@noxrepo.org
>>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>>
>>>>
>>>
>>> ___
>>> nox-dev mailing list
>>> nox-dev@noxrepo.org
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>>>
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Routing with NOX0.6

2010-02-24 Thread kk yap
Hi,

What is the motivation for hop-by-hop routing?  Does seems novel in
some aspects.

Regards
KK

On 24 February 2010 13:52, Martin Casado  wrote:
> From Natasha:
>
> "I'm wondering if maybe the server is showing up on hpsw3, and so the packet
> is first getting routed there, and then re-routed again when it reaches
> hpsw1. This is probably a result of all the authenticator code commented out
> that was making it depend on routing.  It's in a couple places (wherever the
> word "routing" is used)."
>
> This is likely the culprit.  Currently Nox 0.6 is doing hop-by-hop routing
> rather then setting up the full path.  Can you search for routing_mode in
> authenticator.hh, authenticator_modify.cc and authenticator_util.cc,
> uncomment the code and see if this fixes the problem?
>
>> I notice that the routing module is behaving differently with NOX0.6
>> causing each switch en route to generate independent packet_ins, while
>> NOX0.4 generates only 1 packet_in. This behavior incurs higher flow
>> setup time.
>>
>> I have a topology of client <-> hpsw3 <-> hpsw1 <-> server . I
>> performed a wget operation from client to server. Following is the
>> control traffic sent/received by the controller (Timestamp was what my
>> tcpdump captured):
>>
>>    1266984715.446715   PACKET_IN   hpsw3
>>    1266984715.446895   FLOW_MOD    hpsw3
>>    1266984715.446936   PACKET_OUT  hpsw3
>>
>>    1266984715.452756   PACKET_IN   hpsw1
>>    1266984715.452913   FLOW_MOD    hpsw1
>>    1266984715.452937   PACKET_OUT  hpsw1
>>
>> Ideally, I would've expected to see the controller to push out the
>> second FLOW_MOD soon enough (and not 6 ms after the PACKET_OUT).
>>
>> When I use NOX0.4, the action sequence is:
>>    1266987591.116579    PACKET_IN    hpsw3
>>    1266987591.116725    FLOW_MOD     hpsw3
>>    1266987591.116755    FLOW_MOD     hpsw1
>>    1266987591.116787    PACKET_OUT   hpsw3
>>
>> Any idea if there is a code change?
>>
>> Thanks
>> Srini.
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] list of events and their handlers

2010-02-23 Thread kk yap
Hi Ashish,

What do you mean by base components?  The components can be listed
from all the meta.xml.  Yes, ugly.  nox-draw-dependencies already does
that to draw the dependency-graph though.

Regards
KK

On 23 February 2010 19:28, Ashish Agarwal  wrote:
> Thanks for the replies! This is very helpful. Similarly, is there a list of
> the base components available?
>
> On Tue, Feb 23, 2010 at 9:20 PM, kk yap  wrote:
>>
>> Hi,
>>
>> The doxygen is unfortunately not complete AFAIK.  For the record,
>>
>> cd doc/doxygen
>> make html
>>
>> will do what Kyriakos says automatically.  A quick list of events
>> would be from event-dispatcher-component.cc.
>>    // Register the system events
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>    register_event();
>>
>> Regards
>> KK
>>
>>
>> On 23 February 2010 18:15, Kyriakos Zarifis  wrote:
>> > Hi Asish,
>> >
>> > this is actually being worked on right now, but for now you can generate
>> > the
>> > doxygen documentation which gives an overview of class hierarchies.
>> >
>> > To do so, edit nox/build/doc/doxygen/doxygen.conf
>> > and change the line
>> > GENERATE_HTML  = NO
>> > to
>> > GENERATE_HTML  = YES
>> >
>> > Then, in the same folder run 'doxygen doxygen.conf' and check the
>> > index.html
>> > in the newly created 'html' folder
>> >
>> > It will be a bit hard to decipher some of the relations between
>> > components
>> > and events for now, but check back at the and of the week.
>> >
>> >
>> > On Tue, Feb 23, 2010 at 5:20 PM, Ashish Agarwal 
>> > wrote:
>> >>
>> >> Is there any way to get a list of events provided by default in NOX,
>> >> along
>> >> with a list of which components raise and handle them? Thank you.
>> >>
>> >> ___
>> >> nox-dev mailing list
>> >> nox-dev@noxrepo.org
>> >> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >>
>> >
>> >
>> > ___
>> > nox-dev mailing list
>> > nox-dev@noxrepo.org
>> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >
>> >
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] list of events and their handlers

2010-02-23 Thread kk yap
Hi,

The doxygen is unfortunately not complete AFAIK.  For the record,

cd doc/doxygen
make html

will do what Kyriakos says automatically.  A quick list of events
would be from event-dispatcher-component.cc.
// Register the system events
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();
register_event();

Regards
KK


On 23 February 2010 18:15, Kyriakos Zarifis  wrote:
> Hi Asish,
>
> this is actually being worked on right now, but for now you can generate the
> doxygen documentation which gives an overview of class hierarchies.
>
> To do so, edit nox/build/doc/doxygen/doxygen.conf
> and change the line
> GENERATE_HTML  = NO
> to
> GENERATE_HTML  = YES
>
> Then, in the same folder run 'doxygen doxygen.conf' and check the index.html
> in the newly created 'html' folder
>
> It will be a bit hard to decipher some of the relations between components
> and events for now, but check back at the and of the week.
>
>
> On Tue, Feb 23, 2010 at 5:20 PM, Ashish Agarwal 
> wrote:
>>
>> Is there any way to get a list of events provided by default in NOX, along
>> with a list of which components raise and handle them? Thank you.
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Force the switch to send entire unmatched packet to controller

2010-02-22 Thread kk yap
Oops.. stupid me.  Thanks Martin for correcting me.

Regards
KK

On 22 February 2010 10:35, Martin Casado  wrote:
> I think Muhammed as asking about setting the miss_send_len.
>
> See lib/openflow.cc, search for miss_send_len.
>
>> Hi Muhammad,
>>
>> Which version of OpenFlow are you on?  Selective flow expiration is
>> introduced in OpenFlow v1.0.
>>
>> For OpenFlow v0.8.9, you want to go to
>> src/lib/openflow.cc:
>>  osc.flags =  htons(OFPC_SEND_FLOW_EXP); /* turn on expirations with
>> htons(OFPC_SEND_FLOW_EXP);, turn off with 0 */
>>
>> For OpenFlow v1.0, update
>> src/include/openflow-default.hh:
>>  #define SEND_FLOW_REMOVED true
>>
>> Regards
>> KK
>>
>> On 22 February 2010 10:14, Muhammad Immad Uddin 
>> wrote:
>>
>>>
>>> Hi:
>>>
>>> I know this has been answered earlier as well but I was not able to find
>>> it.
>>> The default behavior of an openflow switch is to forward the header (128
>>> bytes ) of a unmatched packet to the nox controller. I need to force the
>>> openflow switch to send the entire packet to the nox controller. I
>>> remember,
>>> that I need to change one line in one of the source file but can't recall
>>> it. Can anyone share the answer ?
>>>
>>> -Immad
>>>
>>>
>>>
>>>
>>> ___
>>> nox-dev mailing list
>>> nox-dev@noxrepo.org
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>>>
>>>
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Force the switch to send entire unmatched packet to controller

2010-02-22 Thread kk yap
Hi Muhammad,

Which version of OpenFlow are you on?  Selective flow expiration is
introduced in OpenFlow v1.0.

For OpenFlow v0.8.9, you want to go to
src/lib/openflow.cc:
  osc.flags =  htons(OFPC_SEND_FLOW_EXP); /* turn on expirations with
htons(OFPC_SEND_FLOW_EXP);, turn off with 0 */

For OpenFlow v1.0, update
src/include/openflow-default.hh:
  #define SEND_FLOW_REMOVED true

Regards
KK

On 22 February 2010 10:14, Muhammad Immad Uddin  wrote:
> Hi:
>
> I know this has been answered earlier as well but I was not able to find it.
> The default behavior of an openflow switch is to forward the header (128
> bytes ) of a unmatched packet to the nox controller. I need to force the
> openflow switch to send the entire packet to the nox controller. I remember,
> that I need to change one line in one of the source file but can't recall
> it. Can anyone share the answer ?
>
> -Immad
>
>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [sapiensinfotec] Gmodules.com: pra q serve?

2010-02-22 Thread »♥§♥«KK»♥§♥«
Bom dia!
Agradeço todas as opinioes, Milton, e q suscitaram algumas outras duvidas...

1. Nao uso IE por gosto, mas nao se encontra outra opçao! Esse suporte
telefonico, é em portugues ai no BR...? Eu nao acredito em nada gratuito
aqui onde vivo (EUA) ja q em geral sao estagiarios, ou tercerizados na
India, Filipinas, ou mais alem. Invariavelmente se tem q pedir pra passar
pra o 2o. escalao e as vezes nem ele dá resultados concretos, e se vao os
minutos e a paciencia, ate chegar a um impasse qquer.. E prometem um email
com soluçoes q acabam numa carta padrao qquer...!

2.O FF fica mito pesado se colocarmos alguns add-ons, ao menos os
q ajudam na segurança.
O Chrome pra mim é suspeitissimo, e ja nao sou tao fã do q o google faz,
agora q estou enfrentando esse caso c/ o gmodules...
Safari ainda nao tentei, é verdade, mas acaba-se perdendo tanto tempo em
tentativas q nao nos levam a canto algum, q desanima.. Acho q vou instalar e
testar logo mais, so q li na web sobre essa mesma reclamaçao, de q o tal
gmodules gera paginas vazias tbm no Safari...!

3.Eu vivo no controle de tudo q se modifica tipo Avast, IE, e q tais, pelo
Task Manager, ou percebendo o trafego no par de monitores q fica piscando na
system tray. Mas é tudo tao rapido q nao dá pra associar todos os movimentos
e tirar conclusoes corretas.

4. O provedor... Esse realmente pode ser o inimigo oculto, e sempre tirei
qquer programa dos q sao oferecidos na hora em q se assina o serviço.
So q to notando e ja tem algum tempo, tipo um mes ou dois, q a cada vez q eu
seleciono algum texto, ou adiciono um favorito, isso gera um trafego pois as
duas luzes piscam ali no parzinho de monitores da system tray, e dai q ja
ando bem sismada com  isso...
So q por mais q ande a cata de algo suspeito no pc, nao aparece nada
extra... Rodo tudo q é cata-fantasma mas nem sombra nem abobora, r...

Finalmente, como tenho VoIP e uso uma ATA Grandstream 520, dela vindo o
acesso a net pro meu pc, acabo pensando q isso possa ser um outro risco q eu
nao devia estar correndo, pois é mais uma brecha q eu nao tenho controle,
nao é mesmo...?

Bem, voltando ao começo... Alguem q use gmail e outros produtos google,
poderia travar o gmodules.com pra ver q q acontece...
Eu vou tirar a trava aqui e ver q mais q percebo, e é assim q eu vou
engordando a lista do q nao presta pra mim, ali no browser.
Pelo q andei fuçando/lendo na web, ja nao é de hoje q esse tal
gmodules incomoda, ao menos a uns mais observadores.

www.google.com/safebrowsing/diagnostic?site=gmodules.com

Sao coisas desse tipo q eu sei q nao adianta perguntar a suporte algum, ja q
é claro q existe um interesse maior em manter os misterios, e com tal
situaçao se mantem os empregos, e melhor pra o pessoal nao se meter em
assuntos q o patrao decidiu q sao essenciais e corretos, e pronto!

Vamos ver onde se chega...
Boa semana nova, e feliz ano novo nao so chines (agora q acabou o
carnaval...) 
:-)



On 2/21/10, Milton Chicoli  wrote:
>
>  1.   Se você optou por usar o Internet Explorer, é melhor que sempre
> use a versão mais recente. Além de ser mais segura, é mais estável. Vale
> lembrar que o IE8 oferece ainda suporte por telefone gratuito para usuários
> de Windows Autêntico.
>
> 2.   Uma solução seria sair do Internet Explorer. Hoje já existem
> várias opções de navegadores bons e confiáveis, como o Firefox e o Safári.
> Pessoalmente tenho reservas quanto ao Chrome, até que sejam publicados mais
> relatórios sobre o como ele opera internamente e os níveis de privacidade
> que ele assegura. O Google tem várias restrições de privacidade nos
> contratos de EULA deles.
>
> 3.   Não deixe de medir o consumo de CPU e de RAM que o navegador usa
> quando está ativo.
>
> 4.   O mesmo para sua conexão de internet. Já tive um caso de
> coincidência em que parecia ser o navegador, mas era o provedor.
>
>
>
> --
>
> Milton Chicoli
>
> --
>
>
>
> *De:* sapiensinfotec@yahoogrupos.com.br [mailto:
> sapiensinfo...@yahoogrupos.com.br] *Em nome de *»?§?«KK»?§?«
> *Enviada em:* domingo, 21 de fevereiro de 2010 17:19
> *Assunto:* [sapiensinfotec] Gmodules.com: pra q serve?
>
>
>
>
>
>
>
> ooi..
>
> Será q alguem mata essa charada, se é q chega a ser uma...?
>
> :-)
>
>
>
> Eu achei muitos redirecionamentos ao navegar com o IE7, dai q bloqueei o *.
> gmodules.com na aba dos sites restritos, ali nas Opcoes de Internet, indo
> nas Ferramentas.
>
> Acontece q o browser agora está uma carroça, e nao vejo um porq disso, mas
> é quase certo q seja essa a razao pra rolar essa tal leseira.
>
> ...afinal quem sao eles e pra q servem...??
>
> A proposito: nao uso o IGoogle, e nem a versao mais recente do gmail...
>
>
>
> Respostas se possivel com copia pro meu email, ja q estou em modo web em
> varias listas, por gentileza...
>
>
>
> Super grata, e bom fim de domingo!
>
> KK
>
>
>
> 
>


Re: [nox-dev] namespace vigil ?

2010-02-21 Thread kk yap
As long as people do not use vigil as a variable.  I believe there is
more useful things to do with NOX than change the namespace.  Are we
putting the cart before the horse here?

Regards
KK

On 21 February 2010 23:28, Rob Sherwood  wrote:
> Question:
>
> would "#define vigil nox" produce enough backwards compatibility to
> solve the problem?  Intuitively it would...
>
> - Rob
> .
>
>
>
> On Sun, Feb 21, 2010 at 7:45 PM, Martin Casado  wrote:
>> Yeah, that's a fair point.  We have tons of internal code which still uses
>> the vigil namespace.  It is temping to clean up the cruft however.
>>
>>> Assuming there is enough code not pushed upstream into NOX out there,
>>> I am personally against name changes like this.  The last time someone
>>> changed secchan to ofprotocol in OpenFlow, too much work results.
>>> Unless someone volunteer to update everyone's code to the new
>>> namespace, I see no reason why such a change should be made.
>>>
>>> Regards
>>> KK
>>>
>>> On 21 February 2010 18:15, Martin Casado  wrote:
>>>
>>>>
>>>> That would be fantastic.  Yes, vigil is purely vestigial.
>>>>
>>>>
>>>>>
>>>>> IIRC, all of the "namespace vigil" references are historical and
>>>>> outdated -- is that correct?  Is there any reason not to wholesale
>>>>> replace vigil with 'nox'?
>>>>>
>>>>> The current name causes some confusion in the source code.
>>>>>
>>>>> I can do the honors if people agree that it's a good idea.
>>>>>
>>>>>
>>>>> - Rob
>>>>> .
>>>>>
>>>>> ___
>>>>> nox-dev mailing list
>>>>> nox-dev@noxrepo.org
>>>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>>>
>>>>>
>>>>
>>>> ___
>>>> nox-dev mailing list
>>>> nox-dev@noxrepo.org
>>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>>
>>>>
>>
>>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] namespace vigil ?

2010-02-21 Thread kk yap
Assuming there is enough code not pushed upstream into NOX out there,
I am personally against name changes like this.  The last time someone
changed secchan to ofprotocol in OpenFlow, too much work results.
Unless someone volunteer to update everyone's code to the new
namespace, I see no reason why such a change should be made.

Regards
KK

On 21 February 2010 18:15, Martin Casado  wrote:
> That would be fantastic.  Yes, vigil is purely vestigial.
>
>> IIRC, all of the "namespace vigil" references are historical and
>> outdated -- is that correct?  Is there any reason not to wholesale
>> replace vigil with 'nox'?
>>
>> The current name causes some confusion in the source code.
>>
>> I can do the honors if people agree that it's a good idea.
>>
>>
>> - Rob
>> .
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[sapiensinfotec] Gmodules.com: pra q serve?

2010-02-21 Thread »♥§♥«KK»♥§♥«
ooi..
Será q alguem mata essa charada, se é q chega a ser uma...?
:-)

Eu achei muitos redirecionamentos ao navegar com o IE7, dai q bloqueei o *.
gmodules.com na aba dos sites restritos, ali nas Opcoes de Internet, indo
nas Ferramentas.
Acontece q o browser agora está uma carroça, e nao vejo um porq disso, mas é
quase certo q seja essa a razao pra rolar essa tal leseira.
...afinal quem sao eles e pra q servem...??
A proposito: nao uso o IGoogle, e nem a versao mais recente do gmail...

Respostas se possivel com copia pro meu email, ja q estou em modo web em
varias listas, por gentileza...

Super grata, e bom fim de domingo!
KK


[android-developers] JetPlayer keeps logging "write blocked for X msecs" - is this normal?

2010-02-18 Thread kk
Hello all,

I'm trying to add audio to my game and following the jetboy tutorial
and dev pages I'm doing it as follows:

I'm initialising like this:

JetPlayer JET_PLAYER = JetPlayer.getJetPlayer();
JET_PLAYER.clearQueue();
JET_PLAYER.loadJetFile(p_resources.openRawResourceFd(R.raw.ingame1));
byte sSegmentID = 0;
JET_PLAYER.queueJetSegment(0, -1, 0, 0, 0, sSegmentID);

then doing:

JET_PLAYER.play();

ingame1.jet only contains 1 segment, which is the track I'm trying to
play.
The audio plays ok but I keep getting these in logcat:

W/AudioFlinger(   31): write blocked for 49 msecs
W/AudioFlinger(   31): write blocked for 50 msecs
W/AudioFlinger(   31): write blocked for 54 msecs

They are quite frequent...3-4 of those per second. Is this normal or
am I doing something wrong?

cheers,
kk.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] can an updated version of an app try to restore using a bundle containing older data?

2010-02-17 Thread kk
Hello all,

I'm trying to prevent the situation where an updated version of my app
restores using a bundle written from a previous version of my app. In
other words:

1) app v1 stops and calls onSaveInstanceState
2) app v1 saves the bundle (call it v1 data)
3) user goes to marketplace and updates the app to v2
4) user starts the v2 version of the app
5) v2 version calls onCreate passing the bundle with v1 data (i.e. the
one saved during step (2))

Is that even possible? Do I need to worry about it?

cheers,
kk.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


<    9   10   11   12   13   14   15   16   17   18   >