saksham
f5f07ca0fd
CS-15018: Event USER.LOGIN should contain the client IP address. Changes made in accordance with the coding convention.
...
Reviewed-by: Alena Prokharchyk
2012-06-18 10:17:51 -07:00
Alena Prokharchyk
1abdb876c9
1) Allow having multiple shared networks with the same vlan
...
2) Added new parameter to listNetworks command - canUseForDeploy(boolean). When true, list only networks that can be used for vm deployment (networks have enough ip addresses to allocate from for the vm)
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/ListNetworksCmd.java
api/src/com/cloud/api/response/NetworkResponse.java
api/src/com/cloud/network/NetworkService.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/IPAddressDao.java
server/src/com/cloud/network/dao/IPAddressDaoImpl.java
2012-06-15 15:57:56 -07:00
Alena Prokharchyk
5235894b20
Changed log level to trace for vpc router element
2012-06-15 12:58:15 -07:00
Alena Prokharchyk
aaf0d24a83
Merge branch 'vpc-3.0.x' into 3.0.x
...
Conflicts:
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/AssociateIPAddrCmd.java
api/src/com/cloud/api/commands/EnableStaticNatCmd.java
api/src/com/cloud/event/EventTypes.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/rules/RulesService.java
client/tomcatconf/commands.properties.in
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
scripts/vm/hypervisor/xenserver/xenserver56fp1/patch
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
server/src/com/cloud/upgrade/dao/Upgrade2214to30.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
server/test/com/cloud/vm/MockVirtualMachineManagerImpl.java
setup/db/create-schema.sql
wscript
2012-06-14 19:04:59 -07:00
Alena Prokharchyk
5c5a2adb90
Completed API / Management server code for Resource tags feature. UI is yet to be done
2012-06-14 15:17:11 -07:00
Alena Prokharchyk
127daa5831
Fixed lock problem when add vm to guest network
2012-06-13 16:43:43 -07:00
Alena Prokharchyk
2412b7837d
Isolated non-vpc networks: start router with 3 nics from the very beginning
2012-06-13 14:56:04 -07:00
Alena Prokharchyk
a5f0b64562
Added new capabilities to VPN and Firewall services defining if VPN is S2S or Remote access, and if the Firewall rules should be created per cidr or per public ip address
2012-06-13 10:17:48 -07:00
anthony
4075963767
VPC : revert some change
2012-06-12 15:33:01 -07:00
Alena Prokharchyk
97ca76856a
VPC: more changes to ipAssoc
2012-06-12 13:35:15 -07:00
Alena Prokharchyk
c40839599c
Initial checkin for resource tags feature
2012-06-12 10:59:56 -07:00
Alena Prokharchyk
9c01ca2785
VPC: ipAssoc consists of 3 parts: plug nic (if needed), associateIp, enableSourceNat(if ip is source nat ip)
2012-06-12 10:58:20 -07:00
Alena Prokharchyk
287ebd350d
More logging to plug nic code
2012-06-11 15:58:26 -07:00
Alena Prokharchyk
07be6918d8
VPC: fixed guest network shutdown
2012-06-11 15:01:51 -07:00
Alena Prokharchyk
d1598e366e
Release acquired lock for VPC
2012-06-11 14:31:39 -07:00
Alena Prokharchyk
3b943d84dd
Fixed addDhcpEntry/userdata/password in VPC setup
2012-06-11 13:37:38 -07:00
Alena Prokharchyk
cf1882a2c8
1) Added VpcVirtualNetworkApplianceService interface
...
2) Pass dns1/dns2 to setupGuestNetworkCommand
3) Network implement - don't get source nat ip address for Vpc if it already has one
2012-06-10 12:31:47 -07:00
Alena Prokharchyk
7bdcb244a2
StartRouter: set only control nic during the initial router start; plug exising public and guest nics after the router is started with control nic
2012-06-06 16:56:38 -07:00
Kelven Yang
3e16945914
bug CS-15191: remove a sanity check that prevent us from getting traffic lable under VMware
...
Reviewed-by: anthony
2012-06-06 15:14:26 -07:00
Kelven Yang
400602ee9f
CS-15080: VMware control network is CloudStack management network, correct the way to send down a correct traffic label to VMware resource
...
Reviewed-by: Anthony
2012-06-06 15:14:03 -07:00
anthony
78f1aab584
VPC : pass netmask once for secondary storage VM
2012-06-06 12:20:25 -07:00
Alena Prokharchyk
d9758045d9
Added NicTO to setupGuestNetworkCommand constructor - we need this info for guest network configuraiton
2012-06-05 16:10:20 -07:00
Alena Prokharchyk
3ae5b0b5c8
Modified virtual router startup procedure - initial start happens with control nic only; then we plug Public and then Guest nic to it
2012-06-05 11:33:31 -07:00
Alena Prokharchyk
460bab4a7d
Support for adding private network
2012-06-05 10:57:29 -07:00
Alena Prokharchyk
e0723cd9cc
CS-15220: fixed db upgrade for networks using external devices
...
Reviewed-by: Sheng Yang
Conflicts:
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-06-04 19:21:35 -07:00
frank
49ffe7392e
CloudStack CS-15222
...
Rebalancing of hosts fails with "java.lang.ClassCastException:" since SSVM host gets picked up for rabalacing.
fixed
reviewed-by: edison
2012-06-04 18:24:06 -07:00
frank
c88213b5bc
CloudStack CS-15195
...
Multinode Management server - Not able to put the host in maintanace mode when the request is issed from the management server that is not the owner of the host
resolved fixed
reviewed-by: edison
2012-06-04 18:23:51 -07:00
anthony
0d89f34a48
1. move control network to eth0 on domr
...
2. if it is basic mode, use guest NIC as Control NIC
2012-06-04 16:35:27 -07:00
Sheng Yang
0b730969ef
CS-15116: When GetDomRVersion failed, let VR creation fail
...
Because there are more commands after GetDomRVersion command. Though
GetDomRVersion command itself is not that critical, the commands after it may
including DHCP and firewall related commands. The failure of GetDomRVersion
command would result in the following commands fail to be executed. So it should
fail, and fail loudly.
2012-06-04 16:29:18 -07:00
Vijayendra Bhamidipati
0e26608458
CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
...
reviewed-by: Sateesh
Description:
Missed deletion of cluster record in case of failure in
validation of vsm:cluster mapping restriction.
2012-05-31 23:47:15 -07:00
Vijayendra Bhamidipati
422b5a0b69
CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
...
reviewed-by: Vijay
Description:
Fixing null pointer exception introduced by previous
checkin.
2012-05-31 17:34:22 -07:00
Vijayendra Bhamidipati
d6fe4d7eae
CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
...
reviewed-by: Vijay
Description:
Restricting association of a Cisco Nexus VSM to a single
cluster.
2012-05-31 13:51:45 -07:00
Alena Prokharchyk
ddae550a55
AssociateIpAddress to VPC - the ip gets associated to the network only when the first rule for the ip gets created.
...
When the last rule is removed for vpc ip, networkId is set to null
2012-05-30 19:46:40 -07:00
Alena Prokharchyk
6a097ad3b6
Support for IPAssoc inside VPC
2012-05-29 11:27:26 -07:00
Alena Prokharchyk
a7c8354c7b
Destroy VPC if it fails to start during the deployment
2012-05-29 10:36:46 -07:00
Sateesh Chodapuneedi
fb85787a76
CS-14956 Support for rate limiting policies in Nexus dvSwith feature for CloudStack
...
Removed global parameters that are not required. Cleanup.
Reviewed-by: Devdeep
2012-05-26 05:22:03 +05:30
Alena Prokharchyk
d3b1925e55
1) Added VPC restart support - new api command RestartVPC. The purpose of the call is to shutdown and start VPC including VPCVirtualRouter restart, rules re-implement, etc
...
2) Only networks created from offerings with conserveMode=false, can participate in VPC
2012-05-25 15:34:51 -07:00
Alena Prokharchyk
fbdf10bac7
1) Added search by vpcId to listRouters/listNetworks Apis
...
2) Don't allow to add new networks/implement existing ones for VPC in Disabled state. Disabled state indicates that there was unsuccessful attempt to remove the VPC, and the further cleanup will be taken care of by cleanup thread.
2012-05-25 14:16:23 -07:00
Edison Su
c530ffdc52
bug CS-15095: vm cpu freq <= host cpu freq
2012-05-25 11:17:24 -07:00
Kelven Yang
d0b9aecd16
bug 15080: check traffic type in host discovery stage - cluster level checks
2012-05-25 10:51:56 -07:00
Alena Prokharchyk
79a7ddb970
CS-15082: changed search criteria for Running vms in Network. Ip4 Address for guest network can be null for nic in Basic zone when vm originally fails to start.
...
Reviewed-by: Frank
2012-05-25 10:19:18 -07:00
Kelven Yang
8340ed52d4
bug : CS-15080 - check traffic label at host discovery stage also
2012-05-25 10:18:42 -07:00
Vijayendra Bhamidipati
3266dde7ae
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Incorporating Salvatore's review comments.
2012-05-25 09:43:00 -07:00
Nitin Mehta
feefa93cad
bug CS-14945: Throw an error message if the user is trying to attach the volume in local only storage zone.
...
Reviewed-by: Kishan
2012-05-25 18:40:16 +05:30
Alena Prokharchyk
d7f0689bcb
Support for delete VPC
2012-05-24 16:12:45 -07:00
Alena Prokharchyk
aa0c0cb260
Added support for network shutdown in VPC guest networks
2012-05-24 15:33:52 -07:00
Vijayendra Bhamidipati
4f9101bd0e
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Deleting the row in cluster_vsm_map after
a cluster is deleted, if the cluster type
is vmware and the global vswitch nexus
config flag is set to true.
2012-05-24 14:04:52 -07:00
Alena Prokharchyk
269d4dac83
CS-15083: fixed source nat ip assoc for the case when account owns more than 1 guest network, and 1+ public account specific ranges
2012-05-24 13:41:16 -07:00
Alena Prokharchyk
036c7a0dce
Removed unused comments
2012-05-24 12:03:45 -07:00
Alena Prokharchyk
4c83520dd1
CS-15082: don't allow to remove guest network in Basic zone when there are non-expunged CPVM/SSVMs using it.
2012-05-24 11:48:47 -07:00