You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by sebgoa <ru...@gmail.com> on 2014/07/01 09:59:37 UTC

Network usage in Basic Zone

Morning,

Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993

Talking to Fabrice it seems to be expected behavior. In Basic zones, traffic does not go through the VR and the network is shared.

Fabrice pointed me to:
https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910

Does everyone agree with this ?

How could we record network usage in Basic zones ?

-Sebastien

Re: Network usage in Basic Zone

Posted by Nux! <nu...@li.nux.ro>.
Hi Chiradeep,

For now I only want some stats, I don't care if the traffic is to other VM or the internet, right now there is no accountancy at all.
Trafficsentinel might be a solution, but I wouldn't like to complicate my setup even more with 3rd party software, let alone one that is proprietary and I have exactly zero experience with. Others with bigger or more skilled teams might opt for it.
IMHO Cloudstack must be able to provide these stats. It does stats for all the other stuff, people expect them, it's a basic issue.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Chiradeep Vittal" <Ch...@citrix.com>
> To: dev@cloudstack.apache.org
> Sent: Wednesday, 2 July, 2014 5:45:36 PM
> Subject: Re: Network usage in Basic Zone
> 
> It depends on what you want to charge for. Do you want to charge for VM-to-VM
> traffic? Or only VM-to-Internet traffic?
> Some folks use sFlow on their routers and then use this integration with
> CloudStack:
> https://cwiki.apache.org/confluence/x/cQj8AQ

Re: Network usage in Basic Zone

Posted by Chiradeep Vittal <Ch...@citrix.com>.
It depends on what you want to charge for. Do you want to charge for VM-to-VM traffic? Or only VM-to-Internet traffic?
Some folks use sFlow on their routers and then use this integration with CloudStack:
https://cwiki.apache.org/confluence/x/cQj8AQ


From: Wei ZHOU <us...@gmail.com>>
Reply-To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>" <de...@cloudstack.apache.org>>
Date: Tuesday, July 1, 2014 at 2:15 AM
To: "dev@cloudstack.apache.org<ma...@cloudstack.apache.org>" <de...@cloudstack.apache.org>>
Subject: Re: Network usage in Basic Zone

Nux,
I will change and commit it to 4.3 branch in the next days.

-Wei


2014-07-01 10:28 GMT+02:00 Nux! <nu...@li.nux.ro>>:

Thanks Sebastian and Wei, looking forward to having this working.

Wei, if you have any patches for 4.3 I'd be more than willing to test.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


----- Original Message -----
> From: "Wei ZHOU" <us...@gmail.com>>
> To: dev@cloudstack.apache.org<ma...@cloudstack.apache.org>
> Sent: Tuesday, 1 July, 2014 9:10:24 AM
> Subject: Re: Network usage in Basic Zone
>
> The network usage for individual vms can be fetched from hypervisor.
> I have changed for KVM (only), but not committed yet.
>
>
>
> 2014-07-01 9:59 GMT+02:00 sebgoa <ru...@gmail.com>>:
>
> > Morning,
> >
> > Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993
> >
> > Talking to Fabrice it seems to be expected behavior. In Basic zones,
> > traffic does not go through the VR and the network is shared.
> >
> > Fabrice pointed me to:
> >
> >
https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910
> >
> > Does everyone agree with this ?
> >
> > How could we record network usage in Basic zones ?
> >
> > -Sebastien
>



Re: Network usage in Basic Zone

Posted by sebgoa <ru...@gmail.com>.
On Jul 1, 2014, at 11:15 AM, Wei ZHOU <us...@gmail.com> wrote:

> Nux,
> I will change and commit it to 4.3 branch in the next days.
> 

Wei, please open a bug if there is none about this.
And when you commit specify the bug id. I am trying to keep 4.3 commit messages clean for the 4.3.1 release.

thanks

> -Wei
> 
> 
> 2014-07-01 10:28 GMT+02:00 Nux! <nu...@li.nux.ro>:
> 
>> Thanks Sebastian and Wei, looking forward to having this working.
>> 
>> Wei, if you have any patches for 4.3 I'd be more than willing to test.
>> 
>> Lucian
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> 
>> ----- Original Message -----
>>> From: "Wei ZHOU" <us...@gmail.com>
>>> To: dev@cloudstack.apache.org
>>> Sent: Tuesday, 1 July, 2014 9:10:24 AM
>>> Subject: Re: Network usage in Basic Zone
>>> 
>>> The network usage for individual vms can be fetched from hypervisor.
>>> I have changed for KVM (only), but not committed yet.
>>> 
>>> 
>>> 
>>> 2014-07-01 9:59 GMT+02:00 sebgoa <ru...@gmail.com>:
>>> 
>>>> Morning,
>>>> 
>>>> Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993
>>>> 
>>>> Talking to Fabrice it seems to be expected behavior. In Basic zones,
>>>> traffic does not go through the VR and the network is shared.
>>>> 
>>>> Fabrice pointed me to:
>>>> 
>>>> 
>> https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910
>>>> 
>>>> Does everyone agree with this ?
>>>> 
>>>> How could we record network usage in Basic zones ?
>>>> 
>>>> -Sebastien
>>> 
>> 


