Reviewed: https://review.opendev.org/c/openstack/neutron-lib/+/831639 Committed: https://opendev.org/openstack/neutron-lib/commit/e2f05ffabccda1a8a213cbc2e27c2bf910e5766c Submitter: "Zuul (22348)" Branch: master
commit e2f05ffabccda1a8a213cbc2e27c2bf910e5766c Author: Jacy Lee <yajiema...@163.com> Date: Thu Mar 3 16:08:49 2022 +0800 Support binding floating ip to smart-nic port When the Ironic use smart NICs to implement Bare Metal servers, the neutron L2 agent and L3 agent run locally on the smart NIC. The smart-nic port can be bound to the virtual bridge, and the floating ip can also be implemented by the L3 agent on the smart NIC. Closes-Bug: #1962821 Change-Id: I6c10c51b4ed6fd5f05671a9d3b2d5d7aa087eb2b ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1962821 Title: Support binding floating ip to smart-nic port in the dvr mode. Status in neutron: Fix Released Bug description: In DVR mode, neutron only allows binding flaoting IP to the normal port. When a floating IP is bound to a smart-nic port, neutron raise the error 'Port VNIC type is not valid to associate a FIP in DVR mode' [1]. When the Ironic use smart NICs to implement Bare Metal Servers, the port VNIC type is 'smart-nic', and the Neutron L2 agent and L3 agent run locally on the smart NIC. The smart-nic port can be bound to virtual bridge, and the floating IP can also be implemented by the L3 agent on the smart NIC. So here [2] should also return ture when the port VINC type is 'smart-nic'. [1] https://github.com/openstack/neutron/blob/b072cbf05f079519e379b2bfebe27846ae612275/neutron/db/l3_db.py#L1280 [2] https://github.com/openstack/neutron-lib/blob/f765e3c21c52f97c713697db4d84c526054078f3/neutron_lib/plugins/utils.py#L390 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1962821/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp