You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Wei Zhou <w....@leaseweb.com> on 2013/03/13 20:20:33 UTC

Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/
-----------------------------------------------------------

Review request for cloudstack.


Description
-------

add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
"create" to add iptables rules for network usage statistics.
"get" to get the network usage statistics from iptables.


This addresses bug CLOUDSTACK-1666.


Diffs
-----

  plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b8cce1e 

Diff: https://reviews.apache.org/r/9908/diff/


Testing
-------

Testing manually ok.


Thanks,

Wei Zhou


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Chip Childers <ch...@sungard.com>.
On Fri, Mar 22, 2013 at 04:53:52PM +0000, Prasanna Santhanam wrote:
> Think Wei already provided that. I applied it to master this morning. But it will be reqd for 4.1 as well.

I see it in the bug now.  I just applied to 4.1.

Thanks!

Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Prasanna Santhanam <sr...@gmail.com>.
Think Wei already provided that. I applied it to master this morning. But it will be reqd for 4.1 as well.


~P.

-----Original Message-----
From: Chip Childers <ch...@sungard.com>
Date: Fri, 22 Mar 2013 11:31:09 
To: Kishan Kavala<Ki...@citrix.com>
Reply-To: dev@cloudstack.apache.org
Cc: Animesh Chaturvedi<an...@citrix.com>; cloudstack-dev@incubator.apache.org<cl...@incubator.apache.org>; Wei Zhou<w....@leaseweb.com>; Edison Su<Ed...@citrix.com>
Subject: Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

On Fri, Mar 22, 2013 at 12:56:27PM +0000, Kishan Kavala wrote:
> Chip,
>  Can please you apply this patch to 4.1. It is pushed to 4.0 and master already.

Cherry picking this from 4.0 to master fails.  We need a clean patch for
those branches please!

> 
> Thanks,
> kishan
> 
> > -----Original Message-----
> > From: Animesh Chaturvedi
> > Sent: Friday, 15 March 2013 12:41 AM
> > To: cloudstack-dev@incubator.apache.org; Wei Zhou; Kishan Kavala; Edison
> > Su
> > Subject: RE: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC
> > on KVM
> > 
> > Wei
> > 
> > Please add Kishan and Edison as reviewers. Folks please review and apply
> > patch
> > 
> > Animes
> > 
> > > -----Original Message-----
> > > From: Wei Zhou [mailto:noreply@reviews.apache.org] On Behalf Of Wei
> > > Zhou
> > > Sent: Wednesday, March 13, 2013 12:21 PM
> > > To: cloudstack; Wei Zhou
> > > Subject: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC
> > on
> > > KVM
> > >
> > >
> > > -----------------------------------------------------------
> > > This is an automatically generated e-mail. To reply, visit:
> > > https://reviews.apache.org/r/9908/
> > > -----------------------------------------------------------
> > >
> > > Review request for cloudstack.
> > >
> > >
> > > Description
> > > -------
> > >
> > > add procedure VPCNetworkUsage and getVPCNetworkStats to deal with
> > the
> > > operation on VPC virtual router.
> > > "create" to add iptables rules for network usage statistics.
> > > "get" to get the network usage statistics from iptables.
> > >
> > >
> > > This addresses bug CLOUDSTACK-1666.
> > >
> > >
> > > Diffs
> > > -----
> > >
> > >
> > >
> > plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtC
> > > o
> > > mputingResource.java b8cce1e
> > >
> > > Diff: https://reviews.apache.org/r/9908/diff/
> > >
> > >
> > > Testing
> > > -------
> > >
> > > Testing manually ok.
> > >
> > >
> > > Thanks,
> > >
> > > Wei Zhou
> 

Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Chip Childers <ch...@sungard.com>.
On Fri, Mar 22, 2013 at 12:56:27PM +0000, Kishan Kavala wrote:
> Chip,
>  Can please you apply this patch to 4.1. It is pushed to 4.0 and master already.

Cherry picking this from 4.0 to master fails.  We need a clean patch for
those branches please!

