Re: VPC for KVM (was VM router spawning multiple public nics)

2012-09-04 Thread Marcus Sorensen
: VPC for KVM (was VM router spawning multiple public nics) Ok, I've gotten to most of the list and things seem to be working. Nics plug, Gateway IPs add, networks create, SNATs working, ACLs working. The ones I haven't gotten to are: *Site2SiteVpnCfgCommand and two which weren't

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Marcus Sorensen
] Sent: Thursday, August 30, 2012 10:47 AM To: Edison Su Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; Vijayendra Bhamidipati Subject: Re: VPC for KVM (was VM router spawning multiple public nics) Ok, I think I get it. For example when I'm looking at IpAssocCommand it calls

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Edison Su
(was VM router spawning multiple public nics) I'm running into several little problems, like the vpc_guestnw.sh having an invalid logger_it function (changed to logger -t cloud), and apache being setup to listen on a non-existent 10.1.1.1:80 and 443 (deleted default-000 and default-ssl). Should I

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Marcus Sorensen
(was VM router spawning multiple public nics) I've made some good progress today, I'll probably have it all working tomorrow, but I have a question. Looking at the API command associateIpAddress and the functional spec, if I pass a vpcId it then calls associateIPToVpc. Unlike its brother

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-31 Thread Edison Su
-Original Message- From: Marcus Sorensen [mailto:shadow...@gmail.com] Sent: Friday, August 31, 2012 1:58 PM To: Edison Su Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; Vijayendra Bhamidipati Subject: Re: VPC for KVM (was VM router spawning multiple public nics

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Edison Su
, August 29, 2012 10:16 AM To: cloudstack-dev@incubator.apache.org Subject: Re: VM router spawning multiple public nics I'd be willing to give it a shot if someone could point me in the right direction and be available to answer questions. On Wed, Aug 29, 2012 at 10:39 AM, Edison Su

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
[mailto:shadow...@gmail.com] Sent: Thursday, August 30, 2012 8:45 AM To: Edison Su Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; Vijayendra Bhamidipati Subject: VPC for KVM (was VM router spawning multiple public nics) I notice there's also an 'IpAssocVpcCommand', I'm

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
for KVM (was VM router spawning multiple public nics) I notice there's also an 'IpAssocVpcCommand', I'm assuming that should be added to the list? On Wed, Aug 29, 2012 at 6:37 PM, Edison Su edison...@citrix.com wrote: You can find the VPC reference implementation from CitrixResourceBase.java

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
Bhamidipati Subject: Re: VPC for KVM (was VM router spawning multiple public nics) Just want to clarify: We can add implementation of SetupGuestNetworkCommand/SetNetworkACLCommand/SetSourceNatCommand/Site2 SiteVpnCfgCommand in VirtualRoutingResource. So the Xen implementation

RE: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Edison Su
...@gmail.com] Sent: Thursday, August 30, 2012 10:47 AM To: Edison Su Cc: cloudstack-dev@incubator.apache.org; Anthony Xu; Kelven Yang; Vijayendra Bhamidipati Subject: Re: VPC for KVM (was VM router spawning multiple public nics) Ok, I think I get it. For example when I'm looking

Re: VPC for KVM (was VM router spawning multiple public nics)

2012-08-30 Thread Marcus Sorensen
(was VM router spawning multiple public nics) Ok, I think I get it. For example when I'm looking at IpAssocCommand it calls _virtRouterResource.assignPublicIpAddress to actually run the sh. So with SetupGuestNetworkCommand, I'll create that in LibvirtComputingResource, and within that I'll make

Re: VM router spawning multiple public nics

2012-08-29 Thread Marcus Sorensen
] Sent: Tuesday, August 28, 2012 2:00 PM To: cloudstack-dev@incubator.apache.org Subject: Re: VM router spawning multiple public nics I thought about this solution myself, but below this portion of code it looks like it uses the hash map to determine which nic number to add the IP to, so

RE: VM router spawning multiple public nics

2012-08-29 Thread Edison Su
: Re: VM router spawning multiple public nics I can confirm that the patch has fixed my particular issue. This is likely unrelated and I think it doesn't even use the same code, but I began to play with the VPC stuff a bit and noticed that I don't get any interfaces except for link local. I'd

Re: VM router spawning multiple public nics

