<html 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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:DengXian;
        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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
span.HTML
        {mso-style-name:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
        mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F";
        font-family:SimSun;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=ZH-CN link=blue vlink="#954F72"><div class=WordSection1><pre style='background:white'><span lang=EN-US style='font-size:11.5pt;color:black'>Hi,<br>I tried to create a network through the rest api, referenced the official documentation, tried to use the given request example, but </span><span lang=EN-US style='font-size:11.5pt;color:navy'>all </span><span lang=EN-US style='font-size:11.5pt;color:black'>returned </span><span lang=EN-US style='font-size:11.5pt;color:blue'>400 </span><span lang=EN-US style='font-size:11.5pt;color:black'>errors.<br>I use the VLAN transparency extension interface, the official document </span><b><span lang=EN-US style='font-size:11.5pt;color:navy'>is<br></span></b><span lang=EN-US style='font-size:11.5pt;color:black'>Https://developer.openstack.org/api-ref/network/v2/</span><i><span lang=EN-US style='font-size:11.5pt;color:gray'>#networks<br></span></i><span lang=EN-US style='font-size:11.5pt;color:black'>The request body like<br> {<br>    </span><b><span lang=EN-US style='font-size:11.5pt;color:teal'>"network"</span></b><span lang=EN-US style='font-size:11.5pt;color:black'>: {<br>        </span><b><span lang=EN-US style='font-size:11.5pt;color:teal'>"name"</span></b><span lang=EN-US style='font-size:11.5pt;color:black'>: </span><b><span lang=EN-US style='font-size:11.5pt;color:teal'>"sample_network"</span></b><span lang=EN-US style='font-size:11.5pt;color:black'>,<br>        </span><b><span lang=EN-US style='font-size:11.5pt;color:teal'>"admin_state_up"</span></b><span lang=EN-US style='font-size:11.5pt;color:black'>: </span><b><span lang=EN-US style='font-size:11.5pt;color:navy'>True<br>    </span></b><span lang=EN-US style='font-size:11.5pt;color:black'>}<br>}<br>Besides, the version of openstack </span><b><span lang=EN-US style='font-size:11.5pt;color:navy'>is </span></b><span lang=EN-US style='font-size:11.5pt;color:black'>ocata,which build by devstack </span><b><span lang=EN-US style='font-size:11.5pt;color:navy'>in </span></b><span lang=EN-US style='font-size:11.5pt;color:black'>Ubuntu.<br>I don</span><span lang=EN-US style='font-size:11.5pt;color:black'>'t know what went wrong, whether it was asking for a build or whether there was a problem with the platform itself.</span><span lang=EN-US style='font-size:11.5pt;color:black'><o:p></o:p></span></pre><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>-Pen<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>发送自<span lang=EN-US> Windows 10 </span>版<span lang=EN-US><a href="https://go.microsoft.com/fwlink/?LinkId=550986"><span lang=EN-US><span lang=EN-US>邮件</span></span></a></span>应用</p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:SimSun'><o:p> </o:p></span></p></div></body></html>