Public bug reported: 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 ** Affects: neutron Importance: Undecided Assignee: Jacy Lee (yjmango) Status: New ** Changed in: neutron Assignee: (unassigned) => Jacy Lee (yjmango) -- 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: New 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 : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

