Commit Graph

70 Commits

Author SHA1 Message Date
Alena Prokharchyk 9c01ca2785 VPC: ipAssoc consists of 3 parts: plug nic (if needed), associateIp, enableSourceNat(if ip is source nat ip) 2012-06-12 10:58:20 -07:00
anthony 8712199cfd VPC : bug fix 2012-06-11 17:15:16 -07:00
Alena Prokharchyk 914b5fa981 Fixed ip assoc 2012-06-11 17:01:09 -07:00
Alena Prokharchyk 287ebd350d More logging to plug nic code 2012-06-11 15:58:26 -07:00
Alena Prokharchyk 07be6918d8 VPC: fixed guest network shutdown 2012-06-11 15:01:51 -07:00
Alena Prokharchyk d1598e366e Release acquired lock for VPC 2012-06-11 14:31:39 -07:00
Alena Prokharchyk 3b943d84dd Fixed addDhcpEntry/userdata/password in VPC setup 2012-06-11 13:37:38 -07:00
Alena Prokharchyk ebbbb3b343 Fixed create-schema.sql 2012-06-11 09:41:40 -07:00
Alena Prokharchyk cf1882a2c8 1) Added VpcVirtualNetworkApplianceService interface
2) Pass dns1/dns2 to setupGuestNetworkCommand
3) Network implement - don't get source nat ip address for Vpc if it already has one
2012-06-10 12:31:47 -07:00
anthony 52d93071c8 VPC : bug fix 2012-06-07 19:10:20 -07:00
anthony a159255e36 VPC : many debug fix 2012-06-07 17:53:12 -07:00
anthony 657a40ad30 VPC : get correct guest gateway 2012-06-06 18:22:09 -07:00
anthony 2619492b6e VPC : use routerProxy to call l2tpVpn 2012-06-06 17:19:52 -07:00
Alena Prokharchyk 7bdcb244a2 StartRouter: set only control nic during the initial router start; plug exising public and guest nics after the router is started with control nic 2012-06-06 16:56:38 -07:00
anthony 1b81342354 VPC : use routerProxy to call networkUsage.sh 2012-06-06 16:36:47 -07:00
anthony a015a9203e VCP : use routerProxy to call checkrouter script 2012-06-06 16:08:14 -07:00
anthony 1fa6ba5ecc VPC : move acl.sh ipassoc.sh to /opt/cloud/bin/ 2012-06-06 14:22:06 -07:00
anthony 98127b0b92 VPC: typo fix 2012-06-06 12:13:43 -07:00
anthony 6310b051d8 VPC : implement SetupGuestNetworkCommand 2012-06-05 18:49:00 -07:00
anthony 076a876f80 VPC : introduce router_proxy.sh, resource should use this as a proxy to call scripts inside domr
already did this for ipassoc and getDomRVersion
2012-06-05 17:26:19 -07:00
Alena Prokharchyk d9758045d9 Added NicTO to setupGuestNetworkCommand constructor - we need this info for guest network configuraiton 2012-06-05 16:10:20 -07:00
anthony 5700510c26 VPC, implement plug/unplug nic 2012-06-05 15:38:25 -07:00
Alena Prokharchyk 3ae5b0b5c8 Modified virtual router startup procedure - initial start happens with control nic only; then we plug Public and then Guest nic to it 2012-06-05 11:33:31 -07:00
Alena Prokharchyk 460bab4a7d Support for adding private network 2012-06-05 10:57:29 -07:00
anthony e682f10fc8 typo fix 2012-06-04 18:00:14 -07:00
anthony 0d89f34a48 1. move control network to eth0 on domr
2. if it is basic mode, use guest NIC as Control NIC
2012-06-04 16:35:27 -07:00
Alena Prokharchyk ddae550a55 AssociateIpAddress to VPC - the ip gets associated to the network only when the first rule for the ip gets created.
When the last rule is removed for vpc ip, networkId is set to null
2012-05-30 19:46:40 -07:00
Alena Prokharchyk 6a097ad3b6 Support for IPAssoc inside VPC 2012-05-29 11:27:26 -07:00
Alena Prokharchyk a7c8354c7b Destroy VPC if it fails to start during the deployment 2012-05-29 10:36:46 -07:00
Alena Prokharchyk d3b1925e55 1) Added VPC restart support - new api command RestartVPC. The purpose of the call is to shutdown and start VPC including VPCVirtualRouter restart, rules re-implement, etc
2) Only networks created from offerings with conserveMode=false, can participate in VPC
2012-05-25 15:34:51 -07:00
Alena Prokharchyk fbdf10bac7 1) Added search by vpcId to listRouters/listNetworks Apis
2) Don't allow to add new networks/implement existing ones for VPC in Disabled state. Disabled state indicates that there was unsuccessful attempt to remove the VPC, and the further cleanup will be taken care of by cleanup thread.
2012-05-25 14:16:23 -07:00
Alena Prokharchyk d7f0689bcb Support for delete VPC 2012-05-24 16:12:45 -07:00
Alena Prokharchyk aa0c0cb260 Added support for network shutdown in VPC guest networks 2012-05-24 15:33:52 -07:00
Alena Prokharchyk 2014cb0feb Plug nic support 2012-05-23 16:18:41 -07:00
Alena Prokharchyk 9fb9149c99 1) Added new element - VpcVirtualRouterElement. Extends VirtualRouter + has plug/unplug nics support
2) Added services api support for plugging/unplugging the nics to VpcElement
2012-05-22 16:53:27 -07:00
Alena Prokharchyk 675bad3eed Add type and rpcfilter to the virtual router bootload arguments even when there is no guest network is being configured. 2012-05-21 18:07:12 -07:00
Alena Prokharchyk 1fab93a8fb Start Virtual Router as a part of VPC start 2012-05-21 17:37:47 -07:00
Alena Prokharchyk e4458cf5b7 1) Added start logic to the VPC
2) VirtualRouterManagerImpl - refactored deployVirtualRouter method
3) Added vpcId to domain_router/user_ip_address tables and corresponding vo objects
2012-05-21 14:29:34 -07:00
Alena Prokharchyk 0e1b5901dc Set networkId as a join parameter in DomainRouterDaoImpl as networkId was moved to the helper table 2012-05-18 18:26:44 -07:00
Alena Prokharchyk 492e41c462 Removed network_id reference from domain_router table as now VirtualRouter can be associated with multiple networks (VPC case). Code modifications were done accordingly to the places where this field was used.
Router->Networks (one to many) are held in router_network_ref table now
2012-05-18 17:25:04 -07:00
Alena Prokharchyk 978c2f414a Initial checkin for VPC feature:
1) Added API frameworks for the feature. New commands:
* CreateVPCCmd
* ListVPCsCmd
* DeleteVPCCmd
* UpdateVPCCmd
* CreateVPCOfferingCmd
* UpdateVPCOfferingCmd
* DeleteVPCOfferingCmd
* ListVPCOfferingsCmd

2) New db tables:

* `cloud`.`vpc`
* `cloud`.`vpc_offerings`
* `cloud`.`vpc_offering_service_map`

and corresponding VO/Dao objects.

Added vpc_id field to `cloud.`networks` table - not null when network belongs to VPC

3) New Manager and Service interfaces- VpcManager/VpcService

4) Automatically create new VpcOffering (if doesn't exist) on system start

5) New Action events:

* VPC.CREATE
* VPC.UPDATE
* VPC.DELETE

* VPC.OFFERING.CREATE
* VPC.OFFERING.UPDATE
* VPC.OFFERING.DELETE
2012-05-17 18:08:03 -07:00
Alena Prokharchyk 05609b9074 CS-14904
Fixed the bug where vm_instance.ha_enabled wasn't updated during service offering upgrade
2012-05-15 12:35:48 -07:00
Alena Prokharchyk 04b0aea11b CS-14685: Added customdiskofferingmaxsize to the listCapabilities response 2012-05-11 13:45:19 -07:00
JohnZ e1c1e8fae1 awsapi-setup-db executable 2012-05-03 16:52:02 +01:00
Salvatore Orlando 4643e403ff Finishing merge with 3.0.x 2012-05-01 15:08:51 +01:00
frank 51d3eda79e fix spec file 2012-04-30 17:08:13 -07:00
frank 35e62d693c add missing cloud-wsdl4j-1.6.2.jar 2012-04-30 17:08:12 -07:00
frank df82c8abf3 make cloudbridge buildable 2012-04-30 17:07:29 -07:00
frank 876c577e9a fix build
vnc directory is excluded by waf's glob. unfortunately, new console proxy has a folder named vnc

reviewed-by: edison
2012-03-28 18:52:19 -07:00
frank 630bb2e278 make build number attach to release number 0 in rpm package name.
1. if --prerelease specified, the release number equals to
        0.buildnumber
2. if --prerelease omitted, the release number equals to
        1 or --release-version if --release-version specified
2011-11-28 14:46:35 -08:00