Allow port mac_address to be modified
With ironic servers, a NIC can fail and be replaced with one that has a different mac. The corresponding neutron port needs to be updated with the new mac address so the NIC can be guaranteed to retain the same IP address. This change enables this feature in the ml2 plugin. There may need to be changes to other plugins to disable or complete the implementation of this feature. Closes-Bug: #1341268 Partially-implements: blueprint allow-mac-to-be-updated APIImpact: Ports DocImpact: minor port update api change Change-Id: I1864c0882cda7eddc9ced519ed3f96c91b2b63f3
This commit is contained in:
parent
77075bfa22
commit
e7d38240f2
|
@ -52,6 +52,7 @@
|
|||
"get_port:binding:host_id": "rule:admin_only",
|
||||
"get_port:binding:profile": "rule:admin_only",
|
||||
"update_port": "rule:admin_or_owner or rule:context_is_advsvc",
|
||||
"update_port:mac_address": "rule:admin_only or rule:context_is_advsvc",
|
||||
"update_port:fixed_ips": "rule:admin_or_network_owner or rule:context_is_advsvc",
|
||||
"update_port:port_security_enabled": "rule:admin_or_network_owner or rule:context_is_advsvc",
|
||||
"update_port:binding:host_id": "rule:admin_only",
|
||||
|
|
Loading…
Reference in New Issue