[ovs-git] [ovn-org/ovn] a72946: northd: Amend RBAC rules for Port_Binding table
Frode Nordahl
noreply at github.com
Fri Mar 12 15:25:09 UTC 2021
Branch: refs/heads/branch-20.06
Home: https://github.com/ovn-org/ovn
Commit: a72946750a174bd9ee3ef8f38aec91ee78d6fa11
https://github.com/ovn-org/ovn/commit/a72946750a174bd9ee3ef8f38aec91ee78d6fa11
Author: Frode Nordahl <frode.nordahl at canonical.com>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M northd/ovn-northd.c
Log Message:
-----------
northd: Amend RBAC rules for Port_Binding table
When `ovn-controller` claims a virtual lport it will update the
Port_Binding table with which chassis currently has claimed the
port as well as recording information about the virtual parent
lport [0].
When `ovn-controller` claims a lport it will also update the
encap field of the Port_Binding table if set and an update is
needed.
The current RBAC rules does not allow for these updates.
0: https://github.com/ovn-org/ovn/blob/b7b0fbdab03ce8b39d5bdc114876e6b0d0683892/controller/pinctrl.c#L6150
Fixes: 054f4c85c ("Add a new logical switch port type - 'virtual'")
Fixes: 6c8b9a132 (" ovn-controller: Store the local port bindings in the runtime data I-P state")
Reported-At: https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/1917475
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
(cherry-picked from master commit 525d78946e6db29430fc2f946b9348eda6356fc6)
(cherry picked from commit 02823c72c141e9983b01d0c5d40b81495b536fd5)
More information about the git
mailing list