Syed, that sounds correct to me. Container should have the properties 
algorithm, protocol, public Ip, etc. While LoadBalancer represents only the 
rule itself (the port combination)

-Alena.

From: Syed Ahmed <sah...@cloudops.com<mailto:sah...@cloudops.com>>
Reply-To: Syed Ahmed <sah...@cloudops.com<mailto:sah...@cloudops.com>>
Date: Friday, November 15, 2013 9:21 AM
To: Murali Reddy <muralimmre...@gmail.com<mailto:muralimmre...@gmail.com>>, 
Alena Prokharchyk 
<alena.prokharc...@citrix.com<mailto:alena.prokharc...@citrix.com>>
Cc: Syed Ahmed <sah...@cloudops.com<mailto:sah...@cloudops.com>>, cloudstack 
<dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
Subject: Re: Review Request 15489: Adding protocol parameter to loadbalancer 
response

This is an automatically generated e-mail. To reply, visit: 
https://reviews.apache.org/r/15489/


On November 15th, 2013, 1:53 p.m. UTC, Murali Reddy wrote:

Syed I dont think you added 'protocol' to createLoadBalancerRule. There should 
not be 'protocol' in the LoadBalancerContainer?

I actually did add the 'protocol' parameter to createLoadBalancerRule. This 
maps to `lb_protocol` field in the `load_balancing_rules` table.

I added getLbProtocol() to LoabalacnerContainer because I thought that is the 
right palce as other parameters like algorithm ( getAlgorithm() ) scheme etc 
are present here.

Does this sound correct?


- Syed


On November 13th, 2013, 6:08 p.m. UTC, Syed Ahmed wrote:

Review request for cloudstack, Alena Prokharchyk and Murali Reddy.
By Syed Ahmed.

Updated Nov. 13, 2013, 6:08 p.m.

Repository: cloudstack-git
Description

Adding protocol parameter to Loadbalancer Response


Diffs

  *   api/src/com/cloud/network/rules/LoadBalancer.java (e6dadca)
  *   api/src/com/cloud/network/rules/LoadBalancerContainer.java (9d5ea59)
  *   api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java 
(0f18097)
  *   
engine/schema/src/org/apache/cloudstack/lb/ApplicationLoadBalancerRuleVO.java 
(37a747e)
  *   server/src/com/cloud/api/ApiResponseHelper.java (903c485)

View Diff<https://reviews.apache.org/r/15489/diff/>

Reply via email to