Alena Prokharchyk
e89c8725ed
Return redundantRouter/sourceNatSupported capabilities as a part of listSupportedNetworkServices
2011-12-06 15:36:02 -08:00
Alena Prokharchyk
9c6a56a61b
Fixed NPE in createNetworkOffering with capabilities set
2011-12-06 14:59:32 -08:00
Alena Prokharchyk
cabb02f944
Removed unused values from the networkOffering response
2011-12-06 14:44:18 -08:00
Alena Prokharchyk
9092765183
1) In Advance zone allow ipAssoc only to the Isolated network with the source nat service enabled
...
2) Added zoneName parameter to the listNetworks response
2011-12-06 14:44:18 -08:00
Alena Prokharchyk
54aea06c9a
zoneId is optional parameter now in associateIpAddress call. If not specified, networkId has to be passed in
2011-12-06 12:32:52 -08:00
Alena Prokharchyk
edd25b93a1
bug 12336: pass correct service offering id to createNetworkOffering command
2011-12-06 10:10:28 -08:00
Abhinandan Prateek
90a6bab334
bug 12348: putting a better check on stopped states
2011-12-06 09:13:20 +05:30
Murali Reddy
bc88d2eee3
specify which network service capabilities can be choosed as part of network offering
2011-12-05 17:59:54 -08:00
Alena Prokharchyk
d836699209
restartNetwork: don't try to disassoc the sourceNat IP on the domR
2011-12-05 17:28:08 -08:00
Alena Prokharchyk
84394ac3d4
bug 10804: added defaultDns parameter to DhcpEntry command
2011-12-05 16:56:31 -08:00
Alena Prokharchyk
d747801144
bug 12332: use short type for "accountType" field in EventVO object
...
status 12332: resolved fixed
2011-12-05 15:56:15 -08:00
Alena Prokharchyk
7b8287d323
bug 10804: Api and middle layer support for default route feature
2011-12-05 14:53:45 -08:00
Chiradeep Vittal
89f13ad700
bug 10804 virtual router support for per-vm default network
2011-12-05 14:53:42 -08:00
prachi
5ee096c00d
Bug 12095 - Migrate instance fail
...
Change:
UUId to ID mapping annotation was missing for MigrateVMCmd.
2011-12-05 15:38:18 +05:30
Murali Reddy
974dc62a2b
added support for dynamic load balancer provisioning when netscaler SDX is added
2011-12-05 00:06:45 -08:00
Abhinandan Prateek
fcb9db7802
bug 8313: removing bad chars
2011-12-05 07:56:34 +05:30
Abhinandan Prateek
d09ed94ebb
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-12-04 15:12:48 +05:30
Abhinandan Prateek
c4f624e7c9
bug 8313: ldap authentication, still need to fix the MD5 encoded password, cuurent authenticator only works with plaintext password
2011-12-04 15:11:06 +05:30
Alena Prokharchyk
c2146ea8e8
bug 12107: don't show public ip addresses associated with CPVM/SSVM
...
status 12107: resolved fixed
2011-12-02 16:16:19 -08:00
Alena Prokharchyk
a4773b7080
bug 12291: listVms - show non-project resources only if no projectId specified
...
status 12291: resolved fixed
2011-12-02 15:17:50 -08:00
frank
0d7dc40189
Bug 11689 - Templates need a ssh key enabled attribute
...
status 11689: resolved fixed
2011-12-02 14:20:08 -08:00
Alena Prokharchyk
0effb82f82
bug 12295: fixed associateIpAddress for projects
...
status 12295: resolved fixed
2011-12-02 12:08:01 -08:00
frank
229b08fd48
chagne some parameter name in HostResponse
...
all API parameters should be low case
2011-12-01 14:13:31 -08:00
prachi
d98130c061
Bug 8750 - update/disable/enableAccount api commands should accept "id" request parameter to be consistent with deleteAcccount command
...
These commands now accept 'id' parameter along with the 'accountname' and 'domainid'.
2011-12-01 13:58:44 -08:00
frank
d343af96e5
change allocationState of HostResponse to resourceState
2011-12-01 13:53:07 -08:00
Naredula Janardhana Reddy
09905b641b
bug 10617: merge code from branch bug10617.
2011-12-01 14:17:52 +05:30
Sheng Yang
c5292de0ae
NaaS: Restrict the combination that provider can support
2011-11-30 14:53:50 -08:00
Alena Prokharchyk
5e34819be9
Removed unused imports
2011-11-30 11:47:17 -08:00
frank
83b7b6a412
Add ResourceState as a searching condition of ListHostCmd
2011-11-30 11:42:38 -08:00
Alena Prokharchyk
a3d8291698
bug 12242: fixed api doc for createLoadBalancerRule command
...
status 12242: resolved fixed
2011-11-30 10:54:35 -08:00
Alena Prokharchyk
554946fe8b
Allow networkDomain update for Shared networks
2011-11-30 10:34:58 -08:00
Naredula Janardhana Reddy
38355b0b44
bug 10796: uuid changes.
2011-11-30 23:15:38 +05:30
Naredula Janardhana Reddy
edb4b844d6
bug 10796: uuid changes in list response.
2011-11-30 23:09:14 +05:30
Naredula Janardhana Reddy
e4b5a62402
bug 10796: merging code from branch
2011-11-30 15:03:43 +05:30
Alena Prokharchyk
3618c45e7c
Fixed listNetworkOfferings by networkId
2011-11-29 18:13:20 -08:00
Alena Prokharchyk
bcca44e05f
1) Use correct command names in f5/juniper commands.properties file
...
2) Fixed API doc to include f5/juniper/netscaler/virtualRouter commands
2011-11-29 16:24:43 -08:00
Alena Prokharchyk
7ea6082f22
PhysicalNetworkId is not required in listNetworkServiceProvider call
2011-11-29 10:47:03 -08:00
Alena Prokharchyk
c2448b7bd4
list Providers by name and state
2011-11-29 09:59:43 -08:00
Abhinandan Prateek
a560d6f055
bug 11910: no need to do full sync as first thing after connect
2011-11-29 11:23:21 +05:30
Alena Prokharchyk
dc07df3588
bug 12068: fixed listIsos by "isReady" flag
...
status 12068: resolved fixed
2011-11-28 17:13:44 -08:00
Alena Prokharchyk
abfbac7928
Moved listAccount/listDomains/listDomainChildren methods from ManagementServer to Account/Domain managers
2011-11-28 15:32:12 -08:00
Alena Prokharchyk
8f91856822
bug 11859: Added Usage param to @Implementation in API docs. Usage would explain what parameters combinations are valid for specific cases
...
status 11859: resolved fixed
2011-11-28 14:40:13 -08:00
Alena Prokharchyk
628ca6c6d7
bug 11018: removed private_netmask from vm_instance table
...
status 11018: resolved fixed
2011-11-28 14:15:14 -08:00
Alena Prokharchyk
afe92b0733
bug 12162: publicIpId is required in createLoadBalancerRule command
...
status 12162: resolved fixed
2011-11-28 11:59:18 -08:00
Alena Prokharchyk
102f460458
Fixed updateConfiguration - updateHostDetails used to swallow the exceptions
2011-11-28 11:52:45 -08:00
Kelven Yang
be87e3214e
bug 12175 : perform data validation before queuing/executing command
2011-11-28 11:36:46 -08:00
Alena Prokharchyk
586febd4c1
bug 11965: check the user state on the Services layer, not in the VmManager as VmManager can be called not only from the API, but also by internal methods - HA for instance - and in this case we shouldn't care about the account state
...
11965 status: resolved fixed
Also fixed gson serialization error in account response
2011-11-28 10:05:19 -08:00
Abhinandan Prateek
88f9b1ab7c
bug 8962: review changes incorporated
2011-11-25 15:03:45 +05:30
prachi
8134cfb4c8
Bug 11131 - Allocators: when vm fails to deploy in DataCenter, we should never retry in the same DC again as the DC is already in Avoid set
...
Changes:
- Added check in planner to verfiy that the datacenter is not in avoid set. If found in avoid set, planner does not proceed.
2011-11-23 17:40:20 -08:00
prachi
f56c3d7bc5
Bug 11126 - Give ability to define tags post storage addition
...
Changes:
- Enabled updating storage tags
- All existing tags are wiped out and new ones provided are stored.
- Note that, if tags are updated on the storage, no changes are done to the deployment of already running VMs that were deployed prior to tag addition.
- Also added some validation to host tags update API.
2011-11-23 14:21:34 -08:00
Nitin Mehta
cdd94c1b9a
bug 11811: Introduce a global config to disable extraction altogether for all users except root admin. Make changes so that volumes are based out of ISO. Take care of upgrade as well for this global config.
...
Reviewed by : Kishan.
2011-11-24 00:12:24 +05:30
Alena Prokharchyk
5963f3252b
Fixed createPFRule API command - use UUID for vmInstanceId
2011-11-23 10:35:16 -08:00
Nitin Mehta
e034e3d7a3
Revert "bug 11811: Changing permissions for extraction of volumes based out of isos."
...
This reverts commit 9ed2be7ecda7c0bad05aec8e0213e95507ad9be6.
2011-11-23 18:38:37 +05:30
Abhinandan Prateek
da20d33e27
bug 11910: full sync will only stop unknown VMs on agent
2011-11-23 16:48:12 +05:30
Alena Prokharchyk
f111d8377e
bug 11702: removed obsolete ipaddress parameter from userVm response
...
status 11792: resolved fixed
2011-11-22 14:29:13 -08:00
Alena Prokharchyk
74f217e1d0
Introduced new parameter to listNetworkOfferings API - sourceNatEnabled (Boolean).
2011-11-22 10:54:29 -08:00
Abhinandan Prateek
488ac8238e
bug 11311: lis host takes in a additional parameter to fine tune the details, the default behavious is still unchanged.
2011-11-22 16:26:52 +05:30
Alena Prokharchyk
45b058a89d
Project "Owner" is called project "Admin"
2011-11-21 18:01:44 -08:00
Murali Reddy
54f4ebf08c
changes for SRX add/config commands for UI integration
2011-11-21 16:57:41 -08:00
Murali Reddy
c9b2031fa9
changes in add/configure API commands for F5 & Netscaler for UI integration
2011-11-21 13:31:54 -08:00
Nitin Mehta
ec3a00a230
bug 10281: Template/ISO APIs should throw an exception in failure case for the events to be registered as failure.
...
Reviewed by : Kishan.
status 10281: resolved fixed
2011-11-21 18:58:06 +05:30
Nitin Mehta
57aa7dec91
bug 11811: Changing permissions for extraction of volumes based out of isos.
...
As per the new design following would be done.
(a) any ISO-derived disk can be extracted
(b) there will be a global config to disable extraction of ISO based volumes.
That way people concerned about (a) can just use (b) to fix it.
Reviewed by : Kishan.
status 11811: resolved fixed
2011-11-21 16:58:09 +05:30
Abhinandan Prateek
354b4af63b
completing comments for detail type
2011-11-21 13:58:34 +05:30
Kelven Yang
061ff36434
bug 11814: TemplateResponse now returns template details info
2011-11-18 16:40:32 -08:00
Kelven Yang
a59658177d
bug 11814: connect template and instance details data when sending command to resource
2011-11-18 16:40:31 -08:00
Alena Prokharchyk
bc544d31e7
listPublicIpAddresses by associatedNetworkId
2011-11-18 15:57:01 -08:00
Alena Prokharchyk
1871de3048
bug 11853: better error message when try to add VPN user with duplicated user name
...
status 11853: resolved fixed
2011-11-18 15:49:18 -08:00
Alex Huang
110b37a937
bug 12040: fixed the problem where if the connection is not retrievable, we cause a classcastexception
...
Reviewed-by: Anthony
2011-11-18 14:29:03 -08:00
Alex Huang
84d5f0514e
Changed network tags to network name as we no longer need to send the entire network tags down to the resource.
2011-11-18 14:28:16 -08:00
Alex Huang
1d268dc23a
fixes problem with a dangling test direct variable name after build
2011-11-18 14:25:03 -08:00
Abhinandan Prateek
489847fcb7
bug 11867: split the host details into [all, capacity, events, stats, min]
2011-11-18 18:07:05 +05:30
prachi
313e6ca284
Bug 8791 user dispersing allocator
...
Changes:
- Added a two new deployment planners 'UserDispersingPlanner' and 'UserConcentratedPodPlanner' to the DeploymentPlanners
- Planner can be chosen by setting the global config variable 'vm.allocation.algorithm' to either of the following values:
('random', 'firstfit', 'userdispersing', 'userconcentratedpod')
- By default, the value is 'random'. When the value is 'random', FirstFitPlanner is invoked as before that shuffles the resource lists.
- Now Admin can choose whether the deployment heuristic should be applied starting at cluster or pod level. This can be done by using the
global config variable 'apply.allocation.algorithm.to.pods' which is false by default. Thus by default as earlier, planner starts at clusters directly.
'UserConcentratedPodPlanner' changes:
- Earlier to 3.0, FirstFitPlanner used to reorder the clusters in case this heuristic was chosen.
- Now this is done by a separate planner and is applied only when 'vm.allocation.algorithm' is set to this planner
- It reorders the capacity based clusters/pods such that those pods having more number of Running Vms for the given account are tried first.
- Note that this userconcentration is applied only to pods and clusters. Not to hosts or storagepools within a cluster.
'UserDispersingPlanner' changes:
- 'UserDispersingPlanner' reorders the capacity ordered pods and clusters based on number of 'Running' VMs for the given account in ascending order. Aim is to choose thodes pods/clusters first which have less number of Running VMs for the given account
- Admin can provide weights to capacity and user dispersion so that both parameters get considered in reordering the pods/clusters. This can be done by setting
the global config parameter 'vm.user.dispersion.weight'. Default value is 1. Thus if this planner is chosen, by default, ordering will be done only by number of Running Vms, unless the weight is changed.
- HostAlllocators and StoragePoolAllocators also reorder the hosts and pools by ascending order of number of Running VMS/ Ready Volumes respectively for the given account. Thus try to choose that host or pool within a cluster with less number of VMs for the account.
2011-11-17 18:29:39 -08:00
Alena Prokharchyk
337c07c0d1
Default gateway service to sourceNat service in the API
2011-11-17 16:28:10 -08:00
Alena Prokharchyk
0bb325ac12
Call implement() and shutdown() methods for providers only when the provider serves a service for the network
2011-11-17 13:53:53 -08:00
prachi
b0cdb86d9e
Merging listSupportedNetworkServices and listSupportedNetworkServiceProviders.
...
listSupportedNetworkServiceProviders returs list of services with providers and capabilities of each service.
It supports 2 parameters:
-service : list providers and capabilities of this service
-provider: list services of this provider
- if none is specified, lists all services supported
2011-11-17 12:54:31 -08:00
Alena Prokharchyk
8a0443341f
Removed unsupported state from the network offering
2011-11-16 17:22:07 -08:00
Alena Prokharchyk
450b19532a
Fixed unit test
2011-11-16 13:20:53 -08:00
Sheng Yang
d4b1732ff4
NaaS: Fix redundant virtual router
2011-11-16 11:30:09 -08:00
Alena Prokharchyk
339e72d414
Introduced "supportedServices" parameter to createNetworkOffering API. This parameter replaces old parameters: dhcpService, gatewayService, etc.
2011-11-16 11:17:07 -08:00
Murali Reddy
75121bd762
bug 11817 : NAAS external networking device support
...
- added pluggable (service) API's for managing F5 and SRX devices
2011-11-16 10:53:22 -08:00
prachi
f0d1b97420
Renamed 'listNetworkServices' to 'listSupportedNetworkServices'
2011-11-15 17:16:31 -08:00
Edison Su
b2a5e26c06
bug 10792: add default system wide firewall rule
...
status 10792: resolved fixed
2011-11-15 16:51:30 -08:00
Kelven Yang
16530b532f
Make XML serializer support all fields within the class tree
2011-11-15 15:01:47 -08:00
Kelven Yang
277c60e4f6
bug 11814: Allow template to have details info in key/value pairs.
2011-11-15 15:01:46 -08:00
Murali Reddy
0b05badaaa
bug 11817: NAAS external network device support
...
-made Netscaler, SRX, F5 network elements as pluggable service
-added abstract load balancer device manager ExternaLoadBalancerDeviceManager
-made both F5 and Netscaler pluggable service to extend ExternaLoadBalancerDeviceManager
-added abstract firewall device manager ExternalFirewallDeviceManager
-made SRX pluugable service to extende ExternalFirewallDeviceManager
-added API's to configure and manage netscaler devices
2011-11-15 12:18:59 -08:00
Alena Prokharchyk
bb2a8cf7ea
NaaS: added "subdomainAccess" parameter to domain level network object. The parameter defines whether the network can be accessed from the subdomains. If the parameter is not specified, it would be defaulted to allow.subdomain.network.access Global Config param
2011-11-14 18:13:47 -08:00
prachi
d7ae15beea
- Fixed missing UUId in listNetworkServiceProviders API
...
- BroadcastDomainRange will be 'POD' for 'basic' zone and 'ZONE' for an advance zone.
2011-11-14 17:39:09 -08:00
Alena Prokharchyk
f157148ea1
aclType is Domain for Guest network in Basic zone
2011-11-14 11:24:17 -08:00
prachi
20e53ce90f
- fixing updateProvider to throw error when the underlying element is not ready
...
- not use includingRemoved while listing networks
- Processing checkNetworkCommand dummy method to avoid failures connecting to Vmware and hyperv resource
2011-11-11 14:20:46 -08:00
Alena Prokharchyk
9ca379fc61
Changes to updateNetwork command:
...
* update network with new networkOfferingId only after the network is shutdown
* fixed NPE happenining when updateNetwork with the networkOffering w/o soucrceNat service in Advance zone
2011-11-11 14:06:42 -08:00
Sheng Yang
cdfac9a5e1
NaaS: Fix UUID of virtual router providers
2011-11-11 13:42:19 -08:00
prachi
da846e9c08
Adding UUID to new entities and API commands. PhysicalNetwork, PhysicalNetworkTrafficType, PhysicalNetworkServiceProviders changed.
2011-11-11 13:23:23 -08:00
Alena Prokharchyk
4cf3ecbed4
Cleaned up commented out code
2011-11-11 09:53:46 -08:00
Naredula Janardhana Reddy
f1b99f4f07
Revert "bug 10617: merging code from branch bug10617"
...
This reverts commit 8bc33448b9220534ba0ddc6c642ffb1e69d5844e.
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2011-11-11 20:23:26 +05:30
kishan
77b710eadf
bug 11889: Revert earlier commit. use sshkeypair instead of keypair in API response
...
status 11889: resolved fixed
reviewed-by: Nitin
2011-11-11 14:12:47 +05:30
Alena Prokharchyk
bfff9ee22c
Fixed list by zoneId in listPhysicalNetworks
2011-11-10 20:46:09 -08:00
Alena Prokharchyk
039e09ce93
* Introduced aclType parameter for createNetwork command (can hold 2 values now: Account and Domain). This parameter defines the access control type to the network object. If it's account -
...
only owner of the network can access it; if it's domain - all accounts in the domain and domain children can have an access.
* aclType replaces 2 old fields: isShared and isDomainSpecific.
* All 2.2.x account specific networks will have aclType=Account; 2.2.x Domain specific networks - aclType=domain; 2.2.x Zone level networks - aclType=Domain with domainId = Root domain id
2011-11-10 18:34:56 -08:00
Sheng Yang
7adedca8a3
NaaS: Update listVirtualRouterElements to accept nspid as parameter
...
Also fix VirtualRouterProviderResponse by adding objectName.
2011-11-10 17:26:11 -08:00
Sheng Yang
bde1f6d2de
Merge branch 'networkasservice'
...
Conflicts:
api/src/com/cloud/api/commands/CreateRedundantVirtualRouterElementCmd.java
api/src/com/cloud/api/commands/CreateVirtualRouterElementCmd.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/network/ExternalNetworkDeviceManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
setup/db/create-schema.sql
2011-11-10 16:36:08 -08:00
Alex Huang
d6c22c42fe
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-11-10 15:26:39 -08:00
Alex Huang
f6fcaa49ec
Merge complete except for virtualnetworkappliancemanager
2011-11-10 15:18:16 -08:00
Naredula Janardhana Reddy
02adbd4bd3
bug 10617: merging code from branch bug10617
2011-11-10 15:23:48 +05:30
Sheng Yang
4ea3aaeb18
NaaS: Add checking for gateway service in update network offering
2011-11-09 19:14:16 -08:00
Sheng Yang
5c1773dd26
NaaS: Add response for VirtualRouterProvider
2011-11-09 18:52:34 -08:00
Murali Reddy
53a636518f
NAAS: changing sharedsourcenat capability to sourceNat service and changin serviceCapablityList parameter to one level map
2011-11-09 18:44:18 -08:00
Sheng Yang
47114af94b
NaaS: Add redundant capability for Gateway service
2011-11-09 17:09:46 -08:00
Sheng Yang
bc86800d30
NaaS: Remove Redundant Virtual Router element
...
Would use capability instead.
2011-11-09 17:09:38 -08:00
Sheng Yang
9b8f96c06d
NaaS: Merge Role.DHCP_USERDATA and Role.DHCP_FIREWALL_LB_USERDATA to Role.VIRTUAL_ROUTER
2011-11-09 17:09:17 -08:00
Alena Prokharchyk
79e13ec3f7
Added support for listing networks based on the supported services information
2011-11-09 16:41:15 -08:00
Alena Prokharchyk
0228bca0c2
Use type instead of guestType in network API response (just the way it was done in 2.2.x)
2011-11-09 15:29:13 -08:00
Sheng Yang
0876cbeda7
NaaS: Rename VirtualRouterProviderType
2011-11-09 15:24:28 -08:00
Sheng Yang
c09b2b94b3
NaaS: Add ElbVm to Virtual Router Provider
2011-11-09 15:23:33 -08:00
Sheng Yang
b569a11e45
NaaS: Add DHCP and userdata service provider
2011-11-09 15:23:06 -08:00
Kelven Yang
bf3664574a
Revert the temporary build fix (don't expose ID unneccessarily to outside)
2011-11-09 13:51:10 -08:00
Kelven Yang
24a6c2f528
Revert the temporary build fix after the root cause in ApiDocWriter is addressed
2011-11-09 13:47:52 -08:00
Alex Huang
0353133369
Added ways to acquired ip to network guru
2011-11-09 09:37:22 -08:00
Edison Su
4f263a56b2
fix the build
2011-11-08 19:11:36 -08:00
Murali Reddy
db991dd8f6
NAAS : adding support for service capabilities to be specified as part of network offering
2011-11-08 13:01:44 -08:00
Alena Prokharchyk
eac54e3ad4
Don't allow to upgrade networkOfferingId and networkDomain for Shared network offerings
2011-11-08 12:33:28 -08:00
Abhi
f8319823cc
bug 11880: host status is now in sync
2011-11-08 16:53:58 +05:30
alena
76a3bb7581
Fixed unittest
2011-11-07 16:28:31 -08:00
alena
3a845d2d75
Keep Service/Provider map per network as well as per networkOffering (to handle the case when there are multiple providers defined for the same service in the network offering, and only one is picked when the network is created)
2011-11-07 16:16:03 -08:00
frank
d6db4a686e
Bug 11313 - Add an account param/detail/map in the XXXAccount API calls
...
status 11313: resolved fixed
2011-11-07 14:24:36 -08:00
alena
104ed0a2a2
Direct network guru takes care of only sourceNatDisabled networks in Advance zone
2011-11-07 10:54:19 -08:00
alena
2ef551874a
Fixed Direct Account specific network creation
2011-11-07 10:53:28 -08:00
alena
17a7b7cda4
listNetworkOfferings: added an ability to filter based on the Services supported
2011-11-07 10:53:28 -08:00
alena
7aab227b37
Added one more default network offering - with guestType=Isolated and with DNS/DHCP/USERDATA services supported
2011-11-07 10:50:42 -08:00
prachi
5f93665a30
- Send network labels to hypervisor recource during processConnect
...
- Create Default physicalnetwork and add traffic types while creating a zone
- DeleteProvider should error out if there are networks using the provider.
- Other validations
2011-11-04 17:57:05 -07:00
Kelven Yang
2b6f3d458e
UUID support for XML responses
2011-11-04 17:38:22 -07:00
Sheng Yang
3051dc2621
NaaS: Discard DhcpElement
...
VirtualRouterElement would do all the job. The difference would be public
network enabled or not.
2011-11-04 14:13:55 -07:00
alena
523da327c6
Fixed the doc for the network offerings
2011-11-04 11:15:22 -07:00
kishan
084f861318
bug 11889: use keypair instead of sshkeypair in API response
...
status 11889: resolved fixed
2011-11-04 13:58:27 +05:30
alena
809ad8ce23
Fixed listProjects for regular user
2011-11-03 17:28:42 -07:00
Kelven Yang
d9c41df1a1
Make console proxy support UUID
2011-11-03 16:24:08 -07:00
anthony
a7cf2f412c
turn off log for swift credential
2011-11-03 12:07:28 -07:00
alena
1fe3bc066b
Allow disassociating sourceNat ip address when SourceNat service is not supported by corresponding network any longer (can be disabled during the network offering upgrade)
2011-11-03 11:45:45 -07:00
frank
92edf56ccc
Bug 7883 - Add support to allow admins to sort templates, isos, offerings...
...
status 7883: resolved fixed
2011-11-03 10:54:00 -07:00
alena
9e5a733a34
Fixed NPE in updateNetwork - userCaller wasn't passed in to restartNetworkElements call
2011-11-03 10:53:19 -07:00
Kelven Yang
7e9b210d5c
bug 6745: Fix problems in Async create commands
2011-11-03 07:34:02 -07:00
Kelven Yang
79e39c20fb
Fixes on merged result
2011-11-03 07:34:01 -07:00
Kelven Yang
924e556c95
bug 6745: Using UUID instead of integers - for all commands
2011-11-03 07:34:00 -07:00
Kelven Yang
8d8775b533
bug 6745: Using UUID instead of integers - for Async Jobs
2011-11-03 07:33:58 -07:00
Kelven Yang
6f14bdc361
bug 6745: Using UUID instead of integers - for System VM s
2011-11-03 07:33:57 -07:00
Kelven Yang
fa2dd8e93a
bug 6745: Using UUID instead of integers - for VM instances
2011-11-03 07:33:56 -07:00
Sheng Yang
b646f07f9c
NaaS: Add back service offering ID for network offering
...
It would be used to adjust service offering of virtual router
2011-11-02 19:08:37 -07:00
alena
3e20c60d6d
Fixed vm deployment in Basic zone
2011-11-02 17:02:44 -07:00
alena
f42c9e434f
Basic zone: the System Guest network offering can be created from any Shared Guest network offering.
...
Limitation:
* in order to make the networkOffering choice, only one Shared network has to be Enabled at the moment when Basic zone is being created
2011-11-02 15:44:53 -07:00
Sheng Yang
3fc9b149e4
NaaS: Add portforwarding and staticnat service provider
...
Make them service rather than capability of firewall. Now firewall only means
open/close the port.
2011-11-02 15:18:39 -07:00
prachi
6aa743165a
Changes to support Enable/ Disable services of a service provider added to physical network:
...
- ListSupportedNetworkServiceProvidersCmd will now return Providers along with its element's services and boolean 'canEnableIndividualServices' that indicates if for this Provider services can be enabled/disabled
- add & update NetworkServiceProvider changed to take in the list of services to enable. While adding a provider, if list is null then all services supported by the element are enabled by default.
- ListNetworkServices enhanced to take in a provider name and returns services of that specific provider.
2011-11-01 18:03:55 -07:00
alena
2250dff349
1) Removed tags from the network object
...
2) Get hypervisor tags from the physical network instead.
2011-11-01 17:42:06 -07:00
Alex Huang
da78937d30
Removed some useless methods
2011-11-01 16:57:22 -07:00
alena
9560e92015
physicalNetworkId is optional in createNetwork api. Works as follows:
...
* can be specified for Shared network only
* if not specified for the Shared networks, try to locate it based on the zoneId and tags. If tags is not null, pick up first physicalNetwork from the zone that has matching tags. If tags is null, and there are none/more than 1 physical netwroks in the zone, error out.
2011-11-01 15:49:39 -07:00
alena
be21a5e37c
Don't allow enabling securityGroup service for Isolated networks
2011-11-01 13:09:14 -07:00
alena
80dc2c0b1a
Don't send security group commands to the backend when 1) securtiy group service is disabled in the network offering and 2) security group service provider is supported on the physical network
2011-11-01 12:07:32 -07:00
Edison Su
dd6ed6b108
bug 10330: refactor storage code befor merge clvm code
2011-10-31 20:25:26 -07:00
Sheng Yang
a43364f0a4
NaaS: Rename virtual_router_elements to virtual_router_provider
2011-10-31 15:59:53 -07:00
Sheng Yang
cd3fbf0548
NaaS: Create AddVirtualRouterElementCmd
...
As DhcpElement/VirtualRouterElement/RedundantVirtualRouterElement is decided to
be the service provider of the physical network, this API should be called to
add a new element, with correlated network service provider ID.
Then e.g. ConfigureVirtualRouterElementCmd should be called to configure and
enable the element.
2011-10-31 15:59:44 -07:00
Sheng Yang
00bb63ac67
NaaS: Remove separate configuration fields for virtual router elements
...
The fields are duplicated with network offerings.
2011-10-31 15:59:36 -07:00
anthony
46dac852fa
Merge branch 'swift'
...
Conflicts:
server/src/com/cloud/agent/AgentManager.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2011-10-31 15:04:48 -07:00
prachi
549c7d2ef9
Added NetworkElement API's isReady() and shutdownProviderInstances() called by NetworkMgr while enabling/shutdown the service provider.
2011-10-31 13:09:54 -07:00
prachi
818df189c5
changes to Create Vlan & Public IPs
2011-10-31 09:53:25 -07:00
Abhinandan Prateek
6632145c4d
bug 8962: adding file
2011-10-31 17:45:00 +05:30
Abhinandan Prateek
abb37acbdd
bug 8962: added usage related and resource count related code, changed the API name as suggested. Incorporated relevant review comments
2011-10-31 16:35:42 +05:30
Abhinandan Prateek
07e44e3a23
bug 11311: change list vm call to provide less info
2011-10-30 16:25:57 +05:30
root
a572205e3c
Revert "bug 11311: vm summary command initial impl"
...
This reverts commit 0abc7e2ea8b9e222f1927aea72d46240bfe8c534.
2011-10-30 15:13:58 +05:30
Abhinandan Prateek
f456462443
bug 11311: vm summary command initial impl
2011-10-28 14:07:19 +05:30
alena
b413a625f4
1) replaced joinProject API with updateProjectInvitation api. You can accept/decline the invitataion with this command
...
2) Added deleteProjectInviation command. Can be executed by project admin only
2011-10-27 18:32:00 -07:00
prachi
6d5601a84d
Added commands and framework for PhysicalNetwork trafficTypes
2011-10-27 17:32:15 -07:00
alena
d315e57b0e
Renamed "type" to "guestType"
2011-10-27 16:51:42 -07:00
alena
fe0b685e95
Security group is a service now
2011-10-27 16:49:20 -07:00
alena
71b53a3432
Made isSharedSourceNatService a capability of SoureNatService
2011-10-27 16:49:20 -07:00
Sheng Yang
02ada73d89
NaaS: Make applyIp() as a function of FirewallServiceProvider
2011-10-27 16:45:40 -07:00
Sheng Yang
e1e96c0bb3
NaaS: Add ServiceProviders
...
Added PortForwardingServiceProvider, StaticNatServiceProvider, rename
PasswordServiceProvider to UserDataServiceProvider(may rename to a better name
later).
Add related function for service providers.
2011-10-27 11:55:10 -07:00
Sheng Yang
b369e45c78
NaaS: Remove some configure items for virtual router
...
DHCP range, domain name, etc. are the property of network, not virtual router
specific.
The focus of virtual router configuration would on separate enable/disable each
service it provided.
2011-10-27 11:55:03 -07:00
anthony
d1141aff7d
Swift : add Swift api
2011-10-27 11:48:48 -07:00
frank
cef30956e9
Merge branch 'newagentmgr'
...
Conflicts:
agent-simulator/src/com/cloud/api/commands/ConfigureSimulator.java
ovm/src/com/cloud/ovm/hypervisor/OvmDiscoverer.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/capacity/CapacityManagerImpl.java
server/src/com/cloud/network/F5BigIpManagerImpl.java
server/src/com/cloud/network/JuniperSrxManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/db/GenericDao.java
2011-10-27 11:09:56 -07:00
Abhinandan Prateek
a1a0fdc0a3
bug 10588: making sure the vms are synced during a delta also
2011-10-27 15:56:53 +05:30
kishan
8ee876a9a2
bug 10405: Added annontation since for API Commands and request parameters. Whenever a new APi or parameter is added since=version should be added
...
status 10405: resolved fixed
2011-10-27 14:18:34 +05:30
kishan
d55c827f00
bug 4844: Added length in API parameter annotation. Throw invalid param exception when value of param is greater than length. Default length is 255.
...
status 4844: resolved fixed
2011-10-27 12:46:01 +05:30
Nitin
f798d9950e
bug 10848: DB upgrade changes for dashboard work
2011-10-27 11:56:23 +05:30
Nitin
b336a8b813
bug 10774: On removing storage, local storage, cluster handle deletion of corresponding op_host_capacity rows.
2011-10-27 11:23:43 +05:30
Nitin
6423631522
bug 10893: Adding a new capacity type - Local Primary storage.
2011-10-27 11:22:18 +05:30
Nitin
4b21650e23
bug 10848: Removing NPE from listCapacity and new alert code. Adding CAPACITY_TYPE_DIRECT_ATTACHED_PUBLIC_IP. Introducing thresholds for vlan and direct attached public ips.
2011-10-27 11:21:50 +05:30
Nitin
10ea88ad08
bug 10945: Introduce a new capacity called Zone Vlan. Add a flag called 'fetchlatest' in listcapacity which would recompute the capacity and fetch the latest.
2011-10-27 11:20:28 +05:30
Nitin
9c20c1b1b6
bug 10848: ListCapacity - Full rework. This fixes the pagination logic and the capacities are visible till the cluster level.
2011-10-27 11:18:56 +05:30
alena
95bac58076
Cleanup firewall/pf/lb/vpn rules as a part of networkShutdown
2011-10-26 18:00:22 -07:00
Edison Su
4c1a2f50bd
bug 10837: rename api related to netapp
...
status 10837: resolved fixed
2011-10-26 17:37:04 -07:00
Edison Su
3f7ce01f28
bug 10803: using updatehost api to change secondary storage url, the url need to be nfs://host/path format
...
status 10803: resolved fixed
2011-10-26 16:27:28 -07:00
Murali Reddy
a48ee9c568
add support for multiple provider instanes per physical network
...
refactor NetworkDevicemanager and ExternalnetworkdeviceManager in to one single manager
2011-10-27 03:07:30 +05:30
anthony
b91dce4f8a
Swift: add listtemplate for swift
...
add swift configuration
2011-10-25 20:21:27 -07:00
alena
525a0a7675
1)Changed implementation for restart network: call shutdown/implement methods as a part of it
...
2)Re-apply all existing firewall rules as a part of implement call. TODO: Cleanup all existing rules from the backend (leave them in the DB) as a part of shutdown call
2011-10-25 18:24:24 -07:00
frank
1460f3950e
Bug 9949 - revert VM to template
...
1. able to restore VM from its original template
2. Only allow to restore when VM is running or stopped
3. after restoring, VM state will not change, e.g. running is still running
status 9949: resolved fixed
2011-10-25 13:52:39 -07:00
prachi
07591807af
Removing isolationMethods from UpdatePhysicalNetwork API.
2011-10-25 11:39:41 -07:00
anthony
510d1dbef7
Swift : upload template to Swift and sync between Swift and secondary storage
2011-10-24 18:48:16 -07:00
prachi
780e0efe79
Removing references to DataCenter - providers, using the networkoffering -> providers map instead.
...
TODO:
- Still leaving the provider columns in data_center schema as-is for CloudKit and BareMetal
- ExternalNetworkDeviceMgrImpl still needs to fix the dataCenter.setProviders calls and externalNetworkApplicance usage checks to see if zone has external networking.
2011-10-24 18:06:33 -07:00
prachi
766c898504
Changes: DeletePhysicalNetwork changes and Configuring NetworkMgr to hold map of providers -> elements
2011-10-24 18:03:18 -07:00
alena
75c8e33226
Removed guestIpType from network/networkOffering
2011-10-24 17:05:00 -07:00
frank
30f95e638a
Bug 11522 - New agent manager
...
1. get rid of host allocation state
2. remove Updating status from agent status
2011-10-24 16:49:32 -07:00
Edison Su
8bc3e280cd
add basic storage migration support
2011-10-24 15:59:47 -07:00
Edison Su
92eaf49f29
Add storage migration
2011-10-24 15:59:47 -07:00
anthony
0df249172d
Swift: DeleteSnapshotBackupCommand and DeleteSnapshotsDirCommand are executed in SSVM
2011-10-21 19:53:48 -07:00
frank
6d95422f34
Bug 11522 - New agent manager
...
get rid of some agent status
2011-10-21 18:06:06 -07:00
alena
abca3dda9d
Added ability to list network offerings availabe for network upgrade using listNetworkOfferings command with "networkId" parameter.
...
Limitations:
* can't upgrade to the network offering with lesser number of services
* can upgrade only when the service provider of the original offering is not external (domR, dhcp, elb) to the external type of the provider
2011-10-21 15:36:01 -07:00
anthony
3067a9d2db
Swift : add two new files
2011-10-21 14:26:20 -07:00
Murali Reddy
aa808f5685
-Added LB serive provider (seperating it out from Firewall service provider)
...
-Bringing add/delete/list of all external network devices under one unified API's (addNetworkDevice, deleteNetworkDevice, listNetworkDevice)
-Refactoring External network manager to work from both sets of API's add/delete/list NetworkDevice and add/delete/list External Firewall/LoadBalancer
2011-10-21 18:15:36 +05:30
alena
219978a9be
Create network using physical network id
2011-10-20 18:25:13 -07:00
prachi
0d7ddb5d58
Changes:
...
- Make all API commands Async and add events
- Make BroadcatsDomainRange case insensitive
- Process all _networkElements to build the Service -> Provider map during NetworkMgr::configure()
2011-10-20 17:11:30 -07:00
Sheng Yang
2ebb719aba
NaaS: Add configuration for virtual router elements
2011-10-20 13:59:23 -07:00
Sheng Yang
04f106a595
NaaS: Configure commands for DhcpElement, VirtualRouterElement and RedundantVirtualRouterElement
...
Add configure command for these virtual router based elements. The commands
should be different for different elements.
The context of configuration would be added later.
2011-10-20 13:58:54 -07:00
alena
5ffd233bb4
Made all project commands except list* to be Async
2011-10-20 11:30:45 -07:00
prachi
654eaec663
NAAS: Configuring Zone
...
- Create Zone changes and changes to data_center table to remove vlan, securityGroup fields
- Physical Network lifecycle APIs
- Physical Network Service Provider APIs
- DB schema changes
2011-10-19 22:44:03 -07:00
Abhinandan Prateek
1ea9b5d703
bug 10588: putting config param for cluster sync intervals
2011-10-20 10:51:40 +05:30
alena
c5acad39d9
Make Guest Direct security group enabled network offering system by default - we'll make it non-system after getting rid of Basic/Advance zone concepts
2011-10-19 17:34:21 -07:00
alena
ceda05298e
Deprecate guestIpType in networkOffering api. Use type (Shared/Isolated) instead
2011-10-19 16:38:39 -07:00
anthony
c97010a160
BackupSnapshot to Swift
2011-10-18 18:11:09 -07:00
Abhinandan Prateek
f7f2eb825d
bug 10588: incorporated review comments (Reviewer Nitin, Murali, Kishan, Jana)
...
1. Finetune vriable scope, s_ for static vars
2. Impl should be cluster aware and a host going down should not affect the sync
2011-10-17 14:59:24 +05:30
alena
4cb9e30990
Network offering upgrade implementation
2011-10-14 15:03:12 -07:00
alena
c00058adc2
Added type (Shared/Isolated) to the networkOffering/networks
2011-10-13 17:33:41 -07:00
alena
2d228dfcbb
Default service provider to VirtualRouter (should make this parameter configurable in the future)
2011-10-12 18:02:35 -07:00
alena
7433d5314a
1) Refactored networkOfferings:
...
* moved all services to the separate table, map them to the network_offering+provider.
* added state/securityGroupEnabled properties for the networkOffering
* added ability to list by state/securityGroupEnabled in listNetworkOfferings api command
2) New service: SourceNat
2011-10-12 16:38:59 -07:00
prachi
8570b25506
NAAS: APIServer changes to introduce framework to read commands from pluggable components having separate commands.properties file
...
Changes:
- Added a new interface 'PluggableService'
- Any component that can be packaged separately from cloudstack, can implement this interface and provide its own property file listing the API commands the component supports
- As an example have made VirtualNetworkApplianceService pluggable and a new configureRouter command is added
- ComponentLocator reads all the pluggable service from componentLibrary or from components.xml and instantiates the services.
- As an example, DefaultComponentLibrary adds the pluggable service 'VirtualNetworkApplianceService'
- Also components.xml.in has an entry to show how a pluggable service can be added, but it is commented out.
- APIServer now reads the commands for each pluggable service and when a command for such a service is called, APIServer sets the required instance of the pluggable service in the coomand.
- To do this a new annotation '@PlugService' is added that is processed by APIServer. This eliminates the dependency on the BaseCmd to instantiate the service instances.
2011-10-11 17:34:57 -07:00
Sheng Yang
b2a007dc3c
NaaS: Remove IsServiceProvider() functions
...
If the element is the service provider for this network, then can be tell from
network offering. We don't need these functions in the interface.
2011-10-11 14:04:13 -07:00
Sheng Yang
30d48c40b3
Network as a service(NaaS): Separate redundant virtual router as a standalone element
...
Since we would introduce a way to specify each service provider in the network
offering, it's better for redundant virtual router as a separate service
provider.
Also isRedundant() flag in the network offering would be removed. Redundant
virtual router temporality won't work from now. Until we're able to add
different network elements/service providers in network_offering.
2011-10-10 15:41:07 -07:00
Sheng Yang
0121c0516d
Network: Add Service providers
...
In the past, the NetworkElement would cover almost all the functionality that
e.g. virtual router can cover: firewall, source NAT, static NAT, password,
VPN... So anyone want to implement the NetworkElement would have to implement
these service's specific methods, even it wouldn't support it. Also, if we want
to find a e.g. FirewallServiceProvider, we have to proceed all the current
network service providers, to call a method to know if it support such service.
That's neither elegant nor scaling way to do it.
As the first step, this patch separates each ServiceProvider from NetworkElement
(there are some interface already out of NetworkElement, so this patch slightly
modifies them too), and only the class would implement the correlated interface, would
have the ability to do these services.
2011-10-10 11:45:39 -07:00
frank
88b863d6e3
Bug 11522 - New agent manager
...
Initialize unit test case for resource manager
2011-10-07 15:51:24 -07:00
Chiradeep Vittal
dbaf14d9e1
bug 11336: compression to allow number of cidrs to scale beyond 8k
2011-10-06 17:55:38 -07:00
alena
a17570ef51
1)Implemented Suspend/Activate project
...
2)Email/token based invitation system
2011-10-06 16:10:36 -07:00
alena
25c2734e03
More stuff to Projects feature - added support for adding resources (vms, templates, isos) to the project
2011-10-05 13:24:25 -07:00
alena
998568283c
Don't allow to add accounts to the domain of type Project
...
Don't allow to manipulate (delete/update) accounts/domains of type Project
2011-10-05 13:24:25 -07:00
Edison Su
4ef20e91ed
Revert "bug 11239: add check for hypervisor type when deploy vm, no way to deploy a vm with hypervisor type None"
...
This reverts commit f1e66738bb252c20a9ec1b8dffc2fd24521458dc.
2011-09-30 10:24:09 -07:00
Nitin
c94b45ef4a
ListCapacity - Document what each capacity types mean.
2011-09-30 13:30:42 +05:30
prachi
9bd5e5871b
Bug 11481 - get manual live migration working with all VMs
...
Changes:
- Added a new API 'migrateSystemVm' backed by MigrateSystemVMCmd.java to migrate system VMs (SSVM, consoleproxy, domain routers(router, LB, DHCP))
- This is Admin only action
- The existing API 'migratevirtualmachine' is only for user VMs
2011-09-29 17:47:46 -07:00
Sheng Yang
ae52867be4
Add no-args constructor for ClusterSyncCommand/ClusterSyncAnswer
...
Otherwise they can't be deserialized.
Fix the following exception on KVM host:
ERROR [agent.transport.Request] (Agent-Handler-2:null)
Caught problem with
[{"ClusterSyncCommand":{"_interval":60,"_skipSteps":20,"_steps":0,"_clusterId":2,"contextMap":{},"wait":0}}]
com.google.gson.JsonParseException: The JsonDeserializer
com.cloud.agent.transport.ArrayTypeAdaptor@44ed904 failed to deserialized json
object
[{"ClusterSyncCommand":{"_interval":60,"_skipSteps":20,"_steps":0,"_clusterId":2,"contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
...
Caused by: java.lang.RuntimeException: No-args constructor for class
com.cloud.agent.api.ClusterSyncCommand does not exist. Register an
InstanceCreator with Gson for this type to fix this problem.
at
com.google.gson.MappedObjectConstructor.constructWithNoArgConstructor(MappedObjectConstructor.java:64)
...
2011-09-29 14:56:27 -07:00
Sheng Yang
b8f8989821
bug 11130: Update template and script version in the database when domR started
2011-09-29 14:51:20 -07:00
Sheng Yang
89e45bd671
bug 11130: Add GetDomRVersionCmd
2011-09-29 14:50:11 -07:00
alena
12e25fb988
Implemented vm* api commands to be executed against the project
2011-09-29 10:20:51 -07:00
alena
eda1b53c76
Events for adding/removing project users
2011-09-29 10:20:51 -07:00
Nitin
da2696b2f6
bug 11051: ListCluster - Apply cpu overprovisioning explicitly as it is not applied when its stored in the db. Also avoid calculating the non shared storage for storage allocated capacity calculation.
2011-09-28 16:16:28 +05:30
Sheng Yang
f40cfebd97
Fix wrong event type for DestroyRouterCmd
2011-09-27 15:24:37 -07:00
frank
5efaed1d82
Bug 11522 - New agent manager
...
able to add host
2011-09-27 15:18:21 -07:00
frank
e5fca855c1
Bug 11522 - New agent manager
...
register/unregister resource state adapter in configure/stop of implementations
2011-09-27 11:51:03 -07:00
alena
ccd47c1b21
Implemented Project Invitations
2011-09-26 17:47:20 -07:00
frank
e8c13e10c7
Bug 11522 - New agent manager
...
able to compile besides mycloud stuff
2011-09-26 16:55:20 -07:00
frank
caa8aaf6fe
Bug 11522 - New agent manager
...
clean up events, status of agent
2011-09-26 15:01:16 -07:00
frank
bb4237336f
Bug 11522 - New agent manager
...
refine reconnectHost logic
2011-09-23 16:22:14 -07:00
frank
7c5d3597a9
Bug 11522 - New agent manager
...
move cancelMaintenanceMode to ResourceManager
2011-09-23 15:32:58 -07:00
frank
81665757de
Bug 11522 - New agent manager
...
move delete host to ResourceManager
2011-09-23 15:04:44 -07:00
alena
5c35b7f164
1) Resource limits for Projects
...
2) Security checker for Projects
2011-09-22 18:10:35 -07:00
frank
0343cb79c3
Bug 11522 - New agent manager
...
replace simulateStart with createHostAndAgent
2011-09-22 14:42:05 -07:00
alena
9f9b60a287
1) Added resource limits for the Projects - the same as for the account
...
2) Added "Project" limit type for the Domain object
2011-09-21 17:09:49 -07:00