2012-08-29 Thread Marcus Sorensen
related commands... -Original Message- From: Marcus Sorensen [mailto:shadow...@gmail.com] Sent: Wednesday, August 29, 2012 6:49 AM To: cloudstack-dev@incubator.apache.org Subject: Re: VM router spawning multiple public nics I can confirm that the patch has fixed my particular issue

RE: VM router spawning multiple public nics

2012-08-29 Thread Edison Su
@incubator.apache.org Subject: Re: VM router spawning multiple public nics I'd be willing to give it a shot if someone could point me in the right direction and be available to answer questions. On Wed, Aug 29, 2012 at 10:39 AM, Edison Su edison...@citrix.com wrote: Yah, KVM doesn't support VPC

Re: VM router spawning multiple public nics

2012-08-29 Thread Marcus Sorensen
on business logic + Vpc VR management, I can help with that. -Alena. -Original Message- From: Marcus Sorensen [mailto:shadow...@gmail.com] Sent: Wednesday, August 29, 2012 10:16 AM To: cloudstack-dev@incubator.apache.org Subject: Re: VM router spawning multiple public nics I'd

RE: VM router spawning multiple public nics

2012-08-29 Thread Edison Su
; Anthony Xu; Kelven Yang; Vijayendra Bhamidipati Subject: Re: VM router spawning multiple public nics Great, thanks. I've already got a working implementation of adding/removing nics from regular instances that I've been playing with, so I'm getting vaguely familiar with the various data types

Re: VM router spawning multiple public nics

2012-08-28 Thread Marcus Sorensen
what happened. -Original Message- From: Marcus Sorensen [mailto:shadow...@gmail.com] Sent: Monday, August 27, 2012 5:10 PM To: cloudstack-dev@incubator.apache.org Subject: VM router spawning multiple public nics I've got two zones running the same build of cloudstack (a recent copy

Re: VM router spawning multiple public nics

2012-08-28 Thread Marcus Sorensen
To: cloudstack-dev@incubator.apache.org Subject: Re: VM router spawning multiple public nics Thanks for pointing me in the right direction. I've reviewed this code in a bit more detail, and it seems like it's accomplishing the following: 1. get all network interfaces currently connected to the running

RE: VM router spawning multiple public nics

2012-08-28 Thread Edison Su
-Original Message- From: Marcus Sorensen [mailto:shadow...@gmail.com] Sent: Tuesday, August 28, 2012 1:40 PM To: cloudstack-dev@incubator.apache.org Subject: Re: VM router spawning multiple public nics Yes, that looks like it would work for me, however that's not something

Re: VM router spawning multiple public nics

2012-08-28 Thread Marcus Sorensen
@incubator.apache.org Subject: Re: VM router spawning multiple public nics Yes, that looks like it would work for me, however that's not something that would ever make it into master, right? Essentially killing tagging for the public, private, and guest traffic labels? There's also still

RE: VM router spawning multiple public nics

2012-08-28 Thread Edison Su
-Original Message- From: Marcus Sorensen [mailto:shadow...@gmail.com] Sent: Tuesday, August 28, 2012 2:00 PM To: cloudstack-dev@incubator.apache.org Subject: Re: VM router spawning multiple public nics I thought about this solution myself, but below this portion of code

VM router spawning multiple public nics

2012-08-27 Thread Marcus Sorensen
I've got two zones running the same build of cloudstack (a recent copy of master). One of them creates routers that turn into ugly multi-headed beasts, and by that I mean that any time I create a port forwarding or iptables rule for that router I get a new public NIC with an identical IP address,

RE: VM router spawning multiple public nics

2012-08-27 Thread Edison Su
27, 2012 5:10 PM To: cloudstack-dev@incubator.apache.org Subject: VM router spawning multiple public nics I've got two zones running the same build of cloudstack (a recent copy of master). One of them creates routers that turn into ugly multi-headed beasts, and by that I mean that any time I

Re: VM router spawning multiple public nics

2012-08-27 Thread Marcus Sorensen
- From: Marcus Sorensen [mailto:shadow...@gmail.com] Sent: Monday, August 27, 2012 5:10 PM To: cloudstack-dev@incubator.apache.org Subject: VM router spawning multiple public nics I've got two zones running the same build of cloudstack (a recent copy of master). One of them creates routers