Contributing example code


Muhammad Usman <usman476@...>
 

Hello,

My name is Usman.

I am interested to contribute an example code for OpenStack VLAN traffic monitoring.

Regarding this can you please guide me how I can submit my code on GitHub (Since I could not find details on iovisor GitHub page).

I would appreciate your time and consideration.

Thanks

--

Regards


Muhammad Usman
 
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068


Yonghong Song
 

On Tue, May 1, 2018 at 4:48 AM, Muhammad Usman via iovisor-dev
<iovisor-dev@...> wrote:
Hello,

My name is Usman.

I am interested to contribute an example code for OpenStack VLAN traffic
monitoring.
Any details of exactly what you want to minotor? Just sniff the packet and
if it is vlan do some accounting in map?

The example code should be self contained so people can just type a simple
command and run. It is not a good idea to have an open stack dependence.
You may have to work through it.


Regarding this can you please guide me how I can submit my code on GitHub
(Since I could not find details on iovisor GitHub page).
We already have some networking examples at bcc/examples/networking.
In general, an example is used to show how to solve a particular problem
using bcc APIs. Please first check whether bcc/examples/networking has
anything similar or not.


I would appreciate your time and consideration.

Thanks

--

Regards

Muhammad Usman
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

_______________________________________________
iovisor-dev mailing list
iovisor-dev@...
https://lists.iovisor.org/mailman/listinfo/iovisor-dev


Teng Qin
 

You may also refer to
https://github.com/iovisor/bcc/blob/master/CONTRIBUTING-SCRIPTS.md

On Tue, May 1, 2018 at 4:48 AM, Muhammad Usman via iovisor-dev
<iovisor-dev@...> wrote:
Hello,

My name is Usman.

I am interested to contribute an example code for OpenStack VLAN traffic
monitoring.

Regarding this can you please guide me how I can submit my code on GitHub
(Since I could not find details on iovisor GitHub page).

I would appreciate your time and consideration.

Thanks

--

Regards

Muhammad Usman
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

_______________________________________________
iovisor-dev mailing list
iovisor-dev@...
https://lists.iovisor.org/mailman/listinfo/iovisor-dev


Muhammad Usman <usman476@...>
 

Dear Song,

Thanks for your reply.

The code I am willing to contribute is self contained and there are no additional requirements.

I checked in /bcc/examples/networking there are different example codes. My code is more like extension of HTTP filter example but rather than looking into application header it's about extracting VXLAN headers and incorporated VLAN and respective header fields. Then by using Kafka, delivering extracted fields to the central server for additional actions like traffic visualization.

I hope this code would be helpful to a lot of people who want to monitor VM traffic on data planes across data centers.

Let me know if you have any further comments.

--

Regards


Muhammad Usman
 
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

On Wed, May 2, 2018 at 3:55 PM, Y Song <ys114321@...> wrote:
On Tue, May 1, 2018 at 4:48 AM, Muhammad Usman via iovisor-dev
<iovisor-dev@...> wrote:
> Hello,
>
> My name is Usman.
>
> I am interested to contribute an example code for OpenStack VLAN traffic
> monitoring.

Any details of exactly what you want to minotor? Just sniff the packet and
if it is vlan do some accounting in map?

The example code should be self contained so people can just type a simple
command and run. It is not a good idea to have an open stack dependence.
You may have to work through it.

>
> Regarding this can you please guide me how I can submit my code on GitHub
> (Since I could not find details on iovisor GitHub page).

We already have some networking examples at bcc/examples/networking.
In general, an example is used to show how to solve a particular problem
using bcc APIs. Please first check whether bcc/examples/networking has
anything similar or not.

>
> I would appreciate your time and consideration.
>
> Thanks
>
> --
>
> Regards
>
> Muhammad Usman
> Application Engineer
> LMK Resources (pvt) Limited
> www.lmkr.com
> +92 (323) 5599 068
>
> _______________________________________________
> iovisor-dev mailing list
> iovisor-dev@...
> https://lists.iovisor.org/mailman/listinfo/iovisor-dev
>


Yonghong Song
 

On Fri, May 4, 2018 at 3:19 AM, Muhammad Usman <usman476@...> wrote:
Dear Song,

Thanks for your reply.

The code I am willing to contribute is self contained and there are no
additional requirements.
Then it should be okay. Thanks for your contribution!

Yonghong


I checked in /bcc/examples/networking there are different example codes. My
code is more like extension of HTTP filter example but rather than looking
into application header it's about extracting VXLAN headers and incorporated
VLAN and respective header fields. Then by using Kafka, delivering extracted
fields to the central server for additional actions like traffic
visualization.

I hope this code would be helpful to a lot of people who want to monitor VM
traffic on data planes across data centers.

Let me know if you have any further comments.

--

Regards

Muhammad Usman
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

On Wed, May 2, 2018 at 3:55 PM, Y Song <ys114321@...> wrote:

On Tue, May 1, 2018 at 4:48 AM, Muhammad Usman via iovisor-dev
<iovisor-dev@...> wrote:
Hello,

My name is Usman.

