[Openstack] cerate network by rest api

pen paul explth at gmail.com
Mon Jun 4 07:31:17 UTC 2018


Hi,
I tried to create a network through the rest api, referenced the official documentation, tried to use the given request example, but all returned 400 errors.
I use the VLAN transparency extension interface, the official document is
Https://developer.openstack.org/api-ref/network/v2/#networks
The request body like
 {
    "network": {
        "name": "sample_network",
        "admin_state_up": True
    }
}
Besides, the version of openstack is ocata,which build by devstack in Ubuntu.
I don't know what went wrong, whether it was asking for a build or whether there was a problem with the platform itself.

Thanks,
-Pen

发送自 Windows 10 版邮件应用

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180604/aade9521/attachment.html>


More information about the Openstack mailing list