Hi Chandrakant, You may want to have a look at the OVS/utilities/ or OVS/vswitchd/ folders. For ex. OVS/utilities/ovs-vsctl.c contains the implementation of commands like 'ovs-vsctl add-br ...' See 'vsctl_commands[]' structure, it lists the required format, the params check and the execution of the command.
HTH Antonio > -----Original Message----- > From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of > Chandrakant Raundal > Sent: Thursday, January 7, 2016 9:39 AM > To: dev@openvswitch.org > Subject: [ovs-dev] About OpenvSwitch > > Respected Sir/Ma'am, > This is Chandrakant from PICT,Pune. I am final year student of Computer > Engineering and currently working on a project "NFS Backup using > networking > in SDN Environment." We are using openvswitch 2.0.2 and pox controller > version 0.2.0. > > I am familiar with following commands of ovs: > > 1)ovs-vsctl add-br rvk // rvk is the name of bridge I have > given > 2)ovs-vsctl add-port rvk vnet0 //vnet0 is the port corresponding to > virtual machine. > 3)ovs-vsctl show > 4)ovs-vswitch --version > 5)ovs-ofctl dump-flows <bridge-name> > > We are using KVM(Kernel-based Virtual Machine). We are not getting how to > code in openvswitch. Will you please help us to know which script runs when > we type any of the above commands and how to modify that file? > > Kindly waiting for your response. > > Thanking you. > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev