neutron/neutron/plugins/ml2/extensions
Kevin Benton 638d16c8a0 Add utility function for checking trusted port
Ports that have a device_owner that starts with 'network:'
are trusted in several places throughout the codebase. Each
of these did a startswith check on each field and it's not
immediately obvious why it's done.

This patch adds a utility function called 'is_port_trusted'
that performs the same check and makes it obvious what is
being done.

Change-Id: I542c753776d5cfb2fd736b25ea6e111867c89c89
2015-09-14 10:41:54 +00:00
..
__init__.py Add portsecurity extension support 2015-03-17 05:13:04 +08:00
port_security.py Add utility function for checking trusted port 2015-09-14 10:41:54 +00:00
qos.py Introduce base interface for core resource extensions 2015-08-07 21:36:15 +02:00