-
Notifications
You must be signed in to change notification settings - Fork 583
servers: Tag is missing for servers.Network #2192
Copy link
Copy link
Closed
Description
This type:
gophercloud/openstack/compute/v2/servers/requests.go
Lines 118 to 131 in 5a7ac65
| // Network is used within CreateOpts to control a new server's network | |
| // attachments. | |
| type Network struct { | |
| // UUID of a network to attach to the newly provisioned server. | |
| // Required unless Port is provided. | |
| UUID string | |
| // Port of a neutron network to attach to the newly provisioned server. | |
| // Required unless UUID is provided. | |
| Port string | |
| // FixedIP specifies a fixed IPv4 address to be used on this network. | |
| FixedIP string | |
| } |
should have an additional field Tag string for device-role tags, as mentioned in the API docs. I tried finding a single line in the codebase that demonstrates this field being read, and was once again overwhelmed by OpenStack's signature dish, spaghetti code. As for evidence, let's go with this commit that last touched the definition of the field in the API reference. It contains several API samples both for docs and tests that demonstrate the tag attribute on networks in create-server requests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels