[Users] Ovirt 3.3 - How to write a network plugin

Hello, I've seen ovirt can support plugin ... so is there any documentation about writing a 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. Thank you in advance. Regards, -- -- Benoit

------=_Part_3263985_1074144571.1381224571924 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
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
------=_Part_3263985_1074144571.1381224571924 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div><br></div><hr id=3D"zwchr"><bloc= kquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:= 5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;fo= nt-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir=3D"ltr">Hell= o,</div></blockquote><div>Hi Benoit<br></div><blockquote style=3D"border-le= ft:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weigh= t:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial= ,sans-serif;font-size:12pt;"><div dir=3D"ltr"><div><br></div><div>I've seen= ovirt can support plugin ... so is there any documentation about writing a= plugin ? </div></div></blockquote><div>What do you mean "can support = plugin"?<br></div><blockquote style=3D"border-left:2px solid #1010FF;margin= -left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;= text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;= "><div dir=3D"ltr"><div>Can we write it in python ?</div><div><br></div><di= v><br></div><div>Well because, here, we don't want to install openstack/neu= tron for network management ... It's too complicated and to heavy. I, your = opinion wrong design choice about openvswitch implementation.</div></div></= blockquote><div>Not sure what you mean here about openvswitch implementatio= n, can you please clarify?<br></div><blockquote style=3D"border-left:2px so= lid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;= font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-ser= if;font-size:12pt;"><div dir=3D"ltr"><div><br></div><div>Thank you in advan= ce.</div><div><br></div><div>Regards,</div><div><br clear=3D"all"><div><br>= </div>-- <br>--<br>Benoit<br></div></div><br></blockquote></div></body></ht= ml> ------=_Part_3263985_1074144571.1381224571924--

----- Original Message -----
From: "Mike Kolesnik" <mkolesni@redhat.com> To: "Benoit ML" <ben42ml@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

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 ;) Regards, 2013/10/8 Antoni Segura Puimedon <asegurap@redhat.com>
From: "Mike Kolesnik" <mkolesni@redhat.com> To: "Benoit ML" <ben42ml@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
----- Original Message ----- 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

----- Original Message -----
From: "Benoit ML" <ben42ml@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 < asegurap@redhat.com >
----- Original Message -----
From: "Mike Kolesnik" < mkolesni@redhat.com > To: "Benoit ML" < ben42ml@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
participants (3)
-
Antoni Segura Puimedon
-
Benoit ML
-
Mike Kolesnik