Launchpad

command "network set" has hint about vlan transparent, but neutron doesn't support modifying it

This bug affects 1 person

Affects Status Importance Assigned to Milestone
python-openstackclient

Fix Released

Undecided

Hong Hui Xiao

Bug Description

openstack network set
usage: openstack network set [-h] [--name <name>] [--enable | --disable]
                                 [--share | --no-share]
                                 [--description <description]
                                 [--enable- port-security | --disable- port-security]
                                 [--external | --internal]
                                 [--default | --no-default]
                                 [--qos- policy <qos-policy> | --no-qos-policy]
                                 [--provider- network- type <provider- network- type>]
                                 [--provider- physical- network <provider- physical- network> ]
                                 [--provider- segment <provider-segment>]
                                 [--transparent -vlan | --no-transparen t-vlan]
                                 <network>
openstack network set: error: too few arguments

However, when update network vlan transparent, client will get
HttpException: HttpException: Bad Request (HTTP 400) (Request-ID: req-4e278d75- 3831-419e- a0fb-af66b67a3a da), Cannot update read-only attribute vlan_transparent

It is because neutron extension doesn't allow put the attribute.

https:/ /github. com/openstack/ neutron/ blob/7f5a9ae22c 35359e5c89750a0 50d0a8937b3e051 /neutron/ extensions/ vlantransparent .py#L36

Read the original on bugs.launchpad.net ↗