I'm looking to add a new VpcProvider, but it seems the code is
essentially hard coded to using the Provider.VPCVirtualRouter in
getVpcElements().  I could just add a setVpcElements() and inject my
own implementation, but I think it will run into some problems
(haven't tried, just reading the code)

Both shutdownVpc and startVpc both do the intersection of providers
supported by the VPC and getVpcElements(), so in theory only the
elements/providers applied to the VPC should get executed if you were
to have multiple VpcProviders.

applyStaticRoutes(), applyVpcPrivateGateway(), and
deleteVpcPrivateGateway() don't do the similar check and instead just
call of all getVpcElements().  Am I missing something here, shouldn't
those methods all check vpc_service_map?

Darren

Reply via email to