> 
> Thanks,
> kishan
> 
> > -----Original Message-----
> > From: Animesh Chaturvedi
> > Sent: Friday, 15 March 2013 12:41 AM
> > To: cloudstack-dev@incubator.apache.org; Wei Zhou; Kishan Kavala; Edison
> > Su
> > Subject: RE: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC
> > on KVM
> > 
> > Wei
> > 
> > Please add Kishan and Edison as reviewers. Folks please review and apply
> > patch
> > 
> > Animes
> > 
> > > -----Original Message-----
> > > From: Wei Zhou [mailto:noreply@reviews.apache.org] On Behalf Of Wei
> > > Zhou
> > > Sent: Wednesday, March 13, 2013 12:21 PM
> > > To: cloudstack; Wei Zhou
> > > Subject: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC
> > on
> > > KVM
> > >
> > >
> > > -----------------------------------------------------------
> > > This is an automatically generated e-mail. To reply, visit:
> > > https://reviews.apache.org/r/9908/
> > > -----------------------------------------------------------
> > >
> > > Review request for cloudstack.
> > >
> > >
> > > Description
> > > -------
> > >
> > > add procedure VPCNetworkUsage and getVPCNetworkStats to deal with
> > the
> > > operation on VPC virtual router.
> > > "create" to add iptables rules for network usage statistics.
> > > "get" to get the network usage statistics from iptables.
> > >
> > >
> > > This addresses bug CLOUDSTACK-1666.
> > >
> > >
> > > Diffs
> > > -----
> > >
> > >
> > >
> > plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtC
> > > o
> > > mputingResource.java b8cce1e
> > >
> > > Diff: https://reviews.apache.org/r/9908/diff/
> > >
> > >
> > > Testing
> > > -------
> > >
> > > Testing manually ok.
> > >
> > >
> > > Thanks,
> > >
> > > Wei Zhou
> 

RE: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Kishan Kavala <Ki...@citrix.com>.
Chip,
 Can please you apply this patch to 4.1. It is pushed to 4.0 and master already.

Thanks,
kishan

> -----Original Message-----
> From: Animesh Chaturvedi
> Sent: Friday, 15 March 2013 12:41 AM
> To: cloudstack-dev@incubator.apache.org; Wei Zhou; Kishan Kavala; Edison
> Su
> Subject: RE: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC
> on KVM
> 
> Wei
> 
> Please add Kishan and Edison as reviewers. Folks please review and apply
> patch
> 
> Animes
> 
> > -----Original Message-----
> > From: Wei Zhou [mailto:noreply@reviews.apache.org] On Behalf Of Wei
> > Zhou
> > Sent: Wednesday, March 13, 2013 12:21 PM
> > To: cloudstack; Wei Zhou
> > Subject: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC
> on
> > KVM
> >
> >
> > -----------------------------------------------------------
> > This is an automatically generated e-mail. To reply, visit:
> > https://reviews.apache.org/r/9908/
> > -----------------------------------------------------------
> >
> > Review request for cloudstack.
> >
> >
> > Description
> > -------
> >
> > add procedure VPCNetworkUsage and getVPCNetworkStats to deal with
> the
> > operation on VPC virtual router.
> > "create" to add iptables rules for network usage statistics.
> > "get" to get the network usage statistics from iptables.
> >
> >
> > This addresses bug CLOUDSTACK-1666.
> >
> >
> > Diffs
> > -----
> >
> >
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtC
> > o
> > mputingResource.java b8cce1e
> >
> > Diff: https://reviews.apache.org/r/9908/diff/
> >
> >
> > Testing
> > -------
> >
> > Testing manually ok.
> >
> >
> > Thanks,
> >
> > Wei Zhou


RE: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Animesh Chaturvedi <an...@citrix.com>.
Wei

Please add Kishan and Edison as reviewers. Folks please review and apply patch 

Animes

> -----Original Message-----
> From: Wei Zhou [mailto:noreply@reviews.apache.org] On Behalf Of Wei
> Zhou
> Sent: Wednesday, March 13, 2013 12:21 PM
> To: cloudstack; Wei Zhou
> Subject: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on
> KVM
> 
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9908/
> -----------------------------------------------------------
> 
> Review request for cloudstack.
> 
> 
> Description
> -------
> 
> add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the
> operation on VPC virtual router.
> "create" to add iptables rules for network usage statistics.
> "get" to get the network usage statistics from iptables.
> 
> 
> This addresses bug CLOUDSTACK-1666.
> 
> 
> Diffs
> -----
> 
> 
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtCo
> mputingResource.java b8cce1e
> 
> Diff: https://reviews.apache.org/r/9908/diff/
> 
> 
> Testing
> -------
> 
> Testing manually ok.
> 
> 
> Thanks,
> 
> Wei Zhou


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by ASF Subversion and Git Services <as...@urd.zones.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/#review18074
-----------------------------------------------------------


