I was looking through the code that handles creating VPCs and noticed that
it did not seem pluggable at the moment. For example, there are a few
places where the assumption is made that the only possible Vpc element
provider is VPCVirtualRouter:

    protected VpcProvider getVpcElement() {


        if (vpcElement == null) {


            vpcElement =
((VpcProvider)_ntwkMgr.getElementImplementingProvider(Provider.VPCVirtualRouter.getName()));


        }





        if (vpcElement == null) {


            throw new CloudRuntimeException("Failed to initialize vpc
element");

        }





        return vpcElement;


    }

Are there any plans to make the Vpc functionality in cloudstack pluggable?
Has anyone scoped out what the required changes would be?

thanks,
Joe

Reply via email to