Re: Network usage in Basic Zone

Posted by Nux! <nu...@li.nux.ro>.
Hi Wei,

Any news on this issue?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Wei ZHOU" <us...@gmail.com>
> To: dev@cloudstack.apache.org
> Sent: Tuesday, 1 July, 2014 10:15:55
> Subject: Re: Network usage in Basic Zone

> Nux,
> I will change and commit it to 4.3 branch in the next days.
> 
> -Wei
> 
> 
> 2014-07-01 10:28 GMT+02:00 Nux! <nu...@li.nux.ro>:
> 
>> Thanks Sebastian and Wei, looking forward to having this working.
>>
>> Wei, if you have any patches for 4.3 I'd be more than willing to test.
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>>
>> ----- Original Message -----
>> > From: "Wei ZHOU" <us...@gmail.com>
>> > To: dev@cloudstack.apache.org
>> > Sent: Tuesday, 1 July, 2014 9:10:24 AM
>> > Subject: Re: Network usage in Basic Zone
>> >
>> > The network usage for individual vms can be fetched from hypervisor.
>> > I have changed for KVM (only), but not committed yet.
>> >
>> >
>> >
>> > 2014-07-01 9:59 GMT+02:00 sebgoa <ru...@gmail.com>:
>> >
>> > > Morning,
>> > >
>> > > Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993
>> > >
>> > > Talking to Fabrice it seems to be expected behavior. In Basic zones,
>> > > traffic does not go through the VR and the network is shared.
>> > >
>> > > Fabrice pointed me to:
>> > >
>> > >
>> https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910
>> > >
>> > > Does everyone agree with this ?
>> > >
>> > > How could we record network usage in Basic zones ?
>> > >
>> > > -Sebastien
>> >

Re: Network usage in Basic Zone

Posted by Wei ZHOU <us...@gmail.com>.
Nux,
I will change and commit it to 4.3 branch in the next days.

-Wei


2014-07-01 10:28 GMT+02:00 Nux! <nu...@li.nux.ro>:

> Thanks Sebastian and Wei, looking forward to having this working.
>
> Wei, if you have any patches for 4.3 I'd be more than willing to test.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
>
> ----- Original Message -----
> > From: "Wei ZHOU" <us...@gmail.com>
> > To: dev@cloudstack.apache.org
> > Sent: Tuesday, 1 July, 2014 9:10:24 AM
> > Subject: Re: Network usage in Basic Zone
> >
> > The network usage for individual vms can be fetched from hypervisor.
> > I have changed for KVM (only), but not committed yet.
> >
> >
> >
> > 2014-07-01 9:59 GMT+02:00 sebgoa <ru...@gmail.com>:
> >
> > > Morning,
> > >
> > > Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993
> > >
> > > Talking to Fabrice it seems to be expected behavior. In Basic zones,
> > > traffic does not go through the VR and the network is shared.
> > >
> > > Fabrice pointed me to:
> > >
> > >
> https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910
> > >
> > > Does everyone agree with this ?
> > >
> > > How could we record network usage in Basic zones ?
> > >
> > > -Sebastien
> >
>

Re: Network usage in Basic Zone

Posted by Nux! <nu...@li.nux.ro>.
Thanks Sebastian and Wei, looking forward to having this working.

Wei, if you have any patches for 4.3 I'd be more than willing to test.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


----- Original Message -----
> From: "Wei ZHOU" <us...@gmail.com>
> To: dev@cloudstack.apache.org
> Sent: Tuesday, 1 July, 2014 9:10:24 AM
> Subject: Re: Network usage in Basic Zone
> 
> The network usage for individual vms can be fetched from hypervisor.
> I have changed for KVM (only), but not committed yet.
> 
> 
> 
> 2014-07-01 9:59 GMT+02:00 sebgoa <ru...@gmail.com>:
> 
> > Morning,
> >
> > Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993
> >
> > Talking to Fabrice it seems to be expected behavior. In Basic zones,
> > traffic does not go through the VR and the network is shared.
> >
> > Fabrice pointed me to:
> >
> > https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910
> >
> > Does everyone agree with this ?
> >
> > How could we record network usage in Basic zones ?
> >
> > -Sebastien
> 

Re: Network usage in Basic Zone

Posted by Wei ZHOU <us...@gmail.com>.
The network usage for individual vms can be fetched from hypervisor.
I have changed for KVM (only), but not committed yet.



2014-07-01 9:59 GMT+02:00 sebgoa <ru...@gmail.com>:

> Morning,
>
> Nux opened https://issues.apache.org/jira/browse/CLOUDSTACK-6993
>
> Talking to Fabrice it seems to be expected behavior. In Basic zones,
> traffic does not go through the VR and the network is shared.
>
> Fabrice pointed me to:
>
> https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java#L910
>
> Does everyone agree with this ?
>
> How could we record network usage in Basic zones ?
>
> -Sebastien