# neutron_lib.exceptions.dhcpagentscheduler module

exception neutron_lib.exceptions.dhcpagentscheduler.InvalidDHCPAgent(**kwargs)

  Bases: `AgentNotFound`

  message = 'Agent %(id)s is not a valid DHCP Agent or has been disabled.'

exception neutron_lib.exceptions.dhcpagentscheduler.NetworkHostedByDHCPAgent(**kwargs)

  Bases: `Conflict`

  message = 'The network %(network_id)s has been already hosted by the DHCP Agent %(agent_id)s.'

exception neutron_lib.exceptions.dhcpagentscheduler.NetworkNotHostedByDhcpAgent(**kwargs)

  Bases: `Conflict`

  message = 'The network %(network_id)s is not hosted by the DHCP Agent %(agent_id)s.'

this page last updated: 2026-08-15 12:38:23

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