Commit 5c8f3a4c5f364b1a0310f8d387ea469bf405a74d in branch refs/heads/4.0 from Kishan Kavala <ki...@cloud.com>
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=5c8f3a4 ]

CLOUDSTACK-1666: add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
"create" to add iptables rules for network usage statistics.
"get" to get the network usage statistics from iptables.


- ASF Subversion and Git Services


On March 15, 2013, 10:10 a.m., Wei Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9908/
> -----------------------------------------------------------
> 
> (Updated March 15, 2013, 10:10 a.m.)
> 
> 
> Review request for cloudstack, Kishan Kavala and edison su.
> 
> 
> Description
> -------
> 
> add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
> "create" to add iptables rules for network usage statistics.
> "get" to get the network usage statistics from iptables.
> 
> 
> This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 
> 
> 
> This addresses bug CLOUDSTACK-1666.
> 
> 
> Diffs
> -----
> 
>   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b8cce1e 
> 
> Diff: https://reviews.apache.org/r/9908/diff/
> 
> 
> Testing
> -------
> 
> Testing manually ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by ASF Subversion and Git Services <as...@urd.zones.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/#review18280
-----------------------------------------------------------


Commit f4f78311b3b5ef5c404a4d06b6832cb3b1c2c4c4 in branch refs/heads/4.1 from Chip Childers <ch...@gmail.com>
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f4f7831 ]

CLOUDSTACK-1666: Fix NetworkUsage for VPC on KVM

The collection of network usage from VPC virtual router on KVM does not work,
because there is no corresponding procedure to deal with VPC virtual router
(cmd.isForVpc() = true).

Reviewed-by: Kishan Kavala <ki...@apache.org>
Reported-by: Wei Zhou <w....@leaseweb.com>

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


- ASF Subversion and Git Services


On March 19, 2013, 2:26 p.m., Wei Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9908/
> -----------------------------------------------------------
> 
> (Updated March 19, 2013, 2:26 p.m.)
> 
> 
> Review request for cloudstack, Kishan Kavala and edison su.
> 
> 
> Description
> -------
> 
> add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
> "create" to add iptables rules for network usage statistics.
> "get" to get the network usage statistics from iptables.
> 
> 
> This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 
> 
> 
> This addresses bug CLOUDSTACK-1666.
> 
> 
> Diffs
> -----
> 
>   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java 8ee3ea4 
> 
> Diff: https://reviews.apache.org/r/9908/diff/
> 
> 
> Testing
> -------
> 
> Testing manually ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Chip Childers <ch...@sungard.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/#review18276
-----------------------------------------------------------

Ship it!


applied to all branches now.  Thanks for the patch!

- Chip Childers


On March 19, 2013, 2:26 p.m., Wei Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9908/
> -----------------------------------------------------------
> 
> (Updated March 19, 2013, 2:26 p.m.)
> 
> 
> Review request for cloudstack, Kishan Kavala and edison su.
> 
> 
> Description
> -------
> 
> add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
> "create" to add iptables rules for network usage statistics.
> "get" to get the network usage statistics from iptables.
> 
> 
> This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 
> 
> 
> This addresses bug CLOUDSTACK-1666.
> 
> 
> Diffs
> -----
> 
>   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java 8ee3ea4 
> 
> Diff: https://reviews.apache.org/r/9908/diff/
> 
> 
> Testing
> -------
> 
> Testing manually ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by ASF Subversion and Git Services <as...@urd.zones.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/#review18244
-----------------------------------------------------------


Commit 0d604c636daed253f8d3034d8093e56f1ab85aff in branch refs/heads/master from Prasanna Santhanam <ts...@apache.org>
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0d604c6 ]

CLOUDSTACK-1666: Fix NetworkUsage for VPC on KVM

The collection of network usage from VPC virtual router on KVM does not work,
because there is no corresponding procedure to deal with VPC virtual router
(cmd.isForVpc() = true).

Reviewed-by: Kishan Kavala <ki...@apache.org>
Reported-by: Wei Zhou <w....@leaseweb.com>

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


- ASF Subversion and Git Services


