neutron/neutron/extensions
Ihar Hrachyshka 90b9cd334b port security: gracefully handle resources with no bindings
Resources could be created before the extension was enabled in the
setup. In that case, no bindings are created for them. In that case, we
should gracefully return default (True) value when extracting the value
using the mixin; and we should also create binding model on update
request, if there is no existing binding model for the resource.

While at it, introduced a constant to store the default value for port
security (True) and changed several tests to use the constant instead of
extracting it from extension resource map.

Change-Id: I8607cdecdc16c5f94635c94e2f02700c732806eb
Closes-Bug: #1509312
(cherry picked from commit b0519cf0ad)
2016-03-30 17:15:56 +00:00
..
__init__.py Removing vim header lines 2014-04-01 10:38:31 -04:00
address_scope.py Correlate address scope with network 2016-02-22 22:46:18 -05:00
agent.py Wrong usage of "a" 2015-12-30 01:15:16 +08:00
allowedaddresspairs.py Merge "Allow address pairs to be cleared with None" 2016-02-26 21:33:23 +00:00
auto_allocated_topology.py Implement 'get-me-a-network' API building block 2016-02-08 18:06:35 -08:00
availability_zone.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
bgp.py Add Queries For BGP Route Lookups 2016-03-02 11:03:02 -08:00
bgp_dragentscheduler.py BGP Dynamic Routing: introduce BgpDrAgent 2016-02-18 10:46:55 -08:00
default_subnetpools.py Add use_default_subnetpool to subnet create requests 2016-02-23 20:53:43 -07:00
dhcpagentscheduler.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
dns.py Fix required extensions mix-up 2016-01-28 15:42:58 -08:00
dvr.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
external_net.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
extra_dhcp_opt.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
extraroute.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
flavors.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
l3.py Pecan: get rid of member action hook 2016-02-19 04:30:08 -08:00
l3_ext_gw_mode.py Remove 'validate' key in 'type:dict_or_nodata' type 2016-01-14 00:07:19 -05:00
l3_ext_ha_mode.py HA for DVR - Neutron Server side code changes 2016-02-08 16:49:58 -07:00
l3agentscheduler.py Fix remove_router_from_l3_agent for 'dvr' mode agent 2016-02-02 19:04:13 +08:00
metering.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
multiprovidernet.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
netmtu.py Fixes typos Openstack -> OpenStack 2016-01-18 16:04:56 +00:00
network_availability_zone.py Use a joined relationship for AZ info on networks 2015-12-14 14:45:30 -08:00
network_ip_availability.py IP Availability: remove unused imports 2016-03-01 07:06:10 -08:00
portbindings.py macvtap: ML2 mech driver for macvtap network attachments 2016-02-17 15:57:37 +01:00
portsecurity.py port security: gracefully handle resources with no bindings 2016-03-30 17:15:56 +00:00
providernet.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
qos.py Give the qos extension a friendly name. 2016-02-13 12:11:37 +00:00
quotasv2.py Pecan: fix quota management 2016-01-13 09:10:25 -08:00
rbac.py Use network RBAC feature for external access 2016-02-29 19:05:26 -08:00
router_availability_zone.py Use a joined relationship for AZ info on routers 2015-12-15 23:29:47 -08:00
routerservicetype.py Merge "Remove get_namespace from API extensions" 2015-06-24 14:54:12 +00:00
securitygroup.py Accept icmpv6 as protocol of SG rule for backward compatibility 2016-03-16 13:32:42 -07:00
servicetype.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
standardattrdescription.py Add a description field to all standard resources 2016-03-05 02:29:35 +00:00
subnetallocation.py Fix required extensions mix-up 2016-01-28 15:42:58 -08:00
tag.py Add tag mechanism for network resources 2016-03-02 05:43:14 +09:00
timestamp_core.py Add timestamp for neutron core resources 2016-03-05 02:17:35 +00:00
vlantransparent.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00