Commit Graph

14755 Commits

Author SHA1 Message Date
Sheng Yang
de57cff3c5 Revert "add java-ipv6 as deps in rpm build"
This reverts commit 5fc8c336bb.
2013-03-15 16:08:40 -07:00
Edison Su
5fc8c336bb add java-ipv6 as deps in rpm build 2013-03-15 11:52:47 -07:00
Sheng Yang
e31e00e4a6 Fix default network on dnsmasq 2.62
Seems the same option was parsed to different meaning in the newer version.
2013-03-14 15:35:15 -07:00
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
3b9901d56d CLOUDSTACK-1232: Only support cidr=64 in IPv6 2013-02-26 19:37:45 -08:00
Sheng Yang
57f084fe5c CLOUDSTACK-1303: Fix NPE when extend vlan with ipv4 only 2013-02-21 16:38:39 -08:00
Sheng Yang
759f9bd247 IPv6: Update java-ipv6 dependency to 0.10 2013-02-20 18:42:50 -08: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
0ea19fc2aa Fix a typo
CanUseForDeploy() didn't return correct result due to this
2013-02-08 14:48:54 -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
6d41fe0296 IPv6: CLOUDSTACK-1141: Fix reboot router with IPv6 assigned VM 2013-02-06 13:57:31 -08:00
Sheng Yang
95e63bc1cf IPv6: CLOUDSTACK-1153: Fix integer overflow on IPv6 address calcuation
Use BigInteger, which is 128 bits long.
2013-02-05 17:32:40 -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
81a40611f1 IPv6: Fix ip address in range check 2013-02-05 14:32:31 -08:00
Sheng Yang
c2e457c2ba IPv6: Check startipv6, endipv6 and ip6Gateway with ip range 2013-02-04 15:33:03 -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
ff06a26c4d IPv6: Rename public_ipv6_address to user_ipv6_address
Conflicts:

	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/network/UserIpv6Address.java
	server/test/com/cloud/vpc/MockNetworkManagerImpl.java
2013-02-04 15:28:25 -08:00
Sheng Yang
5941915648 IPv6: Add vlan overlap checking 2013-02-04 15:17:00 -08:00
Sheng Yang
f5ee570ec3 IPv6: Verify if requested IPv4/IPv6 addresses are valid
Also rename NetUtils.isValidIPv6() to NetUtils.isValidIpv6()
2013-02-04 15:16:27 -08:00
Sheng Yang
249d8e09bb IPv6: move assignPublicIp6Address() from NetworkManager to new Ipv6AddressManager
Don't want to involve IP address management code in NetworkManager.

Conflicts:

	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/network/NetworkManager.java
	server/test/com/cloud/network/MockNetworkManagerImpl.java
	server/test/com/cloud/vpc/MockNetworkManagerImpl.java
2013-02-04 15:16:00 -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
bec030fda8 IPv6: Fix generate random ip in range.
Ported from ipv6 branch.
2013-01-31 17:16:53 -08:00
Edison Su
2ca8af3191 libvirt has bug to report storage stastics 2013-01-31 17:07:12 -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
c57b03d7dc IPv6: Add IPv6 address to router in /etc/hosts 2013-01-30 23:48:26 -08:00
Sheng Yang
f21a0c6f44 IPv6: Fix generated DUID-LL
Should be: 00:03:00:01 + <Mac>
2013-01-30 23:48:19 -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
462a479605 IPv6: Fix getIp6FromRange() 2013-01-30 23:45:27 -08:00
Sheng Yang
d30d23ee08 IPv6: Disable password and userdata service for ipv6 for now
Would add support later.
2013-01-30 23:45:21 -08:00
Sheng Yang
455d65808a IPv6: Enable VR's ability to provide DHCPv6 service 2013-01-30 23:45:14 -08:00
Sheng Yang
e6c1479f04 IPv6: Update dnsmasq.conf to new version 2013-01-30 23:45:09 -08:00
Sheng Yang
914f423f9f IPv6: Update edithosts.sh accept parameters 2013-01-30 23:45:03 -08:00
Sheng Yang
e935a4fc01 IPv6: Enable IPv6 address for router 2013-01-30 23:44:55 -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
Prachi Damle
c339c4ceca Removing the merge conflict statements from git. 2013-01-30 16:21:36 -08:00
Edison Su
93a89b1591 CLOUDSTACK-995: fix failed to detect centos 6.2 2013-01-18 14:33:06 -08:00
Edison Su
ddff37b6ab umount loop device. If patch disk created from loop, then need to umount it in loop device, otherwise, you can only create 7 routers on one kvm host 2013-01-18 14:22:53 -08:00
Kishan Kavala
0d3eaa63d6 CLOUDSTACK-1010: Fix count issue for listHosts command 2013-01-18 16:24:36 +05:30
Marcus Sorensen
0306d2f52d Summary: Pass StoragePoolType that maps to libvirt in cleanupDisk
Description: When selecting a storage adaptor, cleanupDisk assumes that
libvirt is being used. Therefore, we pass a StoragePoolType that maps to
libvirt. This is the only place in LibvirtComputingResource where the
StoragePoolType can't be pulled from somewhere else.

BUG-ID: CLOUDSTACK-1011
Signed-off-by: Marcus Sorensen <marcus@betterservers.com>
2013-01-18 13:30:55 +05:30
Marcus Sorensen
318ff6a774 Summary: Allow ssh keypairs to be created if developer flag set and user ! cloud
Detail: Previously in the code we allowed the configuration to create ssh
keypairs and put them in the configuration table so that systemvms could have
ssh key auth and work properly if the user was 'cloud' or if the developer
configuration item was set to true. It got changed to requiring both the cloud
user and the developer flag (using an || on a negative) somwhere along the way.
This changes it back to && on a negative to allow us to run as non-cloud users
with the dev flag set, and for cloud to deploy properly without the developer
flag.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358285190 -0700
2013-01-17 13:21:20 -08:00
Prachi Damle
ae8df820fb https://issues.apache.org/jira/browse/CLOUDSTACK-993
Changes:
- Introduction of maven skipped the java code that inserts the admin user. This causes the NPE in management server while trying to find the user and also, admin user cannot login as expected.
- Fixing the insertion of the admin user as part of startup.

Conflicts:

	server/src/com/cloud/server/ConfigurationServerImpl.java
2013-01-16 17:22:02 -08:00
Chiradeep Vittal
b429dd4916 Network-refactor: add missing license headers. Thanks RAT
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 14:05:09 -08:00