# neutron_lib.exceptions.port_security module

exception neutron_lib.exceptions.port_security.PortSecurityAndIPRequiredForSecurityGroups(**kwargs)

  Bases: `InvalidInput`

  message = 'Port security must be enabled and port must have an IP address in order to use security groups.'

exception neutron_lib.exceptions.port_security.PortSecurityPortHasSecurityGroup(**kwargs)

  Bases: `InUse`

  message = 'Port has security group associated. Cannot disable port security or IP address until security group is removed.'

this page last updated: 2026-03-26 12:58:28

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