I am interested to contribute an example code for OpenStack VLAN traffic
monitoring.
Any details of exactly what you want to minotor? Just sniff the packet and
if it is vlan do some accounting in map?

The example code should be self contained so people can just type a simple
command and run. It is not a good idea to have an open stack dependence.
You may have to work through it.


Regarding this can you please guide me how I can submit my code on
GitHub
(Since I could not find details on iovisor GitHub page).
We already have some networking examples at bcc/examples/networking.
In general, an example is used to show how to solve a particular problem
using bcc APIs. Please first check whether bcc/examples/networking has
anything similar or not.


I would appreciate your time and consideration.

Thanks

--

Regards

Muhammad Usman
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

_______________________________________________
iovisor-dev mailing list
iovisor-dev@...
https://lists.iovisor.org/mailman/listinfo/iovisor-dev


Muhammad Usman <usman476@...>
 

Dear Song,

While I am making my code ready for the contribution, can you share details about standard workflow steps to upload code on IO-Visor GitHub repository?

Thanks

--

Regards


Muhammad Usman
 
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

On Sat, May 5, 2018 at 12:36 AM, Y Song <ys114321@...> wrote:
On Fri, May 4, 2018 at 3:19 AM, Muhammad Usman <usman476@...> wrote:
> Dear Song,
>
> Thanks for your reply.
>
> The code I am willing to contribute is self contained and there are no
> additional requirements.

Then it should be okay. Thanks for your contribution!

Yonghong

>
> I checked in /bcc/examples/networking there are different example codes. My
> code is more like extension of HTTP filter example but rather than looking
> into application header it's about extracting VXLAN headers and incorporated
> VLAN and respective header fields. Then by using Kafka, delivering extracted
> fields to the central server for additional actions like traffic
> visualization.
>
> I hope this code would be helpful to a lot of people who want to monitor VM
> traffic on data planes across data centers.
>
> Let me know if you have any further comments.
>
> --
>
> Regards
>
> Muhammad Usman
> Application Engineer
> LMK Resources (pvt) Limited
> www.lmkr.com
> +92 (323) 5599 068
>
> On Wed, May 2, 2018 at 3:55 PM, Y Song <ys114321@...> wrote:
>>
>> On Tue, May 1, 2018 at 4:48 AM, Muhammad Usman via iovisor-dev
>> <iovisor-dev@...> wrote:
>> > Hello,
>> >
>> > My name is Usman.
>> >
>> > I am interested to contribute an example code for OpenStack VLAN traffic
>> > monitoring.
>>
>> Any details of exactly what you want to minotor? Just sniff the packet and
>> if it is vlan do some accounting in map?
>>
>> The example code should be self contained so people can just type a simple
>> command and run. It is not a good idea to have an open stack dependence.
>> You may have to work through it.
>>
>> >
>> > Regarding this can you please guide me how I can submit my code on
>> > GitHub
>> > (Since I could not find details on iovisor GitHub page).
>>
>> We already have some networking examples at bcc/examples/networking.
>> In general, an example is used to show how to solve a particular problem
>> using bcc APIs. Please first check whether bcc/examples/networking has
>> anything similar or not.
>>
>> >
>> > I would appreciate your time and consideration.
>> >
>> > Thanks
>> >
>> > --
>> >
>> > Regards
>> >
>> > Muhammad Usman
>> > Application Engineer
>> > LMK Resources (pvt) Limited
>> > www.lmkr.com
>> > +92 (323) 5599 068
>> >
>> > _______________________________________________
>> > iovisor-dev mailing list
>> > iovisor-dev@...
>> > https://lists.iovisor.org/mailman/listinfo/iovisor-dev
>> >
>
>


Yonghong Song
 

On Tue, May 8, 2018 at 4:17 AM, Muhammad Usman <usman476@...> wrote:
Dear Song,

While I am making my code ready for the contribution, can you share details
about standard workflow steps to upload code on IO-Visor GitHub repository?
Here is the github information about how to create a pull request.
https://help.github.com/articles/creating-a-pull-request/
Basically you create a pull request against iovisor/bcc repository
for review and merge.

Thanks.


Thanks

--

Regards

Muhammad Usman
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

On Sat, May 5, 2018 at 12:36 AM, Y Song <ys114321@...> wrote:

On Fri, May 4, 2018 at 3:19 AM, Muhammad Usman <usman476@...> wrote:
Dear Song,

Thanks for your reply.

The code I am willing to contribute is self contained and there are no
additional requirements.
Then it should be okay. Thanks for your contribution!

Yonghong


I checked in /bcc/examples/networking there are different example codes.
My
code is more like extension of HTTP filter example but rather than
looking
into application header it's about extracting VXLAN headers and
incorporated
VLAN and respective header fields. Then by using Kafka, delivering
extracted
fields to the central server for additional actions like traffic
visualization.

I hope this code would be helpful to a lot of people who want to monitor
VM
traffic on data planes across data centers.

Let me know if you have any further comments.

--

Regards

Muhammad Usman
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

On Wed, May 2, 2018 at 3:55 PM, Y Song <ys114321@...> wrote:

