[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] regarding VLOG
From:       blp () nicira ! com (Ben Pfaff)
Date:       2011-01-07 17:13:52
Message-ID: AANLkTi=yvQs5uO79exiJvV238E0qQUuR2bspyhdkDESE () mail ! gmail ! com
[Download RAW message or body]

It sounds like you added what is needed to create a new vlog module, which
is why I am asking for specifics.  I don't know what else to suggest at
this point.

On Thu, Jan 6, 2011 at 10:44 PM, naga raju <nagaraju1024 at gmail.com> wrote:
> Dear ben,
> i downloaded the source code
> from?http://openvswitch.org/releases/openvswitch-1.1.0pre2.tar.gz?.
> and i manually changed the code in ovs-controller. can u please just explain
> me what all the changes i need to do for adding VLOG for my own "c" file.
> retval = unixctl_server_create(unixctl_path, &unixctl);
> ?? ?if (retval) {
> ?? ? ? ?exit(EXIT_FAILURE);
> ?? ?}
> /* --- My code ?*/
> ?? ?pthread_t ofsm_listen_thread;
> ?? ?port_no = 7000; /* should be obtained from command line */
> ?? ?if ( pthread_create( &ofsm_listen_thread, NULL, listen_server_socket,
> (void *)port_no) ) {
> ?? ? ? ?ovs_fatal(0, "Could not create listening thread for ofsm");
> ?? ?}
> ?while (n_switches > 0 || n_listeners > 0)
> see the ovs-controller.c in utilities and check the code
> retval = unixctl_server_create(unixctl_path, &unixctl);
> ?? ?if (retval) {
> ?? ? ? ?exit(EXIT_FAILURE);
> ?? ?}
> after this portion i added my thread.
> Regards,
> Nag
>
> On Fri, Jan 7, 2011 at 11:16 AM, Ben Pfaff <blp at nicira.com> wrote:
>>
>> On Thu, Jan 6, 2011 at 9:41 PM, naga raju <nagaraju1024 at gmail.com> wrote:
>> > i am using the ovs- controller version : ovs-controller (Open V-Switch)
>> > 1.1.0pre2
>>
>> We haven't updated the version number in too long. ?What Git commit is
>> your change based on?
>>
>> Can you just send a patch? ?Your description is imprecise.
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic