Commit Graph

1727 Commits

Author SHA1 Message Date
Sheng Yang 143b7bc0d8 CLOUDSTACK-1218: Use the first IP in the first vlan range for VR in shared network 2013-03-14 15:34:45 -07:00
Sheng Yang 7945d306be CLOUDSTACK-1219, CLOUDSTACK-1220: Fix IPv6 error messages 2013-02-14 16:19:17 -08:00
Sheng Yang 08814903f0 IPv6: Enable dual stack support 2013-02-12 16:39:05 -08:00
Sheng Yang 931372e5ca IPv6: CLOUDSTACK-1107: Add support for createVlanIpRange to extend existed network 2013-02-07 20:23:10 -08:00
Sheng Yang f1c1241e64 IPv6: Make requested ip input lower case
Ported from 4.1 branch.
2013-02-06 20:12:56 -08:00
Sheng Yang 422834578f IPv6: One network can have more than one vlans 2013-02-06 19:46:58 -08:00
Sheng Yang ec206d69be IPv6: CLOUDSTACK-1113: Fix the mechanism to find the usable IP in the IPv6
The new policy is:
1. Generate a random IP.
2. Find the next available IP, start from the generated IP.
3. If we cannot find an available IP after certain times(10000 by default,
network.ipv6.search.retry.max) retry, give up.
2013-02-05 14:33:06 -08:00
Sheng Yang 41a815e762 IPv6: Disable untested features
Conflicts:

	api/src/com/cloud/api/commands/DeployVMCmd.java
2013-02-04 15:32:37 -08:00
Sheng Yang 44d0cd6621 IPv6: Add support for IPv6 on DeployVMCmd
Conflicts:

	api/src/com/cloud/api/commands/DeployVMCmd.java
	api/src/com/cloud/network/Network.java
	server/src/com/cloud/network/NetworkManagerImpl.java
2013-02-04 14:58:39 -08:00
Sheng Yang e89d9e6272 IPv6: Add details for domainrouter response 2013-01-31 18:14:51 -08:00
Sheng Yang f55c23318a IPv6: Add nic response to user vm 2013-01-31 17:05:02 -08:00
Sheng Yang f7047eba73 IPv6: Update NetworkResponse and NicResponse
Conflicts:

	api/src/com/cloud/api/response/NetworkResponse.java
	api/src/com/cloud/api/response/NicResponse.java
2013-01-31 15:39:18 -08:00
Sheng Yang 4f76eee258 IPv6: Fix VlanIpRangeResponse
Conflicts:

	api/src/com/cloud/api/response/VlanIpRangeResponse.java
2013-01-31 15:35:39 -08:00
Sheng Yang 730da70d7d IPv6: Fix missed AddressFormat in nic table 2013-01-31 00:45:50 -08:00
Sheng Yang 5e3408ee4a IPv6: Remove dualstack parameter from createNetworkCmd
We can tell if it's dual stack by looking into the startIp and startIpv6.
2013-01-30 23:48:54 -08:00
Sheng Yang 66ee943c77 IPv6: Make the IPv6 input all lowercase
To make them consistent.

Conflicts:

	api/src/com/cloud/api/commands/DeployVMCmd.java
2013-01-30 23:47:02 -08:00
Sheng Yang 4bdc94aaf3 IPv6: Accept IPv6 parameter for createNetworkCmd
Also ass public_ipv6_address for ipv6 address management.

Extend nics and vlans for ipv6 address.

Add dependency to com.googlecode.ipv6(java-ipv6).

Modify dhcpcommand for ipv6.

Conflicts:

	api/src/com/cloud/agent/api/routing/DhcpEntryCommand.java
	pom.xml
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/dc/VlanVO.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/NetworkVO.java
	server/test/com/cloud/network/MockNetworkManagerImpl.java
	server/test/com/cloud/network/MockNetworkModelImpl.java
	server/test/com/cloud/vpc/MockNetworkManagerImpl.java
2013-01-30 23:44:37 -08:00
Kishan Kavala 0d3eaa63d6 CLOUDSTACK-1010: Fix count issue for listHosts command 2013-01-18 16:24:36 +05:30
Chiradeep Vittal 1776659fe7 Network-refactor: move validateRule to LB manager since it now has access to LB elements.
NetworkServiceImpl does not need a cache of system network offerings
Ensure mocks build to new APIs.

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-09 18:36:29 -08:00
Chiradeep Vittal 745fae93f6 Network-refactor: some clean up of the NetworkService interface
- remove unused public apis
- remove unused members
- change visibility of methods to protected if they do not implement a method in the interface

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-09 18:36:23 -08:00
Chiradeep Vittal 88df984ff3 Network-refactor: add a method for plugins to get the source nat ip
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-09 15:49:02 -08:00
Chiradeep Vittal 0c3001530f Network-refactor: move readonly interface NetworkModel into api project so that plugins can stop depending on the server project
Network-refactor: accidentally injected NetworkModel twice (revert one of them)

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-09 15:49:01 -08:00
Chiradeep Vittal f4da21998c WIP : extract NetworkService
WIP : move stuff between network manager and network service.
      at this point there is about 700 lines of duplicated code
WIP: Leave creation of default offerings to NetworkManager init
WIP: clean up imports

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-07 14:25:03 -08:00
Chiradeep Vittal 3529c47248 Rationalize the interface by injecting ipDeployers. This is step 1 and includes 2 service providers - Remote AccessVPN and S2S VPN
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-04 15:08:55 -08:00
Chiradeep Vittal b0a1a47d48 Not all network service providers need to be NetworkElements. NetworkElements are only those that are interested in L2 events. Since only NetworkElements were injected, and only in NetworkManagerImpl, this has led to all kinds of contortions. As a first step, enable individual service providers to be injected.
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-04 12:14:49 -08:00
John Burwell e4583ced2e S3-backed Secondary Storage 2013-01-02 10:28:47 -08:00
Isaac Chiang 5aefd77f77 Fix for CloudStack-648
Signed-off-by: Gavin Lee <gavin.lxh@gmail.com>
2012-12-26 00:00:58 +08:00
Marcus Sorensen 6ed1989133 Summary: Allow for custom storage adaptors based on pool type in KVM
Detail: Instead of using LibvirtStorageAdaptor for everything, you can create
your own storage adaptor and use it. We select storage adaptor based on storage
pool type, thus we needed to adjust LibvirtComputingResource to pass pool type
to everything in KVMStoragePoolManager. This in turn required that we pass the
info necessary to LibvirtComputingResource as well, so a few agent Commands were
modified.

Note this patch in and of itself shouldn't change any existing behavior, just
allow for new storage adaptors to be selected based on storage pool type.

Reviewed-by: Edison Su
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1355769696 -0700
2012-12-17 11:41:36 -07:00
kishan 0be6e2e02b bug CS-14982: Make traffic sentinel metering zones configurable. Global config default will be used when no zones are listed while adding Traffic Sentinel Host
status CS-14982: resolved fixed
reviewed-by: Nitin

Conflicts:
	api/src/com/cloud/api/ApiConstants.java
2012-12-17 15:18:31 +05:30
Edison Su b70c1a5a84 Backs NFS-based secondary storage with an S3-compatible object store. Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS secondary storage mount with a configured S3 object store. It also pushes snapshots to the object store when they are created and downloads them in other zones on-demand. In addition to permitting the use of commodity or IaaS storage solutions for static assets, it provides a means of automatically synchronizing template and ISO assets across multiple zones. 2012-12-13 23:18:37 -08:00
Murali Reddy 432ea9c7d4 CLOUDSTACK-265: provide option to turn-off automatic public IP association for each VM when using EIP service.
- introduces Capability in the network offering, which
    decides when EIP service is enabled, by defualt public IP
    should be assigned to the VM or not

  - default network offering with EIP/ELB service will still work with old EIP
    semantics, i.e) assign a public IP to each VM on start
2012-12-11 23:06:13 +05:30
Joe Brockmeier 1ed2f4bf04 CLOUDSTACK-507 removing private key from expected response section in API docs 2012-12-07 17:11:19 -06:00
Hugo Trippaers a0d6ca617f Make variable naming consistent with the superclass.
The field was called brandnew in portforwaringto and alreadyadded in
firewallruleto. This leads to confusion as the effect is completely
opposite.

Small fix for wrong parameter order
2012-12-06 14:45:38 +01:00
Murali Reddy 28bbf6c527 Summary: partical check-in for L4-L7 network services in the shared network in the advanced zone
Details:

- changed associateIPAddr API to accept shared network Id and account Id. Ip will be owned by tuple (account Id, network Id)
- chaged createNetwork API to accpet CIDR when network offering has external networking device providers

Bug ID:CLOUDSTACK-312 enable L4-L7 network services in the shared
network in the advanced zone
2012-12-06 11:55:19 +05:30
Chip Childers b1c063298d Reworked the formatting and structure of the api project's unit tests.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-11-21 09:56:22 -05:00
Chip Childers e953b77492 Moving api tests into a similar package structure as other tests
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-11-21 09:17:47 -05:00
Yichi Lu 6d200c5021 Adding a bunch of agent/api command tests
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-11-20 12:41:42 -05:00
Meghna Kale b1af510715 Adding new unit tests for a set of API commands
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-11-20 12:28:55 -05:00
Meghna Kale b7c74ee78b Unit test additions (and some minor command class changes to support testing)
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-11-20 12:21:54 -05:00
Vijay Venkatachalam 264f777a2d Remove AutoScale entities while deleting autoscaled loadbalancer. 2012-11-16 12:56:32 +05:30
Vijay Venkatachalam aea87da410 Autoscale:Sending the Counter params as list
Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
2012-11-16 11:07:24 +05:30
Vijay Venkatachalam 527b5c8ee2 Autoscale: Supporting network element independent counter parameters Reviewed-By:Devdeep 2012-11-16 10:57:00 +05:30
Vijay Vekatachalam 4836aba56f Create Autoscale config in Netscaler with unique Identifier based on Vmgroup 2012-11-16 10:56:59 +05:30
Vijay Vekatachalam 35b0e086d4 enable Autoscale VMs to be named as Autoscale-LB-<lbname> 2012-11-16 10:56:59 +05:30
Vijay Vekatachalam 57416188a2 Enabling aUtoscale VMs to be provisioned in a loadbalancer's network 2012-11-16 10:56:59 +05:30
Deepak Garg bf1e6ed991 CS-15644-Autoscale: Implemented UUIDs for templateId-serviceOff Reviewed-By:Vijay 2012-11-16 10:56:58 +05:30
Vijay venkatachalam 3e32a29048 Autoscale:Changes for addressing AutoScale bugs CS-15930, CS-15931, CS-15934, CS-15935 2012-11-16 10:56:58 +05:30
Vijay Venkatachalam acb963f1ee CS-15783: Creating mapping between job ids and autoscale entity ids 2012-11-16 10:56:56 +05:30
Deepak Garg 68fc64cfe9 CS-16159-Fixing the license headers 2012-11-16 10:56:56 +05:30
Pranav Saxena 6f3df699d1 Removing the Author's name from the file - Patch sent by Deepak Garg(deepakgarg.iitg@gmail.com) 2012-11-16 10:56:44 +05:30