On Tue, May 1, 2018 at 4:48 AM, Muhammad Usman via iovisor-dev
<iovisor-dev@...> wrote:
Hello,

My name is Usman.

I am interested to contribute an example code for OpenStack VLAN
traffic
monitoring.
Any details of exactly what you want to minotor? Just sniff the packet
and
if it is vlan do some accounting in map?

The example code should be self contained so people can just type a
simple
command and run. It is not a good idea to have an open stack
dependence.
You may have to work through it.


Regarding this can you please guide me how I can submit my code on
GitHub
(Since I could not find details on iovisor GitHub page).
We already have some networking examples at bcc/examples/networking.
In general, an example is used to show how to solve a particular
problem
using bcc APIs. Please first check whether bcc/examples/networking has
anything similar or not.


I would appreciate your time and consideration.

Thanks

--

Regards

Muhammad Usman
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

_______________________________________________
iovisor-dev mailing list
iovisor-dev@...
https://lists.iovisor.org/mailman/listinfo/iovisor-dev


Muhammad Usman <usman476@...>
 

Thanks for your guidance.

--

Regards


Muhammad Usman
 
Application Engineer
LMK Resources (pvt) Limited
www.lmkr.com
+92 (323) 5599 068

On Wed, May 9, 2018 at 12:41 AM, Y Song <ys114321@...> wrote:
On Tue, May 8, 2018 at 4:17 AM, Muhammad Usman <usman476@...> wrote:
> Dear Song,
>
> While I am making my code ready for the contribution, can you share details
> about standard workflow steps to upload code on IO-Visor GitHub repository?

Here is the github information about how to create a pull request.
https://help.github.com/articles/creating-a-pull-request/
Basically you create a pull request against iovisor/bcc repository
for review and merge.

Thanks.

>
> Thanks
>
> --
>
> Regards
>
> Muhammad Usman
> Application Engineer
> LMK Resources (pvt) Limited
> www.lmkr.com
> +92 (323) 5599 068
>
> On Sat, May 5, 2018 at 12:36 AM, Y Song <ys114321@...> wrote:
>>
>> On Fri, May 4, 2018 at 3:19 AM, Muhammad Usman <usman476@...> wrote:
>> > Dear Song,
>> >
>> > Thanks for your reply.
>> >
>> > The code I am willing to contribute is self contained and there are no
>> > additional requirements.
>>
>> Then it should be okay. Thanks for your contribution!
>>
>> Yonghong
>>
>> >
>> > I checked in /bcc/examples/networking there are different example codes.
>> > My
>> > code is more like extension of HTTP filter example but rather than
>> > looking
>> > into application header it's about extracting VXLAN headers and
>> > incorporated
>> > VLAN and respective header fields. Then by using Kafka, delivering
>> > extracted
>> > fields to the central server for additional actions like traffic
>> > visualization.
>> >
>> > I hope this code would be helpful to a lot of people who want to monitor
>> > VM
>> > traffic on data planes across data centers.
>> >
>> > Let me know if you have any further comments.
>> >
>> > --
>> >
>> > Regards
>> >
>> > Muhammad Usman
>> > Application Engineer
>> > LMK Resources (pvt) Limited
>> > www.lmkr.com
>> > +92 (323) 5599 068
>> >
>> > On Wed, May 2, 2018 at 3:55 PM, Y Song <ys114321@...> wrote:
>> >>
>> >> On Tue, May 1, 2018 at 4:48 AM, Muhammad Usman via iovisor-dev
>> >> <iovisor-dev@...> wrote:
>> >> > Hello,
>> >> >
>> >> > My name is Usman.
>> >> >
>> >> > I am interested to contribute an example code for OpenStack VLAN
>> >> > traffic
>> >> > monitoring.
>> >>
>> >> Any details of exactly what you want to minotor? Just sniff the packet
>> >> and
>> >> if it is vlan do some accounting in map?
>> >>
>> >> The example code should be self contained so people can just type a
>> >> simple
>> >> command and run. It is not a good idea to have an open stack
>> >> dependence.
>> >> You may have to work through it.
>> >>
>> >> >
>> >> > Regarding this can you please guide me how I can submit my code on
>> >> > GitHub
>> >> > (Since I could not find details on iovisor GitHub page).
>> >>
>> >> We already have some networking examples at bcc/examples/networking.
>> >> In general, an example is used to show how to solve a particular
>> >> problem
>> >> using bcc APIs. Please first check whether bcc/examples/networking has
>> >> anything similar or not.
>> >>
>> >> >
>> >> > I would appreciate your time and consideration.
>> >> >
>> >> > Thanks
>> >> >
>> >> > --
>> >> >
>> >> > Regards
>> >> >
>> >> > Muhammad Usman
>> >> > Application Engineer
>> >> > LMK Resources (pvt) Limited
>> >> > www.lmkr.com
>> >> > +92 (323) 5599 068
>> >> >
>> >> > _______________________________________________
>> >> > iovisor-dev mailing list
>> >> > iovisor-dev@...
>> >> > https://lists.iovisor.org/mailman/listinfo/iovisor-dev
>> >> >
>> >
>> >
>
>