Hi Community,

I made a start with a quick & dirty proof of concept: 
https://github.com/michaelhenkel/opencontrail-cni-plugin
Most pieces were already in place as most of the APIs are auto generated.
The only missing part was the go vrouter api 
(https://github.com/michaelhenkel/contrail-go-api/blob/master/vrouter.go ) 
generating the thrift rpc messages.
Generated API types 
(https://github.com/michaelhenkel/contrail-go-api/tree/master/types ) are based 
on current OpenContrail master
and the thrift APIs 
(https://github.com/michaelhenkel/contrail-go-api/tree/master/gen-go/instance_service
 ) are based on thrift 0.9.3.
As said, it is a proof of concept which allows to use the CNI infrastructure to 
create/delete the required Contrail Config objects and veth interfaces and to 
register/
deregister those with/from the vrouter-agent. I only did some quick tests using 
namespaces and connectivity works.
Not a lot of failure handling. Virtual Networks are created in case they don't 
exist but are not deleted when the last interface is removed.
Happy contribution!

Regards,
Michael

From: Dev <[email protected]> on behalf of Harshad Nakil 
<[email protected]>
Date: Thursday 16 June 2016 at 17:58
To: Jakub Pavlik <[email protected]>
Cc: Avinash Sridharan <[email protected]>, 
"[email protected]" <[email protected]>
Subject: Re: [opencontrail-dev] OpenContrail and CNI

I actually agree with Edgar. At the end of the day if you want thriving open 
source community there has to be contribution from community.

Regards
-Harshad


On Jun 16, 2016, at 8:04 AM, Jakub Pavlik 
<[email protected]<mailto:[email protected]>> wrote:
Hello all,

I am in touch with Juniper team about roadmap plan. I am waiting for response 
to do not wasting time all of us. I also trying to get regurally slack meetings 
in community.

Jakub



Odesláno ze zařízení Samsung


-------- Původní zpráva --------
Od: Edgar Magana <[email protected]<mailto:[email protected]>>
Datum: 16.06.16 16:33 (GMT+01:00)
Komu: Harshad Nakil <[email protected]<mailto:[email protected]>>, Robert Raszuk 
<[email protected]<mailto:[email protected]>>
Cc: Jakub Pavlik <[email protected]<mailto:[email protected]>>, 
Avinash Sridharan 
<[email protected]<mailto:[email protected]>>, 
[email protected]<mailto:[email protected]>
Předmět: Re: [opencontrail-dev] OpenContrail and CNI
Folks,

Yes, this is a great opportunity to make a difference in this open-source 
project.  I do have good communication with Juniper team and I am pretty sure 
they want to have this integrated but obviously looking for resources is hard. 
If we as community add a bit of effort this can be a good step forward.

Edgar

From: Dev 
<[email protected]<mailto:[email protected]>> 
on behalf of Harshad Nakil <[email protected]<mailto:[email protected]>>
Date: Thursday, June 16, 2016 at 5:44 AM
To: Robert Raszuk <[email protected]<mailto:[email protected]>>
Cc: Jakub Pavlik <[email protected]<mailto:[email protected]>>, 
Avinash Sridharan 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [opencontrail-dev] OpenContrail and CNI

Robert,

Juniper PMs are responsible for "Juniper Contrail Product"

Pedro's code is available in the open, so if it there is need some one in 
community can take over.

Regards
-Harshad


On Jun 16, 2016, at 2:04 AM, Robert Raszuk 
<[email protected]<mailto:[email protected]>> wrote:

What roadmap ?

Per Juniper PM during EBC this is not planned formally.

We have Pedro's code but it has been shelved officially as just experimental 
effort.

And frankly this is what makes sense the most along with mesos integration.

Openstack is not that interesting for vast majority of use cases.

Cheers
R.
On Jun 16, 2016 04:57, "Jakub Pavlik" 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

this is exactly what I asked too regarding Kubernetes. Roadmap for this is 
currently in progress.

Jakub
On 15.6.2016 22:55, Avinash Sridharan wrote:
Hi,

I work on Apache Mesos  and DC/OS . We recently introduced support for CNI 
(Container Network Interface) into Mesos:
https://github.com/apache/mesos/blob/master/docs/cni.md<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_mesos_blob_master_docs_cni.md&d=CwMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=TaNBIGoZaftMFnPrDZOLGxFu3_Tnjc8Fqi_iHEN1rqE&s=TRy8z9DoIp7-Vn8tI0MrIoXQyPU_6qgudqgbLvkSAdg&e=>
 .

Was wondering if OpenContrail has any plans on supporting CNI ?






_______________________________________________

Dev mailing list

[email protected]<mailto:[email protected]>

http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opencontrail.org_mailman_listinfo_dev-5Flists.opencontrail.org&d=CwMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=TaNBIGoZaftMFnPrDZOLGxFu3_Tnjc8Fqi_iHEN1rqE&s=YiotsqxF5V7eJ2yOk5jEDujlntw1F54bhQpy3wFyGuk&e=>




--

Jakub Pavlik

CTO



[tcp ◕ cloud]



+420 602 177 027<tel:%2B420%20602%20177%20027>

[email protected]<mailto:[email protected]>



tcp cloud a.s.

Thamova 16

186 00 Praha 8 - Karlin

Czech republic

http://tcpcloud.eu<https://urldefense.proofpoint.com/v2/url?u=http-3A__tcpcloud.eu&d=CwMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=TaNBIGoZaftMFnPrDZOLGxFu3_Tnjc8Fqi_iHEN1rqE&s=fSO2lYtbMEjcxBDhZL-SKQQAGoG2WMSl-Nlbbc8tEoc&e=>

http://opentcpcloud.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__opentcpcloud.org&d=CwMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=TaNBIGoZaftMFnPrDZOLGxFu3_Tnjc8Fqi_iHEN1rqE&s=_5gHQ9IHcAlzm4n0_cVjJSkf2h8veePCeO3wAYTA8eY&e=>

_______________________________________________
Dev mailing list
[email protected]<mailto:[email protected]>
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opencontrail.org_mailman_listinfo_dev-5Flists.opencontrail.org&d=CwMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=TaNBIGoZaftMFnPrDZOLGxFu3_Tnjc8Fqi_iHEN1rqE&s=YiotsqxF5V7eJ2yOk5jEDujlntw1F54bhQpy3wFyGuk&e=>
_______________________________________________
Dev mailing list
[email protected]<mailto:[email protected]>
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opencontrail.org_mailman_listinfo_dev-5Flists.opencontrail.org&d=CwMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=TaNBIGoZaftMFnPrDZOLGxFu3_Tnjc8Fqi_iHEN1rqE&s=YiotsqxF5V7eJ2yOk5jEDujlntw1F54bhQpy3wFyGuk&e=>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to