On March 19, 2013, 2:26 p.m., Wei Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9908/
> -----------------------------------------------------------
> 
> (Updated March 19, 2013, 2:26 p.m.)
> 
> 
> Review request for cloudstack, Kishan Kavala and edison su.
> 
> 
> Description
> -------
> 
> add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
> "create" to add iptables rules for network usage statistics.
> "get" to get the network usage statistics from iptables.
> 
> 
> This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 
> 
> 
> This addresses bug CLOUDSTACK-1666.
> 
> 
> Diffs
> -----
> 
>   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java 8ee3ea4 
> 
> Diff: https://reviews.apache.org/r/9908/diff/
> 
> 
> Testing
> -------
> 
> Testing manually ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Wei Zhou <w....@leaseweb.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/
-----------------------------------------------------------

(Updated March 19, 2013, 2:26 p.m.)


Review request for cloudstack, Kishan Kavala and edison su.


Changes
-------

update patch for master


Description
-------

add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
"create" to add iptables rules for network usage statistics.
"get" to get the network usage statistics from iptables.


This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 


This addresses bug CLOUDSTACK-1666.


Diffs (updated)
-----

  plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java 8ee3ea4 

Diff: https://reviews.apache.org/r/9908/diff/


Testing
-------

Testing manually ok.


Thanks,

Wei Zhou


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Kishan Kavala <Ki...@citrix.com>.

> On March 19, 2013, 1:16 p.m., Kishan Kavala wrote:
> > Ship It!

Pushed to 4.0 branch
commit 5c8f3a4c5f364b1a0310f8d387ea469bf405a74d


- Kishan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/#review18075
-----------------------------------------------------------


On March 15, 2013, 10:10 a.m., Wei Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9908/
> -----------------------------------------------------------
> 
> (Updated March 15, 2013, 10:10 a.m.)
> 
> 
> Review request for cloudstack, Kishan Kavala and edison su.
> 
> 
> Description
> -------
> 
> add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
> "create" to add iptables rules for network usage statistics.
> "get" to get the network usage statistics from iptables.
> 
> 
> This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 
> 
> 
> This addresses bug CLOUDSTACK-1666.
> 
> 
> Diffs
> -----
> 
>   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b8cce1e 
> 
> Diff: https://reviews.apache.org/r/9908/diff/
> 
> 
> Testing
> -------
> 
> Testing manually ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Kishan Kavala <Ki...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/#review18075
-----------------------------------------------------------

Ship it!


Ship It!

- Kishan Kavala


On March 15, 2013, 10:10 a.m., Wei Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9908/
> -----------------------------------------------------------
> 
> (Updated March 15, 2013, 10:10 a.m.)
> 
> 
> Review request for cloudstack, Kishan Kavala and edison su.
> 
> 
> Description
> -------
> 
> add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
> "create" to add iptables rules for network usage statistics.
> "get" to get the network usage statistics from iptables.
> 
> 
> This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 
> 
> 
> This addresses bug CLOUDSTACK-1666.
> 
> 
> Diffs
> -----
> 
>   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b8cce1e 
> 
> Diff: https://reviews.apache.org/r/9908/diff/
> 
> 
> Testing
> -------
> 
> Testing manually ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Wei Zhou <w....@leaseweb.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/
-----------------------------------------------------------

(Updated March 15, 2013, 10:10 a.m.)


Review request for cloudstack, Kishan Kavala and edison su.


Changes
-------

This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 


Description (updated)
-------

add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
"create" to add iptables rules for network usage statistics.
"get" to get the network usage statistics from iptables.


This issue affects 4.0.1/4.1/master. However, this patch only applies on  4.0.1. 


This addresses bug CLOUDSTACK-1666.


Diffs
-----

  plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b8cce1e 

Diff: https://reviews.apache.org/r/9908/diff/


Testing
-------

Testing manually ok.


Thanks,

Wei Zhou


Re: Review Request: (CLOUDSTACK-1666) Fix NetworkUsage for VPC on KVM

Posted by Wei Zhou <w....@leaseweb.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9908/
-----------------------------------------------------------

(Updated March 14, 2013, 8:40 p.m.)


Review request for cloudstack, Kishan Kavala and edison su.


Description
-------

add procedure VPCNetworkUsage and getVPCNetworkStats to deal with the operation on VPC virtual router.
"create" to add iptables rules for network usage statistics.
"get" to get the network usage statistics from iptables.


This addresses bug CLOUDSTACK-1666.


Diffs
-----

  plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b8cce1e 

Diff: https://reviews.apache.org/r/9908/diff/


Testing
-------

Testing manually ok.


Thanks,

Wei Zhou