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
frank
ce3d810f51
Bug 11522 - New agent manager
...
introduce ResourceState and ResourceStateAdapter
2011-09-21 16:52:39 -07:00
frank
443385471f
Bug 11522 - New agent manager
...
change angent state machine to state machine 2
2011-09-21 16:48:33 -07:00
kishan
74641d327f
bug 11514: VM transition form Stopped to Error state should be considered as VM.DESTROY
...
status 11514: resolved fixed
2011-09-21 18:05:19 +05:30
Abhinandan Prateek
599631b9e8
bug 10588: adding new classes
2011-09-21 17:20:51 +05:30
Nitin
f49578c23a
bug 11051: ListZones - Introduce a flag 'showCapacitites'. When its true it will start displaying all the capacitites (as objects in the response) for the respective zone. Also correcting the summation logic for List cluster, pod and zone commands
2011-09-21 16:59:16 +05:30
alena
a1331d1cfc
Intermidiate checkin to Project feature:
...
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
alena
b6f58b77b8
bug 11462: 1) when delete PF rule, revoke corresponding firewall first (if exists) 2) never remove PF rule from the table when corresponding firewall rule wasn't removed yet
...
status 11462: resolved fixed
Reviewed-by: edison@cloud.com
Conflicts:
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
2011-09-20 10:32:57 -07:00
Nitin
7bcbdeb834
bug 11051: ListPods - Introduce a flag 'showCapacitites'. When its true it will start displaying all the capacitites (as objects in the response) for the respective cluster.
2011-09-20 15:59:45 +05:30
Nitin
4a5f6faca2
bug 11051: ListClusters - Introduce a flag 'showCapacitites'. When its true it will start displaying all the capacitites (as objects in the response) for the respective cluster.
2011-09-20 14:33:46 +05:30
alena
ba64010cb5
bug 11470: 1) fixed listResourceLimits 2) Fixed -1 to be treated as unlimited for all the resources
...
status 11470: resolved fixed
2011-09-19 09:47:07 -07:00
Nitin
d53c3f0798
bug 11051: Listing Secondary Storage - also show the total and used storage. Listing Storage pools show the realtime storage stats and correctly populate the allocated storage.
2011-09-15 15:53:31 +05:30
Naredula Janardhana Reddy
10fb507609
bug 11372:
...
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
global - stats visible from public network.
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network(for xen and kvm).
disabled - stats disabled.
all - stats available on public,guest and link-local. (Newly added)
default - stats availble on the serving http port, this does need any specific http port.(Newly added)
Except "default" and "disabled", all the rest of 4 need to configure the stats port.
2011-09-15 11:46:34 +05:30
anthony
6ecc981e25
bug 9777: introduce Error status for snapshot, if snapshot creation fails, it will be in Error status
...
status 9777: resolved fixed
2011-09-14 18:14:02 -07:00
Sheng Yang
9317033a4f
Add missing files for redundant router.
2011-09-14 16:25:56 -07:00
Sheng Yang
474d1a6034
bug 11307: Add destroyRouter command
2011-09-14 16:23:42 -07:00
Sheng Yang
684a603a6e
bug 11307: Add cleanup parameter to restartNetwork command
...
Default set it to true. When cleanup=false, restartNetwork would only
re-implement the network, but don't destroy current existed routers.
2011-09-14 16:23:34 -07:00
Sheng Yang
e330e97f4b
bug 11307: Mark router as to-be-stopped, rather than force stop it.
...
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.
Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 16:23:17 -07:00
Sheng Yang
7744fee649
bug 11307: Enable CheckRouterAnswer to tell if redundant router's priority is bumped or not
2011-09-14 16:22:02 -07:00
Sheng Yang
b987123daa
bug 11307: Let CheckRouterAnswer() parse the return result
2011-09-14 16:21:33 -07:00
Kelven Yang
7a64d8fda4
add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation
2011-09-14 15:15:26 -07:00
Edison Su
f18dd42908
bug 11239: add check for hypervisor type when deploy vm, no way to deploy a vm with hypervisor type None
2011-09-13 18:53:14 -07:00
Edison Su
1d2a084bbe
add jna dependenc
2011-09-13 18:52:48 -07:00
alena
b05c69f3b3
bug 11246: return lb rule Id in the async response for createLoadBalancer api
...
status 11246: resolved fixed
2011-09-13 12:08:12 -07:00
alena
d1cfe58c0f
bug 11412: use "sshkeypair" instead of "keypair" in response name for ssh commands
...
status 11412: resolved fixed
2011-09-13 11:00:06 -07:00
alena
f6a79c603f
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
Conflicts:
core/src/com/cloud/alert/AlertManager.java
server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
Chiradeep Vittal
3cb4ad4934
Add more detail when unable to schedule cleanup
...
clean up tests for security group manager v2
move interval to listener -- allows it to be configurable if needed
fix mocks
Enhanced logging for security group manager (from zucchini)
fix merge issues
merge issues
2011-09-12 18:22:55 -07:00
Chiradeep Vittal
fae5e84699
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
...
change some logs to debug level
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
65fb83035f
Enable monitoring over JMX
...
Add the ability to disable some vms from being scheduled
Add ability to trigger ruleset updates from JMX
added a few more dangerous JMX operations
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
82fcfe8edc
make signature calculation consistent across management servers
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
d03c5af720
make instance_id unique to allow usage of ON DUPLICATE KEY
...
useful logging
Reduce batch size to 16 to avoid sql errors
try using multi inserts to overcome deadlock during batch update
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
e216686029
Revert "bug 10617: Intermediate checking"
...
revert pending review
This reverts commit 561b27565512d438db3d8896df6f97b644b0b498.
2011-09-12 14:45:58 -07:00
Naredula Janardhana Reddy
f9b0962ad9
bug 10617: Intermediate checking
...
Changes :
- Fixing API doc +response name + errorMessage
- Adding seperate events to Egress rules
- Egress rules Using the same database table as that of ingress with new column type.
Pending Tasks:
- db upgrade
- database table rename from security_ingress_rule to generic name, renaming some of the jave class from ingress to generic name.
- Retesting on kvm
2011-09-09 18:14:19 +05:30
prachi
4ad9ac5e71
Bug 11200 - maximum number of guests per host
...
Changes:
To make sure migration does not attempt to pick a host that has running VMs more than the max guest VM's limit:
- Changed manual migration to call host allocators to return a list of hosts suitable for migration. Host allocators check for the max guest VM limit.
- Earlier we returned hosts with enough capacity but now Host Allocators make other checks along with capacity. So the list of hosts returned are hosts that have enough capacity AND satisfy all other conditions like host tags, max guests limit etc. Or in other words Allocators dont return the hosts that dont satisfy all conditions even if they have capacity.
-Therefore, now we mark the list of hosts returned for manual migration as 'suitable' hosts instead of 'hasenoughCapacity' in the HostResponse.
- HA migration already calls allocators, so no change is needed there.
2011-09-08 18:08:31 -07:00
anthony
4423da06a2
1. added timeout in Command Class, then each command can configure itself timeout, if timeout is not configed, use the default timeout , which is 30 minute
...
2. added following configurable timeout
PrimaryStorageDownloadWait("Storage", TemplateManager.class, Integer.class, "primary.storage.download.wait", "10800", "In second, timeout for download template to primary storage", null),
CreateVolumeFromSnapshotWait("Storage", StorageManager.class, Integer.class, "create.volume.from.snapshot.wait", "10800", "In second, timeout for create template from snapshot", null),
CopyVolumeWait("Storage", StorageManager.class, Integer.class, "copy.volume.wait", "10800", "In second, timeout for copy volume command", null),
CreatePrivateTemplateFromVolumeWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.volume.wait", "10800", "In second, timeout for CreatePrivateTemplateFromVolumeCommand", null),
CreatePrivateTemplateFromSnapshotWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.snapshot.wait", "10800", "In second, timeout for CreatePrivateTemplateFromSnapshotCommand", null),
BackupSnapshotWait("Storage", StorageManager.class, Integer.class, "backup.snapshot.wait", "10800", "In second, timeout for BackupSnapshotCommand", null),
2011-09-07 19:17:54 -07:00
Kelven Yang
905df61aac
bug 11362: Make VM network adapter device type be selectable based on VM-specific details
2011-09-07 17:58:42 -07:00
prachi
84868b7f9c
Bug 11200 - maximum number of guests per host
...
Changes:
- Adding a new table 'hypervisor_capabilities' that will record capabilities for each hypervisor version. Added db schema changes for this.
- Currently a few capabilities have been added, namely, 'max_guests_limit' and 'security_group_enabled'
- Added a new column 'hypervisor_version' to host table. StartupRouting command now takes in this parameter. It should be set when a host connects.
- If a host's hypervisor version is not present, we find all the capabilities rows for that hypervisor type and use the first record.
- 'max_guests_limit' is the maximum number of running guest Vms that a host can have for the given hypervisor.
- Host Allocators use this limit and skip a host if the number of running VMs on that host exceeds this limit.
2011-09-07 14:53:05 -07:00
kishan
f9d5a46871
Compare current and previous network stats before updating. Ignore stats if the current stats are not same as the prev stats. Set NetworkUsageAnswer log level to debug
2011-09-05 18:41:42 +05:30
Naredula Janardhana Reddy
b35e85c571
bug 10712: Display name instead of id
2011-09-05 15:55:07 +05:30
Kelven Yang
4d3d47f01c
bug 11304: restore host status after initialization failure
2011-09-02 15:19:36 -07:00
alena
8b5f2c758e
Do account permission checks for snapshots the way it's done for all other ControlledEntities
2011-08-31 18:15:08 -07:00
Murali Reddy
9abb544865
bug 6876: netscaler MPX & VPX support
...
- adding supprt for Netscaler VPX & MPX load blancers
- implemented for virtual networking
- works only with new fetched public IP, inline support is not added yet
2011-08-30 00:14:05 +05:30
alena
35b551a199
bug 11260: Take networkRate for domR's guest and public interface from the corresponding system service offering
2011-08-25 14:15:12 -07:00
prachi
1fefdd628d
Bug 11261 - Allow to update host tags
...
Changes:
- Changes to updateHostCmd to accepts hosttags parameter
- Changes to wipe out existing tags and save new ones in host_tags DB.
- UpdateHost is Admin only operation - so only root admin can update host tags
2011-08-25 13:01:57 -07:00
alena
8c53dbcdd7
bug 11185: support multiple CIDR on overlapping port ranges for firewall rules
...
status 11185: resolved fixed
Conflicts:
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
Conflicts:
api/src/com/cloud/network/firewall/FirewallService.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-25 12:21:11 -07:00
prachi
05440f0905
Bug 9921 - template tags
...
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11
2011-08-25 12:03:59 -07:00
Edison Su
9391938908
fix conflict
2011-08-24 18:47:09 -07:00
alena
e3f179844e
bug 11236: domainAdmin/regularUser can edit/delete/copy/extract Public template/iso only if it was created by them. They still can use/see public template/iso when execute list/deploy/attachIso commands. Root admin can operate with other people templates w/o any restrictions.
...
status 11236: resolved fixed
2011-08-24 14:48:35 -07:00
alena
d3eb9db7fa
bug 11204: when search for domR/dhcp, include Role to the corresponding search to eliminate getting "LB" network element in the response
...
status 11204: resolved fixed
Conflicts:
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
2011-08-23 12:05:53 -07:00
alena
8a7feb8ec1
Merge branch '2.2.y'
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
api/src/com/cloud/agent/api/to/FirewallRuleTO.java
api/src/com/cloud/agent/api/to/IpAddressTO.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
api/src/com/cloud/api/commands/UpdateNetworkCmd.java
api/src/com/cloud/api/response/CapabilitiesResponse.java
api/src/com/cloud/network/Network.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/firewall/FirewallService.java
api/src/com/cloud/network/lb/LoadBalancingRule.java
api/src/com/cloud/network/lb/LoadBalancingRulesService.java
api/src/com/cloud/network/rules/FirewallRule.java
api/src/com/cloud/network/rules/RulesService.java
api/src/com/cloud/offering/NetworkOffering.java
client/tomcatconf/commands.properties.in
cloud.spec
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
core/src/com/cloud/storage/template/DownloadManagerImpl.java
core/src/com/cloud/vm/DomainRouterVO.java
debian/cloud-deps.install
patches/systemvm/debian/config/etc/init.d/cloud-early-config
patches/systemvm/debian/config/root/ipassoc.sh
patches/systemvm/debian/config/root/loadbalancer.sh
scripts/vm/hypervisor/kvm/rundomrpre.sh
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/agent/manager/AgentAttache.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/AgentMonitor.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
server/src/com/cloud/alert/ClusterAlertAdapter.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/cluster/ClusterManagerImpl.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/network/LoadBalancerVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDao.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/FirewallManager.java
server/src/com/cloud/network/rules/FirewallRuleVO.java
server/src/com/cloud/network/rules/PortForwardingRuleVO.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/network/rules/StaticNatRuleImpl.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/server/ConfigurationServerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
server/src/com/cloud/user/AccountManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/create-index-fk.sql
setup/db/create-schema.sql
setup/db/db/schema-222to224.sql
setup/db/db/schema-227to228.sql
setup/db/db/schema-228to229.sql
setup/db/db/schema-229to2210.sql
tools/testClient/README
ui/scripts/cloud.core.instance.js
utils/src/com/cloud/utils/SerialVersionUID.java
utils/src/com/cloud/utils/db/ConnectionConcierge.java
utils/src/com/cloud/utils/db/Merovingian2.java
utils/src/com/cloud/utils/db/Transaction.java
utils/src/com/cloud/utils/nio/Link.java
utils/src/com/cloud/utils/nio/NioConnection.java
utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
alena
c2732850f4
bug 11202: added "networkRate" param to service offering api responses
2011-08-22 13:35:43 -07:00
alena
0b061529b1
bug 11202: added "networkRate" param to service offering api responses
2011-08-22 13:34:47 -07:00
alena
31a022c720
Added networkRate parameter to createServiceOffering api command
...
Conflicts:
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2011-08-22 12:05:34 -07:00
alena
033765f93f
Added networkRate parameter to createServiceOffering api command
2011-08-22 12:02:08 -07:00
frank
32ee2dbe2c
Remove baremetal specific parameters from AddHostCmd
2011-08-19 17:12:23 -07:00
frank
18f87c2108
Merge branch 'cvm' into 2.2.y
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
cloud.spec
core/src/com/cloud/storage/template/DownloadManagerImpl.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/listener/StoragePoolMonitor.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-19 16:08:35 -07:00
Naredula Janardhana Reddy
4369b0ba96
bug 1067:
...
- covered basic impelementation for xen, need to test corner cases.
- Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
Edison Su
ea102aa045
add host guid in migrate command
2011-08-18 11:03:40 -07:00
Edison Su
ed7214c710
add host guid in migrate command
2011-08-16 10:30:52 -07:00
Naredula Janardhana Reddy
b9183c0840
bug 10561: merging code from 2.2.10 to master
2011-08-16 14:20:51 +05:30
alena
11d06f3d6a
Added missing license headers
2011-08-15 14:24:46 -07:00
alena
5fd0ff5610
Added missing license headers
2011-08-15 14:24:28 -07:00
alena
d72200bbfc
If one of the static nat rules failed to apply on the backend, the end result should be false
2011-08-15 10:18:44 -07:00
alena
891f02f4d4
Resend firewall rules on domR restart
2011-08-15 10:18:10 -07:00
alena
803255b0ba
bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
...
status 11029: resolved fixed
Commit also includes the following:
* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-15 10:18:09 -07:00
Murali Reddy
0969ba8063
bug 10923: changes for snapshot command to carry primary storage pool path
2011-08-12 17:45:02 +05:30
Murali Reddy
cc60989a68
bug 10923: changes for snapshot command to carry primary storage pool path
2011-08-12 17:43:18 +05:30
Nitin
5ef0c96e70
bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now.
2011-08-12 14:30:34 +05:30
Nitin
f1d13729af
bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now.
2011-08-12 12:21:02 +05:30
Chiradeep Vittal
ba3bb68035
fix merge issues
2011-08-11 16:53:08 -07:00
Chiradeep Vittal
51af0db682
mass merge 2.2.10
2011-08-11 16:41:52 -07:00
keshav
df5f48c093
Added parameter to enable the firewall rule UI to the list capabilities API.
2011-08-11 12:03:06 -07:00
keshav
4da9b6bfb4
Added parameter to enable the firewall rule UI to the list capabilities API.
2011-08-11 11:54:41 -07:00
keshav
d47eb46faf
Added parameter to enable the firewall rule UI to the list capabilities API.
2011-08-11 11:42:02 -07:00
Alex Huang
6e7ad8830f
bug 11043: Propagating fix
2011-08-11 10:30:03 -07:00
Alex Huang
1079a77024
bug 11043: rverted the bad fix
2011-08-11 10:27:02 -07:00
Alex Huang
15f86d3d93
bug 11043: rverted the bad fix
2011-08-11 10:25:31 -07:00
alena
278f2a401f
bug 10561: intermediate checkin for enable/disableStaticNat.
...
1) On enableStaticNat command we actually send the command to the backend (we used to just upgrade the DB in the past). The backend command carries sourceIp and destIp, and creates IP to IP mapping on the domR.
2) On disableStaticNat for the Ip address in addition to cleaning up port ranges, we also delete IP to IP mapping on the domR.
2011-08-11 10:19:22 -07:00
Naredula Janardhana Reddy
7c2395e684
bug 10561: fix: last entry in the firewall rules unable to delete
2011-08-11 19:01:36 +05:30
Nitin
56ce65710d
bug 5370: copy Template/Iso - generating the started and completed events.
...
status 5370: resolved fixed
2011-08-11 16:14:27 +05:30
Chiradeep Vittal
375da4da1a
bug 11072: icky icky icky
2011-08-10 20:40:13 -07:00
Chiradeep Vittal
d29b01ca7f
bug 10561: backend rules for firewall
2011-08-10 18:39:52 -07:00
alena
dc116d99a8
Get ipAddress info not from the rule, but from the request parameter ipAddressId
2011-08-10 16:47:15 -07:00
Sheng Yang
e1de9f5bec
bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
...
status 11021: resolved fixed
2011-08-10 12:52:19 -07:00
Sheng Yang
2d958c5d23
bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
...
status 11021: resolved fixed
2011-08-10 12:52:10 -07:00
Sheng Yang
58a13c0d5a
bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
...
status 11021: resolved fixed
2011-08-10 12:51:43 -07:00
alena
32b53351ff
Fixed response processing in createFirewallRule command
2011-08-10 11:36:34 -07:00
Naredula Janardhana Reddy
a9eb14c42e
bug 10561: backend added for CreateFirewallRule and deleteFirewallRule
2011-08-10 17:06:42 +05:30
Abhinandan Prateek
949ad3f4c4
bug 10561: readding source cidr changes to firewall rules
2011-08-10 13:55:37 +05:30
Abhinandan Prateek
9bba09857e
bug 10561: readding source cidr changes to firewall rules
2011-08-10 13:52:42 +05:30
keshav
1761024fda
Changed RuleTO classes to carry the source VLAN tag. Added guest network gateway to NetworkElementCommand.
2011-08-09 16:38:24 -07:00
alena
d79fd2ca03
Fixed merge conflict
2011-08-09 15:51:57 -07:00
alena
51b040e393
Fixed typos in api doc for listFirewalls command
2011-08-09 15:51:57 -07:00
alena
6b9603bc4c
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
Conflicts:
api/src/com/cloud/api/BaseCmd.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -07:00
alena
e4967c4631
Fixed typos in api doc for listFirewalls command
2011-08-09 09:58:38 -07:00
Chiradeep Vittal
779ca9ac1a
fix associate ip exception
2011-08-09 09:53:22 -07:00
kishan
ca39855417
bug 10613,10614,10615: Check if the loadbalancer rule exists before assign/remove/deleting rule
...
status 10613,10614,10615: resolved fixed
2011-08-09 20:25:04 +05:30
Nitin
d763d809cc
bug 10848: Introducing an api - ListCapacityByType. Add the basic DB layer in the command.
2011-08-09 18:12:37 +05:30
Abhinandan Prateek
311afeae23
bug 10731: reverting back source cidr changes for loadbalancer and portforwarding
2011-08-09 16:01:48 +05:30
Chiradeep Vittal
301bf049d1
fix compile issues
2011-08-08 22:03:08 -07:00
Chiradeep Vittal
924961d898
merge nectarine
2011-08-08 21:45:37 -07:00
alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Kelven Yang
02e64f90de
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:45:47 -07:00
Kelven Yang
39a3d82f11
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:37:26 -07:00
Chiradeep Vittal
8277584b8a
merge ELB / nectarine branch
2011-08-08 15:20:56 -07:00
frank
e8c2fa4e8e
Remove baremetal specific parameters from AddHostCmd
2011-08-08 15:01:26 -07:00
frank
6aaf3d5ae0
Merge branch 'cvm'
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/storage/Storage.java
cloud.spec
core/src/com/cloud/storage/template/DownloadManagerImpl.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-08 14:14:09 -07:00
frank
c89425325b
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- add files
2011-08-08 13:32:27 -07:00
Nitin
01582fcd40
bug 10848: Introducing an api - ListCapacityByType.
2011-08-06 20:09:07 +05:30
frank
c6fba0fd42
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- prepare OCFS2 nodes
2011-08-05 17:46:29 -07:00
Nitin
c009b56a60
bug 6653: Extract Api's - No need to encode the url's forward slash with %2F as we have the latest version of gson which doesnt err out on forward slash anymore.
...
status 6653: resolved fixed
2011-08-05 18:44:41 +05:30
Kelven Yang
d10c8e2a1d
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:30:50 -07:00
Kelven Yang
19567df49b
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:27:45 -07:00
alena
2b35974f9b
Fixed doc bug in createVolume api
2011-08-04 15:48:31 -07:00
alena
9b8c6278e0
Fixed doc bug in createVolume api
2011-08-04 15:47:55 -07:00
alena
40f24b56d0
bug 10757: override default page size only in listCfg api command
...
status 10757: resolved fixed
2011-08-04 12:57:58 -07:00
alena
0826066f7f
bug 10757: override default page size only in listCfg api command
...
status 10757: resolved fixed
2011-08-04 12:56:00 -07:00
Sheng Yang
a6bb0a855d
Fix KVM agent connection issue, and build
...
non-static inner class can't be serialized, also it lacks no-args
constructor.
2011-08-04 11:57:21 -07:00
Sheng Yang
f1d3e73d08
Fix KVM agent connection issue, and build
...
non-static inner class can't be serialized, also it lacks no-args
constructor.
2011-08-04 11:56:37 -07:00
Sheng Yang
f7ef238e7c
Revert "Fix KVM agent connection issue"
...
This reverts commit 4a3296bd5e489997c2c5ffb2368f688c3a1b9498.
2011-08-04 11:45:27 -07:00
Sheng Yang
9ae546e67b
Revert "Fix KVM agent connection issue"
...
This reverts commit 4a3296bd5e489997c2c5ffb2368f688c3a1b9498.
2011-08-04 11:43:55 -07:00
Sheng Yang
1828893e73
Fix KVM agent connection issue
...
non-static inner class can't be serialized, also it lacks no-args constructor.
2011-08-04 11:35:57 -07:00
Sheng Yang
75fc541754
Fix KVM agent connection issue
...
non-static inner class can't be serialized, also it lacks no-args constructor.
2011-08-04 11:35:36 -07:00
keshav
34a0c44f4f
Added a new table for inline load balancer deployments, to store mappings between public IPs and NICs.
2011-08-03 16:10:20 -07:00
Nitin
c73f5da276
bug 10725: add checksum to listIso and registerIso (its an optional parameter for this command).
...
status 10725: resolved fixed
2011-08-03 17:41:29 +05:30
Abhinandan Prateek
f6303c13fb
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:42:29 +05:30
Abhinandan Prateek
cd78c5cb9b
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:32:28 +05:30
Abhinandan Prateek
6dd519ddd4
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:16:08 +05:30
alena
8d47c53735
Revert "bug 10435: removed vpn feature"
...
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
anthony
37dcec77bb
Bug 10197:
...
implement pool-wise VM sync,
For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
Conflicts:
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-08-02 17:31:36 -07:00
anthony
bba811a714
Bug 10197:
...
1. don't try HA vms if host hypervisor version changes
2. fixed a bug related to VM full sync with hosttrack enabled
2011-08-02 17:29:16 -07:00
anthony
dc7ff2b5ad
Bug 10197:
...
implement pool-wise VM sync,
For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
2011-08-02 16:52:24 -07:00
anthony
5f9884d97a
Bug 10197:
...
1. don't try HA vms if host hypervisor version changes
2. fixed a bug related to VM full sync with hosttrack enabled
2011-08-02 16:48:27 -07:00
Alex Huang
f043f63eaa
Merged changes from 2.2.8.zucchini
2011-08-02 15:33:48 -07:00
Abhinandan Prateek
4f3dec5f1c
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:34:38 +05:30
Abhinandan Prateek
5cb3882349
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:23:33 +05:30
Abhinandan Prateek
46be774ce8
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:08:24 +05:30
Kelven Yang
04528c821b
bug 10929: allow only OperationFailedToError event to trigger transition to Error state.
2011-08-01 18:40:29 -07:00
Kelven Yang
a6a2383561
bug 10929: allow only OperationFailedToError event to trigger transition to Error state.
2011-08-01 18:38:14 -07:00
Kelven Yang
40f42a784f
bug 10929: allow only OperationFailedToError event to trigger transition to Error state.
2011-08-01 18:33:02 -07:00
Edison Su
0bc6026d6b
fix description of addcluster api, and a typo in one script
2011-08-01 14:28:39 -07:00
alena
f4f51f0451
Revert "bug 10812: modifying dhcp option 119 on domR as per zone config"
...
This reverts commit 606ec843475911680adb743d7975bf7d584ab240.
2011-08-01 13:00:53 -07:00
Abhinandan Prateek
826a3d6ad0
bug 10812: modifying dhcp option 119 on domR as per zone config
...
status 10812: resolved fixed.
2011-08-01 14:44:31 +05:30
Chiradeep Vittal
68f9ab5c5c
DeleteLoadBalancer on invalid id throws NPE
2011-07-29 23:21:27 -07:00
anthony
93244b5b62
Bug 10197: if VM is already running, just return the host it is running on
2011-07-29 16:33:57 -07:00
anthony
31100824d7
Bug 10197: if VM is already running, just return the host it is running on
2011-07-29 16:33:33 -07:00
frank
b0b3f16dae
Two things:
...
Load non-routing resource in ClusteredAgentManager includes External DHCP, PxeServer, ExternalFirewall, ExternalLoadBalancer
Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)
changes in line with UI
2011-07-29 11:28:09 -07:00
frank
055ec48ae8
Two things:
...
Load non-routing resource in ClusteredAgentManager includes External DHCP, PxeServer, ExternalFirewall, ExternalLoadBalancer
Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)
changes in line with UI
2011-07-29 11:25:35 -07:00
anthony
055e5c82c7
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-07-29 10:45:11 -07:00
Jessica Wang
c074b2d63f
cloudStack - Elastic Load Balancer - fix a server-side bug "unhandled exception executing api command: listLoadBalancerRules"
2011-07-28 19:11:00 -07:00
Chiradeep Vittal
1471b0a97a
Add parameter to ListPublicIpAddressCmd : forloadbalancing
2011-07-28 14:38:14 -07:00
Chiradeep Vittal
a6b1453254
minor cleanup
2011-07-28 14:38:14 -07:00
Alex Huang
c948ff3611
moved security ingress command to trace
2011-07-28 11:07:54 -07:00
Naredula Janardhana Reddy
15d57cef9f
bug 10557: implemented the TODO - opening the stats port using iptable
2011-07-28 17:28:20 +05:30
Naredula Janardhana Reddy
2fc7be14de
bug 10557: implemented the TODO - opening the stats port using iptable
2011-07-28 17:24:10 +05:30
Chiradeep Vittal
2971e77401
change supportELB to report on which ips the ELB runs guest or public
2011-07-28 00:39:05 -07:00
Chiradeep Vittal
2162cdf283
WIP2: make creating an ELB bullet proof
2011-07-27 21:11:26 -07:00
Chiradeep Vittal
b240c4a645
WIP: make creating an ELB bullet proof
2011-07-27 21:11:26 -07:00
Chiradeep Vittal
0ee45261e7
set a flag so that api clients know whether to use the elb api
2011-07-27 16:00:59 -07:00
Chiradeep Vittal
042c06fbb6
Make createLoadBalancer async
2011-07-27 12:00:08 -07:00
Chiradeep Vittal
cd8e069f80
Acquire an ip and launch an ELB vm
2011-07-27 12:00:07 -07:00
Naredula Janardhana Reddy
3c66075b8b
bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config
2011-07-27 14:06:26 +05:30
Naredula Janardhana Reddy
93680fdc9e
Bug:10557
2011-07-27 14:05:47 +05:30
Naredula Janardhana Reddy
f0b1f3d229
bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config
2011-07-27 13:42:14 +05:30
frank
b7f5dbe2b8
Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)
...
Use createTemplate API instead a new one
2011-07-26 18:07:16 -07:00
frank
95535f9266
Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)
...
Use createTemplate API instead a new one
2011-07-26 18:05:42 -07:00
Naredula Janardhana Reddy
96bacb85f8
Bug:10557
2011-07-25 17:40:33 +05:30
Nitin
6d85c9952c
bug 9452: Remove the overridden getPageSizeVal function in listCapacity and use it from BaseListCmd which has the changes for default pagination to unlimited.
2011-07-22 13:12:35 +05:30
anthony
e666cf5e77
bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support
2011-07-21 17:31:43 -07:00
keshav
4ce137ef2e
Added account ID to IpAddressTO and NetworkElementCommand.
2011-07-21 16:44:13 -07:00
alena
d6112b1632
Revert "bug 10373: Intermediate checkin for Domain level guest Virtual networks"
...
This reverts commit e5c25f3868965e36c4bff1c78ca4552a8c852241.
Conflicts:
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-21 16:04:55 -07:00
Alex Huang
abd3321077
bug 10799: propagate to 2.2.9
2011-07-21 11:30:03 -07:00
Alex Huang
f82aa97273
bug 10799: propagate to main
2011-07-21 11:27:10 -07:00
Alex Huang
45074e7cba
bug 10799: There are two problems. The deadlock was ate up but then the savepublicip call return true, causing the problem with the pod_vlan_map hitting a constraint problem. HostPodDao was used as the scope for the insufficient capacity exception which causes the virtualmachinemanager to not to retry starting the vm. It should have been HostPod instead of HostPodDao.
2011-07-21 11:22:55 -07:00
Abhinandan Prateek
dff712f2a9
bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
...
status 10731: resolved fixed
2011-07-21 13:48:42 +05:30
Abhinandan Prateek
de34d6089d
bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
...
status 10731: resolved fixed
2011-07-21 13:40:06 +05:30
alena
36edf298e7
bug 10373: Intermediate checkin for Domain level guest Virtual networks
2011-07-20 13:44:26 -07:00
kishan
427b73a2b9
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-20 11:13:56 +05:30
anthony
0d23c9a6f4
bug 10197:
...
missing one file
2011-07-19 15:49:48 -07:00
anthony
379d1ce28d
bug 10197:
...
missing one file
2011-07-19 15:48:56 -07:00
anthony
bef3b480cd
bug 10197:
...
The step to upgrade xenserver,
1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts
TODO,
1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:44:37 -07:00
anthony
3881e13387
bug 10197:
...
The step to upgrade xenserver,
1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts
TODO,
1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:26:25 -07:00
Sheng Yang
fa623c04e2
bug 10640: Redundant virtual router: Try to deploy the second virtual router to different pod/cluster/host/storagepool
...
The old strategy is to deploy the second virtual router to diffent host only.
status 10640: resolved fixed
2011-07-19 15:06:15 -07:00
Sheng Yang
e5e76881c6
Redundant virtual router: Try to deploy the second virtual router to different pod/cluster/host/storagepool
...
The old strategy is to deploy the second virtual router to diffent host only.
2011-07-19 14:26:37 -07:00
alena
1a38c8547d
bug 10605: updateNetworks api command - restart the network if networkDomain is updated.
...
updateNetwork command is async now
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-19 12:09:25 -07:00
alena
e2eac341a4
bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
...
status 10710: resolved fixed
Conflicts:
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/db/schema-228to229.sql
2011-07-19 10:33:34 -07:00
Nitin
ad60edfc5b
bug 9452: Remove the overridden getPageSizeVal function in listCapacity and use it from BaseListCmd which has the changes for default pagination to unlimited.
2011-07-19 19:25:56 +05:30
Nitin
95919523d4
bug 9452: Remove the overridden getPageSizeVal function in listCapacity and use it from BaseListCmd which has the changes for default pagination to unlimited.
2011-07-19 18:45:47 +05:30
Abhinandan Prateek
57f41a3a05
bug 10731: added optional paramter source cidr
2011-07-19 12:21:39 +05:30
Abhinandan Prateek
24510cd5fb
bug 10731: adding optional paramter for cidr
2011-07-19 12:10:48 +05:30
Sheng Yang
44d4113ae6
bug 10429: backport redundant router
...
Part 2
commit 797839360c65cd348d2eb20630521177ab0919de
bug 9154: redundant virtual router
commit 8ff7f230204d4d3a7a4adee75523a9a84f4276fe
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
commit 230b99e9e0b152648f1dd2a5eab6f22315b8e7b4
bug 9154: Add redundant state to DomainRouterResponse
commit ccefb5ff5e83d713798a347c99bce1a0d04b4317
bug 9154: Add router fault state report
commit 7a3090378f9785caecf741b70554f6ea17c41764
bug 9154: Send alert if found two virtual routers in master state
commit 66831056e4bf27665871bccd24e6159071564847
bug 9154: Code clean up
commit bf3f58a85741fa7118bd848a42d8b21baa4478d4
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-07-18 18:30:02 -07:00
Sheng Yang
4bc8686513
bug 10429: Backport redundant virtual router
...
Part 1
This backport contained:
commit 52317c718c25111c2535657139b541db0c9d1e1f
bug 9154: Initial check in for enabling redundant virtual router
commit 54199112055d754371bfb141168fb5538bf6d6ea
Add host verification for CheckRouterCommand
commit cef978a228c90056ead9be10cbc4de74c2b8de76
Fix CheckRouterAnswer's isMaster report
commit 4072f0a6991ac3b63601a1764fbe14188965f62f
Some build fixes and code refactoring for redundant router
commit 4d3350b7cd8ee2706a9bace4437fc194e36c8dd5
Redundant Router: Fix OVS
commit 6a228830e7c46d819fa0c3317e159e041337e887
Fix findByNetwork()/findByNetworkAndPod()'s return
commit c627777b3d5bdbcd60db4032cebd349a5b1ecd83
Redundant Router: Fix isVmAlive()
commit e1275d2514adc41f8744f5107d4069c38be195f1
Only issue CheckRouterCommand to redundant routers
And all modification to the scripts till
commit 4e3942462ed3fde3a3d7011e95839e2128fba514
logging changes
in the master branch.
2011-07-18 18:29:56 -07:00
alena
a86f49c106
From Alex - assertion fix
2011-07-18 15:12:44 -07:00
frank
345fb3aef5
Bug 9887 - baremetal: support for image operation (create template from guest disk)
...
Add files
2011-07-18 13:57:13 -07:00
frank
244de00b65
Bug 9887 - baremetal: support for image operation (create template from guest disk)
...
Resolved fixed
2011-07-18 13:57:03 -07:00
Nitin
149c8d4b03
bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
...
status 9596: resolved fixed
2011-07-18 10:28:59 -07:00
Nitin
b3957d525b
bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
...
status 9596: resolved fixed
2011-07-18 12:10:51 +05:30
alena
93090d867d
bug 10297: make default page size unlimited (-1)
2011-07-15 16:02:37 -07:00
alena
15aa7d9102
bug 10297: make default page size unlimited (-1)
2011-07-15 16:01:44 -07:00
alena
0d84cde633
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-15 14:40:39 -07:00
alena
5300dd52a9
bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
...
status 4706: resolved fixed
Merge from master to 2.2.8 branch
Conflicts:
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:23:28 -07:00
alena
0d2787e2db
bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
...
status 4706: resolved fixed
Merge from master to 2.2.8 branch
Conflicts:
api/src/com/cloud/api/ApiConstants.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/guru/GuestNetworkGuru.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:20:52 -07:00
alena
3d41105e1b
From Alex - assertion fix
2011-07-15 10:19:27 -07:00
alena
731c3bc20a
bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
...
status 10710: resolved fixed
2011-07-14 16:28:13 -07:00
alena
1979d1d065
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2011-07-13 18:25:13 -07:00
alena
25206e6257
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
kishan
59399966c2
bug 7127: Added action event for lock user
...
status 7127: resolved fixed
2011-07-12 14:56:23 +05:30
Edison Su
8da6578d76
change parameter to forcedestroylocalstorage during delete host
2011-07-08 13:49:32 -07:00
Edison Su
a24eef5c81
add new option to force destroy vm when delete host, if the VMs are created on local storage
2011-07-08 13:49:05 -07:00
Kelven Yang
e00c011dcb
bug 10551: pass correct host type to StartupSecondaryStorageCommand
2011-07-08 10:35:56 -07:00
Abhinandan Prateek
2fe48b5359
bug 10650: making sure that only unique Nics are added to the set
2011-07-08 20:22:10 +05:30
Abhinandan Prateek
c7ae033087
bug 10650: making sure that only unique Nics are added to the set
2011-07-08 20:18:22 +05:30
frank
0fa9f5ef31
Bug 9887 - baremetal: support for image operation (create template from guest disk)
...
Add files
2011-07-07 15:34:57 -07:00
frank
3c1a375978
Bug 9887 - baremetal: support for image operation (create template from guest disk)
...
Resolved fixed
2011-07-07 15:34:42 -07:00
alena
a2531b60f9
bug 10605: updateNetworks api command - restart the network if networkDomain is updated.
...
updateNetwork command is async now
2011-07-06 18:00:15 -07:00
alena
9be9a970c9
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-06 16:57:19 -07:00
Alex Huang
ee2670edc7
Some operations on the lock table allowed through jmx
2011-07-06 16:10:18 -07:00
Alex Huang
7e9836dfd0
Some operations on the lock table allowed through jmx
2011-07-06 16:09:05 -07:00
alena
a8a9b37824
bug 10553: allow networkDomain update for Guest system network in Basic zone
...
status 10553: resolved fixed
2011-07-06 14:16:04 -07:00
alena
01a47e0717
bug 10553: allow networkDomain update for Guest system network in Basic zone
...
status 10553: resolved fixed
2011-07-06 12:01:09 -07:00
Nitin
fb981be800
bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
...
status 10580: resolved fixed
2011-07-06 18:20:17 +05:30
Nitin
1c73e378da
bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
...
status 10580: resolved fixed
2011-07-06 18:15:18 +05:30
anthony
3b68175965
bug 10591: can not return listResponse for Async command
...
status 10591: resolved fixed
2011-07-05 17:55:19 -07:00
anthony
8f67524fc5
bug 10591: can not return listResponse for Async command
...
status 10591: resolved fixed
2011-07-05 17:53:22 -07:00
alena
fec6e5e204
Fixed api description for restartNetwork command
2011-07-05 13:43:06 -07:00
alena
58893d9b27
Fixed api description for restartNetwork command
2011-07-05 13:42:38 -07:00
alena
bb1f000414
createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
...
registerSshKeys command - added ability for admin to register key for another user
Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:10:52 -07:00
alena
c31605d51f
createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
...
registerSshKeys command - added ability for admin to register key for another user
Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:08:43 -07:00
Nitin
62aab14e05
bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
...
Status 8915: resolved fixed
2011-07-04 12:01:04 +05:30
anthony
401e5ce0e9
handle register template/iso to all zones
...
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
2011-07-01 17:42:59 -07:00
anthony
2bd3f6c74e
handle register template/iso to all zones
2011-07-01 17:06:43 -07:00
alena
22bf622359
bug 10539: use TemplateResponse object instead of ListResponse in copyTemplate api
...
status 10539: resolved fixed
2011-07-01 13:19:19 -07:00
alena
17f785f07a
Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin
2011-07-01 13:19:12 -07:00
alena
61e11bdf6d
bug 10539: use TemplateResponse object instead of ListResponse in copyTemplate api
...
status 10539: resolved fixed
2011-07-01 13:18:45 -07:00
kishan
36d7ee5634
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
anthony
a217baebf6
bug 5873: Checking if scmbug works
...
status 5873: resolved fixed
2011-06-30 14:06:20 -07:00
anthony
9f8d515b2e
bug 5873: Checking if scmbug works
...
status 5873: resolved fixed
2011-06-30 14:04:16 -07:00
Nitin
62078ffef2
bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
...
Status 8915: resolved fixed
2011-06-30 16:31:02 +05:30
Murali Reddy
9c1bfc351a
Bug 10524 - refactor ExternalNetworkManager, ExternalFirewallManager, ExternalLoadBalancerManager for supporting multiple type of devices
...
refactoring code to enable support for multiple load balancer and firewall types
2011-06-30 16:15:48 +05:30
Abhinandan Prateek
c30225c2af
bug 10489: self review updates
2011-06-30 11:07:37 +05:30
Abhinandan Prateek
6ba0b35295
bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5
2011-06-30 11:05:18 +05:30
Abhinandan Prateek
8bdbfc78ea
bug 10489: self review updates
2011-06-30 10:52:03 +05:30
Abhinandan Prateek
f34252f2e0
bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5
2011-06-30 09:55:35 +05:30
anthony
2fb5de8852
fixed several template issues
...
merge createtemplateresponse and createteisoresponse
on UI template
only show template corresponding hypervisor exists
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
server/src/com/cloud/storage/StorageManager.java
2011-06-29 18:31:13 -07:00
anthony
446d08187b
fixed several template issues
...
merge createtemplateresponse and createteisoresponse
on UI template
only show template corresponding hypervisor exists
2011-06-29 15:56:01 -07:00
anthony
6fe033deae
bug 10410:
...
same template only shows once in a zone,
and only ready template shows in UI
status 10410: resolved fixed
2011-06-27 15:51:00 -07:00
anthony
3f62723bb9
Revert "bug 10410:"
...
This reverts commit 5eed2e9cb246ce526203df3a39cef2be991ccc6e.
2011-06-27 15:48:36 -07:00
anthony
bec24d533d
bug 10410:
...
same template only shows once per zone
status 10410: resolved fixed
2011-06-27 15:47:50 -07:00
anthony
7e5d84f2cc
bug 10410:
...
same template only shows once in a zone,
and only ready template shows in UI
status 10410: resolved fixed
2011-06-27 15:49:19 -07:00
Edison Su
13e4eb97f6
change parameter to forcedestroylocalstorage during delete host
2011-06-24 14:45:47 -04:00
alena
74f34a0e0c
bug 10435: removed vpn feature
...
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
Edison Su
28f0068151
add new option to force destroy vm when delete host, if the VMs are created on local storage
2011-06-23 20:36:13 -04:00
alena
d380ce0897
bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
...
status 4706: resolved fixed
2011-06-23 11:31:39 -07:00
Alex Huang
9171407113
bug 10417: don't log vmdata in debug
2011-06-23 11:10:01 -07:00
Alex Huang
8ae8f8d36c
bug 10417: don't log vmdata in debug
2011-06-23 11:08:20 -07:00
root
8cdba6a7f5
Merge branch '2.2.8' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.8
2011-06-23 09:58:07 +05:30
Kelven Yang
be38384e76
bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source
2011-06-22 18:25:35 -07:00
Kelven Yang
7f8b129dc5
bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source
2011-06-22 18:23:43 -07:00
Sheng Yang
6e405efe01
bug 10311: Update UpdateNetworkCmd, allow change networkOfferingId
...
And restart/re-implement the network if networkOfferingId is changed.
2011-06-22 15:30:39 -07:00
Sheng Yang
0d750dacc2
bug 10311: Update create network_offering API
2011-06-22 15:30:39 -07:00
alena
4fcb406f2b
bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
...
status 4706: resolved fixed
2011-06-21 16:41:43 -07:00
Abhinandan Prateek
098f68d18e
bug 10340: added cidrs in response
...
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:57:36 +05:30
Abhinandan Prateek
b6d2ec505e
bug 10340: added cidrs in response
...
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:55:17 +05:30
Alex Huang
a254e90ab3
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 10:15:42 -07:00
Alex Huang
8459ae0beb
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 09:25:29 -07:00
Sheng Yang
be216bf975
bug 9154: Add redundancy capability to VirtualRouterElement
...
Also move redundancy checking to VirtualRouterElement
2011-06-20 14:47:22 -07:00
Abhinandan Prateek
79e38f0a1f
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:11:50 +05:30
Abhinandan Prateek
976aab77bb
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:01:40 +05:30
Abhinandan Prateek
cf15573d06
bug 10313: marking default system offering as default so that they should not be deleted
...
status 10313: resolved fixed
2011-06-19 12:30:07 +05:30
Abhinandan Prateek
db29a56eaf
bug 10313: marking default system offering as default so that they should not be deleted
...
status 10313: resolved fixed
2011-06-19 12:16:06 +05:30
alena
cdaf4d1370
Fixed userResponse to return api/secretKeys
2011-06-17 15:38:06 -07:00
alena
614400f1e3
Fixed userResponse to return api/secretKeys
2011-06-17 15:40:35 -07:00
Kelven Yang
2a6307f272
1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled
2011-06-16 16:22:11 -07:00
Sheng Yang
d5ff0dfa12
bug 9154: Update NetworkOfferingVO field
2011-06-16 14:29:34 -07:00
alena
cad16ed27f
bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
...
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:49:40 -07:00
alena
57e4af6fd5
bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
...
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:47:54 -07:00
Murali Reddy
00bd79ffee
bug 9419: implement api to reset resource count
...
adding couple of fixes
2011-06-16 19:01:03 +05:30
Murali Reddy
aa4f654929
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-16 18:59:38 +05:30
Murali Reddy
9470c36644
bug 9419: implement api to reset resource count
...
pushing the changes from master
2011-06-16 18:43:16 +05:30
Murali Reddy
7ce2f0362f
bug 9419: implement api to reset resource count
...
adding couple of fixes
2011-06-16 17:38:20 +05:30
Kelven Yang
464d793754
1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled
2011-06-15 18:37:38 -07:00
Sheng Yang
9466106c40
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-06-15 14:39:28 -07:00
kishan
ed6809c53d
bug 8144: Added event for router start/stop and reboot
...
status 8144: resolved fixed
2011-06-15 12:40:23 +05:30
kishan
9ce937558e
bug 8373: Added new API listEventTypes
2011-06-15 12:40:23 +05:30
kishan
22577363ca
bug 8373: Added new API listEventTypes
2011-06-15 12:40:23 +05:30
kishan
087ca5800e
bug 8992: Added volume ID for snapshot create starting and completed events
...
status 8992: resolved fixed
2011-06-15 12:40:23 +05:30
Sheng Yang
6f0edd9541
bug 9154: Add router fault state report
2011-06-14 20:33:18 -07:00
Sheng Yang
07a61686db
bug 9154: Add redundant state to DomainRouterResponse
2011-06-14 19:31:24 -07:00
Sheng Yang
aef562c69d
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
...
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
Alex Huang
246c01b1ab
bug 9651: added tags to network response for ui
2011-06-14 11:11:24 -07:00
kishan
0629592caf
bug 8144: Added event for router start/stop and reboot
...
status 8144: resolved fixed
2011-06-14 14:24:52 +05:30
anthony
e91e0b4174
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-06-13 16:45:13 -07:00
kishan
39ded44bb6
bug 8373: Added new API listEventTypes
2011-06-13 19:11:48 +05:30
kishan
5a6664ab12
bug 8373: Added new API listEventTypes
2011-06-13 19:11:12 +05:30
nit
197dc6cf6e
registerIso - remove hardcoding of GuestosId when its None. Retrieve it from DB.
2011-06-13 19:04:27 +05:30
kishan
44ec82a28b
bug 8992: Added volume ID for snapshot create starting and completed events
...
status 8992: resolved fixed
2011-06-13 15:08:10 +05:30
Abhinandan Prateek
a4bdeffd61
bug 8962: changes for vms using virtual network
2011-06-13 14:56:00 +05:30
Murali Reddy
6310991bdc
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 10:55:57 +05:30
Murali Reddy
8d56093bdc
bug 9419: implement api to reset resource count
...
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 09:13:15 +05:30
Alex Huang
2688d61a1e
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:28 -07:00
Alex Huang
44d15d38b0
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:00 -07:00