commit 23944185af7ef4ec54a7e18b7a1c38a636b6b883
Author: Kahou Lei <email address hidden>
Date: Wed Jun 3 16:39:11 2015 -0700
populate port security default into network
Previously, the default value would be populated into attr by API
controller, but some codes in plugin or service plugins call plugin
to create network directly, such as l3, which will have no default
value populated.
This patch fixes it by populating default port_security value into
network data.
In addition, for network without port-security set, we also give the
default value to populate the return network dict object, which will
let the extension construct the response dictionary gracefully for
those existing network.
Co-Authored-By: gong yong sheng <gong.yongsheng@99cloud.net>
Reviewed: https:/ /review. openstack. org/228742 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=23944185af7 ef4ec54a7e18b7a 1c38a636b6b883
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 23944185af7ef4e c54a7e18b7a1c38 a636b6b883
Author: Kahou Lei <email address hidden>
Date: Wed Jun 3 16:39:11 2015 -0700
populate port security default into network
Previously, the default value would be populated into attr by API
controller, but some codes in plugin or service plugins call plugin
to create network directly, such as l3, which will have no default
value populated.
This patch fixes it by populating default port_security value into
network data.
In addition, for network without port-security set, we also give the
default value to populate the return network dict object, which will
let the extension construct the response dictionary gracefully for
those existing network.
Co-Authored-By: gong yong sheng <gong.yongsheng @99cloud. net>
Change-Id: I73abc98d83372f 6259f17680806e6 541458e2077 75f7a6e5f98c507 a99fd42b54)
Closes-bug: #1461519
Closes-Bug: #1461647
Closes-Bug: #1468588
(cherry picked from commit f4e1289d8d381b7