<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Sergey<br>
    <br>
    Thanks for your information, it's really help.<br>
    Actually I am from Magnum team and we are using heat to do
    orchestration on docker swarm bay.<br>
    <br>
    Swarm master only support A-P mode (active-passive), I wonder if
    there any workaround to<br>
    implement my requirement :<br>
    ----------------<br>
    <i>VIP : 192.168.0.10</i><i><br>
    </i><i> </i><i><br>
    </i><i> master-1 192.168.0.100 (A)</i><i><br>
    </i><i> master-2 192.168.0.101 (P)</i><i><br>
    </i><i> </i><i><br>
    </i><i> if I want to make VIP to alway connect with master-1(since
      it is A mode),</i><i><br>
    </i><i> only switch to master-2 when master-1 down. what should I
      do?</i><br>
    ---------------<br>
    <br>
    Below link is the heat template of k8s(k8s supports A-A mode, so it
    can use
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <span style="color: rgb(24, 54, 145); font-family: Consolas,
      'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 11.1999998092651px; orphans:
      auto; text-align: start; text-indent: 0px; text-transform: none;
      white-space: pre; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; display: inline !important; float:
      none; background-color: rgb(255, 255, 255);">ROUND_ROBIN</span>).<br>
<a class="moz-txt-link-freetext" href="https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubecluster.yaml#L343">https://github.com/openstack/magnum/blob/master/magnum/templates/kubernetes/kubecluster.yaml#L343</a><br>
    <br>
    P.S Copy to Magnum team.<br>
    <br>
    thanks<br>
    Eli.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2015年11月16日 15:15, Sergey Kraynev
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAbQNRm_FU4P9dWW4EB6bWrbsJfQvC-0vs+cmmq1CVGzXtM9GA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>On 16 November 2015 at 09:46, Qiao,Liyong <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:liyong.qiao@intel.com"
              target="_blank">liyong.qiao@intel.com</a>></span>
          wrote:<br>
        </div>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> hi, I have some
                questions about neutorn LBaas.<br>
                <br>
                seen from the wiki, the load balancer only support:<br>
                <br>
                <p style="margin:0px 0px
                  10px;color:rgb(51,51,51);font-family:'Arial Unicode
MS',Arial,sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><b>Table
                    4.6. Load Balancing Algorithms</b></p>
                <table border="1" cellpadding="2" cellspacing="0">
                  <tbody>
                    <tr>
                      <td><b>Name</b></td>
                    </tr>
                    <tr>
                      <td>LEAST_CONNECTIONS</td>
                    </tr>
                    <tr>
                      <td>ROUND_ROBIN</td>
                    </tr>
                  </tbody>
                </table>
                <br>
                <a moz-do-not-send="true"
                  href="https://wiki.openstack.org/wiki/Neutron/LBaaS/API"
                  target="_blank">https://wiki.openstack.org/wiki/Neutron/LBaaS/API</a><br>
                <br>
                think about if I have a A-P mode HA<br>
                <br>
                VIP : 192.168.0.10<br>
                <br>
                master-1 192.168.0.100 (A)<br>
                master-2 192.168.0.101 (P)<br>
                <br>
                if I want to use VIP to alway connect with
                master-1(since it is A mode),<br>
                only switch to master-2 when master-1 down. what should
                I do?<br>
                any plan to support more algorithms for neutron lbaas?<br>
                <br>
                BTW, the usage is from heat:<br>
                <br>
                  etcd_pool:<br>
                    type: OS::Neutron::Pool<br>
                    properties:<br>
                      protocol: HTTP<br>
                      monitors: [{get_resource: etcd_monitor}]<br>
                      subnet: {get_resource: fixed_subnet}<br>
                <b>      lb_method: ROUND_ROBIN</b><br>
                      vip:<br>
                        protocol_port: 2379<br>
                <br>
                <br>
                <br>
                thanks,<br>
                Eli.<span class=""><font color="#888888"><br>
                    <pre cols="72">-- 
BR, Eli(Li Yong)Qiao</pre>
                  </font></span></div>
              <br>
__________________________________________________________________________<br>
              OpenStack Development Mailing List (not for usage
              questions)<br>
              Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
                rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
              <a moz-do-not-send="true"
                href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
                rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
              <br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div>Hi, <span style="font-size:12.8000001907349px">Qiao,Liyong</span>
            <div><span style="font-size:12.8000001907349px"><br>
              </span></div>
            <div><span style="font-size:12.8000001907349px">I can not
                say about LBaaS team plans for supporting some
                additional algorithms :)</span></div>
            <div><span style="font-size:12.8000001907349px">AFAIK, they
                do not plan add it to v1 API.</span></div>
            <div><span style="font-size:12.8000001907349px">As I
                understand it may be discussed as part of v2 API [1]</span></div>
            <div><br>
            </div>
            <div>In the Heat we have related BP [2], with several
              patches on review. So if it will be implemented on Neutron
              side, we may add such functionality too.</div>
            <div><br>
            </div>
            <div>[1] <a moz-do-not-send="true"
href="http://developer.openstack.org/api-ref-networking-v2-ext.html#lbaas-v2.0">http://developer.openstack.org/api-ref-networking-v2-ext.html#lbaas-v2.0</a><br>
            </div>
            <div>[2] <a moz-do-not-send="true"
                href="https://blueprints.launchpad.net/heat/+spec/lbaasv2-suport">https://blueprints.launchpad.net/heat/+spec/lbaasv2-suport</a></div>
          </div>
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">Regards,
              <div>Sergey.</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
BR, Eli(Li Yong)Qiao</pre>
  </body>
</html>