The following change done in nova 7de916 started passing in the
rxtx_factor on update port rather than just on create_port which
is what we only originally supported. Therefore currently when
booting a vm and specifying --nic port-id it will fail to boot with:
Cannot update read-only attribute rxtx_factor. This patch is a work
around to allow the rxtx_factor value to be passed in on update port even
though we ignore the value. Later we'll implement updating rxtx_factor on
ports but this is a good work around for now.
Fixes bug:
1202406
Change-Id: Iedd488b7bdc9b1a1317000d249f03b0eafbea419
EXTENDED_ATTRIBUTES_2_0 = {
'ports': {
RXTX_FACTOR: {'allow_post': True,
- 'allow_put': False,
+ # FIXME(arosen): the nvp plugin currently does not
+ # implement updating rxtx factor on port.
+ 'allow_put': True,
'is_visible': False,
'default': 1,
'enforce_policy': True,