# neutron_lib.exceptions.l3 module

exception neutron_lib.exceptions.l3.AbortSyncRouters(**kwargs)

  Bases: `NeutronException`

  message = 'Aborting periodic_sync_routers_task due to an error.'

exception neutron_lib.exceptions.l3.ExternalGatewayForFloatingIPNotFound(**kwargs)

  Bases: `NotFound`

  message = 'External network %(external_network_id)s is not reachable from subnet %(subnet_id)s. Therefore, cannot associate Port %(port_id)s with a Floating IP.'

exception neutron_lib.exceptions.l3.FipAssociated(**kwargs)

  Bases: `InUse`

  An operational error indicates that port still has an associated FIP.

  A specialization of the InUse exception indicating an operation failed on a port because it still has an associated FIP.

  Parameters:

    port_id – The UUID of the port requested.

  message = 'Unable to complete the operation on port %(port_id)s because the port still has an associated floating IP.'

exception neutron_lib.exceptions.l3.FloatingIPNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Floating IP %(floatingip_id)s could not be found'

exception neutron_lib.exceptions.l3.FloatingIPPortAlreadyAssociated(**kwargs)

  Bases: `InUse`

  message = 'Cannot associate floating IP %(floating_ip_address)s (%(fip_id)s) with port %(port_id)s using fixed IP %(fixed_ip)s, as that fixed IP already has a floating IP on external network %(net_id)s.'

exception neutron_lib.exceptions.l3.FloatingIpSetupException(message=None)

  Bases: `NeutronException`

exception neutron_lib.exceptions.l3.IpTablesApplyException(message=None)

  Bases: `NeutronException`

exception neutron_lib.exceptions.l3.L3ExtensionException(**kwargs)

  Bases: `NeutronException`

  message = 'The following L3 agent extensions do not inherit from ``neutron_lib.agent.l3_extension.L3AgentExtension``: %(extensions)s.'

exception neutron_lib.exceptions.l3.RouterExternalGatewayInUseByFloatingIp(**kwargs)

  Bases: `InUse`

  message = 'Gateway cannot be updated for router %(router_id)s, since a gateway to external network %(net_id)s is required by one or more floating IPs.'

exception neutron_lib.exceptions.l3.RouterInUse(**kwargs)

  Bases: `InUse`

  message = 'Router %(router_id)s %(reason)s'

exception neutron_lib.exceptions.l3.RouterInterfaceAttachmentConflict(**kwargs)

  Bases: `Conflict`

  message = 'Error %(reason)s while attempting the operation.'

exception neutron_lib.exceptions.l3.RouterInterfaceInUseByFloatingIP(**kwargs)

  Bases: `InUse`

  message = 'Router interface for subnet %(subnet_id)s on router %(router_id)s cannot be deleted, as it is required by one or more floating IPs.'

exception neutron_lib.exceptions.l3.RouterInterfaceNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Router %(router_id)s does not have an interface with id %(port_id)s'

exception neutron_lib.exceptions.l3.RouterInterfaceNotFoundForSubnet(**kwargs)

  Bases: `NotFound`

  message = 'Router %(router_id)s has no interface on subnet %(subnet_id)s'

exception neutron_lib.exceptions.l3.RouterNotCompatibleWithAgent(**kwargs)

  Bases: `NeutronException`

  message = "Router '%(router_id)s' is not compatible with this agent."

exception neutron_lib.exceptions.l3.RouterNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Router %(router_id)s could not be found'

exception neutron_lib.exceptions.l3.RouterNotFoundInRouterFactory(**kwargs)

  Bases: `NeutronException`

  message = "Router '%(router_id)s' with features '%(features)s' could not be found in the router factory."

this page last updated: 2026-03-03 11:51:03

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug