Public bug reported: As documented in the Neutron API [0], it is allowed to create a subnet without a gateway_ip.
This may be useful if you want to control the routes using the extraroutes API [1]. At present the Neutron OVN driver will create a default route with an empty dst-ip in the OVN database in case of the gateway_ip not being set. I believe this is a bug and that the Neutron OVN driver should omit creating the route when no gateway_ip is set. 0: https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-subnet-detail#create-subnet 1: https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-subnet-detail,add-extra-routes-to-router-detail,remove-interface-from-router-detail#add-extra-routes-to-router ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2002993 Title: [ovn] default gateway populated with empty dst-ip when gateway explicitly disabled on subnet Status in neutron: New Bug description: As documented in the Neutron API [0], it is allowed to create a subnet without a gateway_ip. This may be useful if you want to control the routes using the extraroutes API [1]. At present the Neutron OVN driver will create a default route with an empty dst-ip in the OVN database in case of the gateway_ip not being set. I believe this is a bug and that the Neutron OVN driver should omit creating the route when no gateway_ip is set. 0: https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-subnet-detail#create-subnet 1: https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-subnet-detail,add-extra-routes-to-router-detail,remove-interface-from-router-detail#add-extra-routes-to-router To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2002993/+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

