----- Original Message ----- > From: "Benoit ML" <ben4...@gmail.com> > To: users@ovirt.org > Sent: Tuesday, October 8, 2013 1:59:49 PM > Subject: Re: [Users] Ovirt 3.3 - How to write a network plugin > > Hello, > > Toni, that's the question !
:-) > Good news :) I'will go into the source code. > If you have a link to point me to the right direction, i take it ;) Sure, you have to provide the same methods as the Ifcfg class in vdsm/netconf/ifcfg.py So basically taking netdev objects and using them to then call open vSwitch to create them. You can also look at the ongoing vdsm/netconf/iproute2.py for another example. There are some extra considerations to take care about, like persistence and such (the patches are being finished now for a way to keep the persistence equal across configurators, as long as they follow some rules). I'm usually in #vdsm at freenode should you want to contact me. Best, Toni > Regards, > > > > > > > 2013/10/8 Antoni Segura Puimedon < asegu...@redhat.com > > > > > > ----- Original Message ----- > > From: "Mike Kolesnik" < mkole...@redhat.com > > > To: "Benoit ML" < ben4...@gmail.com > > > Cc: users@ovirt.org > > Sent: Tuesday, October 8, 2013 11:29:31 AM > > Subject: Re: [Users] Ovirt 3.3 - How to write a network plugin > > > > > > > > > > > > > > Hello, > > Hi Benoit > > > > > > > > > > I've seen ovirt can support plugin ... so is there any documentation about > > writing a plugin ? > > What do you mean "can support plugin"? > > > > > > > > Can we write it in python ? > > > > > > Well because, here, we don't want to install openstack/neutron for network > > management ... It's too complicated and to heavy. I, your opinion wrong > > design choice about openvswitch implementation. > > Not sure what you mean here about openvswitch implementation, can you > > please > > clarify? > > > > > > > > > > Thank you in advance. > > > > Regards, > > > > > > -- > > -- > > Benoit > > > > > > _______________________________________________ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > > > > Hi Benoit, > > If the question is: "can we write a network plugin so that networks are > defined in open vSwitch instead of in traditional linux bonds, vlans and > bridges"; the answer is yes. The language to do that is Python and the > correct oVirt component to do it in is vdsm. Now we have an ifcfg > configurator > and a partial iproute2 configurator. The task would be to make an open > vSwitch > one. > > Best regards, > > Toni > > > > -- > -- > Benoit > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users