Using OpenStack Compute in openstacksdk - example shows networks which is not an attribute of Server

Bug #1554092 reported by Gavin B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK
Confirmed
Medium
Unassigned

Bug Description

The example has :

    server = conn.compute.create_server(
        name=SERVER_NAME, image_id=image.id, flavor_id=flavor.id,
        networks=[{"uuid": network.id}], key_name=keypair.name)

however

http://developer.openstack.org/sdks/python/openstacksdk/users/resources/compute/v2/server.html#openstack.compute.v2.server.Server

Does not have an attribute called networks.

-----------------------------------
Release: 0.8.1.dev3 on None
SHA: 1417c9a3a38f64fc5093d74b67402876c147e9fa
Source: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/doc/source/users/guides/compute.rst
URL: http://developer.openstack.org/sdks/python/openstacksdk/users/guides/compute.html

Tags: docs
Revision history for this message
Brian Curtin (brian.curtin) wrote :

Good find, and I'm going through that right now. As it stands at this second, a lot of undocumented things work. The refactoring of the Resource class that I'm going through right now will bring change to this, both in that undocumented things *won't* work, and that we'll have to be more thorough in what is explicitly exposed on the resources.

Changed in python-openstacksdk:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 1.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.