<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLChar
{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
mso-style-priority:99;
mso-style-link:"HTML \9884\8BBE\683C\5F0F";
font-family:"Courier New";}
span.line
{mso-style-name:line;}
span.string
{mso-style-name:string;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Youcef,<o:p></o:p></p><p class=MsoNormal>I just noticed that on Lbaas API spec, the json sample for “POST /v1.0/vips” and “POST /v1.0/pools” are not consistent. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The json request is:<o:p></o:p></p><pre style='line-height:13.5pt;background:#F3F5F7'><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'>{</span></span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'><o:p></o:p></span></pre><pre style='line-height:13.5pt;background:#F3F5F7'><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> </span></span><span class=string><span lang=EN style='font-size:10.5pt;font-family:Courier;color:#004080'>"vips"</span></span><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'>:[</span></span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'><o:p></o:p></span></pre><pre style='line-height:13.5pt;background:#F3F5F7'><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> {</span></span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'><o:p></o:p></span></pre><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And the json response is:<o:p></o:p></p><p class=MsoNormal style='line-height:13.5pt;background:#F3F5F7'><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'>{<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#F3F5F7'><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> </span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:#004080'>"vips"</span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'>:[<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#F3F5F7'><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> {<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However, looking at the corresponding “POST /v1.0/pools” sample (as well as member and healthmonitor), the json format is different. Rather than using an array, every time to create a pool, a single hash value is contained in the json request/response:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The json request is:<o:p></o:p></p><pre style='line-height:13.5pt;background:#F3F5F7'><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'>{</span></span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'><o:p></o:p></span></pre><pre style='line-height:13.5pt;background:#F3F5F7'><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> </span></span><span class=string><span lang=EN style='font-size:10.5pt;font-family:Courier;color:#004080'>"pool"</span></span><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> : {</span></span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'><o:p></o:p></span></pre><p class=MsoNormal><span lang=EN>The json response is:<o:p></o:p></span></p><pre style='line-height:13.5pt;background:#F3F5F7'><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'>{</span></span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'><o:p></o:p></span></pre><pre style='line-height:13.5pt;background:#F3F5F7'><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> </span></span><span class=string><span lang=EN style='font-size:10.5pt;font-family:Courier;color:#004080'>"pool"</span></span><span class=line><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'> : {</span></span><span lang=EN style='font-size:10.5pt;font-family:Courier;color:black'><o:p></o:p></span></pre><p class=MsoNormal><span lang=EN><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN>I think we need to make them consistent by modifying VIP json sample. What do you think?<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal>Leon<o:p></o:p></p></div></body></html>