Commit Graph

12006 Commits

Author SHA1 Message Date
anthony d3720c988b VPC : add vpc_vpn_l2tp.sh 2012-06-12 17:09:50 -07:00
anthony 4075963767 VPC : revert some change 2012-06-12 15:33:01 -07:00
Alena Prokharchyk 97ca76856a VPC: more changes to ipAssoc 2012-06-12 13:35:15 -07:00
anthony 91363d555e VPC : fix nic hot plug script 2012-06-12 12:26:31 -07:00
anthony 7e463932f0 VPC : add nic hot plug script 2012-06-12 11:56:12 -07:00
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 372582ca6b VPC : vpc_ipassosc.sh 2012-06-11 19:07:36 -07:00
anthony 389833dfe7 VPC : add new dnsmasq.conf for VPC domr 2012-06-11 18:08:37 -07:00
anthony c854cb04e5 VPC : add new type vpcrouter in cloud-early-config 2012-06-11 18:00:06 -07:00
anthony 28335a0ffb VPC : revert iptables-router 2012-06-11 17:44:26 -07:00
anthony 196be6f5fa VPC : revert change in cloud-early-config 2012-06-11 17:41:26 -07:00
anthony 99385d7c38 VPC : add new ipassoc.sh for vpc 2012-06-11 17:37:37 -07:00
anthony 00278191bb VPC : revert changes in ipassoc.sh 2012-06-11 17:35:37 -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
Vijayendra Bhamidipati eb2d05c6c6 CS-15241: static NAT is not working when provider is set to Juniper SRX
Description:

	Checking in fix for the exception seen due to the absence of
	the AsyncCommandQueued exception in the map of CSExceptionErrorCode
	which is used to look up the error code corresponding to a
	cloudstack exception. Also printing the stack trace in case
	an exception is not found in the map.
2012-06-11 16:36:02 -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 78f1aab584 VPC : pass netmask once for secondary storage VM 2012-06-06 12:20:25 -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 0be4382bf1 add guestnw.sh
add acl.sh
merge setup_dhcpsvr and setup_route
2012-06-04 16:35:27 -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