617 Commits

Author SHA1 Message Date
Alena Prokharchyk
6325d21c50 Get new elasticIp when releaseIpAddress is called for elasticIP of the vm 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6deeb7ddc9 Firewall service is enabled in default elb/eip network offering
Also added more handling for error cases scenarios
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
0e8104cca1 Disassociate ip address - always allocate a new IP and enable static nat for it when elactic IP is enabled 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
0f6f231ee6 Elastic IP - when deployVm, get ip address and enable static nat on it. On vm destroy release the Ip 2012-01-19 13:58:34 -08:00
Alena Prokharchyk
a8758d292e ElasticLB support in Basic zone.
When elb capability is enabled on the network offering, we:

1) on each createLB command:
* associate ip address to the LB rule owner
* create LB rule

2) on each deleteLb command:
* delete the rule
* disassociate ip address

The rule belongs to the owner, so proper usage events are generated
2012-01-19 13:57:37 -08:00
Alena Prokharchyk
5adfc9953f Can enable/disable static nat and create IpForwarding/Firewall rules in Basic zone now.
Made Netscaler a StaticNat/Firewall provider. Murali will take care of actual implementation on the backend.
2012-01-19 13:56:59 -08:00
Alena Prokharchyk
ff1e8413f1 1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
frank
11b98e4389 validate conditions before adding/deleting storage network traffic type 2012-01-19 13:44:42 -08:00
prachi
aa3e8a05be Bug 12993 - NullPointer Exception thrown when listRouters() is called.
Changes:
- Adding null checks.
2012-01-18 17:21:30 -08:00
Alena Prokharchyk
c3e0f060ab bug 12986: return domain level networks when listAll is passed along with account/domainId
status 12986: resolved fixed
2012-01-18 14:45:19 -08:00
Sheng Yang
ab667cbc16 bug 13041: Fix potential NPE
I haven't figure out why the code can NPE, and in my test the clean up of basic
zone is prevent from API as expected. Anyway, I add this check before cleanup to
ensure even API check failed, no NPE would be throwed.

status 13041: resolved fixed.
2012-01-17 21:34:26 -08:00
Alena Prokharchyk
56b3561033 bug 12856: network offerings with services w/o providers support
status 12856: resolved fixed
2012-01-17 16:17:09 -08:00
prachi
cf7469241f Bug 12822 - CreatePhysicalNetwork API shouldn't return success when zone is Enabled
Changes:
- Physical Network can be created pnly when the Zone is in disabled state
2012-01-17 14:56:22 -08:00
Alena Prokharchyk
83400cd15f bug 12776: if there are multiple objects involved in resource creation, verify that they belong to the same account
status 12776: resolved fixed
2012-01-17 13:40:37 -08:00
Alena Prokharchyk
c87c3bc665 bug 12065: verify that provider supports service capability
status 12065: resolved fixed
2012-01-17 12:39:07 -08:00
Sheng Yang
200f8e4d14 bug 13100: Handle the multiply source nat for different network
The original method of testing source nat didn't consider the situation that
multiply source nat ip can be passed into the function because they belonged to
the different networks.

status 13100: resolved fixed
2012-01-17 01:02:51 -08:00
prachi
3a72de6d76 Bug 13085 - Traffic types of a deleted physical network should not be present in the "physical_network_traffic_types" table
Changes:
- Added deleteTrafficTypes while deleting a physical network.
2012-01-16 12:19:08 -08:00
Alena Prokharchyk
c0f87a25fd Control traffic type is not tight to the physical network 2012-01-12 15:54:30 -08:00
Sheng Yang
c4677d5f80 Fix NPE in checkVirtualNetworkCidrOverlap() 2012-01-11 14:27:00 -08:00
Sheng Yang
129a75974f Replace some CloudRuntimeException with InvalidParameterException
Most during ip check.
2012-01-10 19:02:31 -08:00
Sheng Yang
73dbaf4c9f bug 12997: Prevent creating LB and firewall rule on different provider
status 12997: resolved fixed
2012-01-10 19:02:31 -08:00
Alena Prokharchyk
3c49258d0e Add Control traffic type automatically as a part of createPhysicalNetwork call 2012-01-10 15:43:15 -08:00
Alena Prokharchyk
b1c60b9d60 bug 12964: createPhysicalNetwork/addTrafficType is no longer a part of createZone API 2012-01-10 13:55:09 -08:00
Sheng Yang
3a6f94f108 bug 12987: Fix NPE for check cidr
status 12987: resolved fixed
2012-01-10 13:00:15 -08:00
Sheng Yang
5886109fb9 bug 12556: Check guest network cidr when add pod 2012-01-09 16:42:57 -08:00
Sheng Yang
861fdbee17 bug 12556: Add more CIDR checking when create network with specify CIDR
Pod and vlan creation have already got them.

status 12556: fixed resolved
2012-01-09 16:27:00 -08:00
Alena Prokharchyk
adaea570e4 bug 12934: added name to physical network
status 12934: resolved fixed
2012-01-09 14:20:37 -08:00
frank
391f3e8b30 Bug 12777 - Add storage network configuration into CloudStack
fix typo: changing ListTafficTypeImplementorsCmd to ListTrafficTypeImplementorsCmd
2012-01-09 10:53:08 -08:00
Alena Prokharchyk
c581506103 bug 12306: list* command revamp 2012-01-09 10:07:42 -08:00
frank
ea422af8a9 Bug 12777 - Add storage network configuration into CloudStack
Let StorageGuru inherit PodBaseNetworkGuru
2012-01-06 11:07:14 -08:00
frank
ec7c22f5c7 Bug 12777 - Add storage network configuration into CloudStack
new API: ListTafficTypeImplementors
2012-01-06 11:07:14 -08:00
Sheng Yang
aa8bf6c135 Make networkoffering.conserve_mode not a required parameter for API
Also fix some NPEs
2012-01-06 11:02:13 -08:00
Sheng Yang
89ca2fe48e bug 12656: Add restriction for network update and new rules
status 12656: resolved fixed
2012-01-05 21:08:41 -08:00
Sheng Yang
ba23973d53 bug 12656: Refactor IP associate process
Introduce the concept of Ip Deployer. The IP deployer would be responible for
apply IP to the element. Most element's IP deployer is itself, but it can be
someone else if we want to implement inline mode in the future.
2012-01-05 21:08:28 -08:00
Sheng Yang
5e60228d2b bug 12656: Add conserve mode for network offering
Conserve mode means, we can use same IP for different purposes, in order to
"conserve" ip resources. But in this offering, all the service providers should
be the same, and the network created from this offering may be prohibited from
update to different network offering whose services are provided by different
service providers - because different service providers would need different IPs
for different services.

If user want to update the "conserve mode" network with the network offering
that has different service providers, each public IP should have only one usage,
only them the update is allowed.
2012-01-05 21:08:23 -08:00
Alena Prokharchyk
0538872003 bug 12700: ipAssoc - owner of the ip is the owner of the guest network
status 12700: resolved fixed
2012-01-04 15:00:04 -08:00
Alena Prokharchyk
e682c9bae1 bug 12691: allow to have more than one network created from the same network offering
status 12691: resolved fixed
2012-01-04 14:16:01 -08:00
Alena Prokharchyk
d4e0fbda83 bug 12686: added search by zoneId to the listNetworkOfferings 2012-01-04 12:31:59 -08:00
kishan
294ad89c38 Bug 12746: During network offering update log usage events to reflect the change in network ofeering usage
Status 12746: resolved fixed
Reviewed-By: Nitin
2012-01-02 18:16:39 +05:30
Sheng Yang
79d2450e6c bug 12719: Use getProviderForServiceInNetwork() instead of listProvidersForServiceForNetworkOffering() in applyIpAssociations()
Also add check for firewall service provider and lb service provider.
2011-12-23 12:18:15 -08:00
Murali reddy
df21338b08 bug 12719:When restartNetwork() is called ,IpAssocCommand() is called for the public ipaddresses that are owned by Netscaler 2011-12-23 23:11:45 +05:30
Murali reddy
f259fec471 bug 12742:Static NAT IP address is being programmed as Source NAT Ip address on the Virtual Router
reviewed-by:Abhinandan.Prateek@citrix.com janardhan.reddynaredula@citrix.com
2011-12-23 18:05:58 +05:30
Alena Prokharchyk
e43dcfde56 bug 12695: fixed verifyNetwork capabilities
status 12695: resolved fixed
2011-12-20 19:11:25 -08:00
Alena Prokharchyk
7a7a62d7c8 updateNetwork: don't implement network rules and elements for the networks in Allocated state 2011-12-20 16:03:10 -08:00
Murali reddy
ca2ad90207 bug 12664: not able to enable static nat
status 12664: resolved fixed

added IP assoc to static nat service provider before apply static nat rules
2011-12-20 21:24:01 +05:30
Sheng Yang
a269b089ae bug 12608: NaaS: Don't shutdown elements if cleanup=false
We can use the restartNetwork mechanism to recover the disconnected redundant
router.

Also disable HA for redundant router. Admin would take responsibilty to recover
the failure router, because redundant routers themselves are one layer HA.

status 12608: resolved fixed
2011-12-19 13:29:48 -08:00
Murali reddy
4f058feef2 bug 12276: public IP's should be associated with a network service provider depending on the network rules for which IP is used for 2011-12-19 23:48:52 +05:30
Alena Prokharchyk
3c3bd4371a createNetwork: gateway/netmaks don't require startIp/endIP anymore. The IP ranges can be added later 2011-12-16 14:43:00 -08:00
Prasanna Santhanam
dac505194c Changes to PhysicalNetworkTrafficType to accomodate the simulator hypervisor type 2011-12-15 19:12:21 +05:30
Sheng Yang
ab50f65ed8 bug 12483: Discard zone's cidr
status 12483: resolved fixed
2011-12-14 17:23:24 -08:00