Commit Graph

930 Commits

Author SHA1 Message Date
Chiradeep Vittal cc5e459be0 bug 11336: limit the number of outstanding messages sent to a host to conserve memory 2011-11-04 11:30:13 -07:00
kishan 2c4a564b95 bug 11851: While adding new Vpn user, exisitng users state will remain as Active and still be re-added
status 11851: resolved fixed
2011-11-04 13:48:20 +05:30
frank abc6075a38 Bug 11808 - Allow additional non-default virtual networks
when isDefault is null, for virtual network set defaut to true, false for direct network
2011-11-03 15:10:42 -07:00
Naredula Janardhana Reddy 34d3679695 Revert "bug 11680: Fix to the listing of routers when the networkid is invalid."
This reverts commit 6d5c46c4b0c6c8782923630947000348590d14f8.
2011-11-03 15:48:04 +05:30
frank 720ffc2d1f Bug 11808 - Allow additional non-default virtual networks
completed Java code change, need UI change in line with
2011-11-02 14:35:14 -07:00
Naredula Janardhana Reddy 48c1044ebe bug 11680: Fix to the listing of routers when the networkid is invalid. 2011-11-02 15:10:43 +05:30
kishan 3018a5e124 bug 11796: Catch all exceptions in network usage task and never exit the thread
status 11796: resolved fixed
2011-11-01 20:39:08 +05:30
Nitin 9a0c16a714 bug 11739: Fix typo 2011-10-30 23:25:37 +05:30
alena 3af0dba676 bug 11744: remove firewall rules before removing statis nat rules as a part of disableStaticNat call
status 11744: resolved fixed
2011-10-21 17:20:13 -07:00
frank 7dcf83bc06 Bug 11745 - Ovm needs user manually start a xenserver user vm in order to start VirtualRouter
status 11745: resolved fixed
2011-10-14 14:46:36 -07:00
Kelven Yang d022eaba9c Make default value of pre-allocated public NICs in domR consistent with the default value in DB 2011-10-12 14:56:30 -07:00
Kelven Yang 4c6110e020 bug 11585: using pre-allocated NIC approach to support additional public interfaces for VMware 2011-10-11 15:13:55 -07:00
alena 4cea75ba46 bug 11589: don't fail deleteVpn command when domR is in Stopped state.
status 11589: resolved fixed
2011-09-29 10:20:40 -07:00
Sheng Yang 1ef78e4db2 Use router's redundant state to check rather than using global config 2011-09-28 16:50:24 -07:00
kishan ff7fc32949 bug 11581: During router start, create iptables NETWORK_STATS chain before adding rules for additional public interfaces into that chain
status 11581: resolved fixed
reviewed-by: Chiradeep
2011-09-28 16:48:38 +05:30
alena 73218e51f1 bug 11555: Fixed NPE happening during LB rule cleanup in case when createLB fails
status 11555: resolved fixed

Reviewed-by: frank@cloud.com
2011-09-23 11:01:31 -07:00
Sheng Yang ac5fd72ded bug 11541: Change CheckRouterCommand timeout from default 10 minutes to 1 minute
Reviewed-by: Anthony Xu

status 11541: resolved fixed
2011-09-22 19:22:09 -07:00
Edison Su 5b66200eea bug 11513: another customer hits the same issue by associate ip in the basic zone
Reviewed-by: alena@citrix.com
2011-09-22 15:03:37 -07:00
Edison Su c2b0b4be2f bug 11513: add more log in the cleanup network
Reviewed-by:alena@citrix.com
2011-09-22 15:03:23 -07:00
alena cdb80c76c1 bug 11537: revoke related FirewallRules when do vmExpunge and ipAddress release.
status 11537: resolved fixed

Reviwed-by: edison@cloud.com
2011-09-22 13:58:01 -07:00
Sheng Yang 902458bfa0 bug 11513: Fix public IP release in advance network
We should only persist DomR's public ip, not console proxy and ssvm.

Reviewed-by: Edison
2011-09-21 19:16:29 -07:00
alena ad0c82cae7 bug 11513: always wrap marking IP address with Releasing state and actual IP deallocation in Transaction
Reviewed-by:edison@citrix.com
2011-09-21 18:41:47 -07:00
alena 6ea66248dd bug 11515: reapply all firewall rules for the IP address when VPN related rules are being revoked
status 11515: resolved fixed

Reviewed-by: will@cloud.com
2011-09-21 09:50:21 -07:00
alena a5a7103df6 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
2011-09-20 10:31:08 -07:00
keshav d27810afa2 In inline SRX/F5 mode, collect outbound usage for LB rules from the SRX. 2011-09-15 14:42:49 -07:00
alena 9bb95e915e bug 11447: don't do security group check if both groups belong to the same domain
status 11447: resolved fixed
2011-09-15 10:02:32 -07:00
alena 8e47cb21c1 Fixed the problem in addDhcpEntry code when _dnsBasicZoneUpdates was never reset once set to false. 2011-09-14 16:08:12 -07:00
Sheng Yang 0ef051b4d2 bug 11307: Using latest query result rather than set bumpup to false
After the host is disconnected, we can't get latest result, but it's not safe to
think it's priority bump up flag changed.
2011-09-14 14:56:02 -07:00
Murali Reddy d73bf096c0 bug 11425: dont count direct IP in resource count while updating resource count through API
status 11425: resolved fixed
2011-09-14 23:09:59 +05:30
Naredula Janardhana Reddy 01ac82d9d6 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-14 17:09:21 +05:30
Sheng Yang 7713d675a7 Fix restartNetwork wrongly report stop failure 2011-09-14 03:05:57 -07:00
Sheng Yang 3ba15fe813 bug 11307: Add destroyRouter command 2011-09-14 03:05:47 -07:00
Sheng Yang 58ee9f4855 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 03:05:15 -07:00
Sheng Yang 49031c5563 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 03:05:09 -07:00
Sheng Yang 11f737a673 bug 11307: Rewrite the redundant router's priority
Now the very first router's priority would be 100, and the second one would be
100 - 2 + 1 = 99.
2011-09-14 03:04:37 -07:00
Sheng Yang 59eb1b0ba1 bug 11307: Add Bumped field for domain_router
Only used for redundant virtual router.
2011-09-14 03:03:47 -07:00
Sheng Yang 9e0ee10e9f bug 11307: Let CheckRouterAnswer() parse the return result 2011-09-14 03:03:00 -07:00
alena 1f45148a29 Don't update resource count for system account 2011-09-13 16:34:09 -07:00
alena 4c7a4181c0 bug 11246: return lb rule Id in the async response for createLoadBalancer api
status 11246: resolved fixed
2011-09-13 12:06:46 -07:00
alena 0c127890ea 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
2011-09-13 10:47:55 -07:00
anthony aef381d873 fixed typo 2011-09-12 12:26:43 -07:00
Kelven Yang 7ce4aa1d23 bug 11362: Make VM network adapter device type be selectable based on VM-specific details 2011-09-07 17:58:01 -07:00
Kelven Yang a73f41e56c bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource 2011-09-07 15:37:50 -07:00
keshav 37c74b35ab Support for inline SRX/F5. 2011-09-07 14:18:42 -07:00
keshav 2e87fcb06d Support for inline SRX/F5. 2011-09-07 14:15:27 -07:00
Chiradeep Vittal fbfb1b8f5b move interval to listener -- allows it to be configurable if needed 2011-09-07 13:58:49 -07:00
Chiradeep Vittal 3f9922ca01 Add more detail when unable to schedule cleanup 2011-09-07 13:58:49 -07:00
Chiradeep Vittal 9b75fab343 Retry only a few times 2011-09-07 13:58:49 -07:00
Chiradeep Vittal 3403ccdaf1 change some logs to debug level 2011-09-07 13:58:49 -07:00
Chiradeep Vittal 13f416698a fix merge problem 2011-09-07 13:58